<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.124"
			SuspensionMin="-0.4"
			SuspensionStrength="0.0422"
			Torque="default"
			Type="freightliner_fl120_rear"
		/>
		<FrontWheel
			HardpointOffsetY="-0.144"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionMin="-0.4"
			SuspensionStrength="0.0425"
			Torque="none"
			Type="freightliner_fl120_front"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
	<Flare>
		<HeadLight1
			AspectRatio="1.4"
			Color="g(141; 133; 117) x 0.8"
			ColorMultAtDay="0.7"
			Dir="(1.0; 0; 0)"
			DirAngle="80"
			Reflections="true"
			Size="1.5"
			SizeMultAtDay="0.5"
		/>	
	</Flare>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.556"
		HardpointDefaultZ="1.130"
	>
		<Wheel _template="FrontWheel" HardpointX="3.372" />
		<Wheel _template="FrontWheel" HardpointX="3.372" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-2.905" HardpointZ="1.02" />
		<Wheel _template="RearWheel" HardpointX="-2.905" HardpointZ="1.02" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-4.33" HardpointZ="1.02" />
		<Wheel _template="RearWheel" HardpointX="-4.33" HardpointZ="1.02" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.06"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
		EngineStartDelay="0.8"
		ExhaustStartTime="0.9"
		FuelCapacity="330"
		Responsiveness="0.1"
		SteerSpeed="0.02"
		DiffLockType="Always"
		LockClothInvertDir="true"
		LockClothOrigin="(-2; 0.2; 0)"
		LockClothScale="1"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.862"
		/>
		<Steam Origin="(1.485; 1.058; 0)" />
		<Steam Origin="(3.546; 1.307; 0)" Scale="0.5" ParentFrame="BoneCabin_cdt" />
		<Sounds
			_template="Default"
			AirHissInterval="12.0"
			DisableReversePitch="true"
			Origin="(3.035; 1.568; 0)"
			ParentFrame="BoneCabin_cdt"
			EngineHeavyVolume="1"
		>
			<Reverse Sound="freightliner/freightliner_back_beeper" />
			<EngineTurbo Sound="freightliner/freightliner_turbo" />
			<EngineTrans Sound="freightliner/freightliner_trans" />
			<EngineRev Sound="freightliner/freightliner_rev" />
			<EngineStop Sound="freightliner/freightliner_stop" />
			<EngineStart Sound="freightliner/freightliner_start" />
			<EngineLow Sound="freightliner/freightliner_low" />
			<EngineIdle Sound="freightliner/freightliner_idle" />
			<EngineHigh Sound="freightliner/freightliner_high" />
			<EngineHeavy Sound="freightliner/freightliner_heavy" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneRightExhaust" MaxAngle="(3; 3; 3)" MaxFrequency="3.9" />
			<Shaker Frame="BoneLeftExhaust" MaxAngle="(3; 3; 3)" MaxFrequency="4.1" />			
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.55"
			HeightFront="1.168"
			HeightRear="0.838"
			MinX="-5.111"
			MaxX="3.986"
		>
			<FullOcclusion HeightFront="1.168" HeightRear="1.131" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.9" MinX="-5.123" MaxX="4.093" />
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="0.01" Torque="170000">
			<ReverseGear AngVel="0.5" />
			<HighGear AngVel="6.0" />
			<Gear AngVel="1.0" />
			<Gear AngVel="4.0" />
			<Gear AngVel="6.0" />
			<Gear AngVel="8.0" />
			<Gear AngVel="10.0" />
		</Motor>
		<LimitedFluid
			Center="(-0.076; 0.725; -0.817)"
			LengthX="1.916"
			RadiusY="0.33"
			RadiusZ="0.33"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(-0.076; 0.725; 0.817)"
			LengthX="1.916"
			RadiusY="0.33"
			RadiusZ="0.33"
			Type="Cylinder"
		/>
		<Intake Dir="(1.0; 0; 0)" Origin="(4.177; 1.526; 0)" Size="1.219" />
		<Exhaust Dir="(-0.637; 0.706; -0.309)" Origin="(0.745; 3.821; -1.408)" Speed="3.82" IsLight="true"/>
		<Exhaust Dir="(-0.637; 0.706; 0.309)" Origin="(0.745; 3.821; 1.408)" Speed="3.82" IsLight="true"/>
		<Driver Pos="(1.258; 1.816; 0.544)" SteeringWheelPos="(1.668; 2.285; 0.552)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="600"
			SensationMin="(0.738; 2.101; -1.028)"
			SensationMax="(2.086; 2.889; 1.022)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera ParentFrame="BoneCabin_cdt"  Center="(-0.6;0;0)">
			<Cockpit _template="Default" 
				ControlsDiffuse="g(62; 64; 59)" 
				ControlsPos="(1.826; 2.31; 0.704)" 
				ViewPos="(1.223; 2.556; 0.529)" 
				WindshieldDiffuseTexture="trucks/freightliner_fl120_glass__d_a.tga"
			>
				<Rear HorTransitionEnd="-1.2" HorTransitionStart="-1.1" ViewPosOffset="(0.2; 0; 1)"/>
			</Cockpit>
		</Camera>
		<Axles>
			<Axle Frame="BoneAxle1" />
			<Axle Frame="BoneAxle2" />
			<Axle Frame="BoneAxle3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/freightliner_fl120">
		<Body
			CenterOfMassOffset="(-0.015; -0.233; 0)"
			ImpactType="Truck"
			Mass="4000"
		>
			<Body
				CenterOfMassOffset="(0.419; -0.3; 0)"
				ImpactType="Truck"
				Mass="3000"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-22"
					MaxLimit="22"
					PivotOffset="(0; 0; 0)"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="240000" Type="Spring" />
				</Constraint>
				<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
				<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />
			</Body>
			<Body _template="Mudguard" ModelFrame="BoneLeftMudguard_cdt">
				<Constraint AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-3" MaxLimit="45" />
			</Body>
			<Body _template="Mudguard" ModelFrame="BoneRightMudguard_cdt">
				<Constraint AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-3" MaxLimit="45" />
			</Body>			
			<Body _template="Mudguard" CenterOfMassOffset="(0; 0.203; -0.039)" ModelFrame="BoneLeftMudguard2_cdt">
				<Constraint AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-1" MaxLimit="1" />
			</Body>
			<Body _template="Mudguard" CenterOfMassOffset="(0; 0.203; -0.039)" ModelFrame="BoneRightMudguard2_cdt">
				<Constraint  AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-1" MaxLimit="1" />
			</Body>			
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-5.136; 0.708; 0)" />
			<Flare _template="StopSignal" Pos="(-5.084; 0.688; 0.446)" />
			<Flare _template="StopSignal" Pos="(-5.084; 0.688; -0.446)" />
		</StopSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-5.181; 0.733; 0)" />
			<Light _template="IgnitionSignalWhite" Pos="(4.132; 0.118; 0)" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.075; 1.297; 0.866)" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.075; 1.297; -0.866)" />
			<Flare _template="IgnitionSignalRed" Pos="(-5.084; 0.69; 0.447)" />
			<Flare _template="IgnitionSignalRed" Pos="(-5.084; 0.69; -0.447)" />
			
			<Flare _template="MarkerBeacon" Pos="(1.785; 3.057; 0.185)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.785; 3.057; 0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.785; 3.057; -0.185)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.71; 3.056; 0.817)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.71; 3.056; -0.817)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.167; 1.014; -1.202)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.167; 1.014; -0.88)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.166; 1.015; -0.722)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.132; 1.014; -1.041)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.167; 1.014; 1.202)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.167; 1.014; 0.88)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.166; 1.015; 0.722)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(4.132; 1.014; 1.041)" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(4.078; 1.298; -0.86)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(4.078; 1.298; 0.86)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight1" Pos="(4.078; 1.298; -0.86)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight1" Pos="(4.078; 1.298; -1.066)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight1" Pos="(4.078; 1.298; 0.86)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight1" Pos="(4.078; 1.298; 1.066)" ParentFrame="BoneCabin_cdt" />			
			<Flare _template="BlueStreak" Pos="(4.204; 1.298; -0.86)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(4.204; 1.298; 0.86)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(4.19; 1.430; 0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="2" LogPoints="4">
		<WinchSocket Pos="(4.164; 0.710; 0)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(-5.207; 0.87; 0)" />
		<WinchSocket Pos="(1.088; 0.914; 1.267)" />
		<WinchSocket Pos="(1.088; 0.914; -1.267)" />
		<CompletionStarsDecal Dir="(0; 0; 1)" Pos="(1.564; 1.935; 1.112)" />
		<AddonSockets>
			<Socket Names="MaintainerSaddle" Offset="(-3.2; 1.27; 0)" />
			<Socket Names="KamazTrailerCart" Offset="(-5.207; 0.87; 0)" />
			<Socket Names="PacificCartTrailer" Offset="(-5.207; 0.87; 0)" />	
			<Socket Names="TruckPlatform" ParentFrame="BoneChassis_cdt" Offset="(-3.619; 1.1; 0)" />
			<Socket Names="UsSemitrailerCistern" ParentFrame="BoneChassis_cdt" Offset="(-3.619; 1.27; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="Saddle" Offset="(-3.886; 1.1; 0)"/>			
			<Socket Names="PacificCart" Offset="(-3.175; 1.173; 0)"/>
			<Socket Names="KenworthTrailerMod" ParentFrame="BoneChassis_cdt" Offset="(-2.2; -0.05; 0)" />
            <Socket Names="KenworthTrailerModLoader" ParentFrame="BoneChassis_cdt" Offset="(-2.2; -0.05; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="UsLoadLogsShort" Offset="(-0.3; -0.1; 0)" />
			<Socket Names="UsLoadLogsShortLoaderA" Offset="(-0.3; 0; 0)" />
            <Socket Names="UsLoadLogsShortLoader" Offset="(-0.2; 0; 0)" />
			<Socket Names="UsLoadLogsLong" Offset="(-4.175; 1.173; 0)"/>
		</AddonSockets>		
		<AddonSockets>
			<Socket
				Names="KenworthLoader"
				ParentFrame="BoneChassis_cdt"
				Offset="(2.0; -0.3; 0)"
				NamesBlock="MaintainerTrucks,TunkShortCisternAddon,KenworthTrailerMod,KenworthTrailerModLoader"
			/>
		</AddonSockets>		
	</GameData>
</Truck>
<!--(-.6; 1.15; 0)-->