<Truck>
	<Wheels
		HardpointDefaultY="0.500"
		HardpointDefaultZ="1.0"
	>
		<Wheel
			HardpointX="3.8"
                HardpointZ="1.1"
			ConnectedToHandbrake="true"
			Type="2c8ml3kc"
			HardpointOffsetY="-0.26"
			SteeringAngle="40"
			SteeringCastor="7"
			SteeringJointOffset="0.18"
			SuspensionDamping="0.2"
			SuspensionMin="-0.4"
			SuspensionMax="0.4"
			SuspensionStrength="0.015"
			ParentFrame="BoneFront_cdt"
		/>
		<Wheel
			HardpointX="3.8"
                HardpointZ="1.1"
			RightSide="true"
			ConnectedToHandbrake="true"
			Type="2c8ml3kc"
			HardpointOffsetY="-0.26"
			SteeringAngle="40"
			SteeringCastor="7"
			SteeringJointOffset="0.18"
			SuspensionDamping="0.2"
			SuspensionMin="-0.4"
			SuspensionMax="0.4"
			SuspensionStrength="0.015"
			ParentFrame="BoneFront_cdt"
		/>
		<Wheel
			HardpointX="-0.28"
			ConnectedToHandbrake="true"
			Type="2c8ml3t7"
			HardpointOffsetY="-0.16"
			SuspensionDamping="0.40"
			SuspensionMin="-0.3"
			SuspensionMax="0.2"
			SuspensionStrength="0.032"
			Torque="default"
			ParentFrame="BoneBal_cdt"
		/>
		<Wheel
			HardpointX="-0.28"
			RightSide="true"
			ConnectedToHandbrake="true"
			Type="2c8ml3t7"
			HardpointOffsetY="-0.16"
			SuspensionDamping="0.40"
			SuspensionMin="-0.3"
			SuspensionMax="0.2"
			SuspensionStrength="0.032"
			Torque="default"
			ParentFrame="BoneBal_cdt"
		/>
		<Wheel
			HardpointX="-1.68"
			ConnectedToHandbrake="true"
			Type="2c8ml3t7"
			HardpointOffsetY="-0.16"
			SuspensionDamping="0.40"
			SuspensionMin="-0.3"
			SuspensionMax="0.2"
			SuspensionStrength="0.032"
			Torque="default"
			ParentFrame="BoneBal_cdt"
		/>
		<Wheel
			HardpointX="-1.68"
			RightSide="true"
			ConnectedToHandbrake="true"
			Type="2c8ml3t7"
			HardpointOffsetY="-0.16"
			SuspensionDamping="0.40"
			SuspensionMin="-0.3"
			SuspensionMax="0.2"
			SuspensionStrength="0.032"
			Torque="default"
			ParentFrame="BoneBal_cdt"
		/>
	</Wheels>
	<TruckData
		FuelCapacity="165"
		SteerSpeed="0.016"
		BackSteerSpeed="0.022"
		SteerResponsiveness="0.50"
		EngineStartDelay="0.8"
		ExhaustStartTime="0.9"
           Responsiveness="0.1"
	>
		
		<Sounds
			AirHissInterval="10.0"
			Origin="(3.26; 1.34; 0)"
			ParentFrame="BoneFront_cdt"
			EngineHeavyVolume="0.4"
			Range="11.0"
		>
			<EngineTrans Sound="truck/trans" />
			<EngineRev Sound="engine/kraz_rev" />
			<Reverse Sound="truck/trans_reverse" />
			<Headlight Sound="truck/headlight" />
			<Handbrake Sound="truck/handbrake" />
			<Gear Sound="truck/gear" />
			<ExhaustShot Sound="truck/shot" />
			<EngineStop Sound="engine/kraz_stop" />
			<EngineStart Sound="engine/kraz_start" />
			<EngineLow Sound="engine/kraz_low" />
			<EngineIdle Sound="engine/kraz_idle" />
			<EngineHigh Sound="engine/kraz_high" />
			<EngineHeavy Sound="engine/kraz_heavy" />
			<DiffLock Sound="truck/difflock" />
			<Crackle Sound="truck/crackle" />
			<ChassisStress Sound="truck/stress" />
			<BrakeRelease Sound="truck/brake_release" />
			<BrakePull Sound="truck/brake_pull" />
			<AbruptStop Sound="truck/swing" />
		</Sounds>
		<OcclusionVolume
			HalfSizeZ="1.45"
			HeightFront="1.25"
			HeightRear="0.65"
			MinX="-2.80"
			MaxX="4.30"
		>
			<FullOcclusion HeightRear="1.25" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.70" MinX="-2.80" MaxX="5.20" />
		<Motor MaxDeltaAngVel="0.4" Torque="220000">
			<ReverseGear AngVel="0.80" />
			<HighGear AngVel="7.20" />
			<Gear AngVel="0.6" />
			<Gear AngVel="1.8" />
			<Gear AngVel="4.0" />
			<Gear AngVel="6.0" />
			<Gear AngVel="8.5" />
		</Motor>
		<Exhaust Dir="(-0.041; -0.346; 0.937)" Origin="(0.55; 0.59; 0.72)" Speed="3.12" />
		<Damage
			Capacity="600"
			SensationMin="(3.35; 2.90; 0.60)"
			SensationMax="(2.20; 3.20; -0.6)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Intake Dir="(1.0; 0; 0)" Origin="(4.9; 1.369; -0.059)" Size="0.4" />
		<Driver Pos="(2.4; 1.8; 0.550)" SteeringWheelPos="(2.8; 2.14; 0.55)" ParentFrame="BoneCabin_cdt" />
		<Camera ParentFrame="BoneCabin_cdt">
			<Cockpit
				ControlsDiffuse="g(62; 64; 59)"
				ViewPos="(2.4; 2.45; 0.55)"
				WindshieldDiffuseTexture="trucks/kamaz4310_glass__d_a.tga"
				LimitsHor="(-2.8; 2.4)"
				LimitsVer="(-0.32; 0.2)"
				ViewDir="(1.0; -0.05; 0)"
				ZoomViewDirOffset="(0;-0.05;0)"
				ZoomViewPosOffset="(0.2;0;0)"
			>
				<Rear
					HorTransitionEnd="-1.5"
					HorTransitionStart="-1.2"
					LimitsVer="(-1.2; 0.2)"
					RollAngle="-15"
					ViewDir="(1.0; -0.05; 0)"
					ViewPosOffset="(0.25; -0.1; 0.7)"
				/>
			</Cockpit>
		</Camera>		<Shafts _noinherit="true">
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
			<Shaft SocketPointA="Shaft3a" SocketPointB="Shaft3b" />
			<Shaft SocketPointA="Shaft4a" SocketPointB="Shaft4b" />
		</Shafts>
		<Axles>
			<Axle Frame="AxleBone1" LeftWheel="0" RightWheel="1" />
			<Axle Frame="AxleBone2" LeftWheel="2" RightWheel="3" />
			<Axle Frame="AxleBone3" LeftWheel="4" RightWheel="5" />
		</Axles>
	</TruckData>
<PoweredConstraints>
		<Group Id="kapot">
			<Constraint InitialFix="true" Name="kapot" Position="120" />
		</Group>
	</PoweredConstraints>

	<PhysicsModel Mesh="trucks/2q1en2j">
		<Body
			CenterOfMassOffset="(-0.6; -1.2; 0)"
			ImpactType="Truck"
			Mass="5100"
		>
			<Body AngularDamping="2" Collisions="None" Mass="1600" ModelFrame="BoneBal_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="-07"
					MaxLimit="07"
					Type="Hinge"
				>
					Motor Damping="9000" Spring="4000" Type="Spring" />
				</Constraint>
			</Body>
			<Body
				CenterOfMassOffset="(0.2; -0.3; 0)"
				ImpactType="Truck"
				Mass="3200"
				ModelFrame="BoneFront_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-3"
					MaxLimit="3"
					PivotOffset="(-2.0; -0.2; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="16500" Spring="550000" Type="Spring" />
				</Constraint>
				<Body
				CenterOfMassOffset="(0.0; -0.2; 0)"
				ImpactType="Truck"
				Mass="1000"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-01"
					MaxLimit="01"
					Type="Hinge"
				>
					<Motor Damping="68000" Spring="250000" Type="Spring" />
					</Constraint>
					<Body
						AngularDamping="3.0"
						Collisions="None"
						Mass="10"
						ModelFrame="BoneRul_cdt"
					>
						<Constraint
							AxisLocal="(0;-1;0)"
							MinLimit="-540"
							MaxLimit="540"
							Name="ChassisSteer"
							Type="Hinge"
						>
							<Motor Force="600000" Type="Position" />
						</Constraint>
					</Body>
					<Body Collisions="None" Mass="100" ModelFrame="BoneKapot_cdt">
						<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="-0.5"
						MaxLimit="40"
						Name="kapot"
						Type="Hinge"
					>
						<Motor Force="5000" Type="Position" />

						</Constraint>
					</Body>
					<Body
						AngularDamping="50.0"
						Collisions="None"
						Mass="5"
						ModelFrame="BoneBLeft_cdt"
					>
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="-15"
							MaxLimit="5"
							Type="Hinge"
						/>
					</Body>
					<Body
						AngularDamping="50.0"
						Collisions="None"
						Mass="5"
						ModelFrame="BoneBRight_cdt"
					>
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="-15"
							MaxLimit="5"
							Type="Hinge"
						/>
					</Body>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ControlledConstraints _noinherit="true">
		<Constraint
			Id="Stering"
			IsLinkedSteering="true"
			Name="ChassisSteer"
			TriggerEngineSound="false"
		/>
	</ControlledConstraints>
	<ModelAttachments>
		<Ignition>
			<Flare
				Pos="(4.92; 0.905;  1.132)"
				ParentFrame="BoneFront_cdt"
				Color="g(140; 130; 120) x 1.5"
				Dir="(1;0;0)"
				DirAngle="90"
				Size="0.2"
			/>
			<Flare
				Pos="(4.92; 0.905; -1.132)"
				ParentFrame="BoneFront_cdt"
				Color="g(140; 130; 120) x 1.5"
				Dir="(1;0;0)"
				DirAngle="90"
				Size="0.2"
			/>
			<Flare
				Color="g(107; 153; 107) x 0.50"
				Pos="(3.093; 2.039; 0.848)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="90"
				Size="0.0525"
				Texture="sfx/2c8ml3d4__d_a.tga"
				ParentFrame="BoneCabin_cdt"
			/>
			<Flare
				Color="g(107; 153; 107) x 0.50"
				Pos="(3.093; 2.039; 0.753)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="90"
				Size="0.0525"
				Texture="sfx/2c8ml3d4__d_a.tga"
				ParentFrame="BoneCabin_cdt"
			/>
			<Flare
				Color="g(107; 153; 107) x 0.50"
				Pos="(3.093; 2.039; 0.362)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="90"
				Size="0.0525"
				Texture="sfx/2c8ml3d4__d_a.tga"
				ParentFrame="BoneCabin_cdt"
			/>
			<Flare
				Color="g(107; 153; 107) x 0.50"
				Pos="(3.093; 2.039; 0.267)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="90"
				Size="0.0525"
				Texture="sfx/2c8ml3d4__d_a.tga"
				ParentFrame="BoneCabin_cdt"
			/>
			<Flare
				Color="g(107; 153; 107) x 0.40"
				Pos="(3.103; 2.057; 0.640)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="80"
				Size="0.0825"
				Texture="sfx/2c8ml3d4__d_a.tga"
				ParentFrame="BoneCabin_cdt"
			/>
			<Flare
				Color="g(107; 153; 107) x 0.40"
				Pos="(3.103; 2.057; 0.473)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="80"
				Size="0.0825"
				Texture="sfx/2c8ml3d4__d_a.tga"
				ParentFrame="BoneCabin_cdt"
			/>
			<Flare
				Color="g(107; 153; 107) x 0.40"
				Pos="(3.093; 2.037; 0.107)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="80"
				Size="0.0525"
				Texture="sfx/2c8ml3d4__d_a.tga"		ParentFrame="BoneCabin_cdt"
			/>
		</Ignition>
		<StopSignals>
			<Flare
				Color="g(205; 54; 13) x 0.20"
				Pos="(3.129; 2.105; -0.080)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="120"
				Size="0.035"
				ParentFrame="BoneCabin_cdt"
			/>
			<Flare
				Color="g(205; 54; 13) x 0.40"
				Pos="(3.129; 2.105; -0.109)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="120"
				Size="0.035"
				ParentFrame="BoneCabin_cdt"
			/>
		</StopSignals>
		<HeadLight>
			<Flare
				Color="g(8; 151; 192) x 0.50"
				Pos="(3.128; 2.105; 0.382)"
				Dir="(-0.889; 0.458; 0)"
				DirAngle="120"
				Size="0.030"
				ParentFrame="BoneCabin_cdt"
			/>
			<Model
				Org="(4.923; 0.923;  0.868)"
				ParentFrame="BoneFront_cdt"
				Dir="(1.0; -0.1; 0)"
				Mesh="env/light_ray"
			/>
			<Model
				Org="(4.923; 0.923; -0.868)"
				ParentFrame="BoneFront_cdt"
				Dir="(1.0; -0.1; 0)"
				Mesh="env/light_ray"
			/>
			<Flare
				Pos="(4.923; 0.923;  0.868)"
				ParentFrame="BoneFront_cdt"
				Color="g(140; 130; 120) x 2"
				Dir="(1.0; 0; 0)"
				DirAngle="100"
				Size="2.0"
				SizeAtDay="0.6"
			/>
			<Flare
				Pos="(4.923; 0.923; -0.868)"
				ParentFrame="BoneFront_cdt"
				Color="g(140; 130; 120) x 2"
				Dir="(1.0; 0; 0)"
				DirAngle="100"
				Size="2.0"
				SizeAtDay="0.6"
			/>
			<Flare
				Pos="(4.923; 0.923;  0.868)"
				ParentFrame="BoneFront_cdt"
				AspectRatio="4.0"
				Color="g(140; 130; 120) x 0.2"
				Dir="(1.0; 0; 0)"
				DirAngle="45"
				Size="0.8"
				SizeAtDay="0.1"
				Texture="sfx/flare_line__s_d.tga"
			/>
			<Flare
				Pos="(4.923; 0.923; -0.868)"
				ParentFrame="BoneFront_cdt"
				AspectRatio="4.0"
				Color="g(140; 130; 120) x 0.2"
				Dir="(1.0; 0; 0)"
				DirAngle="45"
				Size="0.8"
				SizeAtDay="0.1"
				Texture="sfx/flare_line__s_d.tga"
			/>
		</HeadLight>
	</ModelAttachments>
	<HeadLight
		Pos="(2.923; 1.423; 0.0)"
		ParentFrame="BoneFront_cdt"
		AttenEnd="66"
		AttenStart="1"
		Color="g(250; 210; 150) x 4"
		Dir="(1.0; -0.25; 0)"
		InnerCone="0"
		OuterCone="80"
	/>
	<GameData BalancePoints="2">
		<WinchSocket Pos="(4.938; 0.820;  0.37)" ParentFrame="BoneFront_cdt" />
		<WinchSocket Pos="(4.938; 0.820; -0.37)" ParentFrame="BoneFront_cdt" />
		<WinchSocket Pos="(-2.586; 1.010; 0)" />
		<AddonSockets>
			<Socket Names="Kraz6510Avtopoezd" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>

           <AddonSockets>
			<Socket Names="KrazС" Offset="(0.0; 0.05; 0.0)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>

           <AddonSockets>
			<Socket Names="negabarit6444" Offset="(1.14; 0.55; 0.45)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>

           <AddonSockets>
			<Socket Names="Kraz6510BryzgovikF" Offset="(7.25; -0.05; 0.0)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>


		<AddonSockets>
			<Socket Names="Kraz6510Marker" ParentFrame="BoneCabin_cdt" NamesBlock="Kraz6510Samosval" />
                       </AddonSockets>
		<AddonSockets>
			<Socket Names="Kraz6510Bak" />
                       </AddonSockets>
		<AddonSockets>
			<Socket Names="Kraz6510Bryzgovik" />
                        </AddonSockets>
		<AddonSockets>
			<Socket Names="KrazRepair" Offset="(1.9; 1.27; 0.02)" />
		</AddonSockets>
           <AddonSockets>
			<Socket Names="Kraz6510Cistern" NamesBlock="Kraz6510LoadMusor,Kraz6510Garage" Offset="(0.0; 0.05; 0.02)" />
		</AddonSockets>
           <AddonSockets>
			<Socket Names="Kraz6510Garage" NamesBlock="Kraz6510LoadMusor" Offset="(0.0; 0.03; 0.02)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="Kraz6510Samosval" />
                                   
			<Socket Names="OldSedlo" Offset="(1.5; 0.25; 0.0)" NamesBlock="KamazTrailerCart,kraz6510Trailer" />

                                  
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KamazTrailerCart" Offset="(-2.586; 1.020; 0.0)" />
			<Socket Names="6444TrailerTral" Offset="(-1.2; 1.4; 0.0)" />
                <Socket Names="Pricep_Boshka_6444" Offset="(-1.2; 1.3; 0.0)" />
                <Socket Names="6444Trailersosi" Offset="(-1.3; 1.35; 0.0)" />
			<Socket Names="kraz6510Trailer" Offset="(-1.1; 1.285; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			
                <Socket Names="Kraz6510LoadMusor" />		      </AddonSockets>
	</GameData>
</Truck>
