<_templates Include="trucks">
	<Wheel>
		<RearWheel
			ConnectedToHandbrake="true"
			Type="Wheels_gaz53_double_pyatak"
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.34"
			HardpointZ="0.8"
			ParentFrame="BoneRama_cdt"
			SuspensionStrength="0.024"
			Torque="default"
		/>
		<FrontWheel
			Type="Wheels_gaz53_pyatak"
			HardpointOffsetY="-0.1"
			SteeringAngle="40"
			SteeringCastor="8"
			SuspensionMin="-0.34"
			SuspensionStrength="0.024"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.48"
		HardpointDefaultZ="0.815"
	>
		<Wheel _template="FrontWheel" HardpointX="2.18" />
		<Wheel _template="FrontWheel" HardpointX="2.18" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-1.297" />
		<Wheel _template="RearWheel" HardpointX="-1.297" RightSide="true" />
	</Wheels>
	<TruckData
		BackSteerSpeed="0.06"
		EngineIconMesh="env/engine_default"
		EngineIconScale="1.1"
		EngineStartDelay="2.0"
		ExhaustStartTime="1.1"
		FuelCapacity="160"
		LockClothOrigin="(0.75; -0.1; 0)"
		LockClothScale="0.8"
		Responsiveness="0.1"
		SteerSpeed="0.02"
	>
		<Steam Origin="(2.279; 1.31; -0.060)" Scale="0.5" />
		<SteeringRack
			Frame="BoneRack"
			FrameSteerLeft="BoneRackLeft"
			FrameSteerRight="BoneRackRight"
			RackHalfSizeZ="0.686"
		/>		
		<Sounds
			_template="Default"
			EngineHeavyVolume="0.8"
			Origin="(2.0; 1.2; 0)"
			ParentFrame="BoneCabin_cdt"
		>
			<EngineIdle Sound="6s0r1an" />
			<EngineLow Sound="6s0r10g" />
			<EngineHigh Sound="6s0r18o" />
			<EngineStart ExhaustStart="1.8" Sound="6s0r1cd" />
			<EngineStop Sound="6s0r13i" />
			<Handbrake Sound="6s0r16h" />
			<Crackle Sound="6s0r1oq" />
			<EngineHeavy Sound="6s0r1se" />
			<EngineRev Sound="gaz53_rev" />
			<Reverse Sound="6s0r183" />
			<Headlight Sound="truck/headlight" />
			<Gear Sound="truck/gear" />
			<ExhaustShot Sound="truck/shot" />
			<DiffLock Sound="truck/difflock" />
			<ChassisStress Sound="truck/stress" />
			<AbruptStop Sound="truck/swing" />
		</Sounds>
		<Shakers>
			<Shaker Frame="BoneExhaust_cdt" MaxAngle="(2; 2; 0)" MaxFrequency="4" />
		</Shakers>				
		<LimitedFluid
			Center="(0.985; 1.024; 0.13)"
			SizeX="0.454"
			SizeY="0.2"
			SizeZ="1.0"
			Type="Box"
		/>			
		<Shafts>
			<Shaft SocketPointA="Shaft1a" SocketPointB="Shaft1b" />
			<Shaft SocketPointA="Shaft2a" SocketPointB="Shaft2b" />
		</Shafts>
		<OcclusionVolume
			HalfSizeZ="1.40"
			HeightFront="0.3"
			HeightRear="0.7"
			MinX="-2.50"
			MaxX="2.50"
		>
			<FullOcclusion HeightRear="1.0" />
		</OcclusionVolume>
		<OcclusionMap HalfSizeZ="1.6" MinX="-2.8" MaxX="2.8" />
		<Motor MaxDeltaAngVel="0.01" Torque="70000">
			<ReverseGear AngVel="1.0" />
			<HighGear AngVel="6.0" />
			<Gear AngVel="1.0" />
			<Gear AngVel="3.5" />
			<Gear AngVel="6.0" />
			<Gear AngVel="9.5" />
			<Gear AngVel="15.0" />
		</Motor>
		<Exhaust Dir="(-0.5; -0.37; 0.93)" Origin="(0.03; 0.498; 0.721)" Speed="3.77" />
		<Driver Pos="(1.0; 1.25; 0.338)" SteeringWheelPos="(1.45; 1.67; 0.362)" ParentFrame="BoneCabin_cdt" />
		<Damage
			Capacity="800"
			SensationMin="(2.206; 1.5; 0)"
			SensationMax="(2.206; 1.9; 0)"
		/>
		<Camera RadiusMultiplier="0.9" ParentFrame="BoneCabin_cdt">
			<Cockpit
				_template="Default"
				ControlsDiffuse="g(62; 60; 54)"
				ControlsPos="(2.5; 10.87; 0.73)"
				ViewPos="(0.94; 1.9; 0.336)"
				WindshieldDiffuseTexture="trucks/gaz66_glass__d_a.tga"
			/>
		</Camera>		
		<Axles>
			<Axle Frame="Axle1" LeftWheel="0" RightWheel="1" />
			<Axle Frame="Axle2" LeftWheel="2" RightWheel="3" />
		</Axles>
	</TruckData>
	<PhysicsModel Mesh="trucks/gaz53_blue_rehetka">
		<Body
			ImpactType="Truck"
			Mass="3000"
			CenterOfMassOffset="(0.0; -0.4; 0)"
		>
			<Body
				CenterOfMassOffset="(-0.4; -0.3; 0)"
				ImpactType="Truck"
				Mass="1000"
				ModelFrame="BoneCabin_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-4"
					MaxLimit="4"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="240000" Type="Spring" />
				</Constraint>
				<Body
					Collisions="None"
					Mass="150"
					ModelFrame="BoneRul_cdt"
					ParentFrame="BoneCabin_cdt"
				>
					<Constraint
						AxisLocal="(0;-1;0)"
						MinLimit="-*"
						MaxLimit="*"
						Name="ChassisSteer"
						Type="Hinge"
						ParentFrame="BoneCabin_cdt"
					>
						<Motor
							Damping="0.5"
							Force="350"
							Tau="0.04"
							Type="Position"
						/>
					</Constraint>
				</Body>
			</Body>
			<Body
				CenterOfMassOffset="(-0.6; -0.3; 0)"
				ImpactType="Truck"
				Mass="1500"
				ModelFrame="BoneRama_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-4"
					MaxLimit="4"
					Type="Hinge"
				>
					<Motor Damping="24000" Spring="240000" Type="Spring" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<HeadLight>
			<Model _template="HeadLightRay" Org="(3.0; 1.07; 0.724)" ParentFrame="BoneCabin_cdt" />
			<Model _template="HeadLightRay" Org="(3.0; 1.07; -0.724)" ParentFrame="BoneCabin_cdt" />
			<Flare
				Color="g(231; 226; 200)x 0.4"
				Pos="(2.839; 1.1; -0.724)"
				ParentFrame="BoneCabin_cdt"
				Size="1.1"
				SizeAtDay="0.6"
			/>
			<Flare
				Color="g(231; 226; 200)x 0.4"
				Pos="(2.839; 1.1;  0.724)"
				ParentFrame="BoneCabin_cdt"
				Size="1.1"
				SizeAtDay="0.6"
			/>
		</HeadLight>
	</ModelAttachments>
	<HeadLight _template="Default" Pos="(2.58; 1.275; 0.0)" ParentFrame="BoneCabin_cdt" />
	<GameData BalancePoints="1" ExcludeAddons="trailer_tent">
		<WinchSocket Pos="(2.899; 0.849; 0.420)" />
		<WinchSocket Pos="(2.899; 0.849; -0.420)" />
		<WinchSocket Pos="(-2.426; 0.78; 0)" ParentFrame="BoneRama_cdt" />
		<AddonSockets>
			<Socket
				Names="KrazTractor"
				NamesBlock="s_1_zapaskoy,s_2_zapaskami,bez_zapasok,cementovoz,cementovoz_gaz53"
				ParentFrame="BoneRama_cdt"
				Offset="(-0.1; -0.35; 0.0)"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="gruz_zemla" Offset="(-0.08; 0.0; 0)" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="gruz_zemla_bort" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="gruz_zerno_gaz53" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="gruz_nevidivka" Offset="(-1.016; 1.344; 0)" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="LoadLogsMedium_gaz51" Offset="(-0.3; 0.0; 0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="gaz707232" Offset="(-1.15; 1.15; 0)" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="paz744" Offset="(-0.9; 1.15; 0)" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="pricep_benzovoz_gaz53" Offset="(-2.386; 0.770; -0.0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="znak" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="cep" ParentFrame="BoneRama_cdt" Offset="(0.2;0.0;0)" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="cmy_gaz53" ParentFrame="BoneCabin_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="briz" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="cementovoz" NamesBlock="zapaski_gaz51,zapaska_gaz51Юs_1_zapaskoy,s_2_zapaskami,bez_zapasok,cementovoz_gaz53,KrazTractor,s_1_zapaskoy" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket Names="zapaska_gaz51" NamesBlock="zapaski_gaz51" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="cementovoz_gaz53"
				NamesBlock="zapaski_gaz51"
				Offset="(-0.08; -0.0; 0.0)"
				ParentFrame="BoneRama_cdt"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket Names="zapaski_gaz51" ParentFrame="BoneRama_cdt" />
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="s_1_zapaskoy"
				NamesBlock="s_2_zapaskami,bez_zapasok,zapaski_gaz51"
				ParentFrame="BoneRama_cdt"
				Offset="(-0.08; -0.0; 0.0)"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="s_2_zapaskami"
				NamesBlock="bez_zapasok,s_1_zapaskoy"
				ParentFrame="BoneRama_cdt"
				Offset="(-0.08; -0.0; 0.0)"
			/>
		</AddonSockets>
		<AddonSockets>
			<Socket
				Names="bez_zapasok"
				NamesBlock="s_2_zapaskami,s_1_zapaskoy,zapaska_gaz51,zapaski_gaz51"
				ParentFrame="BoneRama_cdt"
				Offset="(-0.08; -0.0; 0.0)"
			/>
		</AddonSockets>
	</GameData>
	<ControlledConstraints>
		<Constraint Id="stering" IsLinkedSteering="true" Name="ChassisSteer" />
	</ControlledConstraints>
</Truck>
