<?xml version="1.0"?>
<_templates Include="trucks">
	<Wheel>
		<Wheel
			DefaultWheelType="kr_wheel"
			SteeringAngle="0"
			Torque="default"
			ParentFrame="Bonechassis"
		>
			<Suspension
				MinLimit="-0.25"
				Strength="0.02"
				HardpointOffset="-0.15"
			/>
		</Wheel>
	</Wheel>
</_templates>
<Truck>
	<GameData >
		<RequiredAddon Type="TowBall" />
		<InstallSocket Type="LogTrailer" Offset="(3.707; 0.528; 0.0)" />
		<LoadArea
			Type="MediumLogs"
			Min="(-6.359; 1.2; -1.12)"
			Max="(-4.864; 2.05; 1.12)"
		/>


		<WinchSocket Offset="(-4.267; 0.901; 0)" />

		
	</GameData>
	<TruckData>
		<Camera Center="(-5.0; 0; 0)" />
		<Axles>
			<Axle
				Frame="BoneF"
				LeftWheel="0"
				RightWheel="1"
			/>		
			<Axle
				Frame="BoneR"
				LeftWheel="2"
				RightWheel="3"
			/>
		</Axles>
		<OcclusionMap
			Texture="occlusion/chassis__da_uncmp.dds"
			Size="(6.4; 3.0)"
			Offset="-1.5"
		/>
		<TrailerConstraint _template="Default" />
		
	
	</TruckData>
	<PhysicsModel Mesh="logtrailer.xml">
		<Body
			Mass="2000"
			ImpactType="Truck"
		>
          <Body ModelFrame="RRM_cdt" Mass="10" >
           <Constraint Type="Hinge" MinLimit="-20" MaxLimit="20" Axis="(0.0; 0.0; 1.0)"> 	   
           </Constraint>
	  		</Body>	 
          <Body ModelFrame="RLM_cdt" Mass="10" >
           <Constraint Type="Hinge" MinLimit="-20" MaxLimit="20" Axis="(0.0; 0.0; 1.0)"> 	   
           </Constraint>
		 </Body>
          <Body ModelFrame="Bone_LOG" Mass="100" >
           <Constraint Type="Hinge" MinLimit="-120" MaxLimit="120" Axis="(0.0; 1.0; 0.0)"> 
				<Motor
					Type="Spring"
					Spring="4000"
					Damping="2000"
				/>		   
           </Constraint>
		 </Body>		 
		</Body>		
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Flare _template="RedSignal" Offset="(-3.918; 1.198; 1.185)" />
			<Flare _template="RedSignal" Offset="(-3.918; 1.198; -1.185)" />
		</Ignition>
		<StopSignals>
			<Flare _template="StopSignal" Offset="(-3.918; 1.21; 1.092)" />
			<Flare _template="StopSignal" Offset="(-3.918; 1.21; -1.092)" />
			<Light _template="StopSignal" Offset="(-3.918; 1.155; 0)" />
		</StopSignals>
		<ReverseSignals>
			<Flare _template="ReverseSignal" Offset="(-3.918; 1.147; 1.092)" />
			<Flare _template="ReverseSignal" Offset="(-3.918; 1.147; -1.092)" />
		</ReverseSignals>
		
	</ModelAttachments>
	<Wheels>
		<Wheel _template="Wheel"  >
			<Suspension Hardpoint="(-1.135; 0.675; 1.0)" />
		</Wheel>
		<Wheel _template="Wheel"  >
			<Suspension Hardpoint="(-1.135; 0.675; -1.0)" />
		</Wheel>
		<Wheel _template="Wheel"  >
			<Suspension Hardpoint="(-2.749; 0.675; 1.0)" />
		</Wheel>
		<Wheel _template="Wheel"  >
			<Suspension Hardpoint="(-2.749; 0.675; -1.0)" />
		</Wheel>
	</Wheels>
</Truck>
