Hello and welcome to this tutorial!
Explanation of why and differences of this with other :3
I have noticed many peeps got some problems with the presets and a thread containing possible problems could help them solve theirs. This thread has the purpose to help anyone having basic or common problems with their preset and easily find the solution here.
Let's start!
List of common issues-White or black and yellow parts.
-Preset slot dissapearing in-game when trying to export it.
-Failing to export.
White or black and yellow parts.
Preset slot dissapearing in-game when trying to export it.
Failing to export.
Animated presets issues.
List of common issues-Animation not acting.
-White or black and yellow parts.
Possible issues1. You forgot to add the speed or you added an unavaible speed.
2.The code is written wrong.
Solutions.1. The code should look like this.
material preset_#_bodyMatR
{
technique
{
pass
{
texture_unit
{
anim_texture movingpart1.png movingpart2.png movingpart3.png 1
}
}
}
}
Infront of anim_texture you will be adding the name of the animation files and when you finish putting all of them you make a little space and put a positive number. If you put a negative number or 0, you animation won't work.
Side note: movingpart# is the name of your animation file, it doesn't has to be named like that and the ending 1 is the speed.
2. You may want to re-check your code, something may be wrong.
Good luck with your preset my good friend!
(If I have missed something important, you can post it down and will be added in.)