<Truck>
	<Wheels
		HardpointDefaultY="0.549"
		HardpointDefaultZ="1.083"
	>
		<Wheel
			HardpointX="-4.555"
			HardpointOffsetY="-0.05"
			SuspensionMin="-0.2"
			SuspensionStrength="0.04"
			Torque="default"
			Type="us_truck_cistern_double"
		/>
		<Wheel
			HardpointX="-4.555"
			RightSide="true"
			HardpointOffsetY="-0.05"
			SuspensionMin="-0.2"
			SuspensionStrength="0.04"
			Torque="default"
			Type="us_truck_cistern_double"
		/>
		<Wheel
			HardpointX="-5.894"
			HardpointOffsetY="-0.05"
			SuspensionMin="-0.2"
			SuspensionStrength="0.04"
			Torque="default"
			Type="us_truck_cistern_double"
		/>
		<Wheel
			HardpointX="-5.894"
			RightSide="true"
			HardpointOffsetY="-0.05"
			SuspensionMin="-0.2"
			SuspensionStrength="0.04"
			Torque="default"
			Type="us_truck_cistern_double"
		/>
	</Wheels>
	<TruckData FuelCapacity="6800">
		<OcclusionMap
			HalfSizeZ="2.2"
			MinX="-8.329"
			MaxX="4.5"
			Texture="trucks/occlusion/chassis_trailer__s_d_a.tga"
		/>
		<LimitedFluid
			AxisX="(1; 0; 0)"
			Center="(-1.249; 2.687; 0)"
			LengthX="10.5"
			RadiusY="0.89"
			RadiusZ="1.21"
			Type="Cylinder"
		/>
		<Constraint
			PlaneAxisLocal="(0; 0; 1.0)"
			PlaneMin="-90"
			PlaneMax="90"
			TwistAxisLocal="(1.0; 0; 0)"
			TwistMin="-30"
			TwistMax="30"
			Type="Ragdoll"
		>
			<TwistMotor Damping="60000" Spring="320000" Type="Spring" />
		</Constraint>
		<Camera Center="(-4.0; 0; 0)" RadiusMultiplier="1.2" />
		<Axles>
			<Axle Frame="BoneAxleFront" />
			<Axle Frame="BoneAxleRear" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint
				InitialFix="true"
				Name="Leg"
				Position="65"
				Tau="0.04"
				TerminalFix="true"
			/>
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/us_semitrailer_cistern">
		<Body CenterOfMassOffset="(-4; 0; 0)" Mass="3000">
			<Body
				Mass="300"
				NoFoliageCollisions="true"
				ModelFrame="BoneLeg_cdt"
			>
				<Constraint
					AxisLocal="(0; 0; 1)"
					MinLimit="0"
					MaxLimit="65"
					Name="Leg"
					Type="Hinge"
				>
					<Motor Force="30000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light
				Pos="(-7.254; 0.738; 0)"
				AttenEnd="2.0"
				Color="(102; 1; 1) x 4"
				Dir="(-1.0; -0.2; 0)"
				InnerCone="120"
				OuterCone="160"
			/>
			<Flare
				Pos="(-7.024; 1.078; 0.657)"
				AspectRatio="1.4"
				Color="g(255; 0; 0) x 0.4"
				ColorMultAtDay="0.6"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Reflections="true"
				Size="1.8"
			/>
			<Flare
				Pos="(-7.024; 1.078; -0.657)"
				AspectRatio="1.4"
				Color="g(255; 0; 0) x 0.4"
				ColorMultAtDay="0.6"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Reflections="true"
				Size="1.8"
			/>
		</StopSignals>
		<Ignition>
			<Light
				Pos="(-7.19; 0.733; 0)"
				AttenEnd="1.0"
				Color="(102; 0; 0) x 0.8"
				Dir="(-1.0; -0.2; 0)"
				InnerCone="120"
				OuterCone="180"
			/>
			<Flare
				Pos="(-7.024; 1.079; 0.665)"
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(-1;0;0)"
				DirAngle="90"
				Size="0.5"
			/>
			<Flare
				Pos="(-7.024; 1.079; -0.665)"
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(-1;0;0)"
				DirAngle="90"
				Size="0.5"
			/>
			<Flare
				Pos="(-6.846; 1.368; 1.445)"
				ParentFrame="BoneCabin_cdt"
				Color="g(117; 94; 72) x 1."
				Size="0.3"
			/>
			<Flare
				Pos="(-6.846; 1.368; -1.445)"
				ParentFrame="BoneCabin_cdt"
				Color="g(117; 94; 72) x 1."
				Size="0.3"
			/>
			<Flare
				Pos="(-6.447; 3.415; 0.905)"
				ParentFrame="BoneCabin_cdt"
				Color="g(117; 94; 72) x 1."
				Size="0.3"
			/>
			<Flare
				Pos="(-6.447; 3.415; -0.905)"
				ParentFrame="BoneCabin_cdt"
				Color="g(117; 94; 72) x 1."
				Size="0.3"
			/>
			<Flare
				Pos="(3.889; 3.415; 0.853)"
				ParentFrame="BoneCabin_cdt"
				Color="g(117; 94; 72) x 1."
				Size="0.3"
			/>
			<Flare
				Pos="(3.889; 3.415; -0.853)"
				ParentFrame="BoneCabin_cdt"
				Color="g(117; 94; 72) x 1."
				Size="0.3"
			/>
		</Ignition>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-7.019; 1.093; 0.427)" />
		<WinchSocket Pos="(-7.019; 1.093; -0.427)" />
		<WinchSocket Pos="(-0.348; 1.269; 0.627)" />
		<WinchSocket Pos="(-0.348; 1.269; -0.627)" />
		<WinchSocket Pos="(3.991; 1.592; 0)" />
		<WinchSocket Pos="(2.893; 1.377; 0)" />
		<RequiredAddon Types="5slodgip" />
		<InstallSocket Offset="(2.893; 1.377; 0)" Type="UsSemiadstrailerCistern" />
	</GameData>
	<AutomaticIK>
		<IKBone ModelFrame="BoneLeg" ParentFrame="BoneChassis_cdt">
			<IKJoint AxisLocal="(0;0;1)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; -.9; 0)"
				AttachToFrame="BoneLeg_cdt"
				ModelFrame="BoneLegPiston"
			>
				<IKJoint
					AxisLocal="(0;1;0)"
					Type="Slider"
					MinLimit="0"
					MaxLimit=".49"
				/>
			</IKBone>
		</IKBone>
	</AutomaticIK>
	<FuelMass>
		<Body Mass="10000" />
	</FuelMass>
</Truck>
