<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.14"
			SuspensionDamping="0.4"
			SuspensionMin="-0.3"
			SuspensionStrength="0.022"
			Torque="default"
			Type="patwheel"
		/>
		<FrontWheel
			HardpointOffsetY="-0.14"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionDamping="0.4"
			SuspensionMin="-0.3"
			SuspensionStrength="0.022"
			Torque="full"
			Type="patwheel"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.283"
		HardpointDefaultZ="0.97"
	>
		<Wheel _template="FrontWheel" HardpointX="1.558" />
		<Wheel _template="FrontWheel" HardpointX="1.558" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.182" />
		<Wheel _template="RearWheel" HardpointX="-1.182" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.06"
		EngineIconMesh="env/engine_small"
		EngineIconScale="1.1"
		EngineStartDelay="1.7"
		ExhaustStartTime="1.6"
		FuelCapacity="80"
		LockClothOrigin="(0.25; -0.15; 0)"
		LockClothScale="0.7"
		Responsiveness="0.6"
		SteerSpeed="0.025"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.709"
		/>
		<Steam Origin="(1.29; 0.9; 0)" />
		<Sounds EngineHeavyVolume="0.6" Origin="(1; 0.99; 0)">
			<HeadLight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/zaz_gear" />
			<ExhaustShot Sound="truck/shot" />
			<EngineStop Sound="diesel/gaz_stop" />
			<EngineStart Sound="diesel/gaz_start" />
			<EngineLow Sound="diesel/gaz_low" />
			<EngineIdle Sound="diesel/gaz_idle" />
			<EngineHigh Sound="diesel/gaz_high" />
			<EngineHeavy Sound="diesel/gaz_heavy" />
			<DiffLock Sound="truck/difflock" />
		</Sounds>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.10"
			HeightFront="1.0"
			HeightRear="1.3"
			MinX="-1.65"
			MaxX="1.85"
		/>
		<OcclusionMap
			HalfSizeZ="1.6"
			MinX="-1.8"
			MaxX="2.05"
			Texture="trucks/occlusion/chassis_small__s_d_a.tga"
		/>
		<Motor MaxDeltaAngVel="0.1" Torque="60000">
			<ReverseGear AngVel="1.5" />
			<HighGear AngVel="12.0" />
			<Gear AngVel="2.0" />
			<Gear AngVel="4.0" />
			<Gear AngVel="8.0" />
			<Gear AngVel="14.0" />
			<Gear AngVel="20.0" />
		</Motor>
		<Exhaust
			Dir="(-1; 0; 0)"
			IsLight="true"
			Origin="(-2.004; 0.42; 0.893)"
			Speed="2.0"
		/>
		<Driver Pos="(-0.099; 1.039; 0.418)" SteeringWheelPos="(0.351; 1.414; 0.418)" />
		<Damage
			Capacity="300"
			SensationMin="(-1.11; 1.45; -0.8)"
			SensationMax="(0.530; 1.95; 0.8)"
		/>
		<Camera RadiusMultiplier="0.8">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(69; 66; 55)"
				ViewPos="(-0.211; 1.77; 0.418)"
				WindshieldDiffuseTexture="patrol/kamglass__d_a.dds"
			>
				<Rear
					HorTransitionEnd="-1.2"
					HorTransitionStart="-1.1"
					ViewPosOffset="(0.2; -0.1; 0.55)"
				/>
			</Cockpit>
		</Camera>
		<Axles>
			<Axle Frame="BoneAxleFront" />
			<Axle Frame="BoneAxleRear" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/pat">
		<Body
			CenterOfMassOffset="(0.329; -0.1; 0)"
			ImpactType="Truck"
			Mass="2600"
		/>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-2.142; 0.733; 0)" />
			<Flare _template="StopSignal" Pos="(-2.142; 0.965; +0.955)" />
			<Flare _template="StopSignal" Pos="(-2.142; 0.965; -0.973)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-2.238; 0.585; 0)" />
			<Flare _template="ReverseSignal" Pos="(-2.238; 0.581; +0.8)" />
			<Flare _template="ReverseSignal" Pos="(-2.238; 0.581; -0.8)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-2.238; 0.581; +0.8)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-2.238; 0.581; -0.8)" />
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-2.142; 0.733; 0)" />
			<Light _template="IgnitionSignalWhite" Pos="(2; 0.4; 0)" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.238; 1.127; +0.902)" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.238; 1.127; -0.914)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(2.238; 1.127; +0.902)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(2.238; 1.127; -0.914)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.146; 0.772; +0.955)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.142; 0.772; -0.973)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.231; 1.053; +0.688)" />
			<Model _template="HeadLightRay" Org="(2.231; 1.053; -0.701)" />
			<Flare _template="HeadLight" Pos="(2.231; 1.053; +0.688)" />
			<Flare _template="HeadLight" Pos="(2.231; 1.053; -0.701)" />
			<Flare _template="BlueStreak" Pos="(2.231; 1.053; +0.688)" />
			<Flare _template="BlueStreak" Pos="(0.231; 1.053; -0.701)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(1.828; 1.041; 0)" />
	<GameData
		BalancePoints="1"
		LogPoints="0"
		Recallable="true"
	>
		<WinchSocket Pos="(2.360; 0.587; 0)" />
		<WinchSocket Pos="(-0.245; 0.479; +0.929)" />
		<WinchSocket Pos="(-0.245; 0.479; -0.929)" />
		<WinchSocket Pos="(-2.196; 0.614; 0)" />
		<AddonSockets>
			<Socket Names="obvespatrol" Offset="(0; 0; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="repair2" Offset="(0; 0; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="kanistry" Offset="(0; 0; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="repair1" Offset="(0.03; 0; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="patrolzapaska" Offset="(0; 0; 0)" />
		</AddonSockets>
	</GameData>
</Truck>
