Feral Heart

Help & Guidance => Game Help => Topic started by: duna the killer on September 14, 2013, 07:37:27 pm

Title: Code for Bi-colored eyes
Post by: duna the killer on September 14, 2013, 07:37:27 pm
Hi guys! I was needing the code for the bi-colored eyes, and how to apply it. I will be using the code to make a preset for my new fursona. Thanks!
Title: Re: Code for Bi-colored eyes
Post by: LordSuragaha on September 14, 2013, 07:44:29 pm
Basically make sure that you create and color two seperate eye pics with two different names. Then go into your material file for that preset and change your coding in the parts I highlighted in red with the proper eye names:

Below is what I did for Suragaha-

material preset_2_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_22eye.jpg
         }
      }
   }
}
Title: Re: Code for Bi-colored eyes
Post by: Elias_Ainsworth on September 25, 2013, 01:00:14 am
I open the material files on both my desktop and my mac.
it wont let me open it as if theres no such thing as a material file!
please help?
Title: Re: Code for Bi-colored eyes
Post by: wolfspirit999 on September 25, 2013, 06:49:59 pm
Please don't ask for help in other peoples help threads, make your own. You will likely get better result and it is polite.
In answer to your question, you need to open it as a Notepad file.
Title: Re: Code for Bi-colored eyes
Post by: Feareh on September 25, 2013, 07:04:39 pm
 Just to add on to he information Lord has provided you, when nameing a file for a bi-color eye to not name the additional file after any low numbers such as
preset_5eye.jpg
or
preset_12eye.jpg
Cause if you add any range of number from 1-12, then it will use the original file name that is stored in that folder
usually it helps out better to just name the eye after the file and at the end add "R" and "L" to the files