<_templates Include="trucks" />
<Truck>
	<Wheels
		HardpointDefaultY="0.437"
		HardpointDefaultZ="0.753"
	>
		<Wheel
			HardpointOffsetY="-0.08"
			HardpointX="-1.27"
			SuspensionMin="-0.3"
			SuspensionStrength="0.04"
			Type="umz_trailer"
		/>
		<Wheel
			HardpointOffsetY="-0.08"
			HardpointX="-1.27"
			RightSide="true"
			SuspensionMin="-0.3"
			SuspensionStrength="0.04"
			Type="umz_trailer"
		/>
	</Wheels>
	<TruckData FuelCapacity="300" RepairsCapacity="400">
		<OcclusionMap
			AlphaMult="0.7"
			HalfSizeZ="2.2"
			MinX="-2.3"
			MaxX="1.767"
			Texture="trucks/occlusion/chassis_trailer__s_d_a.tga"
		/>
		<Constraint _template="TrailerRagdoll">
			<TwistMotor _inheritRemove="true" />
		</Constraint>
		<Camera Center="(-1; 0; 0)" RadiusMultiplier="0.8" />
		<Axles>
			<Axle Frame="BoneAxle1" />
		</Axles>
		<LimitedFluid
		  AxisX="(0; 1; 0)"
		  Center="(.35; 1.459; 0.054)"
		  LengthX="1.014"
		  RadiusY="0.312"
		  RadiusZ="0.312"
		  Type="Cylinder"
		/>			
		<LimitedFluid
		  AxisX="(0; 1; 0)"
		  Center="(-.314; 1.459; -0.603)"
		  LengthX="1.014"
		  RadiusY="0.312"
		  RadiusZ="0.312"
		  Type="Cylinder"
		/>
		<LimitedFluid
		  AxisX="(0; 1; 0)"
		  Center="(.35; 1.459; -.592)"
		  LengthX="1.014"
		  RadiusY="0.312"
		  RadiusZ="0.312"
		  Type="Cylinder"
		/>
	</TruckData>
	<PhysicsModel Mesh="trucks/umz_trailer_utility">
		<Body ImpactType="Truck" Mass="1600" ModelFrame="BoneCart_cdt">
			<Body _template="Mudguard" ModelFrame="BoneLeftMudguard_cdt">
				<Constraint AxisLocal="(0; 0.0; 1.0)" MinLimit="-20" MaxLimit="20" />
			</Body>
			<Body _template="Mudguard" ModelFrame="BoneRightMudguard_cdt">
				<Constraint AxisLocal="(0; 0.0; 1.0)" MinLimit="-20" MaxLimit="20" />
			</Body>
			<Body ImpactType="Truck" Mass="140" ModelFrame="BoneBarrel2_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="-0.01"
					MaxLimit="0.01"
					Type="Prismatic"
				>
					<Motor Damping="500" Spring="400" Type="Spring" />
				</Constraint>
			</Body>
			<Body ImpactType="Truck" Mass="140" ModelFrame="BoneBarrel3_cdt">
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-0.01"
					MaxLimit="0.01"
					Type="Prismatic"
				>
					<Motor Damping="1000" Spring="700" Type="Spring" />
				</Constraint>
			</Body>
			<Body ImpactType="Truck" Mass="140" ModelFrame="BoneBarrel1_cdt">
				<Constraint
					AxisLocal="(0.5;0;0.5)"
					MinLimit="0"
					MaxLimit="1"
					Type="Hinge"
				>
					<Motor Damping="5" Spring="500" Type="Spring" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-1.576; 0.774; 0)" />
			<Flare _template="StopSignal" Pos="(-1.918; 0.8; 0.778)" />
			<Flare _template="StopSignal" Pos="(-1.918; 0.8; -0.788)" />
		</StopSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-1.576; 0.774; 0)" />
			<Flare _template="IgnitionSignalRed" Pos="(-1.918; 0.8; 0.778)" />
			<Flare _template="IgnitionSignalRed" Pos="(-1.918; 0.8; -0.788)" />
		</Ignition>
	</ModelAttachments>
	<GameData>
		<InstallSocket Offset="(2.018; 0.553; 0)" Type="UmzTrailer" ParentFrame="BoneCart_cdt" />
		<WinchSocket Pos="(-1.783; 0.833; 0.004)" />
		<WinchSocket Pos="(1.799; 0.537; 0.054)" />
	</GameData>
</Truck>
