Feral Heart

Help & Guidance => Game Help => Topic started by: LittleBlackMoon on July 14, 2016, 04:53:28 pm

Title: Preset conversion to .png
Post by: LittleBlackMoon on July 14, 2016, 04:53:28 pm
Hey guys!

I'm making a preset and I plan to add some transparency and other things as well. So I converted everything(preset notepad, preset images) to png, but now it is showing up all white on the Preset Maker. Not sure what happened! Please help!

Thanks
Title: Re: Preset conversion to .png
Post by: Reaper on July 14, 2016, 05:03:38 pm
You probably messed up with the coding or the files which probably made it turn your preset white.
Title: Re: Preset conversion to .png
Post by: LittleBlackMoon on July 14, 2016, 05:07:28 pm
You probably messed up with the coding or the files which probably made it turn your preset white.

material preset_3_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3bodyL.png
         }
      }
   }
}
material preset_3_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3bodyR.png
         }
      }
   }
}
material preset_3_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.png
         }
      }
   }
}
material preset_3_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3head.png
         }
      }
   }
}
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eyeL.png
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eyeR.png
         }
      }
   }
}
material preset_3_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3tail.png
         }
      }
   }
}
material preset_3_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_3mane.png
         }
      }
   }
}



Here is my coding, if you see something can you tell me what I did wrong?

Thanks
Title: Re: Preset conversion to .png
Post by: Shazadah on July 14, 2016, 05:18:49 pm
Mmmk. If you literally converted the notepad file, don't. It doesn't need to be, just leave it as is.

Second of all, in the preset's coding (the notepad file), it should already be set to .jpg, so go into the notepad file and change all the .jpg to .png and save. Once that's done you should be able to see your preset in the maker.

For transparency codes and other things, check out this thread here--->http://www.feral-heart.com/smf/index.php?topic=26062.0

Good luck to you floof!

EDIT:
I've been ninjaed...

I don't see anything wrong with your coding but I could be blind. Try switching preset folders, and/or make sure all your file names match up with the preset's coding.
Title: Re: Preset conversion to .png
Post by: LittleBlackMoon on July 14, 2016, 05:53:10 pm
Wow, I am just out of it, I totally forgot to save the new version of the notepad. It works now, thanks for the help!!
Title: Re: Preset conversion to .png
Post by: LordSuragaha on July 14, 2016, 05:57:57 pm
Locking this thread now since the issue has been solved.