<_templates Include="trucks">
	<Flare>
		<TrunkLight
			Color="g(440; 440; 0)"
			Dir="(1.0; 0; 0)"
			DirAngle="100"
			Size="0.13"
			SizeAtDay="0.1"
		/>
		<IgnitionSignalWhite
			AspectRatio="1.4"
			Color="g(165; 149; 130) x 0.75"
			Dir="(1;0;0)"
			DirAngle="110"
			Size="0.25"
		/>
		<HeadLight
			AspectRatio="1.0"
			Color="g(141; 133; 117) x 1.5"
			ColorMultAtDay="0.9"
			Dir="(1.0; 0; 0)"
			DirAngle="100"
			Reflections="true"
			Size="0.75"
			SizeMultAtDay="0.75"
		/>
		<BlueStreak
			AspectRatio="4.0"
			Color="g(141; 133; 117) x 0.3"
			ColorMultAtDay="0"
			Dir="(1.0; 0; 0)"
			DirAngle="45"
			Size="0.5"
			Texture="sfx/flare_line__s_d.tga"
		/>
		<MarkerBeacon Color="g(117; 94; 72) x 1.00" ColorMultAtDay="0.8" Size="0.2" SizeMultAtDay="0.8" />
	</Flare>
	<Wheel>
		<FrontWheel
			HardpointOffsetY="-0.3"
			SteeringAngle="38"
			SteeringCastor="6"
			SteeringJointOffset="0.24"
			SuspensionMin="-0.60"
			SuspensionStrength="0.023"
			SuspensionDamping="0.100"
			Torque="full"
			Type="ii3dpqc4"
		/>
		<RearWheel
			ConnectedToHandbrake="true"
			HardpointOffsetY="-0.3"
			SuspensionMin="-0.40"
			SuspensionStrength="0.022"
			Torque="default"
			Type="ii3dpqdg"
			ParentFrame="BoneBalansir_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.544"
		HardpointDefaultZ="1.08"
	>
		<Wheel _template="FrontWheel" HardpointX="3.8" HardpointDefaultY="0.494" ParentFrame="BoneRackLeft" />
		<Wheel _template="FrontWheel" HardpointX="3.8" HardpointDefaultY="0.494" ParentFrame="BoneRackRight" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-0.475" />
		<Wheel _template="RearWheel" HardpointX="-0.475" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.875" />
		<Wheel _template="RearWheel" HardpointX="-1.875" RightSide="true" />
	</Wheels>
	<TruckData
		FuelCapacity="330"
		Responsiveness="0.05"
		SteerSpeed="0.024"
		BackSteerSpeed="0.048"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.3"
		EngineStartDelay="0.8"
		ExhaustStartTime="0.9"
	>
		<SteeringWheel Frame="BoneSteering" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.708"
		/>
		<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" />
			<EngineStop Sound="engine/kraz255b_stop" />
			<EngineStart Sound="engine/kraz255b_start" />
			<EngineRev Sound="engine/kraz255b_rev" />
			<EngineLow Sound="engine/kraz255b_low" />
			<EngineIdle Sound="engine/kraz255b_idle" />
			<EngineHigh Sound="engine/kraz255b_high" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust" MaxAngle="(1; 2; 0)" MaxFrequency="8" />
			<Shaker Frame="BoneAntL_cdt" MaxAngle="(6; 0; 12)" MaxFrequency="3" />
			<Shaker Frame="BoneAntR_cdt" MaxAngle="(6; 0; 12)" MaxFrequency="3" />
		</Shakers>
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
			<Shaft SocketPointA="Shaft3a" SocketPointB="Shaft3b" />
			<Shaft SocketPointA="Shaft4a" SocketPointB="Shaft4b" />
			<Shaft SocketPointA="Shaft5a" SocketPointB="Shaft5b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.6"
			HeightFront="1.2"
			HeightRear="0.8"
			MinX="-2.90"
			MaxX="4.40"
		>
			<FullOcclusion HeightFront="1.2" HeightRear="1.2" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.80" MinX="-3.00" MaxX="5.00" />
		<Motor BrakesDelay="0.5" MaxDeltaAngVel="0.02" 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.7; 0.849; 0.843)"
			LengthX="0.891"
			RadiusY="0.277"
			RadiusZ="0.277"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(0.7; 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.493; 0.704; 1.170)" Speed="3.82" />
		<Driver Pos="(2.100; 1.73; 0.496)" SteeringWheelPos="(2.479; 2.1; 0.496)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="600"
			SensationMin="(1.77; 2.04; -0.70)"
			SensationMax="(2.72; 2.72;  0.70)"
			ParentFrame="BoneCabin_cdt"
		/>
		<Camera ParentFrame="BoneCabin_cdt" RadiusMultiplier="1.1">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(62; 64; 59)"
				ViewPos="(1.95; 2.40; 0.496)"
				WindshieldDiffuseTexture="trucks/kraz255_glass__d_a.tga"
				ViewDir="(1.0; -0.05; 0)"
				ZoomViewDirOffset="(0;0.05;0)"
				ZoomViewPosOffset="(0.4;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>
		<Axles>
			<Axle Frame="BoneAxle1" />
			<Axle Frame="BoneAxle2" />
			<Axle Frame="BoneAxle3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/kraz255b">
		<Body CenterOfMassOffset="(0;-0.2;0)" ImpactType="Truck" Mass="5400">
			<Body Collisions="None" Mass="2000" ModelFrame="BoneBalansir_cdt">
				<Constraint AxisLocal="(0;0;1)" MinLimit="-8" MaxLimit="8" Type="Hinge">
					<Motor Damping="8000" Spring="80000" Type="Spring" />
				</Constraint>
			</Body>
			<Body CenterOfMassOffset="(0.2;-0.2;0)" ImpactType="Truck" Mass="3600" ModelFrame="BoneFront_cdt">
				<Constraint AxisLocal="(1;0;0)" MinLimit="-15" MaxLimit="15" Type="Hinge">
					<Motor Damping="32000" Spring="320000" Type="Spring" />
				</Constraint>
				<Body ImpactType="Truck" Mass="630" ModelFrame="BoneCabin_cdt">
					<Constraint AxisLocal="(1;0;0)" MinLimit="-0.5" MaxLimit="0.5" Type="Hinge">
						<Motor Damping="10000" Spring="100000" Type="Spring" />
					</Constraint>
					<Body AngularDamping="10.0" Collisions="None" Mass="10" ModelFrame="BoneMGL_cdt">
						<Constraint AxisLocal="(0;0;1)" MinLimit="-45" MaxLimit="15" Type="Hinge" />
					</Body>
					<Body AngularDamping="10.0" Collisions="None" Mass="10" ModelFrame="BoneMGR_cdt">
						<Constraint AxisLocal="(0;0;1)" MinLimit="-45" MaxLimit="15" Type="Hinge" />
					</Body>
					<Body _template="SideMirror" ModelFrame="BoneMirrorLeft_cdt" />
					<Body _template="SideMirror" ModelFrame="BoneMirrorRight_cdt" />
				</Body>
			</Body>
		</Body>
			<Light
			AttenEnd="6"
			Color="g(440; 440; 0) x 2"
			Dir="(1.0; -0.2; 0)"
			InnerCone="60"
			OuterCone="120"
			Pos="(5.285; 0.5; -1.037)"
			Size="0.1"
		/>
		<Light
			AttenEnd="6"
			Color="g(440; 440; 0) x 2"
			Dir="(1.0; -0.2; 0)"
			InnerCone="60"
			OuterCone="120"
			Pos="(5.25; 0.5; 0.941)"
			Size="0.1"
		/>
		<Flare
			_template="TrunkLight"
			Size="0.13"
			SizeAtDay="0.1"
			Pos="(4.634; 1.087; 0.91)"
			ParentFrame="BoneFront_cdt"
		/>
		<Flare
			_template="TrunkLight"
			Size="0.13"
			SizeAtDay="0.1"
			Pos="(4.633; 1.079; -0.917)"
			ParentFrame="BoneFront_cdt"
		/>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Light _template="IgnitionSignalWhite" Pos="(5.4; 1.42; 0.00)" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.4; 1.42; 1.08)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="IgnitionSignalWhite" Pos="(4.4; 1.42;-1.08)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.639; 2.769; -0.177)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.639; 2.769;  0.000)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="MarkerBeacon" Pos="(2.639; 2.769;  0.177)" ParentFrame="BoneCabin_cdt" />
		</Ignition>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(4.422; 1.419;  0.788)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(4.422; 1.419; -0.788)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight"	Pos="(4.422; 1.419;  0.788)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="HeadLight"	Pos="(4.422; 1.419; -0.788)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak"	Pos="(4.422; 1.419;  0.788)" ParentFrame="BoneCabin_cdt" />
			<Flare _template="BlueStreak"	Pos="(4.422; 1.419; -0.788)" ParentFrame="BoneCabin_cdt" />
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(4.922; 1.419; 0.0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="3" ExcludeAddons="ural_cistern">
		<WinchSocket Pos="( 4.792; 0.773; 0.00)" ParentFrame="BoneFront_cdt" />
		<WinchSocket Pos="(-2.805; 0.775; 0.00)" />
		<WinchSocket Pos="(1.31; 0.875;  0.533)" />
		<WinchSocket Pos="(1.31; 0.875; -0.533)" />
		<CompletionStarsDecal Dir="(0; 0; 1)" Pos="(2.497; 1.886; 0.949)" Size="0.8"/>
		<AddonSockets>
			<Socket Names="dop_top255"  ParentFrame="BoneFront_cdt" Offset="(0.81;-0.15;0)" />
		</AddonSockets>
			<AddonSockets>
			<Socket Names="KrazCartTrailer" Offset="(-2.33; 1.3; 0.0)" />
			<Socket Names="UralCartTrailer" Offset="(-2.85; 0.8; 0.0)" />
			<Socket Names="KamazTrailerCart" Offset="(-2.85; 0.8; 0)" />
			<Socket Names="KamazTrailer" Offset="(-1.1; 1.2; 0)"/>
			<Socket Names="255b_rospusk_long6" Offset="(-2.86; 0.79; 0.0)" />
			<Socket Names="255b_pric" Offset="(-2.82; 0.77; 0)" />
		</AddonSockets>
		<AddonSockets>
		    <Socket Names="255b_Platform_6" Offset="(1.05; -0.17; 0.0)" />
			<Socket Names="KrazTractor,KrazCart,KrazCartNoBackup" Offset="(-0.1;0;0)"/>
			<Socket Names="KrazCartCrane" NamesBlock="KrazCartTrailer,UralCartTrailer" Offset="(0;0.2;0)" />
			<Socket Names="KrazCistern" NamesBlock="" />
			<Socket Names="255_bort"  Offset="(0.85; -0.3; 0)" />
			<Socket Names="255b_Samosval" Offset="(-0.14;0.0; 0)" NamesBlock="1_stanina,Kraz_ZBackup_Wheel,255b_krazopora" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsShort" Offset="(0.4; -0.06; -0.02)" />
			<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)" />
			<Socket Names="Brevna8" Offset="(2.75; -0.51; 0)" ParentFrame="" />
			<Socket Names="255b_Remka_Sam_Utility" ParentFrame="Bonekuzov_cdt" Offset="(-0.2; 0.05; 0.0)" />
			<Socket Names="255b_GarageParts" ParentFrame="Bonekuzov_cdt" Offset="(-0.4; -0.15; 0)" />
			<Socket Names="255b_Cisterna" ParentFrame="Bonekuzov_cdt"  Offset="(-0.2; 0.1; 0)" NamesBlock="Kraz_ZBackup_Wheel" />
			<Socket Names="255b_Bort_Remka" Offset="(1.0; -0.96; 0.0)" />
			<Socket Names="Kraz256LoadBrevna" Offset="(-0.2; 0.16; 0.0)" ParentFrame="BoneKuzov_cdt" />
			<Socket Names="Kraz256LoadSend"  Offset="(-0.25; 0.08; 0.0)" ParentFrame="BoneKuzov_cdt" />
			<Socket Names="Kraz255bBrevna" Offset="(-0.45; -0.05; 0.0)" ParentFrame="BoneKuzov_cdt" />
		</AddonSockets>
		<AddonSockets>
		    <Socket Names="255b_Bak_remka" Offset="(0.8; -0.14; 0.0)" ParentFrame="BoneChassis_cdt" />
			<Socket Names="1_stanina" Offset="(1.2;-0.2;-0.05)" ParentFrame="BoneFront_cdt" NamesBlock="KrazCartCrane,KrazCistern,KrazCartNoBackup" />
		    <Socket Names="Kraz_ZBackup_Wheel" Offset="(1.0; -0.05; 0)"  ParentFrame="BoneFront_cdt" />
		</AddonSockets>
		<AddonSockets>
		    <Socket Names="Kraz255zashhita_far" Offset="(0.36;-0.08;0.0)" ParentFrame="BoneCabin_cdt" />	
		</AddonSockets>
		<AddonSockets>				    
			<Socket Names="krane255" Offset="(0.25;0.3;0)"   />
		</AddonSockets>
		<AddonSockets>	
			<Socket Names="255b_Remka" Offset="(-0.17; 0.085; 0.0)" ParentFrame="Bonekuzov_cdt" />
		</AddonSockets>
	</GameData>
</Truck>
