Feral Heart
Help & Guidance => Game Help => Topic started by: SenseiRei on March 28, 2018, 03:52:58 am
-
This happened a long time ago, i received a map from someone, and I'm just remembering they had "Animated Map Textures" Typically a lava crack texture where the light of the lava was scrolling in between the cracks... I wanted to ask them how they did it, but i forgot to do that. And now I'm at a stump to where i want to add the Animated Map Texture to one of my maps (Since I'm updating my giant map set)
Any clues? please help <3
-
This is the scrolling code used in presets. When making a material file to texture an object, you can do the same things you can do to preset code.
material ScrollingLavaMat
{
technique
{
pass
{
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 200
texture_unit
{
texture ScrollingLava.jpg
tex_address_mode mirror
scroll_anim 0.0 0.01
}
}
pass
{
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 200
shading gouraud
texture_unit
{
texture CrackedLava.png
tex_address_mode wrap
}
}
}
}
I don't know how to animate a ground texture if that's what you're looking for.
-
This is the scrolling code used in presets. When making a material file to texture an object, you can do the same things you can do to preset code.
material ScrollingLavaMat
{
technique
{
pass
{
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 200
texture_unit
{
texture ScrollingLava.jpg
tex_address_mode mirror
scroll_anim 0.0 0.01
}
}
pass
{
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 200
shading gouraud
texture_unit
{
texture CrackedLava.png
tex_address_mode wrap
}
}
}
}
I don't know how to animate a ground texture if that's what you're looking for.
IK the one for preset, hmm but to implement that code into a material file for a ground texture ;;