<TruckAddon IsChassisFullOcclusion="true">
	<TruckData FuelCapacity="450" RepairsCapacity="300">
		<LimitedFluid
			Center="(0.5; 1.7; 0.027)"
			SizeX="0.44"
			SizeY="1.1"
			SizeZ="2.6"
			Type="Box"
		/>
	</TruckData>
	<PoweredConstraints>
		<Group
			Id="crane_grab"
			IsExplicitSound="true"
			IsGamepadHotkey="true"
		>
			<Constraint Name="RightGrappler" Position="120" />
			<Constraint Name="LeftGrappler" Position="-120" />
		</Group>
		<Group Id="anchors_position">
			<Constraint Name="RightAnchorBase" Position="-176" TerminalFix="true" />
			<Constraint Name="LeftAnchorBase" Position="176" TerminalFix="true" />
			<Constraint
				InitialFix="true"
				Name="AnchorExt"
				Position="0.6"
				TerminalFix="true"
			/>
		</Group>
		<Group Id="anchors_push">
			<Constraint Name="Anchor" Position="0.8" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/fb5ecgl8">
		<Model Mesh="trucks/tflrigk6" Org="(-1.0; -0.5; 0.0)" />
		<Body
			CenterOfMassOffset="(-1.0; -0.2; 0)"
			ImpactType="Truck"
			Mass="400"
		>
			<Constraint Type="Fixed" />
			<Body Mass="400" ModelFrame="BoneRotationBase_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-350"
					MaxLimit="350"
					Name="Crane"
					Type="Hinge"
				>
					<Motor Force="40000" Tau="0.04" Type="Position" />
				</Constraint>
				<Body Collisions="Internal" Mass="300" ModelFrame="BoneArm1_cdt">
					<Constraint
						AxisLocal="(1;0;0)"
						MinLimit="-70"
						MaxLimit="30"
						Name="Crane"
						Type="Hinge"
					>
						<Motor Force="120000" Tau="0.1" Type="Position" />
					</Constraint>
					<Body Collisions="Internal" Mass="200" ModelFrame="BoneArm2_cdt">
						<Constraint
							AxisLocal="(1;0;0)"
							MinLimit="-160"
							MaxLimit="0"
							Name="Crane"
							Type="Hinge"
						>
							<Motor Force="60000" Tau="0.2" Type="Position" />
						</Constraint>
						<Body Collisions="Internal" Mass="100" ModelFrame="BoneArm3_cdt">
							<Constraint
								AxisLocal="(0;1;0)"
								MinLimit="0"
								MaxLimit="1"
								Name="Crane"
								Type="Prismatic"
							>
								<Motor Force="50000" Tau="0.4" Type="Position" />
							</Constraint>
							<Body Collisions="Internal" Mass="50" ModelFrame="BoneGrapplerBase_cdt">
								<Constraint
									AxisLocal="(1;0;0)"
									MinLimit="-30"
									MaxLimit="150"
									Type="Hinge"
								>
									<Motor Damping="40" Spring="0" Type="Spring" />
								</Constraint>
								<Body
									Collisions="Internal"
									ForceBodyParams="true"
									Mass="50"
									ModelFrame="BoneGrappler_cdt"
								>
									<Constraint
										AxisLocal="(0;1;0)"
										MinLimit="-180"
										MaxLimit="180"
										Name="GrapplerBase"
										Type="Hinge"
									>
										<Motor Force="12000" Tau="0.1" Type="Position" />
									</Constraint>
									<Body
										Collisions="Internal"
										ForceBodyParams="true"
										Friction="2.0"
										Mass="100"
										ModelFrame="BoneGrapplerLeft_cdt"
										NoClientCollisions="true"
									>
										<Constraint
											AxisLocal="(0;0;1)"
											MinLimit="-160"
											MaxLimit="0"
											Name="LeftGrappler"
											Type="Hinge"
										>
											<Motor
												Damping="1.0"
												Force="8000"
												Tau="0.04"
												Type="Position"
											/>
										</Constraint>
									</Body>
									<Body
										Collisions="Internal"
										ForceBodyParams="true"
										Friction="2.0"
										Mass="100"
										ModelFrame="BoneGrapplerRight_cdt"
										NoClientCollisions="true"
									>
										<Constraint
											AxisLocal="(0;0;1)"
											MinLimit="0"
											MaxLimit="160"
											Name="RightGrappler"
											Type="Hinge"
										>
											<Motor
												Damping="1.0"
												Force="8000"
												Tau="0.04"
												Type="Position"
											/>
										</Constraint>
									</Body>
								</Body>
							</Body>
						</Body>
					</Body>
				</Body>
			</Body>
			<Body Collisions="None" Mass="200" ModelFrame="BoneLeftAnchorExt_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="4000" Tau="0.2" Type="Position" />
				</Constraint>
				<Body Collisions="None" Mass="150" ModelFrame="BoneLeftAnchorBase_cdt">
					<Constraint
						AxisLocal="(1;0;0)"
						MinLimit="0"
						MaxLimit="178"
						Name="LeftAnchorBase"
						Type="Hinge"
					>
						<Motor Force="2000" Type="Position" />
					</Constraint>
					<Body
						ForceBodyParams="true"
						Mass="100"
						ModelFrame="BoneLeftAnchor_cdt"
						NoFoliageCollisions="true"
					>
						<Constraint
							AxisLocal="(0;1;0)"
							MinLimit="0"
							MaxLimit="0.8"
							Name="Anchor"
							Type="Prismatic"
						>
							<Motor Force="8000" Type="Position" />
						</Constraint>
					</Body>
				</Body>
			</Body>
			<Body Collisions="None" Mass="200" ModelFrame="BoneRightAnchorExt_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="4000" Tau="0.2" Type="Position" />
				</Constraint>
				<Body Collisions="None" Mass="150" ModelFrame="BoneRightAnchorBase_cdt">
					<Constraint
						AxisLocal="(1;0;0)"
						MinLimit="-178"
						MaxLimit="0"
						Name="RightAnchorBase"
						Type="Hinge"
					>
						<Motor Force="2000" Type="Position" />
					</Constraint>
					<Body
						ForceBodyParams="true"
						Mass="100"
						ModelFrame="BoneRightAnchor_cdt"
						NoFoliageCollisions="true"
					>
						<Constraint
							AxisLocal="(0;1;0)"
							MinLimit="0"
							MaxLimit="0.8"
							Name="Anchor"
							Type="Prismatic"
						>
							<Motor Force="8000" Type="Position" />
						</Constraint>
					</Body>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<HeadLight>
			<Model
				Dir="(1.0; -0.1; 0)"
				Mesh="env/light_ray"
				Org="(1.997; 3.376; -0.24)"
				ParentFrame="BoneArm1_cdt"
			/>
			<Model
				Dir="(1.0; -0.1; 0)"
				Mesh="env/light_ray"
				Org="(1.997; 3.376; 0.24)"
				ParentFrame="BoneArm1_cdt"
			/>
			<Flare
				AspectRatio="4.0"
				Color="g(255; 0; 0) x 0.2"
				ColorMultAtDay="0"
				Dir="(1.0; 0; 0)"
				DirAngle="45"
				Pos="(1.997; 3.376; -0.24)"
				Size="1.4"
				Texture="sfx/flare_line__s_d.tga"
				ParentFrame="BoneArm1_cdt"
			/>
			<Flare
				AspectRatio="4.0"
				Color="g(255; 0; 0) x 0.2"
				ColorMultAtDay="0"
				Dir="(1.0; 0; 0)"
				DirAngle="45"
				Pos="(1.997; 3.376; 0.24)"
				Size="1.4"
				Texture="sfx/flare_line__s_d.tga"
				ParentFrame="BoneArm1_cdt"
			/>
		</HeadLight>
	</ModelAttachments>
	<HeadLight
		AttenEnd="60"
		AttenStart="1"
		Color="g(255; 255; 255) x 8"
		Dir="(1.0; -0.6; 0)"
		InnerCone="0"
		OuterCone="90"
		Pos="(1.997; 3.376; 0)"
		ParentFrame="BoneArm1_cdt"
	/>
	<GameData>
		<InstallSocket Type="6322SemKrane" />
	</GameData>
	<ControlledIK>
		<Chain
			AffectedFrames="BoneRotationBase_cdt,BoneArm1_cdt,BoneArm2_cdt,BoneArm3_cdt,BoneGrapplerBase_cdt,BoneGrappler_cdt,BoneGrapplerRight_cdt,BoneGrapplerLeft_cdt"
			CenterXZ="(1.021; 0)"
			EndOffset="(0; 2.168; 0)"
			HelperVisFrame="BoneGrappler_cdt"
			Id="crane"
			ModelFrames="BoneCart_cdt,BoneRotationBase_cdt,BoneArm1_cdt,BoneArm2_cdt,BoneArm3_cdt"
		/>
	</ControlledIK>
	<ControlledConstraints>
		<Constraint Id="crane_grappler" LinkToControlledIK="crane" Name="GrapplerBase" />
	</ControlledConstraints>
	<AutomaticIK>
		<IKBone ModelFrame="BoneConnector1" ParentFrame="BoneArm1_cdt">
			<IKJoint AxisLocal="(1;0;0)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; 0.65; 0)"
				AttachToFrame="BoneArm2_cdt"
				ModelFrame="BoneConnector2"
			>
				<IKJoint AxisLocal="(1;0;0)" Type="Hinge" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="BoneArmPistonBase" ParentFrame="BoneArm1_cdt">
			<IKJoint AxisLocal="(1;0;0)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; 1.333; 0)"
				AttachToFrame="BoneConnector1"
				ModelFrame="BoneArmPiston"
			>
				<IKJoint AxisLocal="(0;1;0)" Type="Slider" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="BoneBasePistonBase" ParentFrame="BoneArm1_cdt">
			<IKJoint AxisLocal="(1;0;0)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; 0.713; 0)"
				AttachToFrame="BoneRotationBase_cdt"
				ModelFrame="BoneBasePixton"
			>
				<IKJoint AxisLocal="(0;1;0)" Type="Slider" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="BoneGrapplerPistonBaseTop" ParentFrame="BoneGrapplerLeft_cdt">
			<IKJoint AxisLocal="(0;0;1)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; 0.296; 0)"
				AttachToFrame="BoneGrapplerRight_cdt"
				ModelFrame="BoneGrapplerPistonTop"
			>
				<IKJoint AxisLocal="(0;0;1)" Type="Slider" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="BoneGrapplerPistonBaseBottom" ParentFrame="BoneGrapplerRight_cdt">
			<IKJoint AxisLocal="(0;0;1)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; 0.316; 0)"
				AttachToFrame="BoneGrapplerLeft_cdt"
				ModelFrame="BoneGrapplerPistonBottom"
			>
				<IKJoint AxisLocal="(0;0;1)" Type="Slider" />
			</IKBone>
		</IKBone>
	</AutomaticIK>
	<AddonCamera
		FirstPersonDir="(1.0; -0.32; 0.0)"
		FirstPersonPos="(0.75; 3.76; 0.8)"
		ParentFrame="BoneRotationBase_cdt"
	/>
</TruckAddon>
