<_templates Include="trucks">
	<Wheel>
		<Wheel
			HardpointOffsetY="0.1"
			SuspensionMin="0.1"
			SuspensionStrength="0.1"
			Torque="default"
			Type="pacific_trailer_double" 
			ParentFrame="BoneSuspension_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.559"
		HardpointDefaultZ="1.175"
	>
		<Wheel _template="Wheel" HardpointX="-1.999" />
		<Wheel _template="Wheel" HardpointX="-1.999" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-3.305" />
		<Wheel _template="Wheel" HardpointX="-3.305" RightSide="true" />
	</Wheels>
	<TruckData>
		<OcclusionMap
			HalfSizeZ="2"
			MinX="-3.651"
			MaxX="-1.389"
			Texture="trucks/occlusion/chassis_trailer__s_d_a.tga"
		/>
		<Constraint _template="TrailerRagdoll">
			<PlaneConeMotor Damping="6000" Spring="20000" Type="Spring" />
		</Constraint>
		<Camera Center="(-3.5; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle1" />
			<Axle Frame="BoneAxle2" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/pacific_trailer_cart">
		<Body ImpactType="Truck" Mass="100">
			<Body ImpactType="Truck" Mass="700" ModelFrame="BoneFrame_cdt">
					<Constraint
						AxisLocal="(1; 0; 0)"
						MinLimit="-20"
						MaxLimit="20"
						Type="Hinge"
					>
						<Motor Damping="1000" Spring="1000" Type="Spring" />
					</Constraint>
			
				<Body _template="CartForkBase" ModelFrame="BoneFork_cdt">
					<Body _template="CartFork" ModelFrame="BoneForkLeft_cdt">
						<Constraint AxisLocal="(-1;0;0)" />
					</Body>
					<Body _template="CartFork" ModelFrame="BoneForkRight_cdt" />
				</Body>				
				<Body ImpactType="Truck" Mass="500" ModelFrame = "BoneSuspension_cdt">
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-15"
						MaxLimit="15"
						Type="Hinge"
					>
						<Motor Damping="500" Spring="1000" Type="Spring" />
					</Constraint>
				</Body>	
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-3.086; 0.948; 0)" />
		<WinchSocket Pos="(1.922; 1.105; 0)" />
		<RequiredAddon Types="pacific_cart" />
		<LoadArea Min="(-6.14; 1.423; -1.498)" Max="(-2.524; 2.8; 1.4)" Type="LongLogs" />
		<InstallSocket Offset="(1.922; 1.105; 0)" Type="PacificCartTrailer"/>
	</GameData>
</Truck>
