<_templates Include="trucks" />
<Truck>
	<Wheels
		HardpointDefaultY="0.364"
		HardpointDefaultZ="0.93"
	>
		<Wheel
			HardpointX="-4.556"
			Type="zil157_rear"
			SuspensionMin="-0.3"
			SuspensionStrength="0.024"
		/>
		<Wheel
			HardpointX="-4.556"
			RightSide="true"
			Type="zil157_rear"
			SuspensionMin="-0.3"
			SuspensionStrength="0.024"
		/>
	</Wheels>
	<TruckData FuelCapacity="1600" RepairsCapacity="100">
		<OcclusionMap HalfSizeZ="1.65" MinX="-5.95" MaxX="1.05" />
		<Constraint
			PlaneAxisLocal="(0; 0; 1.0)"
			PlaneMin="-90"
			PlaneMax="90"
			TwistAxisLocal="(1.0; 0; 0)"
			TwistMin="-30"
			TwistMax="30"
			Type="Ragdoll"
		>
			<TwistMotor Damping="60000" Spring="320000" Type="Spring" />
		</Constraint>
		<Camera Center="(-3.0; 0; 0)" />
		<Axles>
			<Axle Frame="B1" LeftWheel="0" RightWheel="1" />
		</Axles>
		<LimitedFluid
			Center="(0.052; 1.738; 0)"
			LengthX="1.595"
			RadiusY="0.55"
			RadiusZ="0.8"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(-1.543; 1.738; 0)"
			LengthX="1.595"
			RadiusY="0.55"
			RadiusZ="0.8"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(-3.138; 1.738; 0)"
			LengthX="1.595"
			RadiusY="0.55"
			RadiusZ="0.8"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(-4.732; 1.738; 0)"
			LengthX="1.595"
			RadiusY="0.55"
			RadiusZ="0.8"
			Type="Cylinder"
		/>
	</TruckData>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint Name="Foot" Position="0.6" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/trailer_5245_cistern">
		<Body
			CenterOfMassOffset="(0.3; -0.1; 0)"
			Collisions="Internal"
			ImpactType="Truck"
			Mass="3000"
		>
			<Body
				ForceBodyParams="true"
				Mass="100"
				ModelFrame="BoneFoot_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0.0"
					MaxLimit="0.3"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="50000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
	<Ignition>
			<Flare _template="IgnitionSignalRed" Pos="(-5.472; 1.338; 0.8014)" ParentFrame="BoneFront_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-5.472; 1.338; -0.8014)" ParentFrame="BoneFront_cdt" />
		</Ignition>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-5.472; 1.338; 0)" ParentFrame="BoneFront_cdt" />
			<Flare _template="StopSignal" Pos="(-5.472; 1.338; 0.8014)" ParentFrame="BoneFront_cdt" />
			<Flare _template="StopSignal" Pos="(-5.472; 1.338; -0.8014)" ParentFrame="BoneFront_cdt" />
		</StopSignals>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-5.674; 1.108; 0.723)" />
		<WinchSocket Pos="(-5.674; 1.108; -0.723)" />
		<RequiredAddon Types="zil157_tractor" />
		<InstallSocket Offset="(0.2; 0.96; 0.0)" Type="zil157_trailer" />
	</GameData>
	<FuelMass>
		<Body Mass="4000" />
	</FuelMass>
</Truck>
