<_templates Include="trucks">
	<Wheel>
		<TrailerWheelFront
			HardpointOffsetY="-0.15"
			SuspensionMin="-0.3"
			SuspensionStrength="0.03"
			Type="us_truck_cistern_double"
			Torque="default"
			ParentFrame="BoneFrontCart_cdt"
			HardpointX="2.772"
		/>
		<TrailerWheelRear
			HardpointOffsetY="-0.15"
			SuspensionMin="-0.3"
			SuspensionStrength="0.01"
			Type="us_truck_cistern_double"
			Torque="default"
			ParentFrame="BoneChassis_cdt"
			HardpointX="-2.56"
		/>
	</Wheel>
	<Flare>
		<IgnitionSignalGreen
			AspectRatio="1.4"
			Color="g(165; 149; 130) x 0.6"
			DirAngle="90"
			Size="0.8"
		/>
		<IgnitionSignalRed1
			AspectRatio="1.4"
			Color="g(169; 65; 26) x 0.4"
			DirAngle="90"
			Size="0.5"
		/>
	</Flare>
	<Light>
		<IgnitionSignalGreen
			AttenEnd="1"
			Color="g(200; 253; 200) x 4"
			InnerCone="10"
			OuterCone="180"
		/>
	</Light>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.549"
		HardpointDefaultZ="1.034"
	>
		<Wheel _template="TrailerWheelFront" />
		<Wheel _template="TrailerWheelFront" RightSide="true" />
		<Wheel _template="TrailerWheelRear" />
		<Wheel _template="TrailerWheelRear" RightSide="true" />
	</Wheels>
	<TruckData RepairsCapacity="600">
		<OcclusionMap HalfSizeZ="1.861" MinX="-3.434" MaxX="3.732" />
		<Constraint _template="TrailerRagdoll">
			<TwistMotor _inheritRemove="true" />
		</Constraint>
		<Camera Center="(-2.5; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle1" />
			<Axle Frame="BoneAxle2" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/maintainer_trailer">
		<Body
			ImpactType="Truck"
			Mass="1400"
			CenterOfMassOffset="(-2; 0; 0)"
		>
			<Body Mass="600" ModelFrame="BoneFrontCart_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-50"
					MaxLimit="50"
					Type="Hinge"
				>
					<Motor Damping="8000" Spring="40000" Type="Spring" />
				</Constraint>
				<Body ForceBodyParams="true" Mass="400" ModelFrame="BoneHandle_cdt">
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="-60"
						MaxLimit="60"
						Type="Hinge"
					/>
				</Body>
			</Body>
			<Body Mass="10" ModelFrame="BoneDoor_01_cdt">
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="0"
					MaxLimit="90"
					Type="Hinge"
				>
					<Motor Damping="5" Spring="10" Type="Spring" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-3.652; 0.872; 0)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="StopSignal" Pos="(-3.729; 0.872; 0.658)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="StopSignal" Pos="(-3.729; 0.872; -0.658)" ParentFrame="BoneChassis_cdt" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-3.652; 0.872; 0)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="ReverseSignal" Pos="(-3.729; 0.872; 0.658)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="ReverseSignal" Pos="(-3.729; 0.872; -0.658)" ParentFrame="BoneChassis_cdt" />
			<Flare
				_template="BlueStreak"
				Dir="(-1; 0; 0)"
				Pos="(-3.729; 0.872; 0.658)"
				ParentFrame="BoneChassis_cdt"
			/>
			<Flare
				_template="BlueStreak"
				Dir="(-1; 0; 0)"
				Pos="(-3.729; 0.872; -0.658)"
				ParentFrame="BoneChassis_cdt"
			/>
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-3.652; 0.872; 0)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-3.729; 0.872; 0.658)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-3.729; 0.872; -0.658)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="IgnitionSignalGreen" Pos="(-3.949; 2.879; -0.07)" Dir="(-1; 0; 0)" />
			<Flare _template="IgnitionSignalGreen" Pos="(-3.956; 2.873; -1.357)" Dir="(-1; 0; 0)" />
			<Light _template="IgnitionSignalGreen" Pos="(1.693; 3.824; 0.983)" Dir="(-0.754; -0.176; -0.632)" />
			<Flare _template="IgnitionSignalGreen" Pos="(1.693; 3.824; 0.983)" Dir="(-0.754; -0.176; -0.632)" />
			<Light _template="IgnitionSignalGreen" Pos="(1.693; 3.824; -0.983)" Dir="(-0.754; -0.176; 0.632)" />
			<Flare _template="IgnitionSignalGreen" Pos="(1.693; 3.824; -0.983)" Dir="(-0.754; -0.176; 0.632)" />
			<Light _template="IgnitionSignalGreen" Pos="(-3.361; 2.873; 1.308)" Dir="(0; 0; 1)" />
			<Flare _template="IgnitionSignalGreen" Pos="(-3.361; 2.873; 1.308)" Dir="(0; -0.120; 0.993)" />
			<Light _template="IgnitionSignalGreen" Pos="(-1.674; 2.873; 1.308)" Dir="(0; 0; 1)" />
			<Flare _template="IgnitionSignalGreen" Pos="(-1.674; 2.873; 1.308)" Dir="(0; 0; 1)" />
			<Light _template="IgnitionSignalGreen" Pos="(-1.674; 2.873; -1.308)" Dir="(0; 0; -1)" />
			<Flare _template="IgnitionSignalGreen" Pos="(-1.674; 2.873; -1.308)" Dir="(0; 0; -1)" />
			<Flare _template="IgnitionSignalRed1" Pos="(1.625; 3.514; 1.267)" Dir="(-1.0; -0.2; 0)" />
			<Flare _template="IgnitionSignalRed1" Pos="(1.625; 3.514; -1.267)" Dir="(-1.0; -0.2; 0)" />
			<Flare _template="IgnitionSignalRed1" Pos="(3.597; 3.514; 1.267)" Dir="(1.0; -0.2; 0)" />
			<Flare _template="IgnitionSignalRed1" Pos="(3.597; 3.514; -1.267)" Dir="(1.0; -0.2; 0)" />
		</Ignition>
	</ModelAttachments>
	<GameData GaragePoints="2">
		<WinchSocket Pos="(-3.471; 1.101; 0.659)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(-3.471; 1.101; -0.659)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(1.731; 1.225; 0.605)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(1.731; 1.225; -0.605)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(5.67; 0.83; 0)" ParentFrame="BoneHandle_cdt" />
		<InstallSocket Offset="(5.67; 0.676; 0)" Type="KamazTrailerCart" ParentFrame="BoneHandle_cdt" />
	</GameData>
</Truck>
