<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			DefaultWheelType="kamaz_offroad"
			HardpointOffsetY="-0.25"
                
			
			SuspensionMin="-0.65"
			SuspensionMax="0.65"
			SuspensionStrength="0.052"
			Torque="default"
			ParentFrame="BoneChassis_cdt"
		/>
		<FrontWheel
			DefaultWheelType="kamaz_offroad"
			HardpointOffsetY="-0.25"
			SteeringAngle="21"
			SteeringAngleCasual="28"
			SteeringCastor="12"
                
                 
			
			SuspensionMin="-0.55"
			SuspensionMax="0.55"
			SuspensionStrength="0.051"
			Torque="full"
			ParentFrame="BoneChassis_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.72"
		HardpointDefaultZ="0.95"
	>
		<Wheel _template="FrontWheel" HardpointX="2.235" />
		<Wheel _template="FrontWheel" HardpointX="2.235" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.711" />
		<Wheel _template="RearWheel" HardpointX="-1.711" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-2.907" />
		<Wheel _template="RearWheel" HardpointX="-2.907" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.020"
		EngineStartDelay="1.5"
		ExhaustStartTime="0.8"
		FuelCapacity="150"
		SteerResponsiveness="0.05"
		SteerSpeed="0.03"
	>
		<Steam Origin="(-0.07; 0.796; 0)" />
		<Steam Origin="(2.877; 1.408; 0)" Scale="0.5" ParentFrame="BoneChassis_cdt" />
		<Sounds _template="Default" Origin="(2.046; 1.444; 0)" ParentFrame="BoneCabin_cdt">
			<ExhaustAfterFire Sound="truck/shot" />
			<EngineTrans Sound="truck/b157_transmission" />
			<EngineStop Sound="engine/b157_stop" />
			<EngineStart Sound="engine/b157_start" />
			<EngineLowOffload Sound="engine/b157_low_off" />
			<EngineLow Sound="engine/b157_low" />
			<EngineIdle Sound="engine/b157_idle" />
			<EngineHighOffload Sound="engine/b157_high_off" />
			<EngineHigh Sound="engine/b157_high" />
			<EngineHeavy Sound="engine/b157_heavy" />
			<EngineFan Sound="truck/fan" />
			<EngineChoke Sound="truck/choke" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(0.1; 0.1; 0.1)" MaxFrequency="2" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
			<Shaft SocketPointA="Shaft3a" SocketPointB="Shaft3b" />
			<Shaft SocketPointA="Shaft4a" SocketPointB="Shaft4b" />
			<Shaft SocketPointA="Shaft5a" SocketPointB="Shaft5b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.3"
			HeightFront="1.2"
			HeightRear="0.8"
			MinX="-4"
			MaxX="3"
		>
			<FullOcclusion HeightRear="1.2" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.5" MinX="-3.8" MaxX="3" />
		<Motor
			ChokeChance="0.2"
			ChokeDuration="0.35"
			IsPetrolEngine="true"
			MaxDeltaAngVel="0.01"
			Torque="85718"
		>
			<ReverseGear AngVel="0.29" />
			<HighGear AngVel="5" />
			<Gear AngVel="0.31" />
			<Gear AngVel="2.33" />
			<Gear AngVel="4.06" />
			<Gear AngVel="7.72" />
			<Gear AngVel="9.53" />
		</Motor>
		<Exhaust Dir="(-0.16; -0.37; -0.92)" Origin="(-1.417; 1.358; -1.274)" Speed="1.2" />
		<Driver LegsOffset="(-0.15; 0; -0.1)" Pos="(0.47; 1.49; 0.451)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="600"
			SensationMin="(1.338; 1.669; -0.770)"
			SensationMax="(2.72; 1.866; 0.629)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera CabinPos="(0.320; 2.297; 0.38)" IsHood="true" ParentFrame="BoneFront" />
		<Axles>
			<Axle Frame="BoneAxleFront" LeftWheel="0" RightWheel="1" />
			<Axle Frame="BoneAxleMiddle" LeftWheel="2" RightWheel="3" />
			<Axle Frame="BoneAxleRear" LeftWheel="4" RightWheel="5" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/b157">
		<Body
			CenterOfMassOffset="(2.1; 0; 0)"
			ImpactType="Truck"
			Mass="3878"
			ModelFrame="BoneChassis_cdt"
		>
			<Body
				CenterOfMassOffset="(-0.5; 0.5; 0)"
				ImpactType="Truck"
				Mass="1662"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-5"
					MaxLimit="5"
					PivotOffset="(0.073; 1.054; 0)"
					Type="Hinge"
				>
					<Motor Damping="25000" Spring="50000" Type="Spring" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-3.774; 1.036; 0)" />
			<Flare _template="StopSignal" Pos="(-3.774; 1.036; 0.55)" />
			<Flare _template="StopSignal" Pos="(-3.774; 1.036; -0.55)" />
		</StopSignals>
		<Ignition>
			<!--<Flare _template="MarkerSignal" Pos="(2.561; 1.402; -0.820)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerSignal" Pos="(2.561; 1.402; 0.820)" ParentFrame="BoneCabin_cdt" />-->
			<Flare _template="RedSignal" Pos="(-3.774; 1.036; 0.55)" />
			<Flare _template="RedSignal" Pos="(-3.774; 1.036; -0.55)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.695; 1.492; -0.562)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(2.695; 1.492; 0.562)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.695; 1.492; 0.562)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.695; 1.492; -0.562)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(2.695; 1.492; -0.562)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(2.695; 1.492; 0.562)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.068; 1.380; 0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="2">
		<WinchSocket Pos="(3.075; 1.152; -0.454)" ParentFrame="BoneChassis_cdt" />
		<!--Front-->
		<WinchSocket Pos="(3.075; 1.152; 0.454)" ParentFrame="BoneChassis_cdt" />
		<!--Front-->
		<WinchSocket Pos="(-3.965; 0.932; 0)" ParentFrame="BoneChassis_cdt" />
		<!--Rear-->
		<WinchSocket Pos="(-2.310; 0.959; 0.509)" ParentFrame="BoneChassis_cdt" />
		<!--Side-->
		<WinchSocket Pos="(-2.309; 0.959; -0.509)" ParentFrame="BoneChassis_cdt" />
		<!--Side-->
		<AddonSockets>
			<Socket Names="b157_bed" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="b157_log_load"
				NamesBlock="b157_utility_load,b157_fuel_load,b157_garage_load"
				Offset="(0; 0; 0)"
				ParentFrame="BoneChassis_cdt"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="b157_utility_load"
				NamesBlock="b157_bed"
				Offset="(0; 0; 0)"
				ParentFrame="BoneChassis_cdt"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="b157_standby_tank" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="b157_spare" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="b157_fuel_load"
				NamesBlock="b157_garage_load"
				Offset="(0; 0; 0)"
				ParentFrame="BoneChassis_cdt"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="b157_garage_load"
				NamesBlock="b157_fuel_load"
				Offset="(0; 0; 0)"
				ParentFrame="BoneChassis_cdt"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailerCart" Offset="(-3.978; 0.935; 0)" />
		</AddonSockets>
	</GameData>
</Truck>
