<_templates Include="trucks">
	<Wheel>
		<Wheel
			Type="orkd2eai"
			HardpointOffsetY="-0.25"
			SuspensionMin="-0.3"
			SuspensionStrength="0.015"
			Torque="default"
			SuspensionDamping="-0.05"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.6"
		HardpointDefaultZ="1.12"
	>
		<Wheel _template="Wheel" HardpointX="-6.498" />
		<Wheel _template="Wheel" HardpointX="-6.498" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-7.794" />
		<Wheel _template="Wheel" HardpointX="-7.794" RightSide="true" />
	</Wheels>
	<TruckData FuelCapacity="4200" RepairsCapacity="400" >
		<OcclusionMap HalfSizeZ="1.75" MinX="-7.84" MaxX="1.36" />
<LimitedFluid
			Center="(-3.955; 2.26; 0)"
			LengthX="8.9"
			RadiusY="0.9"
			RadiusZ="1.3"
			Type="Cylinder"
		/>
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-6.0; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle0" LeftWheel="0" RightWheel="1" />
			<Axle Frame="BoneAxle1" LeftWheel="2" RightWheel="3" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="foot_push">
			<Constraint Name="Foot" Position="-0.8" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/trailerbecemanefaz">
		<Body CenterOfMassOffset="(-0.8; -0.6; 0)" Mass="2000">
			<Body
				ForceBodyParams="true"
				Mass="100"
				ModelFrame="BoneFoot"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-0.610"
					MaxLimit="0"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="16000" Type="Position" />
				</Constraint>
                 </Body>
		      <Body
						AngularDamping="3.0"
						Collisions="None"
						Mass="10"
						ModelFrame="LeftMudguardBone"
					>
						<Constraint
						AxisLocal="(0.0; 0.0; 1.0)"
							MinLimit="-45"
							MaxLimit="25"
							Type="Hinge"
						/>
					</Body>
					<Body
						AngularDamping="3.0"
						Collisions="None"
						Mass="10"
						ModelFrame="RightMudguardBone"
					>
						<Constraint
						AxisLocal="(0.0; 0.0; 1.0)"
							MinLimit="-45"
							MaxLimit="25"
							Type="Hinge"
					/>
				 </Body>           
                       <Body
						AngularDamping="3.0"
						Collisions="None"
						Mass="10"
						ModelFrame="MudguardBone"
					>
						<Constraint
						AxisLocal="(0.0; 0.0; 1.0)"
							MinLimit="-45"
							MaxLimit="25"
							Type="Hinge"
					/>
				</Body>
                </Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-7.87; 0.593; 0)" />
			<Flare _template="StopSignal" Pos="(-8.745; 1.25; 0.829)" />
			<Flare _template="StopSignal" Pos="(-8.745; 1.251; -0.846)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-7.87; 0.593; 0)" />
			<Flare _template="ReverseSignal" Pos="(-8.745; 1.25; 0.912)" />
			<Flare _template="ReverseSignal" Pos="(-8.745; 1.251; -0.931)" />
		</ReverseSignals>
		<Ignition>
			<Flare _template="RedSignal" Pos="(-8.745; 1.25; 1.079)" />
			<Flare _template="RedSignal" Pos="(-8.745; 1.251; -1.098)" />
		</Ignition>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-8.05; 0.65; 0.53)" />
		<WinchSocket Pos="(-8.05; 0.65; -0.53)" />
		<WinchSocket Pos="(0.437; 1.417; 0)" />
		<RequiredAddon Types="maz_big_tractor,maz_tractor,kraz_tractor,mzkt_tractor" />
           <InstallSocket Offset="(-0.50; 1.2; 0.0)" Type="KamazTrailer11" />
	</GameData>
	<FuelMass>
		<Body  Mass="6500" />
	</FuelMass>
</Truck>
