Feral Heart

Help & Guidance => Game Help => Topic started by: liontamer1 on December 24, 2013, 10:11:25 pm

Title: Material Files
Post by: liontamer1 on December 24, 2013, 10:11:25 pm
I downloaded a preset pack, but none of them have material files. I know you can create them, but how do I do it? ^_^'
Title: Re: Material Files
Post by: ~Stargazer~ on December 24, 2013, 10:15:50 pm
What do you mean by material files? Like .fhp files? Or, the actual preset files? Ehe, I'm lost.
Title: Re: Material Files
Post by: liontamer1 on December 24, 2013, 10:21:56 pm
You know the file (in notepad) that has the coding in it? I'm wondering how to make one of those, 'cause, well, I need it.

(http://i44BannedImageSite/14xe2hw.png)

Sorry it's tiny..
Title: Re: Material Files
Post by: AlphaEclipse on December 24, 2013, 10:35:01 pm
Ah, I do this all the time. Just go into another preset folder and then copy the one from in there. Paste it into the preset folder that is missing one, and then rename it. Make sure to go into the .mat and change the numbers! Example:

material preset_1_body -----> material preset_2_body
Title: Re: Material Files
Post by: liontamer1 on December 24, 2013, 10:40:59 pm
Thanks, Alpha.
+floof
Title: Re: Material Files
Post by: AlphaEclipse on December 24, 2013, 10:43:23 pm
Thanks, Alpha.
+floof

Heh, no problem. I work with presets to much. v.v
Title: Re: Material Files
Post by: liontamer1 on December 24, 2013, 10:52:19 pm
Hold up! It didn't work.. I renamed everything inside of the material file, not sure what I did wrong..

(http://i39BannedImageSite/20svq1j.png)
Title: Re: Material Files
Post by: AlphaEclipse on December 24, 2013, 10:56:34 pm
Hold up! It didn't work.. I renamed everything inside of the material file, not sure what I did wrong..

(http://i39BannedImageSite/20svq1j.png)
Hmm, you must have just missed something. Could ya' copy and paste the whole .mat up here? I'll look for the problem.
Title: Re: Material Files
Post by: liontamer1 on December 24, 2013, 10:58:09 pm
Sure.

material preset_9_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9body.jpg
         }
      }
   }
}
material preset_9_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9body.jpg
         }
      }
   }
}
material preset_9_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9head.jpg
         }
      }
   }
}
material preset_9_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9head.jpg
         }
      }
   }
}
material preset_9_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_9eye.jpg
         }
      }
   }
}
material preset_9_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_9eye.jpg
         }
      }
   }
}
material preset_9_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9tail.jpg
         }
      }
   }
}
material preset_9_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_9mane.png
         }
      }
   }
}
Title: Re: Material Files
Post by: AlphaEclipse on December 24, 2013, 11:08:18 pm
Sure.

material preset_9_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9body.jpg
         }
      }
   }
}
material preset_9_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9body.jpg
         }
      }
   }
}
material preset_9_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9head.jpg
         }
      }
   }
}
material preset_9_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9head.jpg
         }
      }
   }
}
material preset_9_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_9eye.jpg
         }
      }
   }
}
material preset_9_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_9eye.jpg
         }
      }
   }
}
material preset_9_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_9tail.jpg
         }
      }
   }
}
material preset_9_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_9mane.png
         }
      }
   }
}

o-o This is weird. I do this all the time. Try putting it into another folder like preset 10. Also, maybe save/export all the presets parts as .pngs. (Make sure you fix that in the coding too!)

What is it exactly doing? Is it not showing up in the preset maker or is it just plain white? o-o
Title: Re: Material Files
Post by: liontamer1 on December 24, 2013, 11:09:11 pm
It's plain white..
Title: Re: Material Files
Post by: AlphaEclipse on December 24, 2013, 11:14:23 pm
It's plain white..

Ah, right click your preset's parts and make sure they are .jpgs instead of .pngs. (Unless you switched them.) It doesn't matter if they are either .png or .jpg, except for the mane. The mane must say .png.

Title: Re: Material Files
Post by: liontamer1 on December 24, 2013, 11:22:57 pm
Something so simple can ruin everything..

Thank you so much, it worked!

(http://i42BannedImageSite/2lkw3t1.png)
[/color][/font]
Title: Re: Material Files
Post by: AlphaEclipse on December 24, 2013, 11:26:03 pm
No problem! I thought that was very weird because I use this method almost daily.
Lovely preset~ .3. x'D