<?xml version="1.0"?>
<_templates Include="trucks">
	<Wheel>
		<Wheel
			DefaultWheelType="kraz_wheel_double"
			SteeringAngle="0"
			Torque="default"
		>
			<Suspension
				MinLimit="-0.25"
				Strength="0.022"
				HardpointOffset="-0.15"
			/>
		</Wheel>
	</Wheel>
</_templates>
<Truck>
	<GameData FuelCapacity="40000">
		<RequiredAddon Type="maz2_tractor,maz_tractor,kraz_tractor" />
		<InstallSocket Type="KamazTrailer" Offset="(0; 1.06; 0.0)" />
		<WinchSocket Offset="(-8.05; 0.65; 0.53)" />
		<WinchSocket Offset="(-8.05; 0.65; -0.53)" />
	</GameData>
	<TruckData>
		<Camera Center="(-6.0; 0; 0)" />
		<OcclusionMap
			Texture="occlusion/chassis__da_uncmp.tga"
			Size="(9.2; 3.5)"
			Offset="-3.245"
		/>
		<TrailerConstraint _template="Default" />
		<Axles>
			<Axle
				Frame="BoneAxle0"
				LeftWheel="0"
				RightWheel="1"
			/>
			<Axle
				Frame="BoneAxle1"
				LeftWheel="2"
				RightWheel="3"
			/>
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trailer_cistern.xml">
		<Body Mass="2000" CenterOfMassOffset="(-0.8; -0.3; 0)">
			<Body
				ModelFrame="BoneFoot_cdt"
				Mass="100"
				NoFoliageCollisions="true"
				ImpactType="Truck"
			>
				<Constraint
					Name="Foot"
					Type="Prismatic"
					Axis="(0;1;0)"
					MinLimit="-0.74"
					MaxLimit="0"
				>
					<Motor Type="Position" Force="16000" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<PoweredConstraints>
		<foot_push>
			<Constraint
				Name="Foot"
				Position="-0.74"
				TerminalFix="true"
			/>
		</foot_push>
	</PoweredConstraints>
	<FuelMass>
		<Body Mass="12000" />
	</FuelMass>
	<ModelAttachments>
		<Ignition>
			<Flare _template="RedSignal" Offset="(-8.07; 0.593; 0.964)" />
			<Flare _template="RedSignal" Offset="(-8.07; 0.593; -0.964)" />
			<Flare _template="ReverseSignal" Offset="(-7.38; 3.201; 0.556)" />
			<Flare _template="ReverseSignal" Offset="(-7.38; 3.201; -0.556)" />
		</Ignition>
		<StopSignals>
			<Flare _template="StopSignal" Offset="(-8.07; 0.593; 0.964)" />
			<Flare _template="StopSignal" Offset="(-8.07; 0.593; -0.964)" />
			<Light _template="StopSignal" Offset="(-7.87; 0.593; 0)" />
		</StopSignals>
		<ReverseSignals>
			<Flare _template="ReverseSignal" Offset="(-8.07; 0.593; 0.861)" />
			<Flare _template="ReverseSignal" Offset="(-8.07; 0.593; -0.861)" />
			<Light _template="ReverseSignal" Offset="(-7.87; 0.593; 0)" />
		</ReverseSignals>
	</ModelAttachments>
	<Wheels>
		<Wheel _template="Wheel">
			<Suspension Hardpoint="(-5.197; 0.45; 0.93)" />
		</Wheel>
		<Wheel _template="Wheel">
			<Suspension Hardpoint="(-5.197; 0.45; -0.93)" />
		</Wheel>
		<Wheel _template="Wheel">
			<Suspension Hardpoint="(-6.532; 0.45; 0.93)" />
		</Wheel>
		<Wheel _template="Wheel">
			<Suspension Hardpoint="(-6.532; 0.45; -0.93)" />
		</Wheel>
	</Wheels>
</Truck>
