<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.244"
			SuspensionMin="-0.4"
			SuspensionStrength="0.022"
			Torque="default"
			Type="2 VI-3 Chmzap 5247"
		/>
		<FrontWheel
			HardpointOffsetY="-0.244"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionMin="-0.4"
			SuspensionStrength="0.025"
			Torque="full"
			Type="1 VI-3 Chmzap 5247"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.544"
		HardpointDefaultZ="1.04"
	>
		<Wheel _template="FrontWheel" HardpointX="3.8" />
		<Wheel _template="FrontWheel" HardpointX="3.8" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-0.49" />
		<Wheel _template="RearWheel" HardpointX="-0.49" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.93" />
		<Wheel _template="RearWheel" HardpointX="-1.93" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.01"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
		EngineStartDelay="0.8"
		ExhaustStartTime="0.9"
		FuelCapacity="330"
		LockClothOrigin="(0.75; -0.25; 0)"
		LockClothScale="1.0"
		Responsiveness="0.05"
		SteerSpeed="0.02"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.829"
		/>
		<Steam Origin="(1.5; 0.9; 0)" />
		<Steam Origin="(3.75; 1.5; 0)" Scale="0.5" ParentFrame="BoneCabin_cdt" />
		<Sounds
			_template="Default"
			AirHissInterval="12.0"
			Origin="(3.36; 1.6; 0)"
			ParentFrame="BoneCabin_cdt"
		>
			<EngineTrans Sound="truck/trans" />
			<EngineRev Sound="engine/kraz_rev" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(2; 2; 0)" 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.6"
			HeightFront="1.1"
			HeightRear="0.8"
			MinX="-2.60"
			MaxX="4.40"
		>
			<FullOcclusion HeightFront="1.1" HeightRear="1.3" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.90" MinX="-3.30" MaxX="5.20" />
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="0.01" Torque="150000">
			<ReverseGear AngVel="0.5" />
			<HighGear AngVel="6.0" />
			<Gear AngVel="1.0" />
			<Gear AngVel="3.5" />
			<Gear AngVel="5.0" />
			<Gear AngVel="6.5" />
			<Gear AngVel="8.0" />
		</Motor>
		<LimitedFluid
			Center="(0.8; 0.849; 0.843)"
			LengthX="0.891"
			RadiusY="0.277"
			RadiusZ="0.277"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(0.8; 0.849; -0.843)"
			LengthX="0.891"
			RadiusY="0.277"
			RadiusZ="0.277"
			Type="Cylinder"
		/>
		<Intake Dir="(1.0; 0; 0)" Origin="(4.424; 1.545; 0)" Size="0.8" />
		<Exhaust Dir="(-0.16; -0.37; 0.92)" Origin="(1.35; 0.79; 1.11)" Speed="3.82" />
		<Driver Pos="(2.06; 1.72; 0.49)" SteeringWheelPos="(2.43; 2.14; 0.485)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="600"
			SensationMin="(1.77; 2.02; -0.77)"
			SensationMax="(2.72; 2.66; 0.77)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(62; 64; 59)"
				ControlsPos="(2.63; 2.13; 0.608)"
				ViewPos="(2.0; 2.38; 0.49)"
				WindshieldDiffuseTexture="trucks/kraz255_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
			<Axle Frame="AxleBone3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/kraz255">
		<Body
			CenterOfMassOffset="(-0.2; -0.2; 0)"
			ImpactType="Truck"
			Mass="6500"
		>
			<Body
				CenterOfMassOffset="(-0.4; -0.3; 0)"
				ImpactType="Truck"
				Mass="5500"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-22"
					MaxLimit="22"
					PivotOffset="(-2.0; -0.2; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="240000" Type="Spring" />
				</Constraint>
				<Body _template="Mudguard" ModelFrame="BoneLeftMudguard_cdt">
					<Constraint AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-5" MaxLimit="45" />
				</Body>
				<Body _template="Mudguard" ModelFrame="BoneRightMudguard_cdt">
					<Constraint AxisLocal="(1.0; 0.0; 0.0)" MinLimit="-5" MaxLimit="45" />
				</Body>
				<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
				<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Flare _template="MarkerBeacon" Pos="(2.576; 2.75; -0.17)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.576; 2.75; 0.0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.576; 2.75; 0.17)" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(4.465; 1.508; -0.705)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(4.465; 1.508; 0.705)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(4.465; 1.508; -0.705)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight" Pos="(4.465; 1.508; 0.705)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(4.465; 1.508; -0.705)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak" Pos="(4.465; 1.508; 0.705)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(4.6; 1.43; 0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="3" ExcludeAddons="ural_cistern">
		<WinchSocket Pos="(4.75; 0.78; 0)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(-2.739; 1.1; 0)" />
		<WinchSocket Pos="(0.766; 0.901; 1.127)" />
		<WinchSocket Pos="(0.766; 0.901; -1.127)" />
		<CompletionStarsDecal Dir="(0; 0; 1)" Pos="(2.299; 1.849; 0.895)" />
		<AddonSockets>
			<Socket Names="KrazCartTrailer" Offset="(-2.33; 1.3; 0.0)" />
			<Socket Names="UralCartTrailer" Offset="(-2.8; 0.942; 0.0)" />
			<Socket Names="KamazTrailer" Offset="(-1.2; 1.2; 0.0)" />
			<Socket Names="KamazTrailerCart" Offset="(-2.82; 1.06; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazTractor,KrazCart,KrazCartNoBackup" />
			<Socket Names="KrazCartCrane" NamesBlock="KamazTrailer,KrazCartTrailer,UralCartTrailer,KrazBackupWheel" Offset="(0;0.2;0)" />
			<Socket Names="KrazCistern" NamesBlock="KrazBackupWheel" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsShort" Offset="(0.596; -0.06; 0.0)" />
			<Socket Names="LoadLogsShortCrane" Offset="(0;0.2;0)" />
			<Socket Names="LoadLogsMedium" Offset="(-0.55; 1.62; 0.0)" />
			<Socket Names="LoadLogsLong" Offset="(0; -0.05; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazBackupWheel" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
	</GameData>
</Truck>
