material preset_12_equipMatL
{
technique
{
pass
{
texture_unit
{
texture preset_12equip.jpg
}
}
}
}
material preset_12_equipMatR
{
technique
{
pass
{
texture_unit
{
texture preset_12equip.jpg
}
}
}
}
material preset_12_equipMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture TransparentWingz1.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_12_equipMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture TransparentWingz.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
You have to rewrite some of the codes.
If the preset isn't in folder 11 or 12, then move it into one of those and change the file names.
(also don't forget to change the material file either, change all the numbers to 11 or 12)
Now.. Replace this code:Code: [Select]material preset_12_equipMatL
{
technique
{
pass
{
texture_unit
{
texture preset_12equip.jpg
}
}
}
}
material preset_12_equipMatR
{
technique
{
pass
{
texture_unit
{
texture preset_12equip.jpg
}
}
}
}
With this:Code: [Select]material preset_12_equipMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture TransparentWingz1.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_12_equipMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture TransparentWingz.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
And if you're using folder 11, then just replace the twelves with elevenz. Like I said earlier. xD
Erm...How to download it?
Very nice Rami -clapclap-
I'll use these sometime soon.
~Ollie ^^
It won't work. I put everything in preset 12 and then copied and replaced the code.
Was i supposed to keep the other code too?
Did you go straight for the Character maker, or did you test them in Preset maker first?
IF they work in preset maker, then the preset didn't export correctly.
If they don't work in preset maker either, then there has got to be a mistake in the codes.
Could you copy your equip part of the material here? Maybe, just maybe I can find the mistake.
}material preset_12_equipMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture TransparentWingz1.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_12_equipMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture TransparentWingz.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
There shouldn't be a bracket infront of Material preset_12_equipMatL.
}
material preset_12_equipMatL
^ It should look like that, save and test it. If it doesn't work remove the bracket completely.
I hope this helps.