<_templates Include="trucks">
	<Wheel>
		<Wheel
			HardpointOffsetY="-0.15"
			SuspensionMin="-0.35"
			SuspensionStrength="0.022"
			SuspensionDamping="0.18"
			Type="kamaz_double"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.4"
		HardpointDefaultZ="0.97"
	>
		<Wheel _template="Wheel" HardpointX="-5.197" />
		<Wheel _template="Wheel" HardpointX="-5.197" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-6.532" />
		<Wheel _template="Wheel" HardpointX="-6.532" RightSide="true" />
	</Wheels>
	<TruckData FuelCapacity="3700">
		<OcclusionMap
			HalfSizeZ="1.75"
			MinX="-7.84"
			MaxX="0"
			Texture="trucks/occlusion/chassis_trailer__s_d_a.tga"
		/>
		<LimitedFluid
			Center="(-3.479; 2.06; 0)"
			LengthX="8.1"
			RadiusY="0.8"
			RadiusZ="1.034"
			Type="Cylinder"
		/>
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-6.0; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle0" />
			<Axle Frame="BoneAxle1" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint Name="Foot" Position="0.44" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/trailer_cistern">
		<Body
			CenterOfMassOffset="(0; -0.5; 0)"
			ImpactType="Truck"
			Mass="4000"
		>
			<Body
				ForceBodyParams="true"
				Mass="250"
				ModelFrame="BoneFoot_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0"
					MaxLimit="0.44"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="140100" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-7.87; 0.593; 0)" />
			<Flare _template="StopSignal" Pos="(-8.07; 0.593; 0.964)" />
			<Flare _template="StopSignal" Pos="(-8.07; 0.593; -0.964)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-7.87; 0.593; 0)" />
			<Flare _template="ReverseSignal" Pos="(-8.07; 0.593; 0.861)" />
			<Flare _template="ReverseSignal" Pos="(-8.07; 0.593; -0.861)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-8.07; 0.593; 0.861)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-8.07; 0.593; -0.861)" />
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-7.87; 0.593; 0)" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.07; 0.593; 0.964)" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.07; 0.593; -0.964)" />
			<Flare _template="IgnitionSignalWhite" Dir="(-1;0;0)" Pos="(-7.38; 2.973; 0.556)" />
			<Flare _template="IgnitionSignalWhite" Dir="(-1;0;0)" Pos="(-7.38; 2.973; -0.556)" />
		</Ignition>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-8.05; 0.65; 0.53)" />
		<WinchSocket Pos="(-8.05; 0.65; -0.53)" />
		<WinchSocket Pos="(-4.107; 1.347; 1.170)" />
		<WinchSocket Pos="(-4.107; 1.347; -1.170)" />
		<WinchSocket Pos="(0.9; 1.417; 0)" />
		<RequiredAddon Types="maz_tractor,kraz_tractor" />
		<RequiredAddon Types="ural_exhaust" />
		<InstallSocket Offset="(0; 1.14; 0.0)" Type="KamazTrailer" />
	</GameData>
	<FuelMass>
		<Body Mass="10000" />
	</FuelMass>
</Truck>
