<_templates Include="trucks">
	<Flare>
		<Beacon1
			AspectRatio="1.5"
			Color="g(255; 126; 0) x 2"
			ColorMultAtDay="0.9"
			DirAngle="20"
			Size="0.15"
			SizeMultAtDay="1.20"
		/>
		<BeaconStreak1
			AspectRatio="4.5"
			Color="g(255; 126; 0) x 2"
			ColorMultAtDay="0.9"
			Dir="(1.0; 0; 0)"
			DirAngle="20"
			Size="0.20"
			SizeMultAtDay="0.75"
			Texture="sfx/flare_line__s_d.tga"
		/>
	</Flare>
	<Wheel>
		<Wheel
			SuspensionMin="-0.15"
			SuspensionStrength="0.009"
			Type="baton"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.45"
		HardpointDefaultZ="1.00"
	>
		<Wheel _template="Wheel" HardpointX="-4.715" />
		<Wheel _template="Wheel" HardpointX="-4.715" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-5.965" />
		<Wheel _template="Wheel" HardpointX="-5.965" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-7.215" />
		<Wheel _template="Wheel" HardpointX="-7.215" RightSide="true" />
	</Wheels>
	<Rotator RotationSpeed="6.0" ParentFrame="BoneLeft_cdt" />
	<Rotator RotationSpeed="6.0" ParentFrame="BoneRight_cdt" />
	<TruckData FuelCapacity="4000" RepairsCapacity="200">
		<OcclusionMap
			HalfSizeZ="1.75"
			MinX="-7.84"
			MaxX="0"
			Texture="trucks/occlusion/chassis_trailer__s_d_a.tga"
		/>
		<LimitedFluid
			Center="(-3.479; 2.22; 0)"
			LengthX="8.1"
			RadiusY="0.8"
			RadiusZ="1.034"
			Type="Cylinder"
		/>
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-6.0; 0; 0)" />
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
			<Axle Frame="AxleBone3" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint Name="Foot" Position="0.6" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/trailer_cistern_rework">
		<Body
			CenterOfMassOffset="(-0.8; -0.5; 0)"
			ImpactType="Truck"
			Mass="4000"
		>
			<Body
				ForceBodyParams="true"
				Mass="500"
				ModelFrame="BoneFoot_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="300000" Type="Position" Damping="2.0" Tau="0.3" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-8.566; 0.55;  0.872)" />
			<Light _template="IgnitionSignalRed" Pos="(-8.566; 0.55; -0.872)" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.066; 0.75;  1.093)" Size="0.20" AspectRatio="0.45" Color="g(169; 0; 0) x 1.4" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.066; 0.75; -1.093)" Size="0.20" AspectRatio="0.45" Color="g(169; 0; 0) x 1.4" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.066; 0.75;  0.872)" Size="0.40" AspectRatio="0.65" Color="g(169; 0; 0) x 1.0" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.066; 0.75; -0.872)" Size="0.40" AspectRatio="0.65" Color="g(169; 0; 0) x 1.0" />
			<Flare
				_template="Beacon1"
				Dir="(1.0; -0.1; 0)"
				Pos="(-7.368; 3.25; 0.575)"
				ParentFrame="BoneLeft_cdt"
			/>
			<Flare
				_template="BeaconStreak1"
				Dir="(1.0; -0.1; 0)"
				Pos="(-7.368; 3.25; 0.575)"
				ParentFrame="BoneLeft_cdt"
			/>
			<Flare
				_template="Beacon1"
				Dir="(0; -0.1; 1.0)"
				Pos="(-7.368; 3.25; 0.575)"
				ParentFrame="BoneLeft_cdt"
			/>
			<Flare
				_template="BeaconStreak1"
				Dir="(0; -0.1; 1.0)"
				Pos="(-7.368; 3.25; 0.575)"
				ParentFrame="BoneLeft_cdt"
			/>
			<Flare
				_template="Beacon1"
				Dir="(0; -0.1; 1.0)"
				Pos="(-7.368; 3.25; -0.575)"
				ParentFrame="BoneRight_cdt"
			/>
			<Flare
				_template="BeaconStreak1"
				Dir="(0; -0.1; 1.0)"
				Pos="(-7.368; 3.25; -0.575)"
				ParentFrame="BoneRight_cdt"
			/>
			<Flare
				_template="Beacon1"
				Dir="(1.0; -0.1; 0)"
				Pos="(-7.368; 3.25; -0.575)"
				ParentFrame="BoneRight_cdt"
			/>
			<Flare
				_template="BeaconStreak1"
				Dir="(1.0; -0.1; 0)"
				Pos="(-7.368; 3.25; -0.575)"
				ParentFrame="BoneRight_cdt"
			/>
		</Ignition>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-8.566; 0.55;  0.937)" />
			<Light _template="StopSignal" Pos="(-8.566; 0.55; -0.937)" />
			<Flare _template="StopSignal" Pos="(-8.066; 0.75;  0.937)" Size="0.50" AspectRatio="0.80" Color="g(255; 0; 0) x 0.8" />
			<Flare _template="StopSignal" Pos="(-8.066; 0.75; -0.937)" Size="0.50" AspectRatio="0.80" Color="g(255; 0; 0) x 0.8" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-8.066; 0.75;  0.821)" />
			<Light _template="ReverseSignal" Pos="(-8.066; 0.75; -0.821)" />
			<Flare _template="ReverseSignal" Pos="(-8.066; 0.75;  0.821)" Size="0.30" AspectRatio="0.60" Color="g(255; 255; 255) x 0.6" />
			<Flare _template="ReverseSignal" Pos="(-8.066; 0.75; -0.821)" Size="0.30" AspectRatio="0.60" Color="g(255; 255; 255) x 0.6" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-8.066; 0.75;  0.821)" Size="0.2" ColorMultAtDay="0.5" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-8.066; 0.75; -0.821)" Size="0.2" ColorMultAtDay="0.5" />
		</ReverseSignals>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-8.050; 0.810;  0.530)" />
		<WinchSocket Pos="(-8.050; 0.810; -0.530)" />
		<WinchSocket Pos="(-4.107; 1.507;  1.170)" />
		<WinchSocket Pos="(-4.107; 1.507; -1.170)" />
		<WinchSocket Pos="(0.437;  1.577;  0.000)" />
		<RequiredAddon Types="maz_tractor,kraz_tractor" />
		<InstallSocket Offset="(0.06; 1.22; 0.0)" Type="KamazTrailer" />
	</GameData>
	<FuelMass>
		<Body Mass="10000" />
	</FuelMass>
</Truck>
