<_templates Include="trucks">
	<Flare>
		<Sublight Color="(122; 61; 0) x 0.6" Size="0.4" />
	</Flare>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.62"
		HardpointDefaultZ="0.75"
	>
		<Wheel
			Type="wheels_gaz31029_kolpak"
			HardpointOffsetY="-0.07"
			HardpointZ="0.79"
			HardpointX="1.648"
			SteeringAngle="40"
			SuspensionDamping="0.3"
			SteeringCastor="8"
			SuspensionMin="-0.3"
			SuspensionStrength="0.02"
		/>
		<Wheel
			Type="wheels_gaz31029_kolpak"
			HardpointOffsetY="-0.07"
			HardpointX="1.648"
			HardpointZ="0.79"
			RightSide="true"
			SteeringAngle="40"
			SuspensionDamping="0.3"
			SteeringCastor="8"
			SuspensionMin="-0.3"
			SuspensionStrength="0.02"
		/>
		<Wheel
			ConnectedToHandbrake="true"
			Type="wheels_gaz31029_kolpak"
			HardpointOffsetY="-0.1"
			HardpointX="-1.306"
			SuspensionMin="-0.3"
			SuspensionStrength="0.02"
			Torque="default"
		/>
		<Wheel
			ConnectedToHandbrake="true"
			Type="wheels_gaz31029_kolpak"
			HardpointOffsetY="-0.1"
			HardpointX="-1.306"
			RightSide="true"
			SuspensionMin="-0.3"
			SuspensionStrength="0.02"
			Torque="default"
		/>
	</Wheels>
	<TruckData
		BackSteerSpeed="0.06"
		EngineIconMesh="env/engine_small"
		EngineStartDelay="1.2"
		FuelCapacity="40"
		EngineIconScale="1.2"
		LockClothOrigin="(0.25; -0.5; 0)"
		LockClothScale="0.6"
		Responsiveness="0.6"
		SteerSpeed="0.02"
	>
	<Steam Origin="(1.524; 0.387; 0)" />
		<Sounds EngineHeavyVolume="0.6" Origin="(1.35; 1.13; 0)" Range="8.0">
			<Headlight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<ExhaustShot Sound="truck/shot" />
			<EngineStop Sound="engine/uaz_stop" />
			<EngineStart Sound="engine/uaz_start" />
			<EngineLow Sound="engine/uaz_low" />
			<EngineIdle Sound="engine/uaz_idle" />
			<EngineHigh Sound="engine/uaz_high" />
			<EngineHeavy Sound="engine/uaz_heavy" />
			<DiffLock Sound="truck/difflock" />
		</Sounds>
		<OcclusionVolume
			HalfSizeZ="1.10"
			HeightFront="1.0"
			HeightRear="1.0"
			MinX="-1.85"
			MaxX="1.85"
		/>
		<OcclusionMap
			HalfSizeZ="1.30"
			MinX="-2.1"
			MaxX="2.2"
			Texture="trucks/occlusion/chassis_small__s_d_a.tga"
		/>
		<Motor MaxDeltaAngVel="0.1" Torque="60000">
			<ReverseGear AngVel="2.0" />
			<HighGear AngVel="14.0" />
			<Gear AngVel="2.0" />
			<Gear AngVel="5.0" />
			<Gear AngVel="10.0" />
			<Gear AngVel="18.0" />
			<Gear AngVel="28.0" />
		</Motor>
		<Exhaust
			Dir="(-3.0; -0.186; -0.6)"
			IsLight="true"
			Origin="(-2.223; 0.453; -0.37)"
			Speed="1.0"
		/>
	 		<Driver LegsOffset="(-0.25; 0.0; 0.0)" Pos="(0.132; 0.965; 0.48)" SteeringWheelPos="(0.545; 1.321; 0.392)" />
		<Damage
			Capacity="1000"
			SensationMin="(-1.11; 1.45; -0.80)"
			SensationMax="(0.53; 1.95; 0.80)"
		/>
		<Axles>
			<Axle Frame="BoneAxle1" SingleWheel="0" />
			<Axle Frame="BoneAxle2" SingleWheel="1" />
			<Axle Frame="BoneAxle3" LeftWheel="2" RightWheel="3" />
		</Axles>
		<Camera Center="(-0.2; -0.0; 0)" RadiusMultiplier="0.6">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(56; 56; 56)"
				ControlsPos="(1.5; 0.925; 0.75)"
				ViewPos="(0.1; 1.65; 0.4)"
				WindshieldDiffuseTexture="trucks/zaz968_glass__d_a.tga"
			>
				<Rear
					HorTransitionEnd="-1.2"
					HorTransitionStart="-1.1"
					ViewPosOffset="(0.2; -0.1; 0.5)"
				/>
			</Cockpit>
		</Camera>
	</TruckData>
	<PhysicsModel Mesh="trucks/GAZ31029_miliciya">
		<Body
			CenterOfMassOffset="(-0.0; -0.3; 0)"
			ImpactType="Truck"
			Mass="3200"
		>
				<Body
					Collisions="None"
					Mass="150"
					ModelFrame="BoneRul_cdt"
				>
					<Constraint
						AxisLocal="(1; 0; 0)"
						MinLimit="-*"
						MaxLimit="*"
						Name="ChassisSteer"
						Type="Hinge"
					>
						<Motor
							Damping="0.5"
							Force="350"
							Tau="0.04"
							Type="Position"
						/>
					</Constraint>
				</Body>								
			<Body
				AngularDamping="6.5"
				Collisions="None"
				Mass="50"
				ModelFrame="BoneBriz1_cdt"
			>
				<Constraint
					AxisLocal="(0.0; 0.0; 1.0)"
					MinLimit="-35"
					MaxLimit="35"
					Type="Hinge"
				/>
			</Body>
			<Body
				AngularDamping="6.5"
				Collisions="None"
				Mass="50"
				ModelFrame="BoneBriz2_cdt"
			>
				<Constraint
					AxisLocal="(0.0; 0.0; 1.0)"
					MinLimit="-35"
					MaxLimit="35"
					Type="Hinge"
				/>
			</Body>
		</Body>
	</PhysicsModel>
	<ControlledConstraints>
		<Constraint Id="stering" IsLinkedSteering="true" Name="ChassisSteer" />
	</ControlledConstraints>		
	<HeadLight _template="Default" OuterCone="60" Pos="(2.7; 0.5; 0.0)" />	
	<GameData BalancePoints="1">
		<LoadArea Min="(2.27;  -1.0; 2.0)" Max="(-3.0; 2.5; -2.0)" Type="ShortLogs" />
		<WinchSocket Pos="(0.198; 1.953; -0.570)" />
		<WinchSocket Pos="(0.198; 1.953; 0.570)" />
		<WinchSocket Pos="(-2.644; 0.820; 0.003)" />
		<WinchSocket Pos="(2.369; 0.752;  0.415)" />
		<WinchSocket Pos="(2.369; 0.752; -0.415)" />
		<AddonSockets>
			<Socket Names="gruz_yahik_gaz31029" Offset="(-0.0; 0.0; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="pricep_wmz96012" Offset="(-2.645; 0.84; 0.0)" />
		</AddonSockets>			
		<AddonSockets>
			<Socket Names="bort_gaz" Offset="(-2.69; 0.8; 0.0)" />
		</AddonSockets>
	</GameData>
	<ModelAttachments>
		<Ignition>
			<Light _template="StopSignal" Pos="(-1.92; 0.697; 0)" />
			<Flare
				_template="StopSignal"
				Size="0.4"
				SizeAtDay="0.25"
				Pos="(-2.463; 1.076; -0.715)"
			/>
			<Flare
				_template="StopSignal"
				Size="0.4"
				SizeAtDay="0.25"
				Pos="(-2.463; 1.076; 0.715)"
			/>
			<Flare
				_template="StopSignal"
				Size="0.4"
				SizeAtDay="0.25"
				Pos="(-2.463; 1.072; -0.386)"
			/>
			<Flare
				_template="StopSignal"
				Size="0.4"
				SizeAtDay="0.25"
				Pos="(-2.463; 1.072; 0.386)"
			/>
			<Flare _template="Sublight" Pos="(2.385; 0.739; 0.697)" />
			<Flare _template="Sublight" Pos="(2.385; 0.739;-0.697)" />
		</Ignition>
		<ReverseSignals>
			<Light
				Pos="(-2.459; 0.0; 0.6)"
				AttenEnd="2.0"
				Color="(102; 102; 102) x 16"
				Dir="(-1.0; -0.2; 0)"
				InnerCone="120"
				OuterCone="160"
			/>
			<Flare
				Pos="(-2.459; 1.074; 0.458)"
				Color="g(255; 255; 255) x 0.5"
				Dir="(-5.0; 0; 0)"
				DirAngle="90"
				Size="0.6"
				SizeAtDay="0.3"
			/>
			<Flare
				Pos="(-2.459; 1.074; -0.458)"
				Color="g(255; 255; 255) x 0.5"
				Dir="(-5.0; 0; 0)"
				DirAngle="90"
				Size="0.6"
				SizeAtDay="0.3"
			/>
		</ReverseSignals>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-2.92; 0.697; 0)" />
			<Flare
				_template="StopSignal"
				Size="0.25"
				SizeAtDay="0.25"
				Pos="(-2.462; 1.064; 0.584)"
			/>
			<Flare
				_template="StopSignal"
				Size="0.25"
				SizeAtDay="0.25"
				Pos="(-2.462; 1.064; -0.584)"
			/>
		</StopSignals>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.365; 0.804; 0.645)" />
			<Model _template="HeadLightRay" Org="(2.365; 0.804; -0.645)" />
			<Flare
				_template="HeadLight"
				Size="1.0"
				SizeAtDay="0.65"
				Pos="(2.365; 1.104; 0.645)"
			/>
			<Flare
				_template="HeadLight"
				Size="1.1"
				SizeAtDay="0.65"
				Pos="(2.365; 1.104; -0.645)"
			/>
		</HeadLight>
	</ModelAttachments>
</Truck>
