Page 1 of 1
moddeling Tank?
Posted: Tue Apr 08, 2008 10:34 pm
by Bromi
i have modelled a tank i know want to get it working in mohaa/mohaas
i have looked in the Paks at the animation files i have looked in the tik and checked the skc files but cannot find one where there are tracks that move
any ideas
thanks
Posted: Tue Apr 08, 2008 11:28 pm
by ViPER
look in the shader
Posted: Wed Apr 09, 2008 10:00 am
by Bromi
i have done it says
Code: Select all
panzer_iv_tread
{
qer_editorimage textures/models/vehicles/panzer_iv/tread.tga
noMerge
{
map textures/models/vehicles/panzer_iv/tread.tga
rgbGen lightingSpherical
//tcmod scroll fromEntity 0
tcmod scroll -0.2 0
}
}
does this mean anything in making the tracks move?
Posted: Wed Apr 09, 2008 1:10 pm
by Salombo
tcMod scroll <sSpeed> <tSpeed>
Scrolls the texture coordinates with the given speeds. ). The values "s" and "t" conform to the "x" and "y" values (respectively) as they are found in the original texture TGA, The scroll speed is measured in "textures" per second. A "texture" is the dimension of the texture being modified and includes any previous shader modifications to the original TGA). A negative s value would scroll the texture to the left. A negative t value would scroll the texture down.