Feral Heart
Help & Guidance => Game Help => Topic started by: mcgee2001 on November 03, 2013, 11:56:03 am
-
Okay, you know when you want to change a meshes material to a snow/ice material? Yeah, I need to do that xD
So does anyone know what the thing is, like: SnowMat?
Please help. ;-;
-
Try this.
1. Find the texture you're wanting and copy it.
2. Paste the texture into FeralHeart\Media\Objects\MyObjects
3. Stay in MyObjects and find the material file of the mesh you are using.
4. Open it up in notepad.
5. Change one of the textures. For example:
Before.
material pillows
{
technique
{
pass
{
ambient 0.8 0.8 0.8 1.0
specular 0.2 0.2 0.2 1.0
alpha_rejection greater_equal 128
texture_unit
{
texture pillows.png
}
}
}
}
After.
material pillows
{
technique
{
pass
{
ambient 0.8 0.8 0.8 1.0
specular 0.2 0.2 0.2 1.0
alpha_rejection greater_equal 128
texture_unit
{
texture [Name of Texture].png
}
}
}
}
The thing you are changing is in red.
6: Click save.
7: Open up 'ObjectMaker' and load the object you wish to re texture.
8: Select the Object and go into the Mesh section.
9: Where it says Material, type in the material file and that should work.
10: Once you have done export the object it.
-
Or, you can always go into your object maker, load the mesh, then type in the material file you want. There are some in your objects folder by default, just look around and you'll find them.
-
Oh, thanks! This helped ALOT! :D
-
Or, you can always go into your object maker, load the mesh, then type in the material file you want. There are some in your objects folder by default, just look around and you'll find them.
It doesn't exactly work that way, it needs to be in the coding for it to translate into the game x'3