Author Topic: Another problem with presets  (Read 2012 times)

Offline UserNotFound

  • Curious Wanderer
  • *
  • Posts: 23
  • Floof-O-Meter: 1
  • Bowties are cool
    • View Profile
Another problem with presets
« 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:




Timey wimey stuff
Ingame user: ~TheScrub~ and BigBangTheoryTbs

Offline Bloo.

  • Space-Child ✌
  • Elder Grey Pelt
  • ****
  • Posts: 2,658
  • Country: us
  • Floof-O-Meter: 192
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
Re: Another problem with presets
« Reply #1 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 ^^


You are amazing <3

Offline UserNotFound

  • Curious Wanderer
  • *
  • Posts: 23
  • Floof-O-Meter: 1
  • Bowties are cool
    • View Profile
Re: Another problem with presets
« Reply #2 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.

Timey wimey stuff
Ingame user: ~TheScrub~ and BigBangTheoryTbs

Offline WolfQueen

  • Onion Queen
  • Elder Grey Pelt
  • ****
  • Posts: 3,423
  • Country: us
  • Floof-O-Meter: 117
  • feralheart's malignant tumor
    • jengajangle
    • jenqatower
    • jengatower
    • jengatowerr
    • View Profile
Re: Another problem with presets
« Reply #3 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.


Offline Bawfle

  • Courage is not the absence of fear but rather the judgement that something is more important than fear.
  • Elder Grey Pelt
  • ****
  • Posts: 3,147
  • Country: gb
  • Floof-O-Meter: 344
  • The Zambisi Pride
    • View Profile
Re: Another problem with presets
« Reply #4 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.


Pixel Doll Commissioned and Coloured by RingoKioko
Inactive // Retired // Gone

Offline UserNotFound

  • Curious Wanderer
  • *
  • Posts: 23
  • Floof-O-Meter: 1
  • Bowties are cool
    • View Profile
Re: Another problem with presets
« Reply #5 on: March 31, 2015, 11:55:37 pm »
Thanks! It's working.

Timey wimey stuff
Ingame user: ~TheScrub~ and BigBangTheoryTbs

Offline Vespian

  • An Unsightly Beast
  • Ancient Silver Mane
  • *****
  • Posts: 3,935
  • Country: us
  • Floof-O-Meter: 242
    • View Profile
Re: Another problem with presets
« Reply #6 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.
gone