Feral Heart

Help & Guidance => Game Help => Topic started by: UserNotFound on March 31, 2015, 03:35:52 pm

Title: Another problem with presets
Post by: UserNotFound on March 31, 2015, 03:35:52 pm
Okay, while I was working on my preset, some weird problem came up that I can't seem to fix or figure out. I want my preset to have different colors on their eyes, one brown while the other is blue. At first, it was yellow and black and didn't came up. By solving that problem, I tried renaming them and I made sure the coding was right. But one eye is still black and yellow, and the other eye did work. I'm kind of confused by the coding since there's more than two texture_3eye, so I might've gotten the wrong ones. Here are the screenshots:
(http://i61BannedImageSite/furlmg.jpg)
(http://i59BannedImageSite/24q0550.jpg)
(http://i59BannedImageSite/2dmb4w3.jpg)
(http://i57BannedImageSite/v782n5.png)
Title: Re: Another problem with presets
Post by: Bloo. on March 31, 2015, 03:39:24 pm
I've only made a total of 3 presets in my life and they were pretty simple, but would it have anything to do with one eye being named 3eye and other being 3Reye? Should it be 3Leye and 3Reye?

And in your coding you've got the texture as 3eyer, should it be 3Reye like what the actual texture is named? Just things for you to try out ^^
Title: Re: Another problem with presets
Post by: UserNotFound on March 31, 2015, 03:49:55 pm
Still wouldn't work, Bloo. I tried what you said, instead the brown eye went to the left side and the right side has the black and yellow thing. I saw the eyeR thing in a tutorial. .c.
Title: Re: Another problem with presets
Post by: WolfQueen on March 31, 2015, 05:49:14 pm
Are you sure the file names correctly spelt for each side? It doesn't look like it to me but I'm assuming you played with it after you posted the pictures.
Title: Re: Another problem with presets
Post by: Bawfle on March 31, 2015, 06:34:12 pm
Looks like you have other coding added to the preset's material file that shouldn't be there if you only wanted each eye to be different. Here is what the Eye coding should look like:
Quote
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture LeftEyeBrownPreset3.png
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture RightEyeBluePreset3.png
         }
      }
   }
}
I renamed the files so the material will pick it up easier. Be sure to rename the Blue eye Image to RightEyeBluePreset3 and rename the Brown eye Image to LeftEyeBrownPreset3 then save the material file. If it continues to misbehave, try changing your rendering system to Direct3D9, this usually works.
Title: Re: Another problem with presets
Post by: UserNotFound on March 31, 2015, 11:55:37 pm
Thanks! It's working.
Title: Re: Another problem with presets
Post by: Vespian on April 01, 2015, 12:03:31 am
Glad it's workin' for ye, lass. Many thanks to the floofs who have provided suggestions for ye.
I'll be lockin' this thread now that the problem has been solved.