<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.05"
			SuspensionDamping="0.4"
			SuspensionMin="-0.2"
			SuspensionMax="0.01"
			SuspensionStrength="0.05"
			Torque="default"
			Type="umz6a_big"
		/>
		<FrontWheel
			HardpointOffsetY="-0.04"
			SteeringAngle="40"
			SteeringCastor="8"
			SteeringJointOffset="0.17"
			SuspensionMin="-0.04"
			SuspensionStrength="0.2"
			Type="umz6a_small"
			ParentFrame="BoneAxleFrontTop_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.426"
		HardpointDefaultZ="0.739"
	>
		<Wheel _template="FrontWheel" HardpointX="2.517" />
		<Wheel _template="FrontWheel" HardpointX="2.517" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="0.0" HardpointY="0.785" />
		<Wheel
			_template="RearWheel"
			HardpointX="0.0"
			HardpointY="0.785"
			RightSide="true"
		/>
	</Wheels>
	<TruckData
		BackSteerSpeed="0.04"
		DiffLockType="Always"
		EngineIconMesh="env/engine_umz6a"
		EngineIconScale="0.95"
		EngineStartDelay="1.6"
		ExhaustStartTime="2.8"
		FuelCapacity="120"
		LockClothOrigin="(1.2; 0.45; 0)"
		LockClothScale="0.7"
		Responsiveness="0.05"
		SteerSpeed="0.03"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.58"
		/>
		<Steam Origin="(2.068; 1.149; 0)" />
		<Steam Origin="(1.315; 1.150; 0)" Scale="0.5" ParentFrame="BoneEngine" />
		<Sounds Origin="(1.401; 1.106; 0)">
			<HeadLight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/zaz_gear" />		
			<EngineTrans Sound="umz_trans" />
			<EngineStop Sound="umz_stop" />
			<EngineStart Sound="umz_start" />
			<EngineRev Sound="umz_rev" />
			<EngineLow Sound="umz_low" />
			<EngineIdle Sound="umz_idle" />
			<EngineHigh Sound="umz_high" />
			<EngineHeavy Sound="umz_heavy" />
			<DiffLock Sound="truck/difflock" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneEngine" MaxAngle="(3; 3; 3)" MaxFrequency="2" />
			<Shaker Frame="BoneExhaust" MaxAngle="(3; 3; 3)" MaxFrequency="2" />
		</Shakers>
		<OcclusionVolume
			HalfSizeZ="1.04"
			HeightFront="0.9"
			HeightRear="1.7"
			MinX="-0.6"
			MaxX="2.6"
		/>
		<OcclusionMap
			HalfSizeZ="1.35"
			MinX="-1.2"
			MaxX="3.746"
			Texture="trucks/occlusion/chassis_small__s_d_a.tga"
		/>
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="0.005" Torque="40000">
			<ReverseGear AngVel="0.5" />
			<HighGear AngVel="3.5" />
			<Gear AngVel="1" />
			<Gear AngVel="2.5" />
			<Gear AngVel="4.5" />
		</Motor>
		<LimitedFluid
			Center="(-.042; 1.23; 0.)"
			SizeX="0.423"
			SizeY="0.239"
			SizeZ="0.784"
			Type="Box"
			ParentFrame="BoneChassis_cdt"
		/>
		<!--<Intake Dir="(0.707; 0; 0.707)" Origin="(2.018; 1.57; 0.278)" Size="0.3" />
		<Intake Dir="(0.707; 0; -0.707)" Origin="(2.018; 1.57; -0.278)" Size="0.3" />-->
		<Exhaust
			Dir="(0; 0.609; 0.793)"
			IsLight="true"
			Origin="(1.482; 2.683; 0.438)"
			Speed="3.82"
		/>
		<Driver Pos="(0.068; 1.519; 0)" SteeringWheelPos="(0.438; 1.979; 0)" ParentFrame="BoneChassis_cdt" />
		<Damage
			Capacity="600"
			SensationMin="(-0.355; 1.678; -0.5)"
			SensationMax="(0.965; 2.496; 0.5)"
			ParentFrame="BoneChassis_cdt"
		/>
		<Camera
			Center="(0.03; 0; 0)"
			RadiusMultiplier="0.8"
			ParentFrame="BoneChassis_cdt"
		>
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(69; 69; 69)"
				ControlsPos="(0.78; 1.86; 0.17)"
				ViewPos="(-0.04; 2.2; 0)"
				WindshieldDiffuseTexture="umz6a_glass__d_a.tga"
			>
				<Rear ViewPosOffset="(0.25; -0.1; 0.8)" />
			</Cockpit>
		</Camera>
		<Axles>
			<Axle Frame="BoneAxleFront" />
			<Axle Frame="BoneAxleRear" />
		</Axles>
	</TruckData>
	<Rotator
		EngineTorqueFactor="0.5"
		RotationSpeed="20"
		ParentFrame="BoneFan"
	/>
	<PhysicsModel Mesh="trucks/umz6a">
		<Body
			CenterOfMassOffset="(0; -0.2; 0)"
			ImpactType="Truck"
			Mass="3000"
		>
			<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt">
				<Constraint>
					<Motor Spring="75" />
				</Constraint>
			</Body>
			<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt">
				<Constraint>
					<Motor Spring="75" />
				</Constraint>
			</Body>
			<Body
				CenterOfMassOffset="(0; 0; 0)"
				ImpactType="Truck"
				Mass="300"
				ModelFrame="BoneAxleFrontTop_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-10"
					MaxLimit="10"
					PivotOffset="(0; 0; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="20" Spring="200" Type="Spring" />
				</Constraint>
			</Body>
			<Body ImpactType="Truck" Mass="20" ModelFrame="BoneFrame_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="-10"
					MaxLimit="20"
					Type="Hinge"
				>
					<Motor Damping="100" Spring="1000" Type="Spring" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-0.976; 0.774; 0)" />
			<Flare _template="StopSignal" Pos="(-0.71; 1.444; 0.591)" />
			<Flare _template="StopSignal" Pos="(-0.71; 1.444; -0.591)" />
		</StopSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-0.696; 1.447; 0)" />
			<Light _template="IgnitionSignalWhite" Pos="(2.869; 1.134; 0)" />
			<Flare _template="IgnitionSignalRed" Pos="(-0.696; 1.447; -0.706)" />
			<Flare _template="IgnitionSignalRed" Pos="(-0.696; 1.447; 0.706))" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.369; 1.134; -0.395)" />
			<Flare _template="IgnitionSignalWhite" Pos="(2.369; 1.134; 0.395)" />
			<Flare _template="IgnitionSignalWhite" Pos="(0.91; 2.432; -0.385)" />
			<Flare _template="IgnitionSignalWhite" Pos="(0.91; 2.432; 0.385)" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(2.406; 1.248; -0.459)" />
			<Model _template="HeadLightRay" Org="(2.406; 1.248; 0.459)" />
			<Flare _template="HeadLight" Pos="(2.406; 1.248; -0.459)" />
			<Flare _template="HeadLight" Pos="(2.406; 1.248; 0.459)" />
			<Flare _template="BlueStreak" Pos="(2.406; 1.248; -0.459)" />
			<Flare _template="BlueStreak" Pos="(2.406; 1.248; 0.459)" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.8; 1.134; 0)" />
	<GameData BalancePoints="1" Recallable="true">
		<WinchSocket Pos="(2.595; 0.796; 0)" />
		<WinchSocket Pos="(-0.438; 0.663; 0)" />
		<WinchSocket Pos="(1.264; 0.85; 0.308)" />
		<WinchSocket Pos="(1.264; 0.85; -0.308)" />
		<CompletionStarsDecal Dir="(0.166; -0.009; 0.986)" Pos="(0.827; 1.533; 0.578)" />
		<AddonSockets>
			<Socket Names="UmzTrailer" Offset="(-0.441; 0.652; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="UmzCanisters" />
		</AddonSockets>
	</GameData>
</Truck>
