<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"						
			SuspensionMin="-0.46"
			HardpointOffsetY="-0.17"
			SuspensionStrength="0.038"
			SuspensionDamping="0.37"
			Torque="default"
			Type="hummer_h1"
		/>      
		<FrontWheel
			ConnectedToHandbrake="true" 
			SteeringAngle="42"
			SteeringCastor="6"			
			SuspensionMin="-0.43"
            HardpointOffsetY="-0.17"			
			SuspensionStrength="0.033"
			SuspensionDamping="0.33"
			Torque="full"
			Type="hummer_h1"
		/>
	</Wheel>
	<Body>
		<Antenna Collisions="None" Mass="2">
			<Constraint
				Cone="7"
				PlaneAxisLocal="(0; 0; 1.0)"
				PlaneMin="-7"
				PlaneMax="7"
				TwistAxisLocal="(0; 1.0; 0)"
				Type="Ragdoll"
			>
				<PlaneMotor Damping="0.1" Spring="60" Type="Spring" />
				<ConeMotor Damping="0.1" Spring="60" Type="Spring" />	
			</Constraint>
		</Antenna>
	</Body>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.45"
		HardpointDefaultZ="0.916"
	>
		<Wheel _template="FrontWheel" HardpointX="1.619" />
		<Wheel _template="FrontWheel" HardpointX="1.619" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.655" />
		<Wheel _template="RearWheel" HardpointX="-1.655" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.06"
		EngineIconMesh="env/engine_small"
		EngineIconScale="1.15"
		EngineStartDelay="0.7"
		ExhaustStartTime="0.6"
		FuelCapacity="108"
		Responsiveness="1.0"
		SteerSpeed="0.035"
		LockClothOrigin="(0.4; -1.05; 0.02)"
		LockClothScale="0.92"
		LockClothInvertDir="false"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.709"
		/>
		<Steam Origin="(1.29; 0.9; 0)" />
		<Sounds EngineHeavyVolume="0.8" Origin="(1.286; 0.995; 0)">
			<HeadLight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/zaz_gear" />
			<ExhaustShot Sound="truck/shot" />
			<EngineStop Sound="hummer/hummer_stop" />
			<EngineStart Sound="hummer/hummer_start" />
			<EngineLow Sound="hummer/hummer_low" />
			<EngineIdle Sound="hummer/hummer_idle" />
			<EngineHigh Sound="hummer/hummer_high" />	
			<EngineHeavy Sound="hummer/hummer_heavy" />	
			<DiffLock Sound="truck/difflock" />
		</Sounds>
		<OcclusionVolume
			HalfSizeZ="1.10"
			HeightFront="1.0"
			HeightRear="1.2"
			MinX="-2.35"
			MaxX="2.15"
		/>
		<OcclusionMap
			HalfSizeZ="1.8"
			MinX="-2.85"
			MaxX="2.6"
			Texture="trucks/occlusion/chassis_small__s_d_a.tga"
		/>
		<Motor BrakesDelay="0.25" MaxDeltaAngVel="0.9" Torque="90000" EngineResponsiveness="0.4" ClutchDelay="0.09" >
			<ReverseGear AngVel="2.7" />
			<HighGear AngVel="12.0" />
			<Gear AngVel="2.5" />
			<Gear AngVel="5.6" />
			<Gear AngVel="8.7" />
			<Gear AngVel="11.8" />
			<Gear AngVel="14.9" />
		</Motor>		
		<Exhaust
			Dir="(0; 0; 1)"
			IsLight="true"
			Origin="(-1.088; 0.654; 1.004)"
			Speed="2.0"
			IsLight="true"
		/>
		<Driver Pos="(-0.002; 0.944; 0.661)" SteeringWheelPos="(0.389; 1.359; 0.724)" LegsOffset="(-0.2;0;0)" />
		<Damage
			Capacity="400"
			SensationMin="(-1.1; 1.47; -0.95)"
			SensationMax="(0.66; 1.9; 0.95)"
		/>
		<Camera RadiusMultiplier="0.8">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(69; 68; 62)"
				ControlsPos="(0.624; 1.371; 0.822)"
				ViewPos="(0.05; 1.608; 0.703)"
				WindshieldDiffuseTexture="trucks/hummer_h1_glass__d_a.tga"
			>
				<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/hummer_h1">
		<Body
			CenterOfMassOffset="(0.4; -0.3; 0)"
			ImpactType="Truck"
			Mass="3600"
		>
			<Body 
				AngularDamping="3.0" 
				Collisions="None" 
				Mass="1" 
				ModelFrame="BoneHitchRearLeft_cdt">
				<Constraint 
					AxisLocal="(0.0; 0.0; -1.0)" 
					MinLimit="-5" 
					MaxLimit="90" 
					Type="Hinge"
				>		
				</Constraint>		
			</Body>	
			<Body 
				AngularDamping="3.0" 
				Collisions="None" 
				Mass="1" 
				ModelFrame="BoneHitchRearRight_cdt">
				<Constraint 
					AxisLocal="(0.0; 0.0; -1.0)" 
					MinLimit="-5" 
					MaxLimit="90" 
					Type="Hinge"
				>					
				</Constraint>		
			</Body>
			<Body 
				AngularDamping="1.2" 
				Collisions="None" 
				Mass="1" 
				ModelFrame="BoneHitchFrontRight_cdt">
				<Constraint 
					AxisLocal="(0.0; 0.0; 1)" 
					MinLimit="-5" 
					MaxLimit="90" 
					Type="Hinge"
				>					
				</Constraint>		
			</Body>
			<Body 
				AngularDamping="1.5" 
				Collisions="None" 
				Mass="0.5" 
				ModelFrame="BoneHitchFrontLeft_cdt">
				<Constraint 
					AxisLocal="(0.0; 0.0; 1)" 
					MinLimit="-1" 
					MaxLimit="90" 
					Type="Hinge"
				>					
				</Constraint>		
			</Body>
			<Body 		
				Collisions="None" 
				Mass="3" 
				ModelFrame="BoneChainLeft_cdt">
				<Constraint 
					AxisLocal="(0; 0; -1)" 
					MinLimit="-2" 
					MaxLimit="20" 
					Type="Hinge"
				>		
				<Motor Damping="0.1" Spring="2" Type="Spring" />				
				</Constraint>		
			</Body>
			<Body 		
				Collisions="None" 
				Mass="3" 
				ModelFrame="BoneChainRight_cdt">
				<Constraint 
					AxisLocal="(0; 0; -1)" 
					MinLimit="-2" 
					MaxLimit="20" 
					Type="Hinge"
				>		
				<Motor Damping="0.1" Spring="2" Type="Spring" />				
				</Constraint>		
			</Body>		
			<Body 
				Mass="30" ModelFrame="BoneShield_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="5"
					Type="Hinge"
				>
				<Motor Damping="10" Spring="1" Type="Spring" />
				</Constraint>		
			</Body>								
			<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
			<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />		
			<Body _template="Antenna" ModelFrame="BoneAntenna_cdt" />			
		</Body>		
	</PhysicsModel>	
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-2.616; 1.088; 0)" />
			<Flare _template="StopSignal" Pos="(-2.422; 1.094; 0.87)" />
			<Flare _template="StopSignal" Pos="(-2.422; 1.094; -0.87)" />
		</StopSignals>
		<ReverseSignals>
			<Light 
			AttenEnd="2.0"
			Color="(80; 80; 80) x 2"
			Dir="(-1.0; -0.2; 0)"
			InnerCone="120"
			OuterCone="160"
			Pos="(-2.616; 1.164; -0.876)" 
			/>
			<Flare 
			AspectRatio="1.4"
			Color="g(200; 200; 200) x 0.4"
			ColorMultAtDay="0.6"
			Dir="(-1.0; 0; 0)"
			DirAngle="90"
			Reflections="true"
			Size="1.2"
			Pos="(-2.419; 1.164; -0.876)" />
			<Flare _template="BlueStreak" Dir="(-1; 0; 0)" Pos="(-2.419; 1.164; -0.876)" />
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-2.616; 0.474; 0.849)" />
			<Light _template="IgnitionSignalRed" Pos="(-2.616; 0.474; -0.849)" />
			<Light _template="IgnitionSignalWhite" Pos="(2.437; 0.4; 0)" /> 	
			<Flare _template="IgnitionSignalWhite" Pos="(2.06; 1.148; 0.905)" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.06; 1.148; -0.905)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.416; 1.066; 0.876)" />
			<Flare _template="IgnitionSignalRed" Pos="(-2.416; 1.066; -0.876)" />		  
			
			<!--<Flare 
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(0;0;1)"
				DirAngle="90"
				Size="0.2"
				Pos="(1.915; 1.16; 1.07)"
			/>   
			<Flare 
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(0;0;-1)"
				DirAngle="90"
				Size="0.2"
				Pos="(1.915; 1.16; -1.07)"
			/>   
			<Flare 
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(0;0;1)"
				DirAngle="90"
				Size="0.2"
				Pos="(-2.239; 0.985; 1.07)"
			/>   
			<Flare 
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(0;0;-1)"
				DirAngle="90"
				Size="0.2"
				Pos="(-2.239; 0.985; -1.07)"
			/>   
			<Flare 
				AspectRatio="1.4"
				Color="g(200; 140; 0) x 0.3"
				Dir="(1;0;0)"
				DirAngle="90"
				Size="0.2"
				Pos="(0.744; 1.844; -0.151)"
			/>   
			<Flare 
				AspectRatio="1.4"
				Color="g(200; 140; 0) x 0.3"
				Dir="(1;0;0)"
				DirAngle="90"
				Size="0.2"
				Pos="(0.744; 1.844; 0)"
			/> 
				<Flare 
				AspectRatio="1.4"
				Color="g(200; 140; 0) x 0.3"
				Dir="(1;0;0)"
				DirAngle="90"
				Size="0.2"
				Pos="(0.744; 1.844; 0.151)"
			/> -->
			<!--  -->
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.124; 1.046; 0.481)" />
			<Model _template="HeadLightRay" Org="(2.124; 1.046; -0.481)" />
			<Flare _template="HeadLight" Pos="(2.124; 1.046; 0.481)" />
			<Flare _template="HeadLight" Pos="(2.124; 1.046; -0.481)" />
			<Flare _template="BlueStreak" Pos="(2.124; 1.046; 0.481)" />
			<Flare _template="BlueStreak" Pos="(2.124; 1.046; -0.481)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.237; 1.041; 0)" />
	<GameData
		BalancePoints="1"
		LogPoints="2"
		Recallable="true"
	>
		<WinchSocket Pos="(2.16; 0.753; -0.291)" />
		<WinchSocket Pos="(2.16; 0.753; 0.291)" />
		<WinchSocket Pos="(0.0; 0.55; -1.05)" />
		<WinchSocket Pos="(0.0; 0.55; 1.05)" />		
		<WinchSocket Pos="(-2.571; 0.797; -0.392)" />
		<WinchSocket Pos="(-2.571; 0.797; 0.392)" />
		<CompletionStarsDecal Dir="(0;0; 1)" Pos="(0.333; 1.072; 1.075)" />		
		<AddonSockets>
			<Socket Names="HummerH1TrunkRoof" />
		</AddonSockets>
		
		<AddonSockets>
			<Socket Names="HummerH1Trunk" />
		</AddonSockets>
		
		<AddonSockets>
			<Socket Names="HummerH1BackupWheel" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="HummerH1TrunkStuff" Offset="(-0.97; 0.25; 0.1)"/>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="UazTrailer" Offset="(-2.66; 0.74; 0)" />
		</AddonSockets>							
	</GameData>
</Truck>
