<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			SuspensionDamping="0.4"
			SuspensionMin="-0.2"
			SuspensionMax="0.01"
			SuspensionStrength="0.02"
			Torque="full"
			Type="k8400"
			ParentFrame="BoneTail_cdt"
		/>
		<FrontWheel
			SuspensionDamping="0.4"
			SuspensionMin="-0.2"
			SuspensionMax="0.01"
			SuspensionStrength="0.02"
			Torque="default"
			Type="k8400"
		/>
	</Wheel>
	<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>
	<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"
			DirAngle="90"
			Size="0.6"
			ColorMultAtDay="0.4"
		/>
		<HeadLight
			AspectRatio="2.0"
			Color="g(141; 133; 117) x 1.4"
			ColorMultAtDay="0.7"
			Dir="(1.0; 0; 0)"
			DirAngle="90"
			Reflections="true"
			Size="1."
			SizeMultAtDay="0.5"
		/>
	</Flare>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.939"
		HardpointDefaultZ="1.338"
	>
		<Wheel _template="FrontWheel" HardpointX="1.69" />
		<Wheel _template="FrontWheel" HardpointX="1.69" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-2.213" />
		<Wheel _template="RearWheel" HardpointX="-2.213" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.015"
		DiffLockType="Always"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
		EngineStartDelay="0.6"
		ExhaustStartTime="0.6"
		FuelCapacity="340"
		Responsiveness="0.05"
		SteerSpeed="0.018"
		LockClothInvertDir="false"
		LockClothOrigin="(1.4; -0.5; -0.1)"
		LockClothScale="1.15"
	>
		<SteeringWheel Frame="BoneSteering" />
		<Steam Origin="(0.116; 1.295; 0)" />
		<Steam Origin="(2.695; 1.653; 0)" Scale="0.5" />
		<Sounds
			_template="Default"
			EngineHeavyVolume="1"
			Origin="(2.111; 2.1; 0)"
			DisableReversePitch="true"
		>
			<Reverse Sound="k8400/k8400_back_beeper" />
			<BrakeRelease Sound="k8400/k8400_break_release" />
			<EngineStop Sound="k8400/k8400_stop" />
			<EngineStart Sound="k8400/k8400_start" />
			<EngineRev Sound="k9000/k9000_rev" />
			<EngineLow Sound="k8400/k8400_low" />
			<EngineIdle Sound="k8400/k8400_idle" />
			<EngineHigh Sound="k8400/k8400_high" />
			<EngineHeavy Sound="k8400/k8400_heavy" />
		</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="140000">
			<ReverseGear AngVel="0.5" />
			<HighGear AngVel="3.0" />
			<Gear AngVel="0.8" />
			<Gear AngVel="1.6" />
			<Gear AngVel="2.4" />
		</Motor>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
		</Axles>
		<Intake Dir="(1.0; 0; 0)" Origin="(3.373; 1.844; 0)" Size="0.8" />
		<Exhaust Dir="(-0.394; 0.141; -0.908)" Origin="(1.955; 3.447; -0.518)" Speed="3.00" />
		<Driver Pos="(.136; 2.017; 0.004)" SteeringWheelPos="(0.506; 2.437; 0.004)" LegsOffset="(-0.1;0;0)" />
		<Damage
			Capacity="600"
			SensationMin="(-0.637; 2.21; -0.673)"
			SensationMax="(0.89; 3.124; 0.601)"
		/>
		<Camera RadiusMultiplier="0.9" Center="(0;0.25;0)">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(76; 72; 66)"
				ControlsPos="(0.721; 2.5; 0.14)"
				ViewPos="(0.056; 2.789; 0.046)"
				WindshieldDiffuseTexture="trucks/k8400_skidder_glass__d_a.tga"
			>
				<Rear _inheritRemove="true" />
			</Cockpit>
		</Camera>
	</TruckData>
	<PhysicsModel Mesh="trucks/k8400_skidder">
		<Body
			CenterOfMassOffset="(0; 0.2; 0)"
			ImpactType="Truck"
			Mass="6000"
		>
			<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 Mass="3" ModelFrame="BoneRope_cdt">
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="-6"
						MaxLimit="0"
						Type="Hinge"
					>
						<Motor Damping="2" Spring="0" Type="Spring" />
					</Constraint>
					<Body Mass="9" ModelFrame="BoneHook_cdt">
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="0"
							MaxLimit="18"
							Type="Hinge"
						>
							<Motor Damping=".6" Spring="0" Type="Spring" />
						</Constraint>
					</Body>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Flare _template="IgnitionSignalWhite1" Pos="(-0.676; 3.159; -0.14)" Dir="(-1;0;0)" />
			<Flare _template="IgnitionSignalWhite1" Pos="(-0.676; 3.159; 0.14)" Dir="(-1;0;0)" />
			<Flare _template="IgnitionSignalWhite1" Pos="(-0.639; 3.335; -0.249)" Dir="(-1; 0; -0.4)" />
			<Flare _template="IgnitionSignalWhite1" Pos="(-0.639; 3.335; 0.249)" Dir="(-1;0;0.4)" />
			<Flare _template="IgnitionSignalWhite1" Pos="(0.602;3.326;0.702)" Dir="(0;0;1)" />
			<Flare _template="IgnitionSignalWhite1" Pos="(-0.2;3.326;0.702)" Dir="(0;0;1)" />
			<Flare _template="IgnitionSignalWhite1" Pos="(0.602;3.326;-0.702)" Dir="(0;0;-1)" />
			<Flare _template="IgnitionSignalWhite1" Pos="(-0.2;3.326;-0.702)" Dir="(0;0;-1)" />
			<Light _template="IgnitionSignalWhite1" Pos="(0.4;3.326;0.202)" Dir="(-0.75; -0.5; 1)" />
			<Light _template="IgnitionSignalWhite1" Pos="(0.4;3.326;-0.202)" Dir="(-0.75; -0.5; -1)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(3.329; 2.296; -0.353)" />
			<Model _template="HeadLightRay" Org="(3.329; 2.296; 0.353)" />
			<Flare _template="HeadLight" Pos="(3.329; 2.296; 0.353)" />
			<Flare _template="BlueStreak" Pos="(3.329; 2.296; 0.353)" />
			<Flare _template="HeadLight" Pos="(3.329; 2.296; -0.353)" />
			<Flare _template="BlueStreak" Pos="(3.329; 2.296; -0.353)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight
		AttenEnd="40"
		AttenStart="1"
		Color="g(255; 212; 154) x 8.5"
		Dir="(1.0; -0.2; 0)"
		InnerCone="0"
		OuterCone="130"
		Pos="(3.574; 1.763; 0)"
	/>
	<GameData BalancePoints="4" LogPoints="2">
		<WinchSocket Pos="(3.353; 1.213; 0.43)" />
		<WinchSocket Pos="(3.353; 1.213; -0.43)" />
		<WinchSocket Pos="(-2.487; 1.337; 0.513)" ParentFrame="BoneTail_cdt" />
		<WinchSocket Pos="(-2.487; 1.337; -0.513)" ParentFrame="BoneTail_cdt" />
		<CompletionStarsDecal Dir="(0.008; 0; 1)" Pos="(1.835; 2.205; 0.486)" />
		<AddonSockets>
			<Socket Names="Cat545cSkidderBlade" Offset="(0; 0; 0)" ParentFrame="BoneFront_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="Cat545cSkidderCrane"
				Offset="(0; 0; 0)"
				ParentFrame="BoneTail_cdt"
				NamesBlock="KamazTrailerCart"
			/>
		</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>
