<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.6"
			SuspensionStrength="0.014"
			Torque="default"
			Type="zil_offroad"
		/>
		<FrontWheel
			HardpointOffsetY="-0.2"
			SteeringAngle="40"
			SteeringCastor="12"
			SuspensionMin="-1.0"
			SuspensionStrength="0.02"
			Torque="full"
			Type="zil_offroad"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.595"
		HardpointDefaultZ="0.92"
	>
		<Wheel _template="FrontWheel" HardpointX="1.581" />
		<Wheel _template="FrontWheel" HardpointX="1.581" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.722" />
		<Wheel _template="RearWheel" HardpointX="-1.722" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-2.98" />
		<Wheel _template="RearWheel" HardpointX="-2.98" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.01"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.15"
		EngineStartDelay="2.2"
		ExhaustStartTime="1.2"
		FuelCapacity="270"
		LockClothOrigin="(-0.5; 0.2; 0)"
		LockClothScale="0.85"
		Responsiveness="0.08"
		SteerSpeed="0.02"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.679"
		/>
		<Steam Origin="(-0.5; 1.05; 0)" />
		<Steam Origin="(1.9; 1.3; 0)" Scale="0.5" ParentFrame="BoneCabin_cdt" />
		<Sounds _template="Default" Origin="(1.34; 1.5; 0)" ParentFrame="BoneCabin_cdt">
			<Reverse _inheritRemove="true" />
			<EngineStop Sound="engine/zil_stop" />
			<EngineStart Sound="zil_offroad_start" />
			<EngineLow Sound="zil_offroad_low" />
			<EngineIdle Sound="zil_offroad_idle" />
			<EngineHigh Sound="zil_offroad_high" />
			<EngineHeavy Sound="zil_offroad_heavy" />
		</Sounds>
		<Shakers>
			<Shaker Frame="ExhaustBone" 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" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.35"
			HeightFront="1.4"
			HeightRear="0.6"
			MinX="-3.90"
			MaxX="2.10"
		>
			<FullOcclusion HeightRear="1.1" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.60" MinX="-4.20" MaxX="3" />
		<Motor MaxDeltaAngVel="0.02" Torque="70000">
			<ReverseGear AngVel="0.5" />
			<HighGear AngVel="6.0" />
			<Gear AngVel="1.0" />
			<Gear AngVel="4.0" />
			<Gear AngVel="6.0" />
			<Gear AngVel="8.0" />
			<Gear AngVel="10.0" />
		</Motor>
		<LimitedFluid
			Center="(-0.6; 0.952; 0.778)"
			SizeX="0.863"
			SizeY="0.268"
			SizeZ="0.541"
			Type="Box"
		/>
		<LimitedFluid
			Center="(-0.6; 0.952; -0.778)"
			SizeX="0.863"
			SizeY="0.268"
			SizeZ="0.541"
			Type="Box"
		/>
		<Intake Dir="(1.0; 0; 0)" Origin="(2.295; 1.351; 0.001)" Size="0.8" />
		<Exhaust
			Dir="(-0.16; -0.37; -0.92)"
			Origin="(-2.348; 1.13; -0.976)"
			Speed="3.82"
			ParentFrame="ExhaustBone"
		/>
		<Driver Pos="(0.351; 1.546; 0.422)" SteeringWheelPos="(0.765; 1.946; 0.422)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="500"
			SensationMin="(0.03; 1.82; -0.84)"
			SensationMax="(0.97; 2.46; 0.84)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera RadiusMultiplier="0.8" ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(65; 67; 62)"
				ControlsPos="(0.98; 1.92; 0.539)"
				ViewPos="(0.244; 2.22; 0.422)"
				WindshieldDiffuseTexture="trucks/zil131_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
			<Axle Frame="AxleBone3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/zil131">
		<Body
			CenterOfMassOffset="(0.2; 0; 0)"
			ImpactType="Truck"
			Mass="3600"
		>
			<Body
				CenterOfMassOffset="(-0.6; -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="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>
		<Ignition>
			<Light _template="IgnitionSignalWhite" Pos="(2.6; 0.6; 0.0)" />
			<Flare _template="MarkerBeacon" Pos="(0.829; 2.57; -0.162)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(0.829; 2.57; 0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(0.829; 2.57; 0.162)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.233; 1.237; 0.97)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.233; 1.237; -0.97)" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.245; 1.353; -0.799)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(2.245; 1.353; 0.799)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.245; 1.353; -0.799)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(2.245; 1.353; 0.799)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(2.245; 1.353; -0.799)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(2.245; 1.353; 0.799)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.201; 1.27; 0.0)" ParentFrame="Cabin" />
	<GameData BalancePoints="2" ExcludeAddons="ural_cistern">
		<WinchSocket Pos="(2.674; 1.187; -0.452)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(2.674; 1.187; 0.452)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(-0.582; 0.954; 1.078)" />
		<WinchSocket Pos="(-0.582; 0.954; -1.078)" />
		<WinchSocket Pos="(-4.015; 0.956; 0)" />
		<CompletionStarsDecal Dir="(0.0; 0; 1)" Pos="(0.578; 1.568; 0.953)" />
		<AddonSockets>
			<Socket Names="UralExhaust" Offset="(-2.0; 0.05; 0)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazCart,ZilCartNoBackup" NamesBlock="ZilBackupWheel" Offset="(-1.17; 0.0; 0.0)" />
			<Socket Names="KrazTractor" Offset="(-1.22; 0.0; 0.0)" />
			<Socket Names="ZilCistern" Offset="(-1.22; 0.0; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsShort" Offset="(-0.55; -0.06; 0.0)" />
			<Socket Names="LoadLogsMedium" Offset="(-1.8; 1.6; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="ZilBackupWheel" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailer" Offset="(-1.969; 1.15; 0.0)" />
			<Socket Names="KamazTrailerCart" Offset="(-4.06; 0.95; 0)" />
			<Socket Names="UralCartTrailer" Offset="(-4.03; 0.95; 0.0)" />
			<Socket Names="GazTrailer" Offset="(-4.012; 0.96; 0.0)" />
		</AddonSockets>
	</GameData>
</Truck>
