Feral Heart

Help & Guidance => Game Help => Topic started by: Arkham_Scout on December 03, 2018, 03:14:08 am

Title: Preset problem
Post by: Arkham_Scout on December 03, 2018, 03:14:08 am
I made my first preset and well, the mane is inside out. there a way to fix it?


(https://cdn.discordapp.com/attachments/392164499815399424/518983808276758548/screenshot_12022018_215018942.png)

Idk what to do

this what it shows
Code: [Select]
material preset_10_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_10body.jpg
}
}
}
}
material preset_10_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_10body.jpg
}
}
}
}
material preset_10_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_10head.jpg
}
}
}
}
material preset_10_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_10head.jpg
}
}
}
}
material preset_10_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10eye.jpg
}
}
}
}
material preset_10_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10eye.jpg
}
}
}
}
material preset_10_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_10tail.jpg
}
}
}
}
material preset_10_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_10mane.png
}
}
}
}
Title: Re: Preset problem
Post by: AlphaEclipse on December 03, 2018, 03:32:01 am
Hello, could you possibly post the code you are using in the .mat file for your preset's mane? You can access the file by opening it with Notepad or another text editing program. It is difficult to see what you mean by inside out---I am guessing it is almost see-through? If this isn't the case, could you upload the UV file you are using?

You could possibly try using this code if you aren't already:
Code: [Select]
material preset_#_maneMat
{
 technique
 {
  pass
  {
   lighting off
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   depth_write off
   texture_unit
   {
    texture preset_#mane.png
   }
  }
 }
}
Title: Re: Preset problem
Post by: Arkham_Scout on December 03, 2018, 03:34:04 am
I used gimp to make preset and thank you I would try it out
Title: Re: Preset problem
Post by: AlphaEclipse on December 03, 2018, 03:40:32 am
Gimp shouldn't be a problem, as long as the file is saved as a .png. If you are already using the code above, try using this one as well:
Code: [Select]
material preset_#_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_#mane.png
                }
          }
     }
}
Let us know if either works! :)
Title: Re: Preset problem
Post by: Arkham_Scout on December 03, 2018, 03:49:14 am
Gimp shouldn't be a problem, as long as the file is saved as a .png. If you are already using the code above, try using this one as well:
Code: [Select]
material preset_#_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_#mane.png
                }
          }
     }
}
Let us know if either works! :)

it worked but now the mane pure white
Title: Re: Preset problem
Post by: AlphaEclipse on December 03, 2018, 03:54:43 am
It must just not be recognizing your preset mane UV file. Since I see you are using the Preset 10 folder according to your original edit, here is a revised version that should match your file specifically. What is in red it what I have edited.
Quote
material preset_10_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_10mane.png
                }
          }
     }
}
Title: Re: Preset problem
Post by: Arkham_Scout on December 03, 2018, 03:55:44 am
It must just not be recognizing your preset mane UV file. Since I see you are using the Preset 10 folder according to your original edit, here is a revised version that should match your file specifically. What is in red it what I have edited.
Quote
material preset_10_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_10mane.png
                }
          }
     }
}

thank you, I hope it works
Title: Re: Preset problem
Post by: Arkham_Scout on December 03, 2018, 03:58:10 am
It must just not be recognizing your preset mane UV file. Since I see you are using the Preset 10 folder according to your original edit, here is a revised version that should match your file specifically. What is in red it what I have edited.
Quote
material preset_10_maneMat
{
        technique
        {
                pass
                {
                       cull_hardware none
                       cull_software none
                       alpha_rejection greater_equal 128
                       texture_unit
                       {
                                texture preset_10mane.png
                }
          }
     }
}

it works thank you
Title: Re: Preset problem
Post by: AlphaEclipse on December 03, 2018, 03:59:40 am
No problem! If there are any other issues with the preset coding feel free to message me personally.
Title: Re: Preset problem
Post by: Arkham_Scout on December 03, 2018, 04:05:36 am
No problem! If there are any other issues with the preset coding feel free to message me personally.

alright, thank you ^^
Title: Re: Preset problem
Post by: PocketMutt on December 03, 2018, 04:13:32 am
Locking since the problem has been fixed !