Feral Heart
Help & Guidance => Game Help => Topic started by: B335 on October 12, 2013, 12:35:00 am
-
I'm fairly new to preset making, well, the transparent type anyway. When I finished making this preset, I done the preset maker thing, and saw this.(http://i1302.photobucket.com/albums/ag121/Estelle_Leishman/ScreenShot2013-10-12at112412AM_zps55199d49.png?t=1381537923)
(http://i1302.photobucket.com/albums/ag121/Estelle_Leishman/ScreenShot2013-10-12at112429AM_zps45f3b644.png)
The head was created exactly the same as the rest of the body, but appears to be missing. Help would be appreciated! Thanks. uvu
-
Could you please post the material code you have used as well as the names and formats of your images?
-
Of course! Here it is.
material preset_11_bodyMatL
{
receive_shadows on
technique
{
pass
{
scene_blend alpha_blend
fog_override true
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
emissive 0.000000 0.000000 0.000000 1.000000
alpha_rejection greater_equal 128
cull_hardware none
cull_software none
texture_unit
{
texture preset_11body.png
tex_address_mode wrap
filtering trilinear
}
}
}
} texture_unit
{
texture preset_11body.png
}
}
}
}
material preset_11_bodyMatR
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11body.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11body.png
}
}
}
}
material preset_11_headMatL
{
receive_shadows on
technique
{
pass
{
scene_blend alpha_blend
fog_override true
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
emissive 0.000000 0.000000 0.000000 1.000000
alpha_rejection greater_equal 128
cull_hardware none
cull_software none
texture_unit
{
texture preset_11head.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11head.png
}
}
}
}
material preset_11_headMatR
{
receive_shadows on
technique
{
pass
{
scene_blend alpha_blend
fog_override true
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
emissive 0.000000 0.000000 0.000000 1.000000
alpha_rejection greater_equal 128
cull_hardware none
cull_software none
texture_unit
{
texture preset_11head.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11head.png
}
}
}
}
material preset_11_eyeMatL
{ receive_shadows on
technique
{
pass
{
scene_blend alpha_blend
fog_override true
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
emissive 0.000000 0.000000 0.000000 1.000000
alpha_rejection greater_equal 128
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11eye.png
}
}
}
}
material preset_11_eyeMatR
{
receive_shadows on
technique
{
pass
{
scene_blend alpha_blend
fog_override true
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
emissive 0.000000 0.000000 0.000000 1.000000
alpha_rejection greater_equal 128
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11eye.png
}
}
}
}
material preset_11_tailMat
{
receive_shadows on
technique
{
pass
{
scene_blend alpha_blend
fog_override true
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
emissive 0.000000 0.000000 0.000000 1.000000
alpha_rejection greater_equal 128
cull_hardware none
cull_software none
texture_unit
{
texture preset_11tail.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11tail.png
}
}
}
}
material preset_11_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_11mane.png
}
}
}
}
material preset_11_equipMatL
{
technique
{
pass
{ alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{ alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}
They are all saved in Png format.
I hope you can read the names from the code, as I can only currently type so much.
-
Hmm, I don't see anything wrong there, I assume the image names are preset_11head.png?
I also have a transparent preset, you could try the code I have:
material preset_11_bodyMatL
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11body.png
tex_address_mode wrap
filtering trilinear
}
}
}
} alpha_rejection greater_equal 128
texture_unit
{
texture preset_11body.png
}
}
}
}
material preset_11_bodyMatR
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11body.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11body.png
}
}
}
}
material preset_11_headMatL
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11head.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11head.png
}
}
}
}
material preset_11_headMatR
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11head.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11head.png
}
}
}
}
material preset_11_eyeMatL
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11eye.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11eye.png
}
}
}
}
material preset_11_eyeMatR
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11eye.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11eye.png
}
}
}
}
material preset_11_tailMat
{
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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11tail.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11tail.png
}
}
}
}
material preset_11_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_11mane.png
}
}
}
}
material preset_11_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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11equip.png
}
}
}
}
material preset_11_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
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
tex_address_mode wrap
filtering trilinear
}
texture preset_11equip.png
}
}
}
}
If that doesn't work you could try using a different preset number instead of 11?
-
Thanks, I'll see how it goes! ^u^
(EDIT) Unfortunately, the problem remains. I'll try to re-make the head texture, and see how that goes. But thanks anyways~
-
Hmm, my apologies but I'm not sure what else I can do to help. Hopefully someone might know the answer and will be able to solve the problem for you.