<_templates Include="trucks">
	<Wheel>
		<TrailerWheel
			HardpointOffsetY="-0.37"
			SuspensionMin="-0.4"
			SuspensionStrength="0.005"
			Type="kraz_double_highwayR_xam"
			ParentFrame="BoneRear_cdt"
		/>
	</Wheel>
	<Flare>
		<RedSignal
			Color="g(169; 0; 0)"
			Dir="(-1;0;0)"
			DirAngle="90"
			Size="0.6"
		/>
	</Flare>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.744"
		HardpointDefaultZ="1.0"
	>
		<Wheel _template="TrailerWheel" HardpointX="-6.557" />
		<Wheel _template="TrailerWheel" HardpointX="-6.557" RightSide="true" />
		<Wheel _template="TrailerWheel" HardpointX="-7.862" />
		<Wheel _template="TrailerWheel" HardpointX="-7.862" RightSide="true" />
		<Wheel _template="TrailerWheel" HardpointX="-9.182" />
		<Wheel _template="TrailerWheel" HardpointX="-9.182" RightSide="true" />
	</Wheels>
	<TruckData FuelCapacity="1500" RepairsCapacity="1000">
		<OcclusionMap HalfSizeZ="1.75" MinX="-11.75" MaxX="0.75" />
		<LimitedFluid
			Center="(-0.232; 1.94; 0)"
			LengthX="-2.804"
			RadiusY="0.613"
			RadiusZ="-1.16"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(-4.617; 1.94; 0)"
			LengthX="-2.804"
			RadiusY="0.613"
			RadiusZ="-1.16"
			Type="Cylinder"
		/>
		<LimitedFluid
			Center="(-7.695; 1.94; 0)"
			LengthX="-2.804"
			RadiusY="0.613"
			RadiusZ="-1.16"
			Type="Cylinder"
		/>
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-5.071; 0.887; 0)" RadiusMultiplier="2.0" />
		<Axles>
			<Axle Frame="BoneAxle0" LeftWheel="0" RightWheel="1" />
			<Axle Frame="BoneAxle1" LeftWheel="2" RightWheel="3" />
			<Axle Frame="BoneAxle2" LeftWheel="4" RightWheel="5" />
		</Axles>
	</TruckData>
	<RepairsHide>
		<XMC HideThreshold="0.0" Name="rem" />
	</RepairsHide>
	<PoweredConstraints>
		<Group Id="Close bort">
			<Constraint
				MaxLimit="0"
				Name="Bort"
				Position="-106"
				TerminalFix="true"
			/>
		</Group>
		<Group Id="_trailer_foot">
			<Constraint Name="Foot" Position="1.0" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/shalandaremxam">
		<Body
			CenterOfMassOffset="(-1.5; -0.4; 0)"
			ImpactType="Truck"
			Mass="1000"
			ModelFrame="BoneFront_cdt"
		>
			<Body
				CenterOfMassOffset="(0.0; -0.4; 0)"
				ImpactType="Truck"
				Mass="1000"
				ModelFrame="BoneRear_cdt"
			>
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-15"
					MaxLimit="15"
					PivotOffset="(-10.910; -1.23; 0)"
					Type="Hinge"
				>
					<Motor Damping="10000" Spring="200000" Type="Spring" />
				</Constraint>
				<Body
					Collisions="Internal"
					Mass="200"
					ModelFrame="BoneBack_cdt"
					NoFoliageCollisions="true"
				>
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-106"
						MaxLimit="0"
						Name="Bort"
						Type="Hinge"
					>
						<Motor Force="6000" Type="Position" />
					</Constraint>
				</Body>
			</Body>
			<Body
				ForceBodyParams="true"
				Mass="100"
				ModelFrame="BoneFoot_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0.1"
					MaxLimit="1.0"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="62000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-10.7; 1.065; 0)" ParentFrame="BoneRear_cdt" />
			<Flare _template="StopSignal" Pos="(-11.097; 1.093; 0.87)" ParentFrame="BoneRear_cdt" />
			<Flare _template="StopSignal" Pos="(-11.097; 1.093; -0.792)" ParentFrame="BoneRear_cdt" />
		</StopSignals>
		<ReverseSignals>
			<Model
				Dir="(-1.0; -0.4; 0)"
				Mesh="env/light_ray"
				Org="(-11.097; 1.094; 0.786)"
				ParentFrame="BoneRear_cdt"
			/>
			<Model
				Dir="(-1.0; -0.4; 0)"
				Mesh="env/light_ray"
				Org="(-11.097; 1.094; -0.711)"
				ParentFrame="BoneRear_cdt"
			/>
			<Model
				Dir="(-0.947; -0.058; 0.316)"
				Mesh="env/light_ray"
				Org="(1.307; 3.164; 1.136)"
				ParentFrame="BoneFront_cdt"
			/>
			<Model
				Dir="(-0.947; -0.058; -0.316)"
				Mesh="env/light_ray"
				Org="(1.307; 3.164; -1.109)"
				ParentFrame="BoneFront_cdt"
			/>
			<Light _template="ReverseSignal" Pos="(-10.7; 1.065; 0)" ParentFrame="BoneRear_cdt" />
			<Light
				_template="ReverseSignal"
				AttenEnd="10"
				Dir="(-0.947; -0.058; -0.316)"
				Pos="(-2.793; 3.164; -1.109)"
				ParentFrame="BoneFront_cdt"
			/>
			<Light
				_template="ReverseSignal"
				AttenEnd="10"
				Dir="(-0.947; -0.058; 0.316)"
				Pos="(-2.793; 3.164; 1.136)"
				ParentFrame="BoneFront_cdt"
			/>
			<Flare _template="ReverseSignal" Pos="(-11.097; 1.094; 0.786)" ParentFrame="BoneRear_cdt" />
			<Flare _template="ReverseSignal" Pos="(-11.097; 1.094; -0.711)" ParentFrame="BoneRear_cdt" />
			<Flare
				_template="ReverseSignal"
				Dir="(-0.947; -0.058; 0.316)"
				Pos="(1.307; 3.164; 1.136)"
				ParentFrame="BoneFront_cdt"
			/>
			<Flare
				_template="ReverseSignal"
				Dir="(-0.947; -0.058; -0.316)"
				Pos="(1.307; 3.164; -1.109)"
				ParentFrame="BoneFront_cdt"
			/>
		</ReverseSignals>
		<Ignition>
			<Flare _template="RedSignal" Pos="(-11.097; 1.093; 1.005)" ParentFrame="BoneRear_cdt" />
			<Flare _template="RedSignal" Pos="(-11.097; 1.093; -0.91)" ParentFrame="BoneRear_cdt" />
		</Ignition>
	</ModelAttachments>
	<GameData GaragePoints="4">
		<WinchSocket Pos="(-11.079; 1.021; -0.6)" ParentFrame="BoneRear_cdt" />
		<WinchSocket Pos="(-11.05; 1.032; 0.61)" ParentFrame="BoneRear_cdt" />
		<WinchSocket Pos="(-0.007; 1.468; 0)" ParentFrame="BoneFront_cdt" />
		<RequiredAddon Types="kraz_tractor" />
		<InstallSocket Offset="(0.005; 1.424; 0)" Type="krazshalandaxam" />
	</GameData>
	<FuelMass>
		<Body Mass="1500" />
	</FuelMass>
</Truck>
