Author Topic: Material Files  (Read 3584 times)

Offline liontamer1

  • Dedicated Supporter
  • ***
  • Posts: 285
  • Floof-O-Meter: 13
  • I wish
    • View Profile
Material Files
« 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? ^_^'
\
Take me, I am not afraid

Offline ~Stargazer~

  • Ancient Silver Mane
  • *****
  • Posts: 4,041
  • Country: 00
  • Floof-O-Meter: 78
  • "Helloooo? Trickster."
    • View Profile
    • My deviantART
Re: Material Files
« Reply #1 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.

Preset Download
Will be less active until October 7th.

Offline liontamer1

  • Dedicated Supporter
  • ***
  • Posts: 285
  • Floof-O-Meter: 13
  • I wish
    • View Profile
Re: Material Files
« Reply #2 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.



Sorry it's tiny..
\
Take me, I am not afraid

AlphaEclipse

  • Guest
Re: Material Files
« Reply #3 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
« Last Edit: December 24, 2013, 10:39:51 pm by AlphaEclipse »

Offline liontamer1

  • Dedicated Supporter
  • ***
  • Posts: 285
  • Floof-O-Meter: 13
  • I wish
    • View Profile
Re: Material Files
« Reply #4 on: December 24, 2013, 10:40:59 pm »
Thanks, Alpha.
+floof
\
Take me, I am not afraid

AlphaEclipse

  • Guest
Re: Material Files
« Reply #5 on: December 24, 2013, 10:43:23 pm »
Thanks, Alpha.
+floof

Heh, no problem. I work with presets to much. v.v

Offline liontamer1

  • Dedicated Supporter
  • ***
  • Posts: 285
  • Floof-O-Meter: 13
  • I wish
    • View Profile
Re: Material Files
« Reply #6 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..

\
Take me, I am not afraid

AlphaEclipse

  • Guest
Re: Material Files
« Reply #7 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..

Hmm, you must have just missed something. Could ya' copy and paste the whole .mat up here? I'll look for the problem.

Offline liontamer1

  • Dedicated Supporter
  • ***
  • Posts: 285
  • Floof-O-Meter: 13
  • I wish
    • View Profile
Re: Material Files
« Reply #8 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
         }
      }
   }
}
\
Take me, I am not afraid

AlphaEclipse

  • Guest
Re: Material Files
« Reply #9 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