<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.1"
			SuspensionDamping="0.5"
			SuspensionMin="-0.3"
			SuspensionStrength="0.0322"
			Torque="default"
			Type="chevrolet_k5_blazer_front"
		/>
		<FrontWheel
			HardpointOffsetY="-0.06"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionDamping="0.5"
			SuspensionMin="-0.3"
			SuspensionStrength="0.0322"
			Torque="full"
			Type="chevrolet_k5_blazer_front"
		/>
	</Wheel>
	<Flare>
		<IgnitionSignalWhite
				AspectRatio="1.4"
				Color="g(165; 149; 130) x 0.75"
				Dir="(1;0;0)"
				DirAngle="90"
				Size="0.4"
			/>	
	</Flare>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.312"
		HardpointDefaultZ="0.891"
	>
		<Wheel _template="FrontWheel" HardpointX="1.408" />
		<Wheel _template="FrontWheel" HardpointX="1.408" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.305" />
		<Wheel _template="RearWheel" HardpointX="-1.305" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.1"
		EngineIconMesh="env/engine_small"
		EngineIconScale="1.1"
		EngineStartDelay="1.3"
		ExhaustStartTime="1.2"
		FuelCapacity="80"
		Responsiveness="0.6"
		SteerSpeed="0.025"
		LockClothInvertDir="false"
		LockClothOrigin="(0; -1.3; 0.05)"
		LockClothScale="1"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.676"
		/>
		<Steam Origin="(1.445; 1.035; 0)" />
		<Sounds Origin="(1.399; 0.969; 0)">
			<HeadLight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/zaz_gear" />
			<ExhaustShot Sound="truck/shot" />
			
			<DiffLock Sound="truck/difflock" />
			<EngineStop Sound="chevrolet_blazer/chevrolet_blazer_stop" />
			<EngineStart Sound="chevrolet_blazer/chevrolet_blazer_start" />
			<EngineLow Sound="chevrolet_blazer/chevrolet_blazer_low" />
			<EngineIdle Sound="chevrolet_blazer/chevrolet_blazer_idle" />
			<EngineHigh Sound="chevrolet_blazer/chevrolet_blazer_high" />			
		</Sounds>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />			
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.2"
			HeightFront="0.944"
			HeightRear="0.944"
			MinX="-2.304"
			MaxX="2.158"
		/>
		<OcclusionMap
			HalfSizeZ="1.683"
			MinX="-2.654"
			MaxX="2.703"
			Texture="trucks/occlusion/chassis_small__s_d_a.tga"
		/>
		<Motor MaxDeltaAngVel="0.1" Torque="70000">
			<ReverseGear AngVel="2.5" />
			<HighGear AngVel="14.0" />
			<Gear AngVel="3.0" />
			<Gear AngVel="5.0" />
			<Gear AngVel="10.0" />
			<Gear AngVel="18.0" />
			<Gear AngVel="24.0" />
		</Motor>
		<Shakers>
			<Shaker Frame="BoneExhaustRight" MaxAngle="(0; 0; 2)" MaxFrequency="4"/>
			<Shaker Frame="BoneExhaustLeft" MaxAngle="(0; 0; 2)" MaxFrequency="4"/>
		</Shakers>		
		<Exhaust
			Dir="(-0.018; -0.069; -0.997)"
			IsLight="true"
			Origin="(-1.906; 0.478; -0.964)"
			Speed="2.1"
		/>
		<Exhaust
			Dir="(-0.018; -0.069; 0.997)"
			IsLight="true"
			Origin="(-1.906; 0.478; 0.964)"
			Speed="1.9"
			IsLight="true"
		/>		
		<Driver Pos="(-0.051; 0.95; 0.435)" SteeringWheelPos="(0.333; 1.42; 0.475)" />
		<Damage
			Capacity="300"
			SensationMin="(-0.589; 1.29; -0.89)"
			SensationMax="(0.559; 1.863; 0.81)"
		/>
		<Camera RadiusMultiplier="0.8" Center="(-.6;0;0)">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(69; 66; 55)"
				ControlsPos="(0.531; 1.397; 0.616)"
				ViewPos="(-0.152; 1.696; 0.45)"
				WindshieldDiffuseTexture="trucks/chevrolet_k5_blazer_glass__d_a.tga"
			>
			<!--	<Rear
					HorTransitionEnd="-1.2"
					HorTransitionStart="-1.1"
					ViewPosOffset="(0.2; -0.1; 0.55)"
				/>-->
			</Cockpit>
		</Camera>
		<Axles>
			<Axle Frame="BoneAxleRear"/> 
			<Axle Frame="BoneAxleFront" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/chevrolet_k5_blazer">
		<Body
			CenterOfMassOffset="(.2; -0.2; 0)"
			ImpactType="Truck"
			Mass="2000"
		>
			<Body Collisions="None" Mass="7" ModelFrame="BoneMirrorLeft_cdt">
				<Constraint
					AxisLocal="(0; 1; 0)"
					MinLimit="0"
					MaxLimit="5"
					Type="Hinge"
				>
					<Motor Damping="5" Spring="70" Type="Spring" />
				</Constraint>
			</Body>
			<Body Collisions="None" Mass="7" ModelFrame="BoneMirrorRight_cdt" >
				<Constraint
					AxisLocal="(0; 1; 0)"
					MinLimit="0"
					MaxLimit="5"
					Type="Hinge"
				>
					<Motor Damping="5" Spring="70" Type="Spring" />
				</Constraint>
			</Body>	
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-2.479; 0.99; 0)" />
			<Flare _template="StopSignal" Pos="(-2.29; 0.983; 0.928)" />
			<Flare _template="StopSignal" Pos="(-2.29; 0.983; -0.928)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-2.294; 0.982; -0.914)" />
			<Flare _template="ReverseSignal" Pos="(-2.294; 0.982; -0.914)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-2.294; 0.982; -0.914)" />
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-2.594; 0.866; 0)" />
			<Light _template="IgnitionSignalWhite" Pos="(2.604; 0.4; 0)" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.109; 0.83; 0.785)" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.088; 0.83; -0.785)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.294; 0.982; 0.914)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.294; 0.982; -0.914)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.088; 1.037; 0.785)" />
			<Model _template="HeadLightRay" Org="(2.088; 1.037; -0.785)" />
			<Flare _template="HeadLight" Pos="(2.088; 1.037; 0.785)" />
			<Flare _template="HeadLight" Pos="(2.088; 1.037; -0.785)" />
			<Flare _template="BlueStreak" Pos="(2.088; 1.037; 0.785)" />
			<Flare _template="BlueStreak" Pos="(2.088; 1.037; -0.785)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.522; 1.041; 0)" />
	<GameData
		BalancePoints="1"
		LogPoints="0"
		Recallable="true"
	>
		<WinchSocket Pos="(2.237; 0.683; 0.416)" />
		<WinchSocket Pos="(0.817; 0.566; 1.034)" />
		<WinchSocket Pos="(0.817; 0.566; -1.034)" />
		<WinchSocket Pos="(-2.397; 0.474; 0)" />
		<CompletionStarsDecal Dir="(0; 0; 1)" Pos="(0.086; 0.919; 1.004)" />		
		<AddonSockets>
			<Socket Names="ChevroletK5BlazerBackupWheel" />
		</AddonSockets>		
		<AddonSockets>
			<Socket Names="ChevroletK5BlazerBumper" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="ChevroletK5BlazerLights" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="ChevroletK5BlazertTrunk" />
		</AddonSockets>		
		<AddonSockets>
			<Socket Names="ChevroletK5BlazertTrunkStuff" />
		</AddonSockets>		
	</GameData>
</Truck>
