<?xml version="1.0"?>
<_templates Include="trucks">
	<Wheel>
		<FrontWheel
			DefaultWheelType="ural_wheel"
			ConnectedToHandbrake="false"
			SteeringAngle="40"
			Torque="full"
			ParentFrame="CabinBone"
		>
			<Suspension MinLimit="-1.0" Strength="0.018" />
			<Steering Castor="8" />
		</FrontWheel>
		<RearWheel
			DefaultWheelType="ural_wheel"
			ConnectedToHandbrake="true"
			SteeringAngle="0"
			Torque="default"
		>
			<Suspension MinLimit="-0.6" Strength="0.018" />
		</RearWheel>
	</Wheel>
</_templates>
<Truck>
	<GameData FuelCapacity="270">
		<AddonSockets>
			<UralCart />
			<KrazCart Offset="(0.121; -0.09; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<UralCraneSupport ParentFrame="CabinBone" />
		</AddonSockets>
		<AddonSockets>
			<UralExhaust ParentFrame="CabinBone" />
		</AddonSockets>
		<AddonSockets>
			<KamazTrailer Offset="(-1.2; 1.2; 0.0)" />
			<UralCartTrailer Offset="(-2.761; 0.942; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<LoadLogsShort Offset="(0.436; 0; 0.0)" />
			<LoadLogsMedium Offset="(-0.93; 1.7; 0.0)" />
		</AddonSockets>
		<WinchSocket ParentFrame="CabinBone" Offset="(4.66; 1.06; -0.42)" />
		<WinchSocket ParentFrame="CabinBone" Offset="(4.66; 1.06; 0.42)" />
		<WinchSocket Offset="(-2.72; 0.67; 0)" />
	</GameData>
	<TruckData
		SteerSpeed="0.03"
		SteerResponsiveness="0.05"
		BackSteerSpeed="0.005"
		EngineStartTime="3.2"
	>
		<Damage
			Capacity="600"
			SensationOrigin="(2.21; 2.12; 0)"
			SensationSize="(0.94; 0.69; 1.68)"
			ParentFrame="CabinBone"
		/>
		<Sound
			_template="Ural"
			Offset="(0.44; 0.9; 0.0)"
			Range="12.0"
		/>
		<Exhaust Origin="(0.67; 0.7; -0.67)" Velocity="(-0.6; -1.4; -3.5)" />
		<Steam Origin="(1.3; 0.8; 0)" />
		<Steam
			Origin="(4.2; 1.2; 0)"
			ParentFrame="CabinBone"
			Scale="0.5"
		/>
		<OcclusionMap
			Texture="occlusion/chassis__da_uncmp.tga"
			Size="(8.4; 3.8)"
			Offset="1.1"
		/>
		<OcclusionVolume
			Size="(6.5; 2.9)"
			HeightFront="1.1"
			HeightRear="0.6"
			Offset="0.6"
		>
			<FullOcclusion HeightRear="1.1" />
		</OcclusionVolume>
		<Axles>
			<Axle
				Frame="AxleBone1"
				LeftWheel="0"
				RightWheel="1"
			/>
			<Axle
				Frame="AxleBone2"
				LeftWheel="2"
				RightWheel="3"
			/>
			<Axle
				Frame="AxleBone3"
				LeftWheel="4"
				RightWheel="5"
			/>
		</Axles>
		<WheelsSets>
			<WheelsSet Title="big_wheels">
				<WheelType Type="kraz_wheel" Wheels="0,1,2,3,4,5" />
			</WheelsSet>
		</WheelsSets>
	</TruckData>
	<HeadLight
		_template="Default"
		ParentFrame="Cabin"
		Offset="(2.8; 2.0; 0.0)"
	/>
	<PhysicsModel Mesh="ural_chassis.xml">
		<Body
			Mass="6000"
			CenterOfMassOffset="(0.2; 0; 0)"
			ImpactType="Truck"
		>
			<Body
				ModelFrame="CabinBone"
				Mass="4000"
				CenterOfMassOffset="(-0.6; -0.3; 0)"
				ImpactType="Truck"
			>
				<Constraint
					Type="Ragdoll"
					PlaneAxis="(0; 0; 1.0)"
					TwistAxis="(1.0; 0; 0)"
					ConeMin="0"
					ConeMax="15"
					TwistMin="-15"
					TwistMax="15"
					PlaneMin="0"
					PlaneMax="0"
					PivotOffset="(-2.0; -0.2; 0.0)"
				>
					<PlaneMotor
						Type="Spring"
						Spring="800000"
						Damping="8000"
					/>
					<TwistMotor
						Type="Spring"
						Spring="640000"
						Damping="16000"
					/>
				</Constraint>
			</Body>
		</Body>
		<Model
			Mesh="trucks/ural_wheel.xml"
			MeshType="Wheel"
			Dir="(-1.0; 0; 0)"
			ParentFrame="CabinBone"
			Org="(1.428; 1.816; -0.619)"
		/>
	</PhysicsModel>
	<ModelAttachments>
		<HeadLight>
			<Flare
				_template="HeadLight"
				ParentFrame="CabinBone"
				Offset="(4.234; 1.254; -0.748)"
			/>
			<Flare
				_template="HeadLight"
				ParentFrame="CabinBone"
				Offset="(4.234; 1.254; 0.748)"
			/>
			<Flare
				_template="BlueStreak"
				ParentFrame="CabinBone"
				Offset="(4.234; 1.254; -0.748)"
			/>
			<Flare
				_template="BlueStreak"
				ParentFrame="CabinBone"
				Offset="(4.234; 1.254; 0.748)"
			/>
			<Model
				_template="HeadLightRay"
				ParentFrame="CabinBone"
				Org="(4.234; 1.254; -0.748)"
			/>
			<Model
				_template="HeadLightRay"
				ParentFrame="CabinBone"
				Org="(4.234; 1.254; 0.748)"
			/>
		</HeadLight>
		<Ignition>
			<Flare _template="RedSignal" Offset="(-2.76; 0.993; 0.907)" />
			<Flare _template="RedSignal" Offset="(-2.76; 0.993; -0.907)" />
			<Flare
				ParentFrame="CabinBone"
				_template="MarkerSignal"
				Offset="(2.516; 2.56; -0.243)"
			/>
			<Flare
				ParentFrame="CabinBone"
				_template="MarkerSignal"
				Offset="(2.516; 2.56; 0.0)"
			/>
			<Flare
				ParentFrame="CabinBone"
				_template="MarkerSignal"
				Offset="(2.516; 2.56; 0.243)"
			/>
		</Ignition>
		<ReverseSignals>
			<Flare _template="ReverseSignal" Offset="(-2.76; 0.993; 0.668)" />
			<Flare _template="ReverseSignal" Offset="(-2.76; 0.993; -0.668)" />
			<Light _template="ReverseSignal" Offset="(-2.56; 0.993; 0)" />
		</ReverseSignals>
		<StopSignals>
			<Flare _template="StopSignal" Offset="(-2.76; 0.993; 0.907)" />
			<Flare _template="StopSignal" Offset="(-2.76; 0.993; -0.907)" />
			<Light _template="StopSignal" Offset="(-2.56; 0.993; 0)" />
		</StopSignals>
	</ModelAttachments>
	<VehicleConstraint>
		<ReverseGear
			Torque="120000"
			AngVelMin="-2.0"
			AngVelOpt="0.2"
			AngVelMax="8.0"
			MaxDeltaAngVel="0.04"
		/>
		<HighGear
			Torque="110000"
			AngVelMin="1.0"
			AngVelOpt="8.0"
			AngVelMax="10.0"
			MaxDeltaAngVel="0.08"
		/>
		<Gear
			Torque="120000"
			AngVelMin="-2.0"
			AngVelOpt="0.2"
			AngVelMax="7.0"
			AutoNextLinVel="2.5"
			MaxDeltaAngVel="0.06"
		/>
		<Gear
			Torque="40000"
			AngVelMin="-1.5"
			AngVelOpt="4.0"
			AngVelMax="14.0"
			AutoNextLinVel="4.0"
			MaxDeltaAngVel="0.1"
		/>
		<Gear
			Torque="40000"
			AngVelMin="0.4"
			AngVelOpt="6.0"
			AngVelMax="18.0"
			AutoNextLinVel="6.0"
			MaxDeltaAngVel="0.05"
		/>
		<Gear
			Torque="40000"
			AngVelMin="0.5"
			AngVelOpt="10.0"
			AngVelMax="26.0"
			MaxDeltaAngVel="0.05"
		/>
	</VehicleConstraint>
	<Wheels>
		<Wheel _template="FrontWheel" DiffGroup="axle0">
			<Suspension Hardpoint="(3.269; 0.22; 1.02)" />
		</Wheel>
		<Wheel _template="FrontWheel" DiffGroup="axle0">
			<Suspension Hardpoint="(3.269; 0.22; -1.02)" />
		</Wheel>
		<Wheel _template="RearWheel" DiffGroup="axle1">
			<Suspension Hardpoint="(-0.256; 0.22; 1.02)" />
		</Wheel>
		<Wheel _template="RearWheel" DiffGroup="axle1">
			<Suspension Hardpoint="(-0.256; 0.22; -1.02)" />
		</Wheel>
		<Wheel _template="RearWheel" DiffGroup="axle2">
			<Suspension Hardpoint="(-1.644; 0.22; 1.02)" />
		</Wheel>
		<Wheel _template="RearWheel" DiffGroup="axle2">
			<Suspension Hardpoint="(-1.644; 0.22; -1.02)" />
		</Wheel>
	</Wheels>
</Truck>
