<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.08"
			SuspensionDamping="0.4"
			SuspensionMin="-0.3"
			SuspensionStrength="0.028"
			Torque="full"
			Type="luaz"
		/>
		<FrontWheel
			HardpointOffsetY="-0.06"
			SteeringAngle="40"
			SteeringCastor="0"
			SuspensionDamping="0.4"
			SuspensionMin="-0.3"
			SuspensionStrength="0.024"
			Torque="default"
			Type="luaz"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.228"
		HardpointDefaultZ="0.67"
	>
		<Wheel _template="FrontWheel" HardpointX="0.964" />
		<Wheel _template="FrontWheel" HardpointX="0.964" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-0.864" />
		<Wheel _template="RearWheel" HardpointX="-0.864" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.06"
		EngineIconMesh="env/engine_small"
		EngineIconScale="1.0"
		EngineStartDelay="1.0"
		ExhaustStartTime="1.6"
		FuelCapacity="40"
		LockClothOrigin="(0; -0.25; 0)"
		LockClothScale="0.7"
		Responsiveness="0.6"
		SteerSpeed="0.03"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.5"
		/>
		<Steam Origin="(1.290; 0.900; 0)" />
		<Sounds Origin="(1.1; 0.8; 0)">
			<HeadLight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/zaz_gear" />
			<ExhaustShot Sound="truck/shot" />
			<EngineTrans Sound="truck/trans_uaz" />
			<EngineStop Sound="engine/zaz_stop" />
			<EngineStart Sound="engine/zaz_start" />
			<EngineLow Sound="engine/zaz_low" />
			<EngineIdle Sound="engine/zaz_idle" />
			<EngineHigh Sound="engine/zaz_high" />
			<EngineHeavy Sound="engine/zaz_heavy" />
		</Sounds>
		<OcclusionVolume
			HalfSizeZ="1.10"
			HeightFront="0.5"
			HeightRear="0.5"
			MinX="-1.65"
			MaxX="1.85"
		/>
		<OcclusionMap
			HalfSizeZ="1.2"
			MinX="-1.7"
			MaxX="1.9"
			Texture="trucks/occlusion/chassis_small__s_d_a.tga"
		/>
		<Motor MaxDeltaAngVel="0.05" Torque="16000">
			<ReverseGear AngVel="1.0" />
			<HighGear AngVel="8.0" />
			<Gear AngVel="2.0" />
			<Gear AngVel="8.0" />
			<Gear AngVel="16.0" />
			<Gear AngVel="22.0" />
		</Motor>
		<LimitedFluid
			Center="(-1.24; 0.527; 0.0)"
			SizeX="0.332"
			SizeY="0.156"
			SizeZ="0.706"
			Type="Box"
		/>
		<Exhaust
			Dir="(-0.4; -0.23; -0.2)"
			IsLight="true"
			Origin="(-0.231; 0.462; -0.233)"
			Speed="2.0"
		/>
		<Driver LegsOffset="(-0.26; 0.05; 0.2)" Pos="(0.2; 0.76; 0.399)" SteeringWheelPos="(0.56; 1.23; 0.399)" />
		<Damage
			Capacity="300"
			SensationMin="(-0.152; 1.133; -0.631)"
			SensationMax="(0.731; 1.621; 0.631)"
		/>
		<Camera RadiusMultiplier="0.6">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(55; 54; 49)"
				ControlsPos="(0.76; 1.19; 0.52)"
				ViewPos="(0.18; 1.45; 0.37)"
				WindshieldDiffuseTexture="trucks/luaz_glass__d_a.tga"
			>
				<Rear
					HorTransitionEnd="-1.2"
					HorTransitionStart="-1.1"
					ViewPosOffset="(0.3; -0.1; 0.55)"
				/>
			</Cockpit>
		</Camera>
		<Axles>
			<Axle Frame="BoneAxleFL" SingleWheel="0" />
			<Axle Frame="BoneAxleFR" SingleWheel="1" />
			<Axle Frame="BoneAxleRL" SingleWheel="2" />
			<Axle Frame="BoneAxleRR" SingleWheel="3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/luaz969m">
		<Body
			CenterOfMassOffset="(-0.1; -0.2; 0)"
			ImpactType="Truck"
			Mass="1100"
		>
			<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt">
				<Constraint>
					<Motor Spring="25" />
				</Constraint>
			</Body>
			<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt">
				<Constraint>
					<Motor Spring="25" />
				</Constraint>
			</Body>
			<Body Collisions="None" Mass="1" ModelFrame="BoneChain_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="30"
					Type="Hinge"
				/>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-1.471; 0.811; 0)" />
			<Flare _template="IgnitionSignalRed" Pos="(-1.471; 0.811; 0.65)" />
			<Flare _template="IgnitionSignalRed" Pos="(-1.471; 0.811; -0.65)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-1.471; 0.67; -0.65)" />
			<Flare _template="ReverseSignal" Pos="(-1.471; 0.67; -0.65)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-1.471; 0.67; -0.65)" />
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-1.45; 0.733; 0)" />
			<Light _template="IgnitionSignalWhite" Pos="(1.84; 0.443; 0)" />
			<Flare _template="IgnitionSignalWhite" Pos="(1.76; 0.643; 0.5)" />
			<Flare _template="IgnitionSignalWhite" Pos="(1.76; 0.643; -0.5)" />
			<Flare _template="IgnitionSignalRed" Pos="(-1.475; 0.869; 0.647)" />
			<Flare _template="IgnitionSignalRed" Pos="(-1.475; 0.869; -0.647)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(1.753; 0.818; 0.563)" />
			<Model _template="HeadLightRay" Org="(1.753; 0.818; -0.563)" />
			<Flare _template="HeadLight" Pos="(1.753; 0.818; 0.563)" />
			<Flare _template="HeadLight" Pos="(1.753; 0.818; -0.563)" />
			<Flare _template="BlueStreak" Pos="(1.753; 0.818; 0.563)" />
			<Flare _template="BlueStreak" Pos="(1.753; 0.818; -0.563)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(1.6; 1.041; 0)" />
	<GameData
		BalancePoints="1"
		LogPoints="0"
		Recallable="true"
	>
		<WinchSocket Pos="(1.937; 0.584; 0)" />
		<WinchSocket Pos="(0.335; 0.396; 0.78)" />
		<WinchSocket Pos="(0.335; 0.396; -0.78)" />
		<WinchSocket Pos="(-1.513; 0.509; 0.66)" />
		<WinchSocket Pos="(-1.513; 0.509; -0.66)" />
		<CompletionStarsDecal Dir="(0; 0; 1)" Pos="(0.585; 0.896; 0.766)" />
		<AddonSockets>
			<Socket Names="LuazBackupWheel" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LuazTrunk" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LuazTent" />
		</AddonSockets>
	</GameData>
</Truck>
