Feral Heart

Help & Guidance => Game Help => Topic started by: Wolflover224 on February 25, 2016, 03:07:33 am

Title: Need help with double sided eyes preset!
Post by: Wolflover224 on February 25, 2016, 03:07:33 am
So I'm making a wolfdog preset for myself, and I looked at the double-eye tutorials because he has heterochromia. However, I tried everything, and it didn't work. Help?

Thanks,
Ashyak
Title: Re: Need help with double sided preset!
Post by: Likuu on February 25, 2016, 03:52:32 am
Title: Re: Need help with double sided preset!
Post by: Wolflover224 on February 25, 2016, 11:23:40 pm
I meant how to do the double colored eyes, sorry if I didn't make that clear!
Title: Re: Need help with double sided eyes preset!
Post by: Likuu on February 25, 2016, 11:35:53 pm
I meant how to do the double colored eyes, sorry if I didn't make that clear!
Not sure what ye mean by double colored eyes? Have an example?
Title: Re: Need help with double sided eyes preset!
Post by: Preach on February 25, 2016, 11:46:34 pm
I meant how to do the double colored eyes, sorry if I didn't make that clear!
Not sure what ye mean by double colored eyes? Have an example?

I think she means bi color eyes. One eye blue and one grey? Idk.
Title: Re: Need help with double sided eyes preset!
Post by: Tessel. on February 26, 2016, 12:53:32 am
 Like, have one eye one colour and have the other a different one? Or do you mean having two different colours in an eye?
Title: Re: Need help with double sided eyes preset!
Post by: Spottedbears on February 26, 2016, 01:40:58 am
Heterochromia is (almost always) two different colored eyes, as OP said, so I'm going to assume that's that and try to explain.
Likuu's advice is helpful and is basically all you need - although her links are not eye specific. Double sided presets are easy enough when you get the hang of them!

Open up your .MATERIAL file in a text editor, such as notepad. If you scroll down far enough, you should see a code that looks like so: (numbers differ depending on your file; if you copy & paste just press control+H in notepad to replace preset_10 with preset_(#) so there're no errors)

material preset_10_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_10eye.png
         }
      }
   }
}
material preset_10_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_10eye.png
         }
      }
   }
}

For different colored eyes, you change the text highlighted in red. Most people will add an L or R, for left and right, so the file name is preset_10eyeR.png, or preset_10eyeL.png, however the name doesn't matter as long as it corresponds to the image file.
Once you change the text in the material file to whatever you like, save it.
Then just make your different eyes and save the files to match the names you've put in the code.. that's really all there is to it.

This works with any body part, actually, except for the tail since it's only one side.

Here's the double sided code if you want it.
Code: [Select]
material preset_10_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10eyeL.png
}
}
}
}
material preset_10_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10eyeR.png
}
}
}
}
Title: Re: Need help with double sided eyes preset!
Post by: Wolflover224 on February 28, 2016, 10:10:49 pm
I did that, but the eyes still won't appear.
The program I'm using is Paint Tool SAI. There are no layers.
Title: Re: Need help with double sided eyes preset!
Post by: Hakumi on February 29, 2016, 12:53:16 am
No layers..?
Are you making sure that you're saving the image as a .png file and not as anything else? Are you making sure that everything matches up when you go to save?
As for the no layers part, do you mean that you're unable to make multiple layers using that specific program? ( I don't have SAI but I know it should give you an option to make multiple layers, but I mostly use GIMP for these sorts of things ).
Make sure you're inputting the correct information so that way the eyes would show up like the example Tailgate gave you. ~

If you're doing everything correctly, it should work unless you need to try saving your files on a different preset folder to see if that helps or clears up the problem for you?
Title: Re: Need help with double sided eyes preset!
Post by: Wolflover224 on February 29, 2016, 01:52:36 am
They're both .png, and what I mean by "no layers" is that I didn't use any layers on the eyes.
Title: Re: Need help with double sided eyes preset!
Post by: Hakumi on February 29, 2016, 02:09:19 am
Hmm . . That is strange. Maybe there could be some sort of a small glitch?

If you haven't already , try saving the eyes in a different preset folder. Maybe that would clear up the matter a bit, to see if it's just that particular preset or if it's something else.
Title: Re: Need help with double sided eyes preset!
Post by: Wolflover224 on February 29, 2016, 03:01:33 am
I got it to work! I just changed it to preset 10
Title: Re: Need help with double sided eyes preset!
Post by: Hakumi on February 29, 2016, 03:30:28 am
Glad that it's working for you~! ^^
Title: Re: Need help with double sided eyes preset!
Post by: Kerriki on February 29, 2016, 04:13:07 am
Locking this since the issue was resolved. Glad it's working! c: