<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.244"
			SuspensionMin="-0.4"
			SuspensionStrength="0.02"
			Torque="default"
			Type="255bkraz_double_highway_xam"
			ParentFrame="Shoulder_cdt"
		/>
		<FrontWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.244"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionMin="-0.4"
			SuspensionStrength="0.01"
			Torque="full"
			Type="255bkraz_front_highway_xam"
			ParentFrame="BoneCabin_cdt"
		/>
	</Wheel>
	<Flare>
		<RedSignal
			Color="g(169; 0; 0)"
			Dir="(-1; 0; 0)"
			DirAngle="90"
			Size="0.6"
		/>
		<MarkerSignal Color="g(132; 100; 70)" Size="0.15" SizeMultAtDay="0.35" />
		<Krazzz
			Color="g(148; 62; 0)"
			Dir="(1; 0; 0)"
			DirAngle="100"
			Size="0.05"
			SizeMultAtDay="0.33"
			ParentFrame="BoneCabin_cdt"
		/>
	</Flare>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.544"
		HardpointDefaultZ="1.06"
	>
		<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.005"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
		EngineStartDelay="0.8"
		ExhaustStartTime="0.8"
		FuelCapacity="330"
		LockClothOrigin="(0.75; -0.25; 0)"
		LockClothScale="1.0"
		Responsiveness="0.05"
		SteerSpeed="0.03"
	>
		<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" Origin="(3.26; 1.34; 0)" ParentFrame="BoneCabin_cdt">
			<Reverse Sound="krazsound/truck/lh0utog" />
			<Headlight Sound="truck/headlight" />
			<Handbrake Sound="krazsound/truck/lh0ut9j" />
			<Gear Sound="krazsound/truck/lh0ut1q" />
			<ExhaustShot Sound="truck/shot" />
			<EngineTurbo Sound="krazsound/engine/lh0utik" />
			<EngineStop Sound="krazsound/engine/lh0utds" />
			<EngineStart ExhaustStart="2.3" Sound="krazsound/engine/lh0utml" />
			<EngineRev Sound="krazsound/engine/lh0utu" />
			<EngineLow Sound="krazsound/engine/lh0ute6" />
			<EngineIdle AirHissInterval="8.0" Sound="krazsound/engine/lh0utep" />
			<EngineHigh Sound="krazsound/engine/lh0utuj" />
			<EngineHeavy HeavyHighMult="0.4" Sound="krazsound/engine/lh0utll" />
			<DiffLock Sound="truck/difflock" />
			<Crackle Sound="truck/crackle" />
			<ChassisStress Sound="truck/stress" />
			<BrakeRelease Sound="truck/brake_release" />
			<BrakePull Sound="krazsound/engine/lh0utph" />
			<AbruptStop Sound="truck/swing" />
		</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.55"
			HeightFront="1.3"
			HeightRear="0.75"
			MinX="-2.60"
			MaxX="4.40"
		>
			<FullOcclusion HeightFront="1.1" HeightRear="1.3" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.90" MinX="-3.30" MaxX="5.50" />
		<Motor BrakesDelay="0.1" MaxDeltaAngVel="1.0" Torque="180000">
			<ReverseGear AngVel="1.2" />
			<HighGear AngVel="7.0" />
			<Gear AngVel="1.2" />
			<Gear AngVel="3.0" />
			<Gear AngVel="7.0" />
			<Gear AngVel="9.4" />
			<Gear AngVel="12.0" />
			<Gear AngVel="15.0" />
		</Motor>
		<LimitedFluid Center="(0.8; 0.829; +0.843)" LengthX="0.891" RadiusY="0.297" RadiusZ="0.297" Type="Cylinder" />
		<LimitedFluid Center="(0.8; 0.829; -0.843)" LengthX="0.891" RadiusY="0.297" RadiusZ="0.297" Type="Cylinder" />
		<Intake Dir="(1; 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="800"
			SensationMin="(2.606; 2.624; -0.971)"
			SensationMax="(2.716; 2.683; -0.864)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(62; 64; 59)"
				ControlsPos="(2.63; 2.13; 0.608)"
				ViewPos="(2; 2.38; 0.49)"
				WindshieldDiffuseTexture="trucks/kraz255_glass__d_a.tga"
			/>
		</Camera>
		<Axles>
			<Axle Frame="AxleBone1" />
			<Axle Frame="AxleBone2" />
			<Axle Frame="AxleBone3" />
		</Axles>
	</TruckData>
	<Rotator RotationSpeed="1" ParentFrame="BoneFR" />
	<PhysicsModel Mesh="trucks/kraz_XaM">
		<Flare Color="g(216; 147; 0) x 0.5" Dir="(1; 0; 0)" DirAngle="100" Pos="(4.359; 1.426; -0.75)" Size="0.6" SizeAtDay="0.6" ParentFrame="BoneFR" />
		<Flare _template="Krazzz" Pos="(4.555; 1.656; -0.215)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.636; -0.215)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.616; -0.215)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.596; -0.215)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.576; -0.215)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.556; -0.215)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.605; -0.195)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.625; -0.175)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.645; -0.157)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.66; -0.138)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.593; -0.168)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.57; -0.15)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; -0.132)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.656; -0.099)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.636; -0.099)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.616; -0.099)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.596; -0.099)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.576; -0.099)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.556; -0.099)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.606; -0.085)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.606; -0.065)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.606; -0.045)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.656; -0.085)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.656; -0.065)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.656; -0.045)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.636; -0.015)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.616; -0.025)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.656; -0.025)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.586; -0.035)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.566; -0.023)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; -0.013)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; +0.016)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.57; +0.024)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.59; +0.031)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.61; +0.04)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.63; +0.048)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.65; +0.055)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.663; +0.061)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; +0.111)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.57; +0.104)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.59; +0.093)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.61; +0.084)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.63; +0.078)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.65; +0.068)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.59; +0.053)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.59; +0.073)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.66; +0.138)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.66; +0.158)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.66; +0.178)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.66; +0.198)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.66; +0.218)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; +0.138)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; +0.158)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; +0.178)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; +0.198)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.55; +0.218)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.575; +0.149)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.595; +0.164)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.615; +0.179)" />
		<Flare _template="Krazzz" Pos="(4.555; 1.638; +0.198)" />
		<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.2; 0)"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="240000" Type="Spring" />
				</Constraint>
				<Body AngularDamping="3.0" Collisions="None" Mass="10" ModelFrame="BoneLeftMudguard_cdt">
					<Constraint
						AxisLocal="(0; 0; -1)"
						MinLimit="-5"
						MaxLimit="45"
						Type="Hinge"
					/>
				</Body>
				<Body AngularDamping="3.0" Collisions="None" Mass="10" ModelFrame="BoneRightMudguard_cdt">
					<Constraint
						AxisLocal="(0; 0; -1)"
						MinLimit="-5"
						MaxLimit="45"
						Type="Hinge"
					/>
				</Body>
				<Body AngularDamping="3.0" Collisions="None" Mass="10" ModelFrame="Zerkalo_cdt">
					<Constraint
						AxisLocal="(0; 1; 0)"
						MinLimit="-80"
						MaxLimit="80"
						Type="Hinge"
					>
						<Motor Damping="1" Spring="10" Type="Spring" />
					</Constraint>
				</Body>
				<Body AngularDamping="3.0" Collisions="None" Mass="10" ModelFrame="fari_cdt">
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-80"
						MaxLimit="80"
						Type="Hinge"
					>
						<Motor Damping="10" Spring="50" Type="Spring" />
					</Constraint>
				</Body>
				<Body AngularDamping="3.0" Collisions="None" Mass="10" ModelFrame="ruka_cdt">
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-80"
						MaxLimit="80"
						Type="Hinge"
					>
						<Motor Damping="1" Spring="20" Type="Spring" />
					</Constraint>
				</Body>
				<Body AngularDamping="3.0" Collisions="None" Mass="10" ModelFrame="BoneR">
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-10"
						MaxLimit="45"
						Type="Hinge"
					/>
				</Body>
				<Body AngularDamping="3.0" Collisions="None" Mass="10" ModelFrame="BoneL">
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-10"
						MaxLimit="45"
						Type="Hinge"
					/>
				</Body>
			</Body>
			<Body Collisions="None" Mass="2000" ModelFrame="Shoulder_cdt">
				<Constraint
					AxisLocal="(0; 0; 1)"
					MinLimit="-8"
					MaxLimit="8"
					Type="Hinge"
				/>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-2.413; 1.084; +0.796)" />
			<Light _template="StopSignal" Pos="(-2.413; 1.084; -0.796)" />
			<Flare _template="StopSignal" Pos="(-2.413; 1.084; +0.796)" />
			<Flare _template="StopSignal" Pos="(-2.413; 1.084; -0.796)" />
		</StopSignals>
		<ReverseSignals>
			<Model _template="HeadLightRay" Dir="(-1; -0.4; 0)" Org="(-2.413; 1.084; +0.651)" />
			<Model _template="HeadLightRay" Dir="(-1; -0.4; 0)" Org="(-2.413; 1.084; -0.651)" />
			<Light _template="ReverseSignal" Pos="(-2.413; 1.084; +0.651)" />
			<Light _template="ReverseSignal" Pos="(-2.413; 1.084; -0.651)" />
			<Flare _template="ReverseSignal" Pos="(-2.413; 1.084; +0.651)" />
			<Flare _template="ReverseSignal" Pos="(-2.413; 1.084; -0.651)" />
		</ReverseSignals>
		<Ignition>
			<Light _template="StopSignal" Color="g(132; 30; 30)" Pos="(-2.413; 1.084; +0.875)" />
			<Light _template="StopSignal" Color="g(132; 30; 30)" Pos="(-2.413; 1.084; -0.875)" />
			<Flare _template="MarkerSignal" Pos="(2.576; 2.75; -0.17)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerSignal" Pos="(2.576; 2.75; 0)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerSignal" Pos="(2.576; 2.75; +0.17)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="RedSignal" Pos="(-2.413; 1.084; +0.875)" />
			<Flare _template="RedSignal" Pos="(-2.413; 1.084; -0.875)" />
			<Flare Color="g(216; 147; 0) x 0.5" Pos="(4.372; 1.43; +0.749)" Size="0.6" SizeMultAtDay="0.5" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(4.4; 1.44; 0.78)" ParentFrame="BoneCabin_cdt" />
			<Flare
				Color="g(216; 147; 0) x 0.5"
				Dir="(1; 0; 0)"
				DirAngle="100"
				Pos="(4.4; 1.44; 0.78)"
				Size="0.4"
				SizeAtDay="0.2"
				ParentFrame="BoneCabin_cdt"
			/>
		</HeadLight>
	</ModelAttachments>
	<HeadLight
		_template="Default"
		Color="g(255; 212; 154) x 4"
		Dir="(0.973; -0.195; 0.22)"
		OuterCone="90"
		Pos="(2.8; 2.5; 0)"
		ParentFrame="BoneCabin_cdt"
	/>
	<GameData
		BalancePoints="1"
		FuelCapacity="40"
		Recallable="true"
	>
		<WinchSocket Pos="(4.75; 0.78; 0)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(1.823; 1.99; +0.922)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(1.823; 1.99; -0.922)" ParentFrame="BoneCabin_cdt" />
		<WinchSocket Pos="(-2.38; 1.1; 0)" />
		<CompletionStarsDecal Dir="(0; 0; 1)" Pos="(2.499; 1.849; 0.895)" ParentFrame="BoneCabin_cdt" />
		<AddonSockets>
			<Socket Names="KrazCartTrailer_xam" Offset="(-2.33; 1.3; 0)" />
			<Socket Names="UralCartTrailer" Offset="(-2.424; 0.942; 0)" />
			<Socket Names="KamazTrailer" Offset="(-1.2; 1.2; 0)" />
			<Socket Names="KamazTrailerCart" Offset="(-2.62; 1.1; 0)" />
			<Socket Names="GazTrailer" Offset="(-2.58; 1.1; 0)" />
			<Socket Names="krazshalandaxam" Offset="(-1.2; 1.4; 0)" />
			<Socket Names="KrazPricep_Xam" Offset="(-4.188; 1.083; +0.022)" />
			<Socket Names="KrazCartTrailer" NamesBlock="KrazRoofpack" Offset="(-2.33; 1.3; 0)" />
			<Socket Names="UazTrailer" NamesBlock="KrazCistern, KrazPlat_xam, KrazCartCrane, KamazCart" Offset="(-2.619; 1.1; 0)" />
			<Socket Names="MazTrailer" NamesBlock="KrazCartTrailer_xam, UralCartTrailer, KamazTrailer, UazTrailer, KrazCartTrailer, KrazPricep_Xam, krazshalandaxam, KamazTrailerCart" Offset="(-0.3; 1.8; 0)" />
			<Socket Names="UmzTrailer" NamesBlock="KrazCart, KrazCartNoBackup, KrazCistern, KrazPlat_xam, KrazCartCrane, KamazCart" Offset="(-2.619; 1.1; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazProtector_xam" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazCabinLights" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazTractor,KrazCart,KrazCartNoBackup, " />
			<Socket Names="MzktTractor" NamesBlock="KrazPlat_xam" Offset="(1.48; -0; 0)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="KrazCistern" NamesBlock="KrazBackupWheel_xam, KrazPlat_xam" />
			<Socket Names="KrazCartCrane" NamesBlock="zlovsvetkrazxam, GazTrailer, krazshalandaxam,KrazProtector_xam,KamazTrailer,UralCartTrailer,KrazBackupWheel_xam" />
			<Socket Names="KamazCart" NamesBlock="KrazBackupWheel_xam" Offset="(-0.6; 0.155; 0)">
				<ExtraParent Frame="BoneCabinBase_cdt" />
			</Socket>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsShort" Offset="(0.436; -0.06; 0)" />
			<Socket Names="gruztrubkraz" />
			<Socket Names="LoadLogsShortCrane" />
			<Socket Names="LoadLogsMedium" Offset="(-0.75; 1.62; 0)" />
			<Socket Names="dlinnie_kraz_xam" Offset="(0; -0.05; 0)" />
			<Socket Names="LoadLogsLong" Offset="(0; -0.05; 0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazBackupWheel_xam" ParentFrame="BoneCabin_cdt" />
			<Socket Names="KrazPlat_xam" NamesBlock="KamazCart, KamazTrailerCart, KrazCartCrane, KrazTractor, KrazCart, KrazCartNoBackup" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="KrazRoofpack_xam" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="zlovsvetkrazxam" Offset="(-0.01; 0; 0)" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="dopbakpodnojka" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="kranplatformkraz_xam" Offset="(-5.022; 0.123; 0)" ParentFrame="BoneChassis_cdt" />
		</AddonSockets>
	</GameData>
</Truck>
