<_templates Include="trucks">
	<Wheel>
		<RearWheel1
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.3"
			SuspensionStrength="0.012"
			Torque="default"
			Type="arki"
		/>
		<RearWheel2
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.3"
			SuspensionStrength="0.010"
			Torque="default"
			Type="arki"
		/>
		<RearWheel3
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.2"
			SteeringAngle="-20"
			SteeringCastor="8"
			SuspensionMin="-0.3"
			SuspensionStrength="0.009"
			Torque="default"
			Type="arki"
		/>
		<FrontWheel
			HardpointOffsetY="-0.3"
			SteeringAngle="35"
			SteeringCastor="8"
			SuspensionMin="-0.5"
			SuspensionMax="-0.2"
			SuspensionStrength="0.006"
			Torque="full"
			Type="arki"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.592"
		HardpointDefaultZ="1.04"
	>
		<Wheel _template="FrontWheel" HardpointX="3.117" HardpointY="0.589" />
		<Wheel _template="FrontWheel" HardpointX="3.117" HardpointY="0.589" RightSide="true" />
		<Wheel _template="RearWheel1" HardpointX="-1.812" />
		<Wheel _template="RearWheel1" HardpointX="-1.812" RightSide="true" />
		<Wheel _template="RearWheel2" HardpointX="-3.249" />
		<Wheel _template="RearWheel2" HardpointX="-3.249" RightSide="true" />
		<Wheel _template="RearWheel3" HardpointX="-4.679" HardpointY="0.589" />
		<Wheel _template="RearWheel3" HardpointX="-4.679" HardpointY="0.589" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.005"
		EngineStartDelay="1.0"
		ExhaustStartTime="1.1"
		FuelCapacity="380"
		Responsiveness="0.05"
		SteerSpeed="0.03"
		
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
	>
	<SteeringWheel Frame="BoneSteering_cdt" />
		<Steam Origin="(1.5; 0.9; 0)" />
		<Steam Origin="(3.75; 1.5; 0)" Scale="0.5" ParentFrame="BoneCabin_cdt" />
		<Sounds
			_template="Default"
			AirHissInterval="12.0"
			Origin="(2.717; 1.661; 0.0)"
			ParentFrame="BoneCabin_cdt"
			EngineHeavyVolume="0.4"
			Range="8.0"
		>
			<EngineTrans Sound="truck/trans" />
			<EngineStop Sound="engine/kraz_stop" />
			<EngineStart Sound="engine/kraz_start" />
			<EngineRev Sound="engine/kraz_rev" />
			<EngineLow Sound="engine/kraz_low" />
			<EngineIdle Sound="engine/kraz_idle" />
			<EngineHigh Sound="engine/kraz_high" />			
			<Reverse Sound="truck/trans_reverse" />
			<Headlight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/gear" />
			<ExhaustShot Sound="truck/shot" />
			<DiffLock Sound="truck/difflock" />
			<Crackle Sound="truck/crackle" />
			<ChassisStress Sound="truck/stress" />
			<BrakeRelease Sound="truck/brake_release" />
			<BrakePull Sound="truck/brake_pull" />
			<AbruptStop Sound="truck/swing" />
			<EngineTurbo Sound="engine/maz_turbo2" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust_cdt" 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" />
			<Shaft SocketPointA="Shaft5a" SocketPointB="Shaft5b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.55"
			HeightFront="0.85"
			HeightRear="0.85"
			MinX="-7.0"
			MaxX="4.0"
		>
			<FullOcclusion HeightFront="1.0" HeightRear="1.0" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.90" MinX="-7.0" MaxX="4.0" />
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="0.01" Torque="160000">
			<ReverseGear AngVel="0.5" />
			<HighGear AngVel="6.0" />
			<Gear AngVel="1.0" />
			<Gear AngVel="3.5" />
			<Gear AngVel="5.0" />
			<Gear AngVel="6.5" />
			<Gear AngVel="8.0" />
		</Motor>
		<LimitedFluid
			Center="(0.10; 0.849; 0.843)"
			LengthX="0.891"
			RadiusY="0.277"
			RadiusZ="0.277"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(0.10; 0.849; -0.843)"
			LengthX="0.891"
			RadiusY="0.277"
			RadiusZ="0.277"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(1.61; 1.0; -0.83)"
			SizeX="0.5"
			SizeY="0.3"
			SizeZ="0.4"
			Type="Box"
		/>
		<Exhaust Dir="(-0.16; -0.37; 0.92)" Origin="(0.644; 0.792; 1.213)" Speed="3.82" />
		<Damage
			Capacity="500"
			SensationMin="(1.929; 2.020; -0.770)"
			SensationMax="(1.085; 2.542; 0.784)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(62; 64; 59)"
				ControlsPos="(1.969; 2.159; 0.625)"
				ViewPos="(1.363; 2.38; 0.5)"
				WindshieldDiffuseTexture="trucks/kraz255_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" LeftWheel="0" RightWheel="1" />
			<Axle Frame="AxleBone2" LeftWheel="2" RightWheel="3" />
			<Axle Frame="AxleBone3" LeftWheel="4" RightWheel="5" />
			<Axle Frame="AxleBone4" LeftWheel="8" RightWheel="7" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/Kraz-256 8x8">
		<Body
			CenterOfMassOffset="(-0.2; -0.2; 0)"
			ImpactType="Truck"
			Mass="6800"
			ModelFrame="BoneChassis_cdt"
		>
			<Body
				CenterOfMassOffset="(-0.4; -0.3; 0)"
				ImpactType="Truck"
				Mass="5500"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-2"
					MaxLimit="2"
					PivotOffset="(-2.0; -0.2; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="240000" Type="Spring" />
				</Constraint>
				<Body
					AngularDamping="3.0"
					Collisions="None"
					Mass="10"
					ModelFrame="BoneMudguardL"
				>
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-15"
						MaxLimit="15"
						Type="Hinge"
					/>
				</Body>
				<Body
					AngularDamping="3.0"
					Collisions="None"
					Mass="10"
					ModelFrame="BoneMudguardR"
				>
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-15"
						MaxLimit="15"
						Type="Hinge"
					/>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
	    <StopSignals>
			<Light _template="StopSignal" Pos="(-6.645; 1.107; 0)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="StopSignal" Pos="(-6.645; 1.107; 0.64)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="StopSignal" Pos="(-6.645; 1.107; -0.61)" ParentFrame="BoneChassis_cdt" />
		</StopSignals>
		<!--<Ignition>
			<Flare _template="MarkerBeacon" Pos="(1.897; 2.796; 0.182)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.892; 2.796; 0.013)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.894; 2.796; -0.156)" ParentFrame="BoneCabin_cdt" />
			
			<Light _template="IgnitionSignalRed" Direction="30" Size="0.3" Pos="(-6.644; 1.102; 0)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="IgnitionSignalRed" Direction="30" Size="0.3" Pos="(-6.644; 1.102; 0.775)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="IgnitionSignalRed" Direction="30" Size="0.3" Pos="(-6.644; 1.102; -0.754)" ParentFrame="BoneChassis_cdt" />
		</Ignition>-->
		<HeadLight>
			<Model _template="HeadLightRay" Org="(3.694; 1.472; 0.764)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(3.694; 1.472; -0.734)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(3.694; 1.472; 0.764)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(3.694; 1.472; -0.734)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(3.694; 1.472; 0.764)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(3.694; 1.472; -0.734)" ParentFrame="BoneCabin_cdt" />
			
			
			<Flare _template="MarkerBeacon" Pos="(1.897; 2.796; 0.182)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.892; 2.796; 0.013)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.894; 2.796; -0.156)" ParentFrame="BoneCabin_cdt" />
			
			<Light _template="IgnitionSignalRed" Direction="30" Size="0.3" Pos="(-6.644; 1.102; 0)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="IgnitionSignalRed" Direction="30" Size="0.3" Pos="(-6.644; 1.102; 0.775)" ParentFrame="BoneChassis_cdt" />
			<Flare _template="IgnitionSignalRed" Direction="30" Size="0.3" Pos="(-6.644; 1.102; -0.754)" ParentFrame="BoneChassis_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(3.7; 0.822; -0.043)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="1">
		<WinchSocket Pos="(4.022; 0.999; 0.596)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(4.022; 0.999; -0.637)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(4.022; 0.999; 0.596)" ParentFrame="BoneCabin_cdt" />
		
		<WinchSocket Pos="(0.456; 1.068; 1.124)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(0.456; 1.068; -1.124)" ParentFrame="BoneCabin_cdt" />
		
		<WinchSocket Pos="(-6.743; 1.091; 0.001)" ParentFrame="BoneChassis_cdt" />
		
		<AddonSockets>
			<Socket Names="Kraz-256 8x8 protector" Offset="(-0.68; -0.01; -0.0)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="bagagnik" ParentFrame="BoneCabin_cdt" Offset="(-0.7; 0.39; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="bak" ParentFrame="BoneCabin_cdt" Offset="(2.1; -0.3; -0.17)" />
		</AddonSockets>
		<AddonSockets>
		    <Socket Names="Kraz_CabinLights" Offset="(-0.60; 0.02; -0.0)" ParentFrame="BoneCabin_cdt" />
			<Socket Names="Kraz_CabinLights01" Offset="(-0.60; 0.02; -0.0)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="Kraz-256 8x8 zad" Offset="(0.0; 0.05; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="Kraz-256 8x8 platform" Offset="(0.0; 0.14; 0)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="zls31_Cart2" ParentFrame="fix" Offset="(-1.3; 0.05; 0.0)" />
			<Socket Names="zls31_Cart1" ParentFrame="fix" NamesBlock="KamazTrailerCart,KiruhanPricep" Offset="(-1.3; 0.05; 0.0)" />
			<Socket Names="ZilTentTems" ParentFrame="fix" Offset="(-1.3; 0.15; 0.0)" />
			<Socket
				Names="MazBigCistern"
				NamesBlock="MzktWinch,barrels"
				Offset="(-1.3; -0.35; 0)"
				ParentFrame="BoneChassisRear_cdt"
			>
				<ExtraParent Frame="BoneChassisFront_cdt" />
			</Socket>
			<Socket Names="MazBigTractor" Offset="(-2.2; 0.02; 0)" ParentFrame="BoneChassis_cdt">
				<ExtraParent Frame="BoneChassisRear_cdt" />
			</Socket>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="barrels" Offset="(0.1; -0.3; 0)" NamesBlock="Kraz-256 8x8 platform,UralBackupWheel,ChipBackupWheel" ParentFrame="BoneChassis_cdt" />
			<Socket Names="KrazBackupWheelNew" NamesBlock="Kraz-256 8x8 platform" Offset="(-0.8; 0.15; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="ChipBackupWheel" NamesBlock="Kraz-256 8x8 platform,barrels,MazBigCistern" Offset="(-2.0; 0.0; 0)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="MazTrailerCart" Offset="(-6.8; 1.1; 0" ParentFrame="BoneChassisRear_cdt" />
			<Socket Names="KiruhanPricep" Offset="(-6.8; 1.1; 0)" />
		    <Socket Names="KamazTrailerCart" Offset="(-6.743; 1.091; 0.001)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="Kraz257_pricep01" Offset="(-6.743; 1.091; 0.001)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="Kraz257_pricep02" Offset="(-6.743; 1.091; 0.001)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="Kraz257_pricep03" Offset="(-6.743; 1.091; 0.001)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="Kraz257_pricep04" Offset="(-6.743; 1.091; 0.001)" ParentFrame="BoneChassis_cdt" />			
			<Socket Names="Kraz-256 8x8 pricep" Offset="(-6.743; 1.091; 0.001)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="KamazTrailerCart" Offset="(-2.82; 1.06; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsMedium2568x8" Offset="(-0.2; 0.14; 0.0)" />
			<Socket Names="LoadLogsShort" Offset="(-0.2; 0.14; 0.0)" />
			<Socket Names="LoadLogsShortCrane" Offset="(-2.89; 0.05; 0.0)" />
			<Socket Names="LoadLogsMedium" Offset="(-0.2; 0.14; 0.0)" />
			<Socket Names="LoadMedZilBrevna" Offset="(-1.3; 0.14; 0.0)" />
			<Socket Names="LoadCrSortZil" Offset="(-1.3; 0.14; 0.0)" />
			<Socket Names="LoadLogsLong" Offset="(0; -0.05; 0.0)" />
			<Socket Names="MazTrailer" Offset="(-4.69; 1.9; 0)" />
			<Socket Names="KiruhanProtect" ParentFrame="BoneFront_cdt" />
		</AddonSockets>
		</AddonSockets>
	</GameData>
</Truck>
