Slightly OT: Anyone here every built a custom vehicle?

Here's a specific forum for discussing potential maps, maps that need a vacation and optimizations and modifications for better playability.
zeus
1337 Haxor
Posts: 965
Joined: Wed May 03, 2006 11:00 pm
Contact:

Yeah, that probably will help. I think that this is the relevant code from the ONS-HoverTank...

Code: Select all

simulated function SetupTreads()
{
	LeftTreadPanner = VariableTexPanner(Level.ObjectPool.AllocateObject(class'VariableTexPanner'));
	if ( LeftTreadPanner != None )
	{
		LeftTreadPanner.Material = Skins[1];
		LeftTreadPanner.PanDirection = rot(0, 16384, 0);
		LeftTreadPanner.PanRate = 0.0;
		Skins[1] = LeftTreadPanner;
	}
	RightTreadPanner = VariableTexPanner(Level.ObjectPool.AllocateObject(class'VariableTexPanner'));
	if ( RightTreadPanner != None )
	{
		RightTreadPanner.Material = Skins[2];
		RightTreadPanner.PanDirection = rot(0, 16384, 0);
		RightTreadPanner.PanRate = 0.0;
		Skins[2] = RightTreadPanner;
	}
}
Post Reply