<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			SuspensionDamping="0.4"
			SuspensionMin="-0.2"
			SuspensionMax="0.01"
			SuspensionStrength="0.02"
			Torque="full"
			Type="jdwheel"
			ParentFrame="BoneTail_cdt"
		/>
		<FrontWheel
			SuspensionDamping="0.4"
			SuspensionMin="-0.2"
			SuspensionMax="0.01"
			SuspensionStrength="0.02"
			Torque="default"
			Type="jdwheel"
		/>
	</Wheel>
	<Light>
		<IgnitionSignalWhite1
			AttenEnd="8"
			Color="g(253; 240; 226) x 0.3"
			InnerCone="80"
			OuterCone="180"
		/>
	</Light>
	<Flare>
		<IgnitionSignalWhite1
			AspectRatio="1.4"
			Color="g(165; 149; 130) x 0.6"
			ColorMultAtDay="0.4"
			DirAngle="90"
			Size="0.6"
		/>
		<HeadLight
			AspectRatio="2.0"
			Color="g(141; 133; 117) x 1.4"
			ColorMultAtDay="0.7"
			Dir="(1; 0; 0)"
			DirAngle="90"
			Reflections="true"
			Size="1."
			SizeMultAtDay="0.5"
		/>
	</Flare>
	<Body>
		<Grappler
			Collisions="Internal"
			ForceBodyParams="true"
			Friction="2.0"
			Mass="200"
			NoClientCollisions="true"
		>
			<Constraint AxisLocal="(0; 0; -1)" Type="Hinge">
				<Motor
					Damping="1.0"
					Force="30000"
					Tau="0.04"
					Type="Position"
				/>
			</Constraint>
		</Grappler>
	</Body>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.939"
		HardpointDefaultZ="1.180"
	>
		<Wheel _template="FrontWheel" HardpointX="1.825" />
		<Wheel _template="FrontWheel" HardpointX="1.825" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.716" />
		<Wheel _template="RearWheel" HardpointX="-1.716" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.015"
		DiffLockType="Always"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
		EngineStartDelay="0.6"
		ExhaustStartTime="0.6"
		FuelCapacity="640"
		LockClothInvertDir="false"
		LockClothOrigin="(1.4; -0.5; -0.1)"
		LockClothScale="1.15"
		Responsiveness="0.05"
		SteerSpeed="0.018"
	>
		<SteeringWheel Frame="BoneSteering" />
		<Steam Origin="(0.116; 1.295; 0)" />
		<Steam Origin="(2.695; 1.653; 0)" Scale="0.5" />
		<Sounds
			_template="Default"
			DisableReversePitch="true"
			EngineHeavyVolume="1"
			Origin="(2.111; 2.100; 0)"
		>
			<EngineTurbo Sound="engine/kraz_new_high" />
			<EngineStop Sound="ponsseScorpion_stop" />
			<EngineStart Sound="John_Deere_start" />
			<EngineLow Sound="John_Deere_low" />
			<EngineIdle Sound="John_Deere_idle" />
			<EngineHigh Sound="John_Deere_high" />
			<EngineHeavy Sound="John_Deere_highey" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(2; 0; 2)" MaxFrequency="0.3" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.1"
			HeightFront="1.6"
			HeightRear="1.1"
			MinX="-2.4"
			MaxX="2.8"
		/>
		<OcclusionMap
			HalfSizeZ="2.6"
			MinX="-3.4"
			MaxX="3.40"
			Texture="trucks/occlusion/chassis_small__s_d_a.tga"
		/>
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="0.01" Torque="170000">
			<ReverseGear AngVel="0.5" />
			<HighGear AngVel="3.4" />
			<Gear AngVel="1.0" />
			<Gear AngVel="2.4" />
			<Gear AngVel="4.2" />
		</Motor>
		<Intake Dir="(1; 0; 0)" Origin="(3.373; 1.844; 0)" Size="0.8" />
		<Exhaust Dir="(0.1; 1.9; -0.91)" Origin="(1.29; 3.2; 0.649)" Speed="3.00" />
		<Driver Pos="(0.207; 2.103; 0.026)" SteeringWheelPos="(0.713; 2.559; 0)" />
		<Damage
			Capacity="600"
			SensationMin="(-0.637; 2.21; -0.673)"
			SensationMax="(0.89; 3.124; 0.601)"
		/>
		<Camera Center="(0; 0.25; 0)" RadiusMultiplier="0.9">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(76; 72; 66)"
				ViewPos="(0.056; 2.810; 0.046)"
				WindshieldDiffuseTexture="trucks/jdglass__d_a.png"
			>
				<Rear _inheritRemove="true" />
			</Cockpit>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/johnDeere7">
		<Body
			CenterOfMassOffset="(0; 0.2; 0)"
			ImpactType="Truck"
			Mass="8000"
		>
			<Body Mass="7000" ModelFrame="BoneTail_cdt">
				<Constraint
					AxisLocal="(0; 1; 0)"
					MinLimit="-30"
					MaxLimit="30"
					Name="ChassisSteer"
					Type="Hinge"
				>
					<Motor
						Damping="1.0"
						Force="80000"
						Tau="0.04"
						Type="Position"
					/>
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-0.429; 3.26; 0)" />
			<Flare _template="StopSignal" Dir="(-1; 0; 0)" Pos="(-0.429; 3.26; +0.427)" />
			<Flare _template="StopSignal" Dir="(-1; 0; 0)" Pos="(-0.429; 3.26; -0.427)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-0.429; 3.258; 0.294)" />
			<Flare _template="ReverseSignal" Pos="(-0.429; 3.258; 0.294)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-0.429; 3.258; 0.294)" />
		</ReverseSignals>
		<Ignition>
			<Flare _template="IgnitionSignalWhite1" Dir="(0; 0; +1)" Pos="(0.983; 3.197; +0.765)" />
			<Flare _template="IgnitionSignalWhite1" Dir="(1; 0; 0)" Pos="(1.148; 3.227; +0.506)" />
			<Flare _template="IgnitionSignalRed" Dir="(-1; 0; 0)" Pos="(-0.429; 3.26; +0.521)" />
			<Flare _template="IgnitionSignalRed" Dir="(-1; 0; 0)" Pos="(-0.429; 3.26; -0.521)" />
			<Flare _template="IgnitionSignalWhite1" Dir="(1; 0; 0)" Pos="(1.148; 3.227; -0.506)" />
			<Flare _template="IgnitionSignalWhite1" Dir="(-1; 0; 0)" Pos="(-0.43; 3.258; +0.294)" />
			<Flare _template="IgnitionSignalWhite1" Dir="(0; 0; -1)" Pos="(0.983; 3.197; -0.765)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(1.147; 3.224; +0.288)" />
			<Model _template="HeadLightRay" Dir="(0; 0; -1)" Pos="(0.983; 3.197; -0.765)" />
			<Model _template="HeadLightRay" Dir="(0; 0; +1)" Pos="(0.983; 3.197; +0.765)" />
			<Model _template="HeadLightRay" Org="(1.147; 3.227; -0.41)" />
			<Flare _template="BlueStreak" Dir="(0; 0; -1)" Pos="(0.983; 3.197; -0.765)" />
			<Flare _template="BlueStreak" Dir="(0; 0; +1)" Pos="(0.983; 3.197; +0.765)" />
			<Flare _template="HeadLight" Pos="(1.147; 3.224; +0.288)" />
			<Flare _template="BlueStreak" Pos="(1.147; 3.224; +0.288)" />
			<Flare _template="HeadLight" Pos="(1.147; 3.227; -0.41)" />
			<Flare _template="BlueStreak" Pos="(1.147; 3.227; -0.41)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight
		AttenEnd="40"
		AttenStart="1"
		Color="g(255; 212; 154) x 8.5"
		Dir="(1; -0.2; 0)"
		InnerCone="0"
		OuterCone="130"
		Pos="(3.574; 1.763; 0)"
	/>
	<GameData BalancePoints="4" LogPoints="2">
		<WinchSocket Pos="(3.527; 1.311; +0.404)" />
		<WinchSocket Pos="(1.121; 3.268; 0.749)" />
		<WinchSocket Pos="(1.121; 3.268; -0.749)" />
		<WinchSocket Pos="(3.527; 1.311; -0.404)" />
		<WinchSocket Pos="(-2.04; 1.067; 0.0)" ParentFrame="BoneTail_cdt" />
		<AddonSockets>
			<Socket Names="Cat545cSkidderBlade" Offset="(-0.17; 0.9; 0)" ParentFrame="BoneFront_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="Cat545cSkidderCrane"
				NamesBlock="KamazTrailerCart"
				Offset="(-0.2; 0.85; 0)"
				ParentFrame="BoneTail_cdt"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailerCart" Offset="(-2.69; 1.2; 0)" ParentFrame="BoneTail_cdt" />
		</AddonSockets>
	</GameData>
	<ControlledConstraints>
		<Constraint Id="chassis_steer" IsLinkedSteering="true" Name="ChassisSteer" />
	</ControlledConstraints>
</Truck>
