<?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.5; 0.6; 0.35)" />
		<WinchSocket Pos="(2.5; 0.6; -0.35)" />
		<WinchSocket Pos="(-2.35; 0.795; 0)" />
                <WinchSocket Pos="(-0.18; 2.0; 0.75)" />
		<WinchSocket Pos="(-0.18; 2.0; -0.72)" />
                <AddonSockets>
			<Socket Names="helpnabor" Offset="(-0.65;0.6; 0.0)" />
		</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.3; 0.3; -0.05)" />
		</AddonSockets>
	</GameData>
	<TruckData
		SteerSpeed="0.03"
		Responsiveness="1.0"
		BackSteerSpeed="0.06"
		EngineStartTime="1.5"
                FuelCapacity="200"
                EngineIconMesh="env/engine_default"
		EngineIconScale="1.1"
	>
		<Damage
			Capacity="600"
			SensationMin="(-0.29; 2.3; 0)"
			SensationMax="(1.64; 2.7; 1.6)"
		/>
		<Sounds Origin="(1.702; 1.1; 0)">
			<!--<EngineStartDelay Value="1.0" />-->
			<!--<ExhaustStartTime Value="1.0" />-->
			<!--<ExhaustFadeStartTime Value="1.5" />-->
			<!--<ExhaustStopTime Value="2.0" />-->
                        <HeadLight Sound="truck/headlight" />
                        <Handbrake Sound="truck/handbrake" />
                        <Gear Sound="truck/gear" />
			<ExhaustShot Sound="truck/shot" />
                        <DiffLock Sound="truck/difflock" />
			<EngineIdle Sound="Q7_Idle" />
			<EngineLow Sound="Q7_Low" />
			<EngineHigh Sound="Q7_High" />
			<EngineHeavy Sound="Q7_Heavy" />
			<EngineStart Sound="Q7_Start" />
			<EngineStop Sound="engine/uaz_stop" />			
			</Sounds>
		<Steam Origin="(1.0; 0.9; 0)" />
                 <Exhaust
			Dir="(-1.0; 0; 0)"
			IsLight="true"
			Origin="(-2.42; 0.75; 0.52)"
			Speed="2.0"
		/>
                <Exhaust
			Dir="(-1.0; 0; 0)"
			IsLight="true"
			Origin="(-2.42; 0.75; -0.52)"
			Speed="2.0"
		/>
                <Intake Dir="(1.0; 0; 0)" Origin="(2.7; 1.0; 0)" Size="0.5" />
		<Driver Pos="(0.17; 1.07; 0.46)" SteeringWheelPos="(0.54; 1.492; 0.45)" />			
                <Camera RadiusMultiplier="0.8">
			<Cockpit
				ControlsDiffuse="g(69; 66; 55)"
				ControlsPos="(1.1; 1.4; 0.57)"
				ViewPos="(0.11; 1.77; 0.49)"
				WindshieldDiffuseTexture="trucks/uaz469_glass__d_a.tga"
				LimitsHor="(-2.95; 1.95)"
				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>
		<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"
		/>
               <Motor MaxDeltaAngVel="0.09" Torque="100000">
			<HighGear AngVel="15.0" />
			<Gear AngVel="1.0" MaxDeltaAngVel="0.1" />
			<Gear AngVel="7.0" />
			<Gear AngVel="12.0" />
                        <Gear AngVel="16.5" />
			<Gear AngVel="21.0" />
			<ReverseGear AngVel="1.7" />
		</Motor>
	</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.5; 0)"
	/>
	<PhysicsModel Mesh="trucks/srt8/srt8">
		<Body
			Mass="2700"
			CenterOfMassPos="(0.0; -2.2; 0.0)"
			ImpactType="Truck"
		>
			
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<HeadLight>
			<Flare
				_template="HeadLight"
				Pos="(2.266; 1.253; 0.78)"
			/>
			<Flare
				_template="HeadLight"
				Pos="(2.266; 1.253; -0.78)"
			/>
			<Flare
				_template="BlueStreak"
				Pos="(2.266; 1.253; 0.78)"
			/>
			<Flare
				_template="BlueStreak"
				Pos="(2.266; 1.253; -0.78)"
			/>                      
			<Model
				_template="HeadLightRay"
				Org="(2.266; 1.253; 0.78)"
			/>
			<Model
				_template="HeadLightRay"
				Org="(2.266; 1.253; -0.78)"
			/>
                        <Light _template="IgnitionSignalRed" Pos="(-2.177; 1.457; 0.0)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.177; 1.457; 0.59)" />
                        <Flare _template="IgnitionSignalRed" Pos="(-2.177; 1.457; -0.59)" />
		</HeadLight>
                <Ignition>
                        <Flare _template="IgnitionSignalRed" Pos="(0.78; 1.6; 1.17)" Color="g(200; 100; 0) x 0.15" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(0.78; 1.6; -1.17)" Color="g(200; 100; 0) x 0.15" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(0.82; 1.6; 1.12)" Color="g(200; 100; 0) x 0.15" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(0.82; 1.6; -1.12)" Color="g(200; 100; 0) x 0.15" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.52; 0.98; 0.78)" Color="g(200; 0; 0) x 0.5" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.52; 0.98; -0.78)" Color="g(200; 0; 0) x 0.5" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.95; 0.505)" Color="g(50; 50; 255) x 0.25" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.95; -0.515)" Color="g(50; 50; 255) x 0.25" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.95; 0.605)" Color="g(50; 50; 255) x 0.25" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.95; -0.615)" Color="g(50; 50; 255) x 0.25" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.95; 0.705)" Color="g(50; 50; 255) x 0.25" Dir="(1;0;0)" ColorMultAtDay="0.3" />
                        <Flare _template="IgnitionSignalRed" Pos="(2.55; 0.95; -0.715)" Color="g(50; 50; 255) x 0.25" 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>
                        <Light _template="ReverseSignal" Pos="(-2.183; 1.383; 0.0)" />
			<Flare _template="ReverseSignal" Pos="(-2.183; 1.383; 0.589)" />
                        <Flare _template="ReverseSignal" Pos="(-2.183; 1.383; -0.589)" />
		</ReverseSignals>
		<StopSignals>
                        <Light _template="StopSignal" Pos="(-2.05; 1.459; 0.0)" />
			<Flare _template="StopSignal" Pos="(-2.05; 1.459; 0.779)" />
			<Flare _template="StopSignal" Pos="(-2.05; 1.459; -0.779)" />
                        <Flare _template="StopSignal" Pos="(-1.9; 2.04; 0.0)" Size="0.05" />
                        <Flare _template="StopSignal" Pos="(-1.9; 2.04; 0.039)" Size="0.05" />
                        <Flare _template="StopSignal" Pos="(-1.9; 2.04; -0.039)" Size="0.05" />
                        <Flare _template="StopSignal" Pos="(-1.9; 2.04; 0.085)" Size="0.05" />
                        <Flare _template="StopSignal" Pos="(-1.9; 2.04; -0.085)" Size="0.05" />
		</StopSignals>
	</ModelAttachments>	
	
</Truck>
