<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.23"
			SuspensionMin="-0.2"
			SuspensionStrength="0.04"
			Torque="default"
			Type="zil_130_double"
		/>
		<FrontWheel
			HardpointOffsetY="-0.18"
			SteeringAngle="35"
			SteeringCastor="12"
			SuspensionMin="-0.3"
			SuspensionStrength="0.02"
			Type="zil_130_front"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.536"
		HardpointDefaultZ="0.930"
	>
		<Wheel _template="FrontWheel" HardpointX="1.678" HardpointZ="0.886" />
		<Wheel _template="FrontWheel" HardpointX="1.678" HardpointZ="0.890" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.657" HardpointY="0.514" />
		<Wheel _template="RearWheel" HardpointX="-1.657" HardpointY="0.514" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.06"
		DiffLockType="Default"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.1"
		EngineStartDelay="2.0"
		ExhaustStartTime="1.1"
		FuelCapacity="170"
		Responsiveness="0.1"
		SteerSpeed="0.02"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.705"
		/>
		<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.4; 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="(2; 0; 0)" MaxFrequency="4" />
			<Shaker
				Frame="Bone001"
				MaxAngle="(6; 6; 6)"
				MaxFrequency="4"
			/>
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
		</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.3" MaxDeltaAngVel="0.01" Torque="60000">
			<ReverseGear AngVel="1.0" />
			<HighGear AngVel="6.0" />
			<Gear AngVel="1.5" />
			<Gear AngVel="3.5" />
			<Gear AngVel="5.0" />
			<Gear AngVel="7.0" />
			<Gear AngVel="9.0" />
		</Motor>
		<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.109; 0.468; 0.478)" Speed="3.77" />
		<Driver Pos="(0.450; 1.261; 0.526)" SteeringWheelPos="(0.89; 1.643; 0.474)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="400"
			SensationMin="(0.16; 1.57; -0.95)"
			SensationMax="(1.07; 2.17; 0.95)"
		/>
		<Camera RadiusMultiplier="0.8" ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ViewPos="(0.369; 1.935; 0.492)"
				LimitsHor="(-2.5; 2.6)"
				WindshieldDiffuseTexture="trucks/zil131_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/zil_130_green_short">
		<Body
			CenterOfMassOffset="(-0.7; 0; 0)"
			ImpactType="Truck"
			Mass="3600"
			ModelFrame="BoneChassis_cdt"
		>
			<Body
				CenterOfMassOffset="(0.822; -0.3; 0)"
				ImpactType="Truck"
				Mass="2200"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-22"
					MaxLimit="22"
					PivotOffset="(-2.0; -0.2; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="160000" Type="Spring" />
				</Constraint>
				<Body _template="Mudguard" ModelFrame="LeftMudguardBone_cdt">
					<Constraint AxisLocal="(0.0; 0.0; 1.0)" MinLimit="-45" MaxLimit="15" />
				</Body>
				<Body _template="Mudguard" ModelFrame="RightMudguardBone_cdt">
					<Constraint AxisLocal="(0.0; 0.0; 1.0)" MinLimit="-45" MaxLimit="15" />
				</Body>
				<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt">
				<Constraint AxisLocal="(1.0; 1.0; 0.0)" MinLimit="-2" MaxLimit="2" />
				</Body>
				<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt">
				<Constraint AxisLocal="(1.0; 1.0; 0.0)" MinLimit="-2" MaxLimit="2" />
				</Body>
				<Body _template="Mudguard" ModelFrame="Bone002_cdt">
			<Constraint AxisLocal="(1.0; 1.0; 1.0)" MinLimit="-50" MaxLimit="50" />
			</Body>
			</Body>
		</Body>
	</PhysicsModel>
		<ModelAttachments>
		<Ignition>
			<Flare _template="IgnitionSignalWhite" Pos="(2.484; 1.187; -0.823)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.484; 1.187; 0.823)" ParentFrame="BoneCabin_cdt" />
			<Light _template="IgnitionSignalWhite" Pos="(2.484; 1.187; -0.823)" ParentFrame="BoneCabin_cdt" />
			<Light _template="IgnitionSignalWhite" Pos="(2.484; 1.187; 0.823)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.043; 2.244; -0.219)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.043; 2.244; 0.003)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(1.043; 2.244; 0.226)" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.479; 1.046; 0.815)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(2.479; 1.046; -0.815)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.479; 1.046; 0.815)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.479; 1.046; -0.815)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.491; 1.158; 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="(-1.085; 0.754; 0.45)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(-1.085; 0.754; -0.459)" ParentFrame="BoneChassis_cdt" />
		<WinchSocket Pos="(-2.704; 0.775; -0.009)" ParentFrame="BoneChassis_cdt" />
		<AddonSockets>
			<Socket Names="ZilTractor" Offset="(1.3; -0.08; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailerCart" Offset="(-2.749; 0.775; -0.009)" />
			<Socket Names="GazTrailer" Offset="(-2.687; 0.775; -0.009)" />
			<Socket Names="odaz_885" Offset="(-1.63; 1.1; -0.009)" />
			<Socket Names="odaz_fuel" Offset="(-1.644; 1.1; -0.009)" />
			<Socket Names="odaz_rem" Offset="(-1.63; 1.1; -0.009)" />
			<Socket Names="odaz_794" Offset="(-1.6; 1.1; -0.009)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="zil_130_spare_wheel" Offset="(0.1; -0.15; -0.02)" ParentFrame="BoneChassis_cdt"/>
			<Socket Names="zil_130_fuel_tank" Offset="(-0.48; 0.73; -0.76)"  ParentFrame="BoneChassis_cdt"/>
		</AddonSockets>
	</GameData>
</Truck>
