Author Topic: Preset Help (again)  (Read 869 times)

Offline liontamer1

  • Dedicated Supporter
  • ***
  • Posts: 285
  • Floof-O-Meter: 13
  • I wish
    • View Profile
Preset Help (again)
« on: February 01, 2014, 02:27:39 pm »
I downloaded a preset pack that gives you different preset parts (tail, head ect.) and let's you mash them together however you want.

Everything was going smoothly.. until the mane. T.T It shows up white, and I've done everything I know.

It's saved as a .PNG, I renamed it preset_1mane, as well as in the coding.

Here is the coding:
material preset_1_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture LionBody_Left.png
         }
      }
   }
}
material preset_1_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture LionBody_Right.png
         }
      }
   }
}
material preset_1_headMatL
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 118
         texture_unit
         {
            texture LionHead_Left.png
         }
      }
   }
}
material preset_1_headMatR
{
   technique
   {
      pass
      {
alpha_rejection greater_equal 118
         texture_unit
         {
            texture LionHead_Right.png
         }
      }
   }
}
material preset_1_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture LionEye_Left.png
         }
      }
   }
}
material preset_1_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture LionEye_Right.png
         }
      }
   }
}
material preset_1_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture LionTail.png
         }
      }
   }
}
material preset_1maneMat
{
transparenLion_casts_shadows off
receive_shadows off
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 111
texture_unit
{
texture LionHair.png
texture_unit
}
}
}
}


Here is what it looks like in-game:
\
Take me, I am not afraid

AlphaEclipse

  • Guest
Re: Preset Help (again)
« Reply #1 on: February 01, 2014, 02:38:53 pm »
I looked specifically at the mane's code, and I saw this:

transparenLion_casts_shadows off

^^ I think you need to add the 't' to the end of 'transparen.'

Or, you could just use an original mane script.


Quote
material preset_#_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_#mane.png
                        }
                }
        }
}

Merp, that mane script it came with looked weird...

Offline warroiranimals

  • Experienced Traveler
  • **
  • Posts: 163
  • Country: 00
  • Floof-O-Meter: 12
  • This sentence is a lie.
    • View Profile
Re: Preset Help (again)
« Reply #2 on: February 01, 2014, 02:42:24 pm »
Hmm...how odd. Could I get the download so I can look at this?


Back up account: ~Jay~

"I may not be smart enough to do everything, but I'm dumb enough to try anything!"

Offline liontamer1

  • Dedicated Supporter
  • ***
  • Posts: 285
  • Floof-O-Meter: 13
  • I wish
    • View Profile
Re: Preset Help (again)
« Reply #3 on: February 01, 2014, 02:54:22 pm »
Replacing the mane code worked. Thanks, Alpha!
\
Take me, I am not afraid

AlphaEclipse

  • Guest
Re: Preset Help (again)
« Reply #4 on: February 01, 2014, 02:57:11 pm »
Replacing the mane code worked. Thanks, Alpha!

Glad we could help! :)
I thought its original script was strange.