Feral Heart
Help & Guidance => Game Help => Topic started by: LadyLioness on October 21, 2012, 07:17:54 am
-
I am trying to make markings on one side of my preset by editing the material file. I edited it so it said:
texture preset_5bodyl.jpg and texture preset_5bodyr.jpg
And I saved 1 marking to l and erased it and saved the other marking to r
Did I do something wrong? It won't show the markings at all. It just goes blank when I pull up preset 5.
-
Hmm I will try to explain it to you the best way I can using an example from the preset I made today. The preset I made today has two different eyes types. My preset name is preset_5 and so I named the two different eye files like so:
Preset_5eye (Left eye)
and
Preset_55eye (Right eye)
Once I saved those two files with the proper names I went into the little preset_5 notepad and changed the code like so and only in the spot of the highlighted area down below:
material preset_5_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_5eye.jpg
}
}
}
}
material preset_5_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_55eye.jpg
}
}
}
}
As long as you do the same thing with your preset and only change the coding in that spot shown for your bodymat it should work. Hope that helps :) If you have any more trouble with it feel free to private message me and I'd be more than happy to help you.
ps: Rather ironic that we were both working on a preset_5 btw xD
-
Lol yeah. Thanks I'll try it now :3
So I name 1 preset body whatever it would be 5, and then the other one 55?
-
Well no you dont have to give them those specific names, those are just the names I gave them. The most important thing is that you have a saved file for both sides of the preset and that you name them differently and code it in the same spots you see above that I highlighted but for the catagory of the part of the body you're working on which would be the bodymats. Then it should work. Goodluck and let me know if you fix it :)
-
It isn't working for some reason. But I'll check everything I did again :3
-
So, if I understand correctly, you made two image files, one for the right side of the body, and one for the left.
Make sure they are indeed saved as .jpg files, and not somehow .png files?
If that's not the issue, try replacing the body section of your code with this one:
material preset_5_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_5bodyl.jpg
}
}
}
}
material preset_5_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_5bodyr.jpg
}
}
}
}
-
Just a little note to add on to everybody else's ideas:
it tends to work..better, I suppose..if you use PNG instead of JPG, though it requires the file to be changed a bit more.