Feral Heart

Help & Guidance => Game Help => Topic started by: Spiritwolf223 on January 07, 2014, 11:55:05 pm

Title: Driving me insane!
Post by: Spiritwolf223 on January 07, 2014, 11:55:05 pm
So I made these two presets, preset 4 and 6.
So, first, the two presets were PERFECTLY FINE.
Then I exported them...
Then one of the manes was un textured, completely white and blocky!!
So I delete both .fhp
Re-do one of their codes.
Then it's fixed... BUT GUESS WHAT?! Yep, the other mane is un textured but the one that was un textured before was fine. JUST. FINE.
I tried a different code then it switches again. I been at it for at least two hours and never worked.
I don't wanna give up! But honestly I am going insane. >_>
Mane for both presets:
(http://i42BannedImageSite/214p6l0.png)

Mane code preset 4:
material preset_4_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_4mane.png
         }
      }
   }
}
Preset 6 mane code:
material preset_6_maneMat
{
   receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture preset_6mane.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture preset_6mane.png
         }
      }
   }
}
Title: Re: Driving me insane!
Post by: Shally on January 08, 2014, 05:32:47 am
Try this one:

Code: [Select]
material preset_11_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11mane.png
                        }
                }
        }
}
Title: Re: Driving me insane!
Post by: Feareh on January 08, 2014, 05:44:21 am
 The first coding seems to be right. But the last one seems to not be a standard coding for regular mane. Are you trying to make it moving for number 6?
So since your coding is right perhaps its the file itself that it may be corrupted. save the manes as png files and try to make sure the file name matches the coding name.
If you still have problems send me your preset so I can fix the coding for you.
Title: Re: Driving me insane!
Post by: Spiritwolf223 on January 08, 2014, 11:47:34 am
Try this one:

Code: [Select]
material preset_11_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11mane.png
                        }
                }
        }
}
Didn't work. :/
Title: Re: Driving me insane!
Post by: Spiritwolf223 on January 08, 2014, 12:23:55 pm
It only allows me to have one working Mane. :c
Title: Re: Driving me insane!
Post by: Feareh on January 08, 2014, 04:59:41 pm
It only allows me to have one working Mane. :c
What do you mean by this? Perhaps you are saving the file name wrong. Make sure that the file name matches with the code name you used in your coding
Title: Re: Driving me insane!
Post by: Spiritwolf223 on January 08, 2014, 09:18:42 pm
Only one Mane will work, the rest is all white and blocky.
I put in all the names and codes in correct.