<?xml version="1.0"?>
<_templates Include="trucks">
	
	<Flare>
		<Sublight Color="(122; 61; 0) x 0.6" Size="0.2" />
	</Flare>
	<Body>
		<Mudguard
			Mass="10"
			AngularDamping="3.0"
			Collisions="None"
		>
			<Constraint
				Type="Hinge"
				MinLimit="-45"
				MaxLimit="15"
				Axis="(0.0; 0.0; 1.0)"
			/>
			<Shape>
				<Box HalfExtents="(0.08; 0.12; 0.12)" Translation="(0; -0.06; 0)" />
			</Shape>
		</Mudguard>
	</Body>
</_templates>
<Truck>
        <Wheels
		HardpointDefaultY="0.45"
		HardpointDefaultZ="0.88"
	>
		<Wheel
                        DiffGroup="axle0"
			HardpointX="1.73"
			HardpointOffsetY="0.06"
			SteeringAngle="35"
			SteeringCastor="8"
			SuspensionDamping="0.1"
			SuspensionMin="-0.4"
			SuspensionStrength="0.014"
			Torque="full"
			Type="gc8drb9t"
		/>
		<Wheel
                        DiffGroup="axle0"
			HardpointX="1.73"
			RightSide="true"
			HardpointOffsetY="0.06"
			SteeringAngle="35"
			SteeringCastor="8"
			SuspensionDamping="0.1"
			SuspensionMin="-0.4"
			SuspensionStrength="0.014"
			Torque="full"
			Type="gc8drb9t"
		/>
		<Wheel
                        DiffGroup="axle1"
			HardpointX="-1.29"
			ConnectedToHandbrake="true"
			HardpointOffsetY="0.04"
			SuspensionDamping="0.1"
			SuspensionMin="-0.4"
			SuspensionStrength="0.013"
			Torque="default"
			Type="gc8drb9t"
		/>
		<Wheel
                        DiffGroup="axle1"
			HardpointX="-1.29"
			RightSide="true"
			ConnectedToHandbrake="true"
			HardpointOffsetY="0.04"
			SuspensionDamping="0.1"
			SuspensionMin="-0.4"
			SuspensionStrength="0.013"
			Torque="default"
			Type="gc8drb9t"
		/>
	</Wheels>
	<GameData BalancePoints="1"
		LogPoints="0"
		Recallable="true">
                <LoadArea Min="(-2.0; -0.65; -2.7)" Max="(2.0; 2.55; 2.7)" Type="ShortLogs" />
		<WinchSocket Pos="(2.4; 0.5; 0.35)" />
		<WinchSocket Pos="(2.4; 0.5; -0.35)" />
		<WinchSocket Pos="(-2.4; 0.795; 0.04)" />
                <WinchSocket Pos="(-0.18; 2.0; 0.75)" />
		<WinchSocket Pos="(-0.18; 2.0; -0.72)" />
                <AddonSockets>
			<Socket Names="helpnabor" Offset="(0.25;0.6; 0.38)" />
		</AddonSockets>
                <AddonSockets>
			<Socket Names="bbeer1" Offset="(1.7; 0.5; -0.7)" />
		</AddonSockets>
                <AddonSockets>
			<Socket Names="bbeer2" Offset="(0.7; 0.55; -0.7)" />
		</AddonSockets>
                <AddonSockets>
			<Socket Names="barsumk" Offset="(-0.95; 0.75; -0.45)" />
		</AddonSockets>
	</GameData>
	<TruckData
		SteerSpeed="0.03"
		Responsiveness="1.0"
		BackSteerSpeed="0.06"
		EngineStartTime="1.5"
                FuelCapacity="200"
                EngineIconMesh="env/engine_default"
		EngineIconScale="1.2"
	>
		<Damage
			Capacity="600"
			SensationMax="(-0.29; 2.0; 0)"
			SensationMin="(1.64; 1.5; 1.6)"
		/>
		<Sounds Origin="(1.51; 1.15; 0)">
		
			<HeadLight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/zaz_gear" />
                        <DiffLock Sound="truck/difflock" />
                        <EngineStop Sound="engine/uaz_stop" />
			<EngineIdle Sound="Q7_Idle" />
			<EngineLow Sound="Q7_Low" />
			<EngineHigh Sound="500rpm" />
			<EngineHeavy Sound="engine_heavy" />
			<EngineStart Sound="Q7_Start" />
						
			</Sounds>
		<Steam Origin="(1.956; 1.481; 0.045)" />
		<Intake Dir="(1.0; 0; 0)" Origin="(2.8; 1.15; 0)" Size="0.4" />
                <Exhaust
			Dir="(-1.0; 0; 0)"
			IsLight="true"
			Origin="(-2.6; 0.8; 0.15)"
			Speed="2.0"
		/>
                <Exhaust
			Dir="(-1.0; 0; 0)"
			IsLight="true"
			Origin="(-2.6; 0.8; -0.05)"
			Speed="2.0"
		/>
                <Driver Pos="(0.1; 1.05; 0.456)" SteeringWheelPos="(0.53; 1.56; 0.49)" />
                <Camera RadiusMultiplier="0.8">
			<Cockpit
				ControlsDiffuse="g(69; 66; 55)"
				ControlsDiffuse="g(69; 66; 55)"
				ViewPos="(-0.1; 1.842; 0.496)"
				WindshieldDiffuseTexture="trucks/uaz469_glass__d_a.tga"
				ControlsPos="(1.059; 1.3; 0.61)"
				LimitsHor="(-2.8; 2.4)"
				LimitsVer="(-0.32; 0.2)"
				ViewDir="(1.0; -0.05; 0)"
				ZoomViewDirOffset="(0;-0.05;0)"
				ZoomViewPosOffset="(0.2;0;0)"
			>
				<Rear
					HorTransitionEnd="-1.5"
					HorTransitionStart="-1.2"
					LimitsVer="(-1.2; 0.2)"
					RollAngle="-15"
					ViewDir="(1.0; -0.05; 0)"
					ViewPosOffset="(0.25; -0.1; 0.7)"
				/>
			</Cockpit>
		</Camera>

		<Motor MaxDeltaAngVel="0.012" Torque="90000">
			<ReverseGear AngVel="1.7" />
			<HighGear AngVel="12.5" />
			<Gear AngVel="3.5" />
			<Gear AngVel="4.7" />
			<Gear AngVel="6.8" />
			<Gear AngVel="9.0" />
			<Gear AngVel="12.0" />
			<Gear AngVel="17.0" />
		</Motor>

		<OcclusionMap
                        Texture="trucks/occlusion/chassis_small__s_d_a.tga"			
			Size="(4.5; 3.2)"
			Pos="0.2"
		/>
		<OcclusionVolume
			Size="(3.7; 2.2)"
			HeightFront="1.0"
			HeightRear="1.0"
		/>
	</TruckData>
	
        <HeadLight
		AttenEnd="55"
		AttenStart="1"
		Color="g(204; 161; 69) x 5"
		Dir="(1.0; -0.2; 0)"
		InnerCone="0"
		OuterCone="120"
		Pos="(2.088; 0.043; 0)"
	/>

	<PhysicsModel Mesh="trucks/srt8/srt82009">
		<Body
			Mass="2700"
			CenterOfMassPos="(0.4; -1.2; 0.0)"
			ImpactType="Truck"
		>
			
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<HeadLight>
                        <Flare
				_template="HeadLight"
				Pos="(2.5; 1.25; 0.65)"
                                Size="0.8"
			/>
			<Flare
				_template="HeadLight"
				Pos="(2.5; 1.25; -0.55)"
                                Size="0.8"
			/>
			<Flare
				_template="HeadLight"
				Pos="(2.392; 1.264; 0.813)"
                                Size="0.5"
			/>
			<Flare
				_template="HeadLight"
				Pos="(2.392; 1.264; -0.723)"
                                Size="0.5"
			/>
			<Flare
				_template="BlueStreak"
				Pos="(2.392; 1.264; 0.813)"
			/>
			<Flare
				_template="BlueStreak"
				Pos="(2.392; 1.264; -0.723)"
			/>                      
			<Model
				_template="HeadLightRay"
				Org="(2.392; 1.264; 0.813)"
			/>
			<Model
				_template="HeadLightRay"
				Org="(2.392; 1.264; -0.723)"
			/>
			<Flare _template="IgnitionSignalRed" Pos="(-2.25; 1.421; 0.905)" ColorMultAtDay="0.5" />
                        <Flare _template="IgnitionSignalRed" Pos="(-2.25; 1.421; -0.815)" ColorMultAtDay="0.5" />
                        <Light _template="IgnitionSignalRed" Pos="(-2.25; 1.421; 0.905)" />
                        <Light _template="IgnitionSignalRed" Pos="(-2.25; 1.421; -0.815)" />
		</HeadLight>
                <Ignition>
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.75; 0.805)" Color="g(50; 50; 255) x 0.7" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.75; -0.715)" Color="g(50; 50; 255) x 0.7" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Light _template="IgnitionSignalRed" Pos="(2.55; 0.75; 0.805)" Color="g(50; 50; 255) x 2" Dir="(1;0;0)" />
                        <Light _template="IgnitionSignalRed" Pos="(2.55; 0.75; -0.715)" Color="g(50; 50; 255) x 2" Dir="(1;0;0)" />
                </Ignition>
		<ReverseSignals>
			<Flare _template="ReverseSignal" Pos="(-2.223; 1.284; 0.906)" />
                        <Flare _template="ReverseSignal" Pos="(-2.223; 1.284; -0.815)" />
                        <Light _template="IgnitionSignalWhite" Pos="(-2.223; 1.284; 0.906)" Dir="(-1;0;0)" />
                        <Light _template="IgnitionSignalWhite" Pos="(-2.223; 1.284; -0.815)" Dir="(-1;0;0)" />
		</ReverseSignals>
		<StopSignals>
			<Flare _template="StopSignal" Pos="(-1.938; 2.091; 0.039)" />
			<Flare _template="StopSignal" Pos="(-2.411; 0.947; 0.621)" />
			<Flare _template="StopSignal" Pos="(-2.411; 0.947; -0.531)" />
                        <Light _template="IgnitionSignalRed" Pos="(-2.169; 1.421; 0.0)" Color="g(255; 0; 0) x 2" />
		</StopSignals>
	</ModelAttachments>
	
	
</Truck>
