<_templates Include="trucks">
	<Wheel>
		<Wheel
			HardpointOffsetY="-0.20"
			SuspensionMin="-0.20"
			SuspensionStrength="0.035"
			Type="tz22wheels"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.644"
		HardpointDefaultZ="0.98"
	>
		<Wheel _template="Wheel" HardpointX="-4.642" />
		<Wheel _template="Wheel" HardpointX="-4.642" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-6.109" />
		<Wheel _template="Wheel" HardpointX="-6.109" RightSide="true" />
	</Wheels>
	<TruckData FuelCapacity="5500">
		<OcclusionMap
			HalfSizeZ="1.85"
			MinX="-9.00"
			MaxX="1.10"
			Texture="trucks/occlusion/chassis_trailer__s_d_a.tga"
		/>
		<LimitedFluid
			Center="(-3.696; 2.289; 0)"
			LengthX="8.83"
			RadiusY="0.642"
			RadiusZ="1.42"
			Type="Cylinder"
		/>
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-6.109; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle1" />
			<Axle Frame="BoneAxle2" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint Name="Foot" Position="0.52" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/tz22">
		<Body
			CenterOfMassOffset="(-0.5; -0.5; 0)"
			ImpactType="Truck"
			Mass="3500"
		>
			<Body CenterOfMassOffset="(0; 0; 0)" ImpactType="Truck" Mass="500" ModelFrame="BoneFuel_cdt">
				<Constraint Type="Fixed"  />
			</Body>
			<Body ForceBodyParams="true" NoFoliageCollisions="true" Mass="500" ModelFrame="BoneFoot_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0"
					MaxLimit="0.52"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="300000" Type="Position" Damping="1.0" Tau="0.2" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-9.640; 0.977;  1.276)" />
			<Light _template="IgnitionSignalRed" Pos="(-9.640; 0.977; -1.276)" />
			<Flare _template="IgnitionSignalRed" Pos="(-9.040; 1.177;  1.276)" Size="0.40" AspectRatio="0.65" Color="g(169; 0; 0) x 1.0" />
			<Flare _template="IgnitionSignalRed" Pos="(-9.040; 1.177; -1.276)" Size="0.40" AspectRatio="0.65" Color="g(169; 0; 0) x 1.0" />
		</Ignition>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-9.640; 0.977;  1.276)" />
			<Light _template="StopSignal" Pos="(-9.640; 0.977; -1.276)" />
			<Flare _template="StopSignal" Pos="(-9.040; 1.177;  1.276)" Size="0.50" AspectRatio="0.80" Color="g(255; 0; 0) x 0.8" />
			<Flare _template="StopSignal" Pos="(-9.040; 1.177; -1.276)" Size="0.50" AspectRatio="0.80" Color="g(255; 0; 0) x 0.8" />
		</StopSignals>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="( 0.00; 1.38;  0.000)" />
		<WinchSocket Pos="(-9.01; 0.76;  0.385)" />
		<WinchSocket Pos="(-9.01; 0.76; -0.385)" />
		<RequiredAddon Types="maz_tractor,kraz_tractor" />
		<RequiredAddon Types="ural_exhaust" />
		<InstallSocket Offset="(0.00; 1.25; 0.0)" Type="KamazTrailer" />
	</GameData>
	<FuelMass>
		<Body Mass="8250" ParentFrame="BoneFuel_cdt" />
	</FuelMass>
</Truck>
