<_templates Include="trucks">
	<Wheel>
		<TrailerWheel
			HardpointOffsetY="-0.1"
			SuspensionMin="-0.3"
			Type="ford_f150_front"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.4"
		HardpointDefaultZ="0.707"
	>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-0.172"
			SuspensionStrength="0.015"
            SuspensionDamping="0.17"
		/>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-0.172"
			RightSide="true"
			SuspensionStrength="0.015"
            SuspensionDamping="0.17"
		/>
	</Wheels>
	<TruckData RepairsCapacity="200">
		<OcclusionMap
			HalfSizeZ="1.4"
			MinX="-1.132"
			MaxX="0.6"
			Texture="trucks/occlusion/wheel__s_d_a.tga"
		/>
		<Constraint _template="TrailerRagdoll">
			<TwistMotor _inheritRemove="true" />
		</Constraint>
		<Camera Center="(0; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint InitialFix="true" Name="Foot" Position="-80" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/trailer_uaz">
		<Body	
            AngularDamping="0.5"	
			CenterOfMassOffset="(0; -0.4; 0)"
			ImpactType="Truck"
			Mass="400"
		>
			<Body
				ForceBodyParams="true"
				Mass="50"
				ModelFrame="BoneFoot_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0; 0; 1)"
					MinLimit="-80"
					MaxLimit="0"
					Name="Foot"
					Type="Hinge"
				>
					<Motor Force="4000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-0.972; 1.033; 0)" ParentFrame="BoneRear_cdt" />
			<Flare _template="StopSignal" Pos="(-0.972; 1.033; 0.6)" ParentFrame="BoneRear_cdt" />
			<Flare _template="StopSignal" Pos="(-0.972; 1.033; -0.6)" ParentFrame="BoneRear_cdt" />
		</StopSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-0.972; 0.974; 0)" ParentFrame="BoneRear_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-0.972; 0.974; 0.603)" ParentFrame="BoneRear_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-0.972; 0.974; -0.603)" ParentFrame="BoneRear_cdt" />
		</Ignition>
	</ModelAttachments>
	<GameData GaragePoints="1">
		<WinchSocket Pos="(-0.967; 0.641; 0.45)" />
		<WinchSocket Pos="(-0.967; 0.641; -0.45)" />
		<WinchSocket Pos="(1.639; 0.674; 0.0)" />
		<InstallSocket Offset="(1.719; 0.674; 0.0)" Type="UazTrailer" />
	</GameData>
</Truck>
