<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"			
			SuspensionMin="-0.3"
			HardpointOffsetY="-0.15"
			SuspensionStrength="0.03"
			SuspensionDamping="0.28"
			Torque="default"
			Type="chevrolet_bison_1978_rear"
		/>
		<FrontWheel			
			SteeringAngle="45"
			SteeringCastor="5"
			SteeringJointOffset="0.2"
			SuspensionMin="-0.35"
			HardpointOffsetY="-0.15"
			SuspensionStrength="0.02"
			SuspensionDamping="0.2"
			Torque="none"
			Type="chevrolet_bison_1978_front"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.48"
		HardpointDefaultZ="1.026"
	>
		<Wheel _template="FrontWheel" HardpointX="3.488" HardpointZ="1.01" />
		<Wheel
			_template="FrontWheel"
			HardpointX="3.488"
			HardpointZ="1.01"
			RightSide="true"
		/>
		<Wheel _template="RearWheel" HardpointX="-1.49" />
		<Wheel _template="RearWheel" HardpointX="-1.49" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-2.781" />
		<Wheel _template="RearWheel" HardpointX="-2.781" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.04"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.2"
		EngineStartDelay="0.8"
		ExhaustStartTime="0.9"
		FuelCapacity="330"
		LockClothOrigin="(0.75; -0.25; 0)"
		LockClothScale="1.0"
		Responsiveness="1.0"
		SteerSpeed="0.027"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.829"
		/>
		<Steam Origin="(1.538; 1.092; 0.0)" />
		<Steam Origin="(3.419; 1.092; 0.0)" Scale="0.5" ParentFrame="BoneCabin_cdt" />
		<Sounds
			_template="Default"
			AirHissInterval="12.0"
			Origin="(3.207; 1.568; 0)"
			ParentFrame="BoneCabin_cdt"
		>
			<Reverse Sound="freightliner/freightliner_trans" />
			<EngineTrans Sound="freightliner/freightliner_trans" />
			<EngineStop Sound="chevybison/chevybison_stop" />
			<EngineStart Sound="chevybison/chevybison_start" />
			<EngineRev Sound="freightliner/freightliner_rev" />
			<EngineLow Sound="freightliner/freightliner_low" />
			<EngineIdle Sound="chevybison/chevybison_idle" />
			<EngineHigh Sound="freightliner/freightliner_high" />
			<EngineHeavy Sound="freightliner/freightliner_heavy" />
			<BrakeRelease Sound="chevybison/chevybison_break_release" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(2; 2; 0)" MaxFrequency="4" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.4"
			HeightFront="1.1"
			HeightRear="0.8"
			MinX="-2.60"
			MaxX="4.10"
		>
			<FullOcclusion HeightFront="1.1" HeightRear="1.3" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.90" MinX="-4.4" MaxX="4.70" />
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="1.02" Torque="120000" EngineResponsiveness="0.4" >
			<ReverseGear AngVel="1.3" />
			<HighGear AngVel="9.0" />
			<Gear AngVel="1.0" />
			<Gear AngVel="3.3" />
			<Gear AngVel="5.6" />
			<Gear AngVel="7.9" />
			<Gear AngVel="10.2" />
		</Motor>
		<LimitedFluid
			Center="(0.783; 0.725; 0.832)"
			LengthX="0.88"
			RadiusY="0.339"
			RadiusZ="0.339"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(0.783; 0.725; -0.832)"
			LengthX="0.88"
			RadiusY="0.339"
			RadiusZ="0.339"
			Type="Cylinder"
		/>
		<Intake Dir="(1.0; 0; 0)" Origin="(4.215; 1.307; 0.0)" Size="0.8" />
		<Exhaust
			Dir="(0; 1; 0)"
			Origin="(1.376; 3.865; -0.97)"
			Speed="3.82"
			ParentFrame="BoneExhaust"
		/>
		<Driver
			LegsOffset="(-0.1; 0; 0)"
			Pos="(1.798; 1.532; 0.469)"
			SteeringWheelPos="(2.176; 1.995; 0.475)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Damage
			Capacity="600"
			SensationMin="(1.464; 1.939; -0.826)"
			SensationMax="(2.574; 2.485; 0.826)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera Center="(-0.6; 0; 0)" ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(62; 64; 59)"
				ControlsPos="(2.416; 2.031; 0.56)"
				ViewPos="(1.823; 2.33; 0.375)"
				WindshieldDiffuseTexture="trucks/gmc_dw950_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
			<Axle Frame="AxleBone3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/gmc_dw950">
		<Body
			CenterOfMassOffset="(-1.65; 0; 0)"
			ImpactType="Truck"
			Mass="3500"
		>
			<Body
				CenterOfMassOffset="(1; -0.3; 0)"
				ImpactType="Truck"
				Mass="2500"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-22"
					MaxLimit="22"
					PivotOffset="(-2.0; -0.2; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="26000" Spring="220000" Type="Spring" />
				</Constraint>
				<Body _template="Mudguard" ModelFrame="BoneLeftMudguard_cdt">
					<Constraint AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-15" MaxLimit="45" />
				</Body>
				<Body _template="Mudguard" ModelFrame="BoneRightMudguard_cdt">
					<Constraint AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-15" MaxLimit="45" />
				</Body>
				<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
				<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-3.637; 0.6; 0.0)" />
			<Flare _template="StopSignal" Pos="(-3.488; 0.68; -0.256)" />
			<Flare _template="StopSignal" Pos="(-3.488; 0.68; 0.256)" />
		</StopSignals>
		<Ignition>
			<Light _template="IgnitionSignalWhite" Pos="(4.802; 1.139; 0)" ParentFrame="BoneCabin_cdt" />
			<Light _template="IgnitionSignalRed" Pos="(-3.637; 0.6; 0.0)" />
			<Flare _template="MarkerBeacon" Pos="(2.271; 2.656; 0.433)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.292; 2.676; 0.0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.271; 2.656; -0.433)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(3.508; 1.506; -0.993)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(3.508; 1.506; 0.993)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.178; 1.201; -1.014)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.178; 1.201; 1.014)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-3.488; 0.68; 0.256)" />
			<Flare _template="IgnitionSignalRed" Pos="(-3.488; 0.68; -0.256)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(4.178; 1.201; -1.014)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(4.178; 1.201; 1.014)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(4.178; 1.201; -1.014)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(4.178; 1.201; 1.014)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(4.178; 1.201; -1.014)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(4.178; 1.201; 1.014)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(4.402; 1.139; 0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="1" ExcludeAddons="us_truck_cistern,maintainer_trailer">
		<WinchSocket Pos="(4.303; 0.947; 0)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(-3.61; 0.93; 0)" />
		<WinchSocket Pos="(0.477; 1.04; 0.8)" />
		<WinchSocket Pos="(0.477; 1.04; -0.8)" />
		<CompletionStarsDecal Dir="(0.01; 0; 1)" Pos="(2.072; 1.39; 0.954)" />
		<AddonSockets>
			<Socket Names="KamazTrailerCart" Offset="(-3.61; 0.93; 0)" />
			<Socket Names="KamazTrailer" Offset="(-1.83; 1.24; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazTractor" Offset="(-1; -0.02; 0.0)" />
			<Socket Names="KamazCart" Offset="(-1; 0; 0.0)" />
			<Socket Names="TunkShortCisternAddonRu" Offset="(-1.4; 0.9; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsShort" Offset="(0.4; 0.01; 0.0)" />
		</AddonSockets>
	</GameData>
	<AutomaticIK>
		<IKBone ModelFrame="BoneRudderHinge" ParentFrame="BoneCabin_cdt">
			<IKJoint AxisLocal="(0;0;1)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; 0; 0)"
				AttachToFrame="BoneRackLeft"
				ModelFrame="BoneRudderSlide"
			>
				<IKJoint AxisLocal="(1;0;0)" Type="Slider" />
			</IKBone>
		</IKBone>
	</AutomaticIK>
</Truck>
