Feral Heart
Help & Guidance => Game Help => Topic started by: Rengahst on August 09, 2014, 02:13:46 am
-
Thank you for clicking on this. I'm making a two-sided preset, just for the eyes and the head, but everytime I load it on the preset maker, my game crashes. I've been trying for hours! I have each picture called exactly what it says and each of them only have one layer, really I am perplexed! The code I have used to make my two-sided preset is on preset_8 and the exact coding is:
material preset_8_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_8body.jpg
}
}
}
}
material preset_8_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_8body.jpg
}
}
}
}
material preset_8_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_8headL.jpg
}
}
}
}
material preset_8_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_8headL.jpg
}
}
}
}
material preset_8_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_8eyeL.jpg
}
}
}
}
material preset_8_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_8eyeR.jpg
}
}
}
}
material preset_8_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_8tail.jpg
}
}
}
}
material preset_8_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_8mane.png
}
}
}
}
Can anyone solve my annoying mystery? And thank you very much for trying to help me!
EDIT: Turns out one of the eye files, wasn't working which caused it to crash, thank you for the help!
-
Hmm, maybe try explaining better? Then I could help you. But you could try converting those .jpg into .png images?/color]
-
material preset_8_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_8body
}
}
}
}
material preset_8_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_8body
}
}
}
}
Your two body segments cannot have no extension.
Add .png or .jpg onto the end of the lines in pink, then try. o;
-
ditto to ruby!
whatever your image's name is, there must be a .png or a .jpg or it won't work because the game doesn't recognize anything else as an image file. check your images' extensions.
-
material preset_8_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_8body
}
}
}
}
material preset_8_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_8body
}
}
}
}
Your two body segments cannot have no extension.
Add .png or .jpg onto the end of the lines in pink, then try. o;
ditto to ruby!
whatever your image's name is, there must be a .png or a .jpg or it won't work because the game doesn't recognize anything else as an image file. check your images' extensions.
Thank you, all! I didn't notice that, but my game is still crashes, and I've checked my extensions and checked them in the coding, they are the same and all the pictures contain the extensions .jpg or .png