<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"			
			SuspensionMin="-0.4"
			HardpointOffsetY="-0.2"
			SuspensionStrength="0.02"
			SuspensionDamping="0.19"
			Torque="default"
			Type="ural"
		/>
		<FrontWheel			
			SteeringAngle="42"
			SteeringCastor="5"
			SteeringJointOffset="0.2"
			SuspensionMin="-0.4"
			HardpointOffsetY="-0.18"
			SuspensionStrength="0.023"
			SuspensionDamping="0.24"
			Torque="full"
			Type="ural"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.45"
		HardpointDefaultZ="0.98"
	>
		<Wheel _template="FrontWheel" HardpointX="3.269" />
		<Wheel _template="FrontWheel" HardpointX="3.269" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-0.256" />
		<Wheel _template="RearWheel" HardpointX="-0.256" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.644" />
		<Wheel _template="RearWheel" HardpointX="-1.644" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.035"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.2"
		EngineStartDelay="2.2"
		ExhaustStartTime="0.8"
		FuelCapacity="360"
		LockClothOrigin="(0.75; 0.1; 0)"
		LockClothScale="0.85"
		Responsiveness="1.0"
		SteerSpeed="0.025"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.749"
		/>
		<Steam Origin="(1.457; 0.8; 0)" />
		<Steam Origin="(3.722; 1.2; 0)" Scale="0.5" ParentFrame="BoneCabin_cdt" />
		<Sounds
			_template="Default"
			AirHissInterval="14.0"
			Origin="(3.2; 1.4; 0)"
			ParentFrame="BoneCabin_cdt"
		>
			<EngineTrans Sound="truck/trans" />
			<EngineStop Sound="engine/kamaz_stop" />
			<EngineStart Sound="engine/ural_start" />
			<EngineRev Sound="engine/ural_rev" />
			<EngineLow Sound="engine/ural_low" />
			<EngineIdle Sound="engine/ural_idle" />
			<EngineHigh Sound="engine/ural_high" />
		</Sounds>
		<!-- <EngineStop Sound="engine/ural_stop" /> -->
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(2; 2; 2)" MaxFrequency="4" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
			<Shaft SocketPointA="Shaft3a" SocketPointB="Shaft3b" />
			<Shaft SocketPointA="Shaft4a" SocketPointB="Shaft4b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.45"
			HeightFront="1.1"
			HeightRear="0.6"
			MinX="-2.65"
			MaxX="4.2"
		>
			<FullOcclusion HeightRear="1.1" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.90" MinX="-3.10" MaxX="5.00" />
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="1.02" Torque="145000" EngineResponsiveness="0.4" ClutchDelay="0.09">
			<ReverseGear AngVel="1.2" />
			<HighGear AngVel="8.0" />
			<Gear AngVel="1.0" />
			<Gear AngVel="3.3" />
			<Gear AngVel="5.6" />
			<Gear AngVel="7.9" />
			<Gear AngVel="10.2" />
		</Motor>
		<LimitedFluid
			Center="(1.119; 0.844; 0.781)"
			SizeX="0.922"
			SizeY="0.354"
			SizeZ="0.559"
			Type="Box"
		/>
		<LimitedFluid
			Center="(1.119; 0.844; -0.781)"
			SizeX="0.922"
			SizeY="0.354"
			SizeZ="0.559"
			Type="Box"
		/>
		<!--<Intake Dir="(0.214; 0.977; 0)" Origin="(2.79; 2.181; -1.022)" Size="0.4" />-->
		<Intake Dir="(1.0; 0; 0)" Origin="(4.275; 1.29; 0)" Size="0.8" />
		<Exhaust Dir="(-0.16; -0.37; -0.92)" Origin="(0.67; 0.55; -0.67)" Speed="3.82" />
		<Driver Pos="(2.04; 1.49; 0.51)" SteeringWheelPos="(2.40; 1.88; 0.51)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="600"
			SensationMin="(1.74; 1.87; -0.82)"
			SensationMax="(2.68; 2.46; 0.82)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera Center="(-1;0;0)" ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(59; 58; 55)"
				ControlsPos="(2.561; 1.898; 0.628)"
				ViewPos="(1.94; 2.2; 0.51)"
				WindshieldDiffuseTexture="trucks/ural4320_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="BoneAxle1" />
			<Axle Frame="BoneAxle2" />
			<Axle Frame="BoneAxle3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/ural4320">
		<Body
			CenterOfMassOffset="(-1.1; -0.15; 0)"
			ImpactType="Truck"
			Mass="3300"
		>
			<Body
				CenterOfMassOffset="(0.1; -0.05; 0)"
				ImpactType="Truck"
				Mass="4000"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-22"
					MaxLimit="22"
					PivotOffset="(-2.0; -0.2; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="29000" Spring="240000" Type="Spring" />
				</Constraint>
				<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
				<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>			
			<Flare _template="MarkerBeacon" Pos="(2.51; 2.5; -0.257)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.51; 2.5; 0.0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.51; 2.5; 0.257)" ParentFrame="BoneCabin_cdt" />
			<Light _template="IgnitionSignalWhite" Pos="(5.6; 1.3; 0.0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.222; 1.272; -0.928)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.222; 1.272; 0.928)" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(4.234; 1.175; -0.748)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(4.234; 1.175; 0.748)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(4.234; 1.175; -0.748)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(4.234; 1.175; 0.748)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(4.234; 1.175; -0.748)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(4.234; 1.175; 0.748)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(4.224; 1.158; 0.0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="3" LogPoints="0">
		<WinchSocket Pos="(4.56; 1.06; -0.4)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(4.56; 1.06; 0.4)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(0.67; 0.82; 1.084)" />
		<WinchSocket Pos="(0.67; 0.82; -1.084)" />
		<WinchSocket Pos="(-2.8; 0.838; 0)" />
		<CompletionStarsDecal Dir="(0.085; 0.0; 0.995)" Pos="(2.268; 1.382; 0.984)" />
		<AddonSockets>
			<Socket Names="UralCraneSupport" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="UralExhaust" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="UralBackupWheel" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="UralCart" NamesBlock="UralBackupWheel" />
			<Socket Names="KrazTractor,KrazCart" Offset="(0.121; -0.09; 0.0)" />
			<Socket Names="KrazCartNoBackup" NamesBlock="UralBackupWheel" Offset="(0.451; -0.09; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailer" Offset="(-1.2; 1.06; 0.0)" />
			<Socket Names="KamazTrailerCart" Offset="(-2.86; 0.82; 0)" />
			<Socket Names="UralCartTrailer" Offset="(-2.8; 0.84; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsShort" Offset="(0.7; -0.06; 0.0)" />
			<Socket Names="LoadLogsMedium" Offset="(-1.0; 1.6; 0.0)" />
		</AddonSockets>
	</GameData>
</Truck>
<!-- Original_Grilles -->