<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"			
			SuspensionMin="-0.35"
			HardpointOffsetY="-0.12"
			SuspensionStrength="0.041"
			SuspensionDamping="0.4"
			Torque="default"
			Type="zil_double"
		/>
		<FrontWheel			
			SteeringAngle="42"
			SteeringCastor="5"
			SuspensionMin="-0.35"
			HardpointOffsetY="-0.12"
			SuspensionStrength="0.028"
			SuspensionDamping="0.28"
			Type="zil_front"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>		
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.4"
		HardpointDefaultZ="0.949"
	>
		<Wheel _template="FrontWheel" HardpointX="1.677" />
		<Wheel _template="FrontWheel" HardpointX="1.677" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.658" />
		<Wheel _template="RearWheel" HardpointX="-1.658" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.036"		
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.1"
		EngineStartDelay="2.0"
		ExhaustStartTime="1.1"
		FuelCapacity="220"
		LockClothOrigin="(0.0; -0.0; 0)"
		LockClothScale="0.8"
		Responsiveness="1.0"
		SteerSpeed="0.027"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.679"
		/>
		<Steam Origin="(-0.156; 0.796; 0)" />
		<Steam Origin="(1.68; 1.247; 0)" Scale="0.5" ParentFrame="BoneCabin_cdt" />
		<Sounds
			_template="Default"
			EngineHeavyVolume="0.8"
			Origin="(1.5; 1.3; 0)"
			ParentFrame="BoneCabin_cdt"
		>
			<Reverse _inheritRemove="true" />
			<EngineStop Sound="engine/zil_stop" />
			<EngineStart Sound="engine/zil_start" />
			<EngineLow Sound="engine/zil_low" />
			<EngineIdle Sound="engine/zil_idle" />
			<EngineHigh Sound="engine/zil_high" />
			<EngineHeavy Sound="engine/zil_heavy" />
		</Sounds>
		<Shakers>
			<Shaker Frame="ExhaustBone" MaxAngle="(0; 8; 0)" MaxFrequency="4" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.40"
			HeightFront="1.1"
			HeightRear="0.7"
			MinX="-2.50"
			MaxX="2.50"
		>
			<FullOcclusion HeightRear="1.0" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.80" MinX="-3.32" MaxX="3.08" />
		<Motor BrakesDelay="0.4" MaxDeltaAngVel="1.02" Torque="60000" EngineResponsiveness="0.4" ClutchDelay="0.09">
			<ReverseGear AngVel="1.7" />
			<HighGear AngVel="10.0" />
			<Gear AngVel="1.5" />
			<Gear AngVel="4.15" />
			<Gear AngVel="6.8" />
			<Gear AngVel="9.45" />
			<Gear AngVel="12.1" />
		</Motor>
		<LimitedFluid
			Center="(-0.503; 0.726; 0.778)"
			SizeX="0.863"
			SizeY="0.268"
			SizeZ="0.541"
			Type="Box"
		/>
		<LimitedFluid
			Center="(-0.503; 0.726; -0.778)"
			SizeX="0.863"
			SizeY="0.268"
			SizeZ="0.541"
			Type="Box"
		/>
		<Intake Dir="(1.0; 0; 0)" Origin="(2.469; 1.125; -0.025)" Size="0.8" />
		<Exhaust Dir="(-0.243; -0.292; 0.925)" Origin="(-1.034; 0.521; 0.292)" Speed="3.77" />
		<Driver Pos="(0.476; 1.261; 0.422)" SteeringWheelPos="(0.89; 1.661; 0.422)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="400"
			SensationMin="(0.19; 1.61; -0.8)"
			SensationMax="(1.07; 2.17; 0.8)"
		/>
		<Camera Center="(-1;0;0)" RadiusMultiplier="0.8" ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(65; 67; 62)"
				ControlsPos="(1.034; 1.655; 0.535)"
				ViewPos="(0.369; 1.935; 0.422)"
				WindshieldDiffuseTexture="trucks/zil131_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/zil130">
		<Body ImpactType="Truck" CenterOfMassOffset="(-0.27; 0; 0)" Mass="1600">
			<Body ImpactType="Truck" Mass="2100" CenterOfMassOffset="(0.27; 0; 0)" ModelFrame="BoneCabin_cdt">
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-22"
					MaxLimit="22"
					Type="Hinge"
				>
					<Motor Damping="17000" Spring="140000" Type="Spring" />
				</Constraint>
				<Body _template="Mudguard" ModelFrame="LeftMudguardBone_cdt">
					<Constraint AxisLocal="(0.0; 0.0; 1.0)" MinLimit="-45" MaxLimit="5" />
				</Body>
				<Body _template="Mudguard" ModelFrame="RightMudguardBone_cdt">
					<Constraint AxisLocal="(0.0; 0.0; 1.0)" MinLimit="-45" MaxLimit="5" />
				</Body>
				<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
				<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-2.8; 1; 0.6)" />
			<Flare _template="StopSignal" Pos="(-2.95; 0.86; 0.6)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-3.3; 0.86; 0.7)" />
			<Flare _template="ReverseSignal" Pos="(-2.95; 0.86; 0.7)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-2.95; 0.86; 0.7)" />
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-3.3; 0.86; 0.7)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.95; 0.86; 0.7)" />
			<Flare _template="MarkerBeacon" Pos="(0.955; 2.251; -0.156)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(0.955; 2.251; 0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(0.955; 2.251; 0.156)" ParentFrame="BoneCabin_cdt" />
			<Light _template="IgnitionSignalWhite" Pos="(3.5; 0.96; 0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.48; 0.96; -0.81)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.48; 0.96; 0.81)" ParentFrame="BoneCabin_cdt" />			
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.463; 1.167; 0.801)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(2.463; 1.167; -0.801)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.463; 1.167; 0.801)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.463; 1.167; -0.801)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(2.463; 1.167; 0.801)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(2.463; 1.167; -0.801)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.95; 0.86; 0.7)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.49; 1.239; 0.0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="1">
		<WinchSocket Pos="(2.642; 0.96; -0.426)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(2.642; 0.96; 0.426)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(-0.451; 0.742; 1.117)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(-0.451; 0.742; -1.117)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(-3.05; 0.92; 0)" ParentFrame="BoneChassis_cdt" />
		<CompletionStarsDecal Dir="(0.02; 0; 0.999)" Pos="(0.651; 1.298; 0.961)" />
		<AddonSockets>
			<Socket Names="ZilCarriage" />
			<Socket Names="KrazTractor" Offset="(-0.55; -0.115; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailer" Offset="(-1.5; 1.13; 0.0)" />
			<Socket Names="KamazTrailerCart" Offset="(-3.11; 0.92; 0)" />
			<Socket Names="GazTrailer" Offset="(-3.03; 0.935; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsShortShort" Offset="(-0.504; -0.246; 0)" />
		</AddonSockets>
	</GameData>
</Truck>
<!-- Original_Grilles -->