<_templates Include="trucks"/>
<Truck>
	<Wheels
		HardpointDefaultY="1.0"
		HardpointDefaultZ="0.892"
	>
		<Wheel
			HardpointX="2.57"
			Type="mqfj845"
			HardpointOffsetY="-0.1"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionMin="-0.3"
			SuspensionStrength="0.023"
			Torque="full"
			ParentFrame="BoneCabin_cdt"
		/>
		<Wheel
			HardpointX="2.57"
			RightSide="true"
			Type="mqfj8gl"
			HardpointOffsetY="-0.1"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionMin="-0.3"
			SuspensionStrength="0.023"
			Torque="full"
			ParentFrame="BoneCabin_cdt"
		/>
		<Wheel
			HardpointX="-1.097"
			ConnectedToHandbrake="true"
			Type="mqfj8e1"
			HardpointOffsetY="-0.23"
			SuspensionMin="-0.36"
			SuspensionDamping="0.07"
			SuspensionStrength="0.03"
			ParentFrame="Shoulder_cdt"
			Torque="default"
		/>
		<Wheel
			HardpointX="-1.097"
			RightSide="true"
			ConnectedToHandbrake="true"
			Type="mqfj88g"
			HardpointOffsetY="-0.23"
			SuspensionMin="-0.36"
			SuspensionDamping="0.07"
			SuspensionStrength="0.03"
			ParentFrame="Shoulder_cdt"
			Torque="default"
		/>
		<Wheel
			HardpointX="-2.273"
			ConnectedToHandbrake="true"
			Type="mqfj88g"
			HardpointOffsetY="-0.23"
			SuspensionMin="-0.36"
			SuspensionDamping="0.07"
			SuspensionStrength="0.03"
			ParentFrame="Shoulder_cdt"
			Torque="default"
		/>
		<Wheel
			HardpointX="-2.273"
			RightSide="true"
			ConnectedToHandbrake="true"
			Type="mqfj8e1"
			HardpointOffsetY="-0.23"
			SuspensionMin="-0.36"
			SuspensionDamping="0.07"
			SuspensionStrength="0.03"
			ParentFrame="Shoulder_cdt"
			Torque="default"
		/>
	</Wheels>
	<TruckData
		BackSteerSpeed="0.005"
		EngineStartDelay="2.1"
		FuelCapacity="170"
		DiffLockType="None"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
		Responsiveness="0.04"
		SteerSpeed="0.03"
	>
	<SteeringWheel Frame="rul_cdt" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.68"
		/>
		<Steam Origin="(0.222; 0.558; 0)" />
		<Steam
			Origin="(2.047; 1.247; 0)"
			AirHissInterval="14.0"
			Scale="0.5"
			ParentFrame="BoneCabin_cdt"
		/>
		<Sounds Origin="(2.083; 1.853; 0)" ParentFrame="BoneCabin_cdt" Range="10.0">
			<EngineStop Sound="mqfj8cs" />
			<EngineStart Sound="mqfj8rl" ExhaustStart="2.3" />
			<EngineRev Sound="mqfj8bq" />
			<EngineLow Sound="mqfj8gr" />
			<EngineIdle Sound="mqfj8qf" />
			<EngineHigh Sound="mqfj89m" />
			<EngineHeavy HeavyHighMult="0.8" Sound="mqfj8b4" />
			<Headlight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<ExhaustShot Sound="truck/shot" />
			<DiffLock Sound="truck/difflock" />
			<Crackle Sound="truck/crackle" />
			<ChassisStress Sound="truck/stress" />
			<BrakeRelease Sound="wow2" />
			<BrakePull Sound="mqfj8fc" />
			<AbruptStop Sound="truck/swing" />
			<Gear Sound="truck/gear" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(2; 2; 0)" MaxFrequency="4" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
			<Shaft SocketPointA="Shaft3a" SocketPointB="Shaft3b" />
			<Shaft SocketPointA="Shaft4a" SocketPointB="Shaft4b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.30"
			HeightFront="1.3"
			HeightRear="0.9"
			MinX="-2.80"
			MaxX="3.20"
		>
			<FullOcclusion HeightFront="1.1" HeightRear="1.3" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.43" MinX="-3.3" MaxX="3.48" />
		<Motor MaxDeltaAngVel="0.012" Torque="87000">
			<ReverseGear AngVel="0.2" />
			<HighGear AngVel="6.0" />
			<Gear AngVel="0.1" />
			<Gear AngVel="2.5" />
			<Gear AngVel="4.4" />
			<Gear AngVel="9.5" />
			
		</Motor>
		<LimitedFluid
			Center="(0.084; 1.436; 0.721)"
			SizeX="0.8"
			SizeY="0.4"
			SizeZ="0.5"
			Type="Box"
		/>
		<Intake Dir="(1.0; 0; 0)" Origin="(3; 1.745; 0.0)" Size="0.3" />
		<Exhaust
			Dir="(-0.171; -0.379; -0.983)"
			IsLight="true"
			Origin="(-0.585; 1.41; -1.107)"
			Speed="3.82"
		/>
		<Driver Pos="(0.99; 1.81; 0.285)" 
		SteeringWheelPos="(1.388; 2.34; 0.303)" 
		ParentFrame="BoneCabin_cdt" />
		<Camera ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(62; 64; 59)"
				ControlsPos="(1.64; 2.4; 0.12)"
				ViewPos="(0.946; 2.63; 0.36)"
				LimitsHor="(-2.5; 2.6)"
				WindshieldDiffuseTexture="trucks/kraz255_glass__d_a.dds"
			/>
		</Camera>
		<Damage
			Capacity="500"
			SensationMin="(1.495; 2.089; -1.041)"
			SensationMax="(2.489; 2.713; 1.041)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Axles>
			<Axle Frame="BoneAxle1" LeftWheel="0" RightWheel="1" />
			<Axle Frame="BoneAxle2" LeftWheel="2" RightWheel="3" />
			<Axle Frame="BoneAxle3" LeftWheel="4" RightWheel="5" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/Studen">
		<Body
			CenterOfMassOffset="(-0; -0.3; 0)"
			ImpactType="Truck"
			Mass="4000"
		>
			<Body
				CenterOfMassOffset="(-0; -0.3; 0)"
				ImpactType="Truck"
				Mass="2700"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-12"
					MaxLimit="12"
					PivotOffset="(-2.0; -0.2; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="74000" Spring="134000" Type="Spring" />
				</Constraint>			
			</Body>
			<Body Collisions="None" Mass="1300" ModelFrame="Shoulder_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="-7"
					MaxLimit="7"
					Type="Hinge"
				/>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<HeadLight>
			<Model
				Org="(2.961; 1.967; -0.541)"
				ParentFrame="BoneCabin_cdt"
				Dir="(1.0; -0.1; 0)"
				Mesh="env/light_ray"
			/>
			<Model
				Org="(2.961; 1.967; 0.541)"
				ParentFrame="BoneCabin_cdt"
				Dir="(1.0; -0.1; 0)"
				Mesh="env/light_ray"
			/>
			<Flare
				Pos="(2.961; 1.967; -0.541)"
				ParentFrame="BoneCabin_cdt"
				Color="g(141; 133; 117) x 2"
				Dir="(1.0; 0; 0)"
				DirAngle="100"
				Size="2.0"
				SizeAtDay="0.6"
			/>
			<Flare
				Pos="(2.961; 1.967; 0.541)"
				ParentFrame="BoneCabin_cdt"
				Color="g(141; 133; 117) x 2"
				Dir="(1.0; 0; 0)"
				DirAngle="100"
				Size="2.0"
				SizeAtDay="0.6"
			/>
			<Flare
				Pos="(2.961; 1.967; -0.541)"
				ParentFrame="BoneCabin_cdt"
				AspectRatio="4.0"
				Color="g(0; 0; 255) x 0.2"
				Dir="(1.0; 0; 0)"
				DirAngle="45"
				Size="1.4"
				SizeAtDay="0"
				Texture="sfx/flare_line__s_d.tga"
			/>
			<Flare
				Pos="(2.961; 1.967; 0.541)"
				ParentFrame="BoneCabin_cdt"
				AspectRatio="4.0"
				Color="g(0; 0; 255) x 0.2"
				Dir="(1.0; 0; 0)"
				DirAngle="45"
				Size="1.4"
				SizeAtDay="0"
				Texture="sfx/flare_line__s_d.tga"
			/>
		</HeadLight>
	</ModelAttachments>
	<HeadLight
		Pos="(3.8; 1.81; 0.0)"
		ParentFrame="BoneCabin_cdt"
		AttenEnd="76"
		AttenStart="1"
		Color="g(255; 212; 154) x 9"
		Dir="(1.0; -0.2; 0)"
		InnerCone="0"
		OuterCone="120"
	/>
	<GameData BalancePoints="2">
		<WinchSocket Pos="(3.1421; 1.598; -0.421)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(3.1421; 1.598; 0.421)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(-0.421; 1.398; 0.451)" />
		<WinchSocket Pos="(-0.421; 1.398; -0.451)" />
		<WinchSocket Pos="(-3.217; 1.361; 0)" />
		<AddonSockets>
			<Socket Names="us6" Offset="(-0.0;0.3; 0.0)" />
			<Socket Names="" Offset="(-0;0.3; 0.0)"/>
			<Socket Names="" Offset="(-0.73;0.3; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="us6_gruz" Offset="(-0;0.3; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="us6cab" ParentFrame="BoneCabin_cdt" Offset="(-0;0.3; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="GazTrailer" Offset="(-3.217; 1.361; 0.0)" />
		</AddonSockets>
	</GameData>
</Truck>
