Hi I am not familiar with shaders, but i need i simple modification for an easy UVShader! (lite-c)

This is the "basic" code:
Code:
function mtl_UV_Clamp_event ();


MATERIAL* mtl_UV_Clamp =
{
	
   event = mtl_UV_Clamp_event;
	effect = "
		matrix matMtl;
	
		extern texture entSkin2;
		
		technique uvspeed
		{
			pass p0
			{
				

				Texture[0] = <entSkin2>;
				ColorOp[0] = subtract;		
				TextureTransform[0] = <matMtl>;
				TextureTransformFlags[0] = Count2;

			}
		}";

}

function mtl_UV_Clamp_event ()
{
	mat_identity(mtl.matrix);
	mtl.flags |= ENABLE_RENDER;
	mtl.matrix31 = floatd(my.skill1, 256);
	mtl.matrix32 = floatd(my.skill2, 256);
}


I have a tank with 3 Skins - first skin for the Model, second and third for the two tracks!

So i want to change the U-values of skin2 and skin3 depending on skill1 and skill2!

So can anyone help me plz? I think its quite easy, but i get this only working with skin1!
THX kasimir