1
Game Help / Preset Problem
« on: September 30, 2018, 06:16:09 pm »
I just finished making a preset and there's an issue. This preset has scrolling, transparency, and semi-transparency. I've never encountered a problem like this before while making a preset. I loaded my preset in the preset creator and it looked exactly how I wanted it to. I then exported it and put the preset onto my character that I use in-game. Then, I noticed something. Half of the presets body looked like what I made while the other half is just scrolling. I deleted the export and examined my code but nothing seemed to be wrong about it.
This is in the preset maker and it shows what the preset is supposed to look like
This is the preset in the character creator
(Sorry the scrolling is so dark and hard to see)
And this is the code for the body
This is in the preset maker and it shows what the preset is supposed to look like
This is the preset in the character creator
(Sorry the scrolling is so dark and hard to see)
And this is the code for the body
Code: [Select]
material preset_3_bodyMatL
{
technique
{
pass
{
depth_check on
depth_write off
scene_blend alpha_blend
texture_unit
{
texture preset_3scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
depth_check on
depth_write off
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_3body.png
}
}
}
}
material preset_3_bodyMatR
{
technique
{
pass
{
depth_check on
depth_write off
scene_blend alpha_blend
texture_unit
{
texture preset_3scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
depth_check on
depth_write off
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture preset_3body.png
}
}
}
}
The body has both semi-transparency and scrolling but that doesn't seem to be causing the problem because only half of the preset isn't working. I really hope this is something that can be solved.