<_templates Include="trucks">
	<Wheel>
		<RearWheel2
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.213"
			SteeringAngle="-13"
			SuspensionDamping="0.25"
			SuspensionMin="-0.292"
			SuspensionMax="0.45"
			SuspensionStrength="0.018"
			Torque="default"
			Type="wheel4972"
			ParentFrame="BoneChassis_cdt"
		/>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.292"
			SuspensionDamping="0.25"
			SuspensionMin="-0.282"
			SuspensionMax="0.45"
			SuspensionStrength="0.018"
			Torque="default"
			Type="wheel4972"
			ParentFrame="BoneChassis_cdt"
		/>
		<FrontWheel
			HardpointOffsetY="-0.262"
			SteeringAngle="30"
			SteeringCastor="6"
			SteeringJointOffset="0.18"
			SuspensionDamping="0.25"
			SuspensionMin="-0.3"
			SuspensionMax="0.45"
			SuspensionStrength="0.018"
			Torque="default"
			Type="wheel4972"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.700"
		HardpointDefaultZ="0.919"
	>
		<Wheel _template="FrontWheel" HardpointX="2.294" />
		<Wheel _template="FrontWheel" HardpointX="2.294" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-0.012" />
		<Wheel _template="RearWheel" HardpointX="-0.012" RightSide="true" />
		<Wheel _template="RearWheel2" HardpointX="-2.172" />
		<Wheel _template="RearWheel2" HardpointX="-2.172" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.02"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.2"
		EngineStartDelay="2.2"
		ExhaustStartTime="0.8"
		FuelCapacity="280"
		LockClothOrigin="(0.75; 0.1; 0)"
		LockClothScale="0.85"
		Responsiveness="0.1"
		SteerSpeed="0.03"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack Frame="BoneRack" FrameSteerLeft="BoneRackLeft" FrameSteerRight="BoneRackRight" RackHalfSizeZ="0.749" />
		<SteeringRack Frame="BoneRack1" FrameSteerLeft="BoneRackLeft2" FrameSteerRight="BoneRackRight2" RackHalfSizeZ="0.749" />
		<Sounds
			_template="Default"
			AirHissInterval="14.0"
			Origin="(2.2; 1.5; 0)"
			ParentFrame="BoneCabin_cdt"
		>
			<EngineTrans Sound="truck/trans" />
			<EngineStop Sound="engine/ural_stop" />
			<EngineStart Sound="engine/ural_start" />
			<EngineRev Sound="engine/ural_rev" />
			<EngineLow Sound="engine/ural_low" />
			<EngineIdle Sound="engine/ural_idle" />
			<EngineHigh Sound="engine/4972high" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(2; 2; 2)" MaxFrequency="4" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
			<Shaft SocketPointA="Shaft3a" SocketPointB="Shaft3b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.45"
			HeightFront="1.1"
			HeightRear="0.6"
			MinX="-2.65"
			MaxX="4.2"
		>
			<FullOcclusion HeightRear="1.1" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.71" MinX="-4.14" MaxX="4.0" />
		<Motor BrakesDelay="0.3" MaxDeltaAngVel="0.02" Torque="141000">
			<ReverseGear AngVel="1.0" />
			<HighGear AngVel="6.6" />
			<Gear AngVel="1.5" />
			<Gear AngVel="4.0" />
			<Gear AngVel="6.0" />
			<Gear AngVel="8.0" />
			<Gear AngVel="9.0" />
			<Gear AngVel="11.0" />
		</Motor>
		<LimitedFluid Center="(-1.123; 0.844; +0.66)" SizeX="0.77" SizeY="0.272" SizeZ="0.484" Type="Box" />
		<LimitedFluid Center="(-1.123; 0.844; -0.66)" SizeX="0.77" SizeY="0.272" SizeZ="0.484" Type="Box" />
		<Intake Dir="(1; 0; 0)" Origin="(3.23; 1.31; 0)" Size="0.8" />
		<Exhaust
			Dir="(0.16; 0.37; 0.92)"
			IsLight="true"
			Origin="(-3.367; 1.082; 0.6)"
			Speed="3.82"
		/>
		<Driver Pos="(1.137; 1.619; 0.494)" SteeringWheelPos="(1.476; 1.966; 0.484)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="800"
			SensationMin="(1.91; 1.71; -0.8)"
			SensationMax="(2.62; 2.2; 0.8)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera ParentFrame="BoneCabin_cdt">
			<Cockpit
				ControlsDiffuse="g(65; 67; 62)"
				ControlsPos="(0; 5.5; -1)"
				LimitsHor="(-2.8; 1.71)"
				LimitsVer="(-0.33; 0.2)"
				ViewDir="(1; -0.151; 0)"
				ViewPos="(0.949; 2.32; 0.484)"
				WindshieldDiffuseTexture="z4972/trucks_kamaz6520_glass__d_a.dds"
				ZoomViewDirOffset="(0; -0.05; 0)"
				ZoomViewPosOffset="(0.22; 0; 0)"
			>
				<Rear
					HorTransitionEnd="-1.5"
					HorTransitionStart="-1.2"
					LimitsVer="(-1.2; 0.2)"
					RollAngle="-15"
					ViewDir="(1; -0.05; 0)"
					ViewPosOffset="(0.25; -0.1; 0.7)"
				/>
			</Cockpit>
		</Camera>
		<Axles>
			<Axle Frame="BoneAxleLeft1" IsIndependent="true" />
			<Axle Frame="BoneAxleRight1" IsIndependent="true" />
			<Axle Frame="BoneAxleLeft2" IsIndependent="true" />
			<Axle Frame="BoneAxleRight2" IsIndependent="true" />
			<Axle Frame="BoneAxleLeft3" IsIndependent="true" />
			<Axle Frame="BoneAxleRight3" IsIndependent="true" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/Z4972">
		<Body
			CenterOfMassOffset="(0; -0.3; 0)"
			ImpactType="Truck"
			Mass="5000"
			ModelFrame="BoneChassis_cdt"
		>
			<Body
				CenterOfMassOffset="(0; -0.3; 0)"
				ImpactType="Truck"
				Mass="4300"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-12"
					MaxLimit="12"
					PivotOffset="(0; 0; 0)"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="240000" Type="Spring" />
				</Constraint>
				<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
				<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Light
				AttenEnd="3"
				Color="g(255; 255; 255) x 4"
				Dir="(1; -0.2; 0)"
				InnerCone="80"
				OuterCone="150"
				Pos="(3.3; -1.61; 0)"
			/>
			<Flare _template="MarkerBeacon" Pos="(1.66; 2.705; +0.148)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.66; 2.705; 0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.66; 2.705; -0.148)" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(255; 255; 255) x 0.4" ColorMultAtDay="0.2" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.581; 0.816; +0.853)" Reflections="true" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(255; 255; 255) x 0.4" ColorMultAtDay="0.2" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.581; 0.816; -0.853)" Reflections="true" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(169; 0; 0) x 0.4" ColorMultAtDay="0.2" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.581; 0.86; +0.853)" Reflections="true" Size="0.3" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(169; 0; 0) x 0.4" ColorMultAtDay="0.2" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.581; 0.86; -0.853)" Reflections="true" Size="0.3" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(255; 255; 255) x 0.4" ColorMultAtDay="0.6" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.492; 1.084; +0.908)" Reflections="true" Size="0.4" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(255; 255; 255) x 0.4" ColorMultAtDay="0.6" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.492; 1.084; -0.908)" Reflections="true" Size="0.4" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(3.525; 1.084; -0.797)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(3.525; 1.084; +0.797)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(3.496; 1.084; +0.908)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(3.496; 1.084; -0.908)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(3.496; 1.084; +0.908)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(3.496; 1.084; -0.908)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(3.56; 1.084; +0.677)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(3.56; 1.084; -0.677)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(3.56; 1.084; +0.677)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(3.56; 1.084; -0.677)" Size="0.2" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(255; 255; 255) x 0.4" ColorMultAtDay="0.6" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.56; 1.084; +0.677)" Reflections="true" Size="0.4" ParentFrame="BoneCabin_cdt" />
			<Flare AspectRatio="0.75" Color="g(255; 255; 255) x 0.4" ColorMultAtDay="0.6" Dir="(1; 0; 0)" DirAngle="90" Pos="(3.56; 1.084; -0.677)" Reflections="true" Size="0.4" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(3.93; 1.161; 0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="3">
		<WinchSocket Pos="(3.63; 1.04; +0.474)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(3.63; 1.04; -0.474)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(3.604; 0.835; 0)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(0.535; 1.171; +0.404)" />
		<WinchSocket Pos="(0.535; 1.171; -0.404)" />
		<WinchSocket Pos="(-4; 0.929; 0)" />
		<AddonSockets>
			<Socket Names="migalka" Offset="(1.46; 2.66; 0.49)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="topka4972" NamesBlock="LoadLogsShort" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="remka4972" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="kung4972" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="carriage4972" Offset="(0; -0.03; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailerCart" Offset="(-4.04; 0.929; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="workers4972" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="LoadLogsShort" Offset="(0; 0; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
	</GameData>
</Truck>
