<?xml version="1.0"?>
<_templates Include="trucks">
	<Wheel>
		<FrontWheel
			DefaultWheelType="zil_wheel"
			SteeringAngle="40"
			Torque="full"
			ParentFrame="BoneCabin_cdt"
			ConnectedToHandbrake="false"
		>
			<Suspension
				MinLimit="-0.3"
				Strength="0.02"
				HardpointOffset="-0.1"
			/>
			<Steering Castor="8" />
		</FrontWheel>
		<RearWheel
			DefaultWheelType="zil_wheel_double"
			SteeringAngle="0"
			Torque="default"
			ConnectedToHandbrake="true"
		>
			<Suspension
				MinLimit="-0.2"
				Strength="0.04"
				HardpointOffset="-0.2"
			/>
		</RearWheel>
	</Wheel>
</_templates>
<Truck>
	<GameData FuelCapacity="220">
		<AddonSockets>
			<ZilCarriage />
			<ZilTractor Offset="(-0.773; -0.115; 0)" />
		</AddonSockets>
		<AddonSockets>
			<ZilCraneSupport ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<ZilExhaust ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<KamazTrailer Offset="(-1.751; 1.05; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<LoadLogsShort Offset="(-0.504; -0.246; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Zil4WD />
		</AddonSockets>
		<WinchSocket ParentFrame="BoneCabin_cdt" Offset="(2.73; 0.996; -0.455)" />
		<WinchSocket ParentFrame="BoneCabin_cdt" Offset="(2.73; 0.996; 0.455)" />
		<WinchSocket ParentFrame="BoneChassis_cdt" Offset="(-2.426; 0.78; 0)" />
	</GameData>
	<TruckData
		SteerSpeed="0.02"
		SteerResponsiveness="1.0"
		BackSteerSpeed="0.06"
		EngineStartTime="3.2"
	>
		<Damage
			Capacity="400"
			SensationOrigin="(0.617; 1.967; 0)"
			SensationSize="(0.912; 0.598; 1.9)"
		/>
		<Sound
			_template="Zil"
			Offset="(1.3; 1.22; 0.0)"
			Range="12.0"
		/>
		<Exhaust Origin="(-0.896; 0.624; 0.558)" Velocity="(0; -1.4; 3.5)" />
		<Steam Origin="(0.222; 0.558; 0)" />
		<Steam
			Origin="(2.047; 1.247; 0)"
			ParentFrame="BoneCabin_cdt"
			Scale="0.5"
		/>
		<Camera RadiusMultiplier="0.8" />
		<OcclusionMap
			Texture="occlusion/chassis__da_uncmp.tga"
			Size="(6.4; 3.6)"
			Offset="-0.12"
		/>
		<OcclusionVolume
			Size="(5.0; 2.8)"
			HeightFront="1.1"
			HeightRear="0.7"
		>
			<FullOcclusion HeightRear="1.0" />
		</OcclusionVolume>
		<Axles>
			<Axle
				Frame="AxleBone1"
				LeftWheel="0"
				RightWheel="1"
			/>
			<Axle
				Frame="AxleBone2"
				LeftWheel="2"
				RightWheel="3"
			/>
		</Axles>
		<WheelsSets>
			<WheelsSet Title="chained_wheels">
				<WheelType Type="zil_wheel_double_chained" Wheels="2,3" />
			</WheelsSet>
			<WheelsSet Title="BIG Wheels">
				<WheelType Type="maz2_wheel" Wheels="0,1,2,3" />
			</WheelsSet>
		</WheelsSets>		
	</TruckData>
	<HeadLight
		_template="Default"
		ParentFrame="BoneCabin_cdt"
		Offset="(2.58; 1.275; 0.0)"
	/>
	<PhysicsModel Mesh="zil_chassis.xml">
		<Body Mass="1500" ImpactType="Truck">
			<Body
				ModelFrame="BoneCabin_cdt"
				Mass="2500"
				ImpactType="Truck"
			>
				<Constraint
					Type="Ragdoll"
					PlaneAxis="(0; 0; 1.0)"
					TwistAxis="(1.0; 0; 0)"
					ConeMin="0"
					ConeMax="15"
					TwistMin="-15"
					TwistMax="15"
					PlaneMin="0"
					PlaneMax="0"
				>
					<PlaneMotor
						Type="Spring"
						Spring="600000"
						Damping="2000"
					/>
					<TwistMotor
						Type="Spring"
						Spring="160000"
						Damping="4000"
					/>
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Flare
				ParentFrame="BoneCabin_cdt"
				Offset="(1.028; 2.37; -0.203)"
				_template="MarkerSignal"
			/>
			<Flare
				ParentFrame="BoneCabin_cdt"
				Offset="(1.028; 2.37; 0)"
				_template="MarkerSignal"
			/>
			<Flare
				ParentFrame="BoneCabin_cdt"
				Offset="(1.028; 2.37; 0.203)"
				_template="MarkerSignal"
			/>
		</Ignition>
		<HeadLight>
			<Flare
				_template="HeadLight"
				ParentFrame="BoneCabin_cdt"
				Offset="(2.533; 1.242; 0.813)"
			/>
			<Flare
				_template="HeadLight"
				ParentFrame="BoneCabin_cdt"
				Offset="(2.533; 1.242; -0.813)"
			/>
			<Flare
				_template="BlueStreak"
				ParentFrame="BoneCabin_cdt"
				Offset="(2.533; 1.242; 0.813)"
			/>
			<Flare
				_template="BlueStreak"
				ParentFrame="BoneCabin_cdt"
				Offset="(2.533; 1.242; -0.813)"
			/>
			<Model
				_template="HeadLightRay"
				ParentFrame="BoneCabin_cdt"
				Org="(2.533; 1.242; 0.813)"
			/>
			<Model
				_template="HeadLightRay"
				ParentFrame="BoneCabin_cdt"
				Org="(2.533; 1.242; -0.813)"
			/>
			<Flare _template="RedSignal" Offset="(-3.0; 0.86; 0.7)" />	
		</HeadLight>
		<ReverseSignals>
			<Flare _template="ReverseSignal" Offset="(-3.0; 0.86; 0.7)" />
			<Light _template="ReverseSignal" Offset="(-2.8; 1; 0.7)" />
		</ReverseSignals>
		<StopSignals>
			<Flare _template="StopSignal" Offset="(-3.0; 0.86; 0.6)" />
			<Light _template="StopSignal" Offset="(-2.8; 1; 0.6)" />
		</StopSignals>
	</ModelAttachments>
	<VehicleConstraint>
		<ReverseGear
			Torque="140000"
			AngVelMin="-2.0"
			AngVelOpt="1.0"
			AngVelMax="8.0"
			MaxDeltaAngVel="0.08"
		/>
		<HighGear
			Torque="140000"
			AngVelMin="1.0"
			AngVelOpt="7.0"
			AngVelMax="8.0"
			MaxDeltaAngVel="0.12"
		/>
		<Gear
			Torque="140000"
			AngVelMin="-2.0"
			AngVelOpt="1.0"
			AngVelMax="8.0"
			AutoNextLinVel="2.5"
			MaxDeltaAngVel="0.08"
		/>
		<Gear
			Torque="125000"
			AngVelMin="-1.5"
			AngVelOpt="3.5"
			AngVelMax="14.0"
			AutoNextLinVel="4.0"
			MaxDeltaAngVel="0.05"
		/>
		<Gear
			Torque="125000"
			AngVelMin="0.4"
			AngVelOpt="5.0"
			AngVelMax="18.0"
			AutoNextLinVel="6.0"
			MaxDeltaAngVel="0.05"
		/>
		<Gear
			Torque="120000"
			AngVelMin="0.5"
			AngVelOpt="8.0"
			AngVelMax="22.0"
			MaxDeltaAngVel="0.05"
		/>
	</VehicleConstraint>
	<Wheels>
		<Wheel _template="FrontWheel">
			<Suspension Hardpoint="(1.699; 0.406; 0.951)" />
		</Wheel>
		<Wheel _template="FrontWheel">
			<Suspension Hardpoint="(1.699; 0.406; -0.951)" />
		</Wheel>
		<Wheel _template="RearWheel" DiffGroup="axle0">
			<Suspension Hardpoint="(-1.688; 0.405; 0.946)" />
		</Wheel>
		<Wheel _template="RearWheel" DiffGroup="axle0">
			<Suspension Hardpoint="(-1.688; 0.405; -0.946)" />
		</Wheel>
	</Wheels>
</Truck>
