<TruckAddon IsChassisFullOcclusion="true">
	<PoweredConstraints>
		<Group Id="crane_grap">
			<Constraint InitialFix="true" Name="RightGrappler" Position="120" />
			<Constraint InitialFix="true" Name="LeftGrappler" Position="-120" />
		</Group>
		<Group Id="anchors_extend">
			<Constraint
				InitialFix="true"
				Name="AnchorExt"
				Position="0.6"
				TerminalFix="true"
			/>
		</Group>
		<Group Id="anchors_position">
			<Constraint Name="RightAnchorBase" Position="-176" TerminalFix="true" />
			<Constraint Name="LeftAnchorBase" Position="176" TerminalFix="true" />
		</Group>
		<Group Id="anchors_push">
			<Constraint Name="Anchor" Position="1" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/42arc35m">
		<Body
			ImpactType="Truck"
			Mass="1400"
			Collision="None"
			ModelFrame="BoneCart_cdt"
		>
			<Constraint Type="Fixed" />
			<Body Mass="400" ModelFrame="BoneRotationBase_cdt" Collision="None">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-350"
					MaxLimit="350"
					Name="Crane"
					Type="Hinge"
				>
					<Motor Force="40000" Tau="0.2" 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
										ModelFrame="BoneGrapplerLeft_cdt"
										Collisions="Internal"
										ForceBodyParams="true"
										Friction="6"
										Mass="150"
										NoClientCollisions="true"
									>
										<Constraint
											MinLimit="-160"
											MaxLimit="0"
											Name="LeftGrappler"
											AxisLocal="(0;0;-1)"
											Type="Hinge"
										>
											<Motor
												Damping="1.0"
												Force="10000"
												Tau="0.2"
												Type="Position"
											/>
										</Constraint>
									</Body>
									<Body
										ModelFrame="BoneGrapplerRight_cdt"
										Collisions="Internal"
										ForceBodyParams="true"
										Friction="6"
										Mass="150"
										NoClientCollisions="true"
									>
										<Constraint
											MinLimit="0"
											MaxLimit="160"
											Name="RightGrappler"
											AxisLocal="(0;0;-1)"
											Type="Hinge"
										>
											<Motor
												Damping="1.0"
												Force="10000"
												Tau="0.2"
												Type="Position"
											/>
										</Constraint>
									</Body>
								</Body>
							</Body>
						</Body>
					</Body>
				</Body>
			</Body>
			<Body ModelFrame="BoneLeftAnchorExt_cdt" Collisions="None" Mass="200">
				<Body ModelFrame="BoneLeftAnchorBase_cdt" Collisions="None" Mass="150">
					<Constraint
						MinLimit="0"
						MaxLimit="178"
						Name="LeftAnchorBase"
						AxisLocal="(-1;0;0)"
						Type="Hinge"
					>
						<Motor Force="2000" Type="Position" />
					</Constraint>
					<Body
						ModelFrame="BoneLeftAnchor_cdt"
						ForceBodyParams="true"
						Mass="100"
						NoFoliageCollisions="true"
					>
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="0"
							MaxLimit="1"
							Name="Anchor"
							Type="Prismatic"
						>
							<Motor Force="9000" Type="Position" />
						</Constraint>
					</Body>
				</Body>
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="4000" Tau="0.2" Type="Position" />
				</Constraint>
			</Body>
			<Body ModelFrame="BoneRightAnchorExt_cdt" Collisions="None" Mass="200">
				<Body ModelFrame="BoneRightAnchorBase_cdt" Collisions="None" Mass="150">
					<Constraint
						MinLimit="-178"
						MaxLimit="0"
						Name="RightAnchorBase"
						AxisLocal="(-1;0;0)"
						Type="Hinge"
					>
						<Motor Force="2000" Type="Position" />
					</Constraint>
					<Body
						ModelFrame="BoneRightAnchor_cdt"
						ForceBodyParams="true"
						Mass="100"
						NoFoliageCollisions="true"
					>
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="0"
							MaxLimit="1"
							Name="Anchor"
							Type="Prismatic"
						>
							<Motor Force="9000" Type="Position" />
						</Constraint>
					</Body>
				</Body>
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="4000" Tau="0.2" Type="Position" />
				</Constraint>
			</Body>
			<Body ModelFrame="BoneLeftAnchorExt2_cdt" Collisions="None" Mass="200">
				<Body ModelFrame="BoneLeftAnchorBase2_cdt" Collisions="None" Mass="150">
					<Constraint
						MinLimit="0"
						MaxLimit="178"
						Name="LeftAnchorBase"
						AxisLocal="(-1;0;0)"
						Type="Hinge"
					>
						<Motor Force="2000" Type="Position" />
					</Constraint>
					<Body
						ModelFrame="BoneLeftAnchor2_cdt"
						ForceBodyParams="true"
						Mass="100"
						NoFoliageCollisions="true"
					>
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="0"
							MaxLimit="1"
							Name="Anchor"
							Type="Prismatic"
						>
							<Motor Force="9000" Type="Position" />
						</Constraint>
					</Body>
				</Body>
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="4000" Tau="0.2" Type="Position" />
				</Constraint>
			</Body>
			<Body ModelFrame="BoneRightAnchorExt2_cdt" Collisions="None" Mass="200">
				<Body ModelFrame="BoneRightAnchorBase2_cdt" Collisions="None" Mass="150">
					<Constraint
						MinLimit="-178"
						MaxLimit="0"
						Name="RightAnchorBase"
						AxisLocal="(-1;0;0)"
						Type="Hinge"
					>
						<Motor Force="2000" Type="Position" />
					</Constraint>
					<Body
						ModelFrame="BoneRightAnchor2_cdt"
						ForceBodyParams="true"
						Mass="100"
						NoFoliageCollisions="true"
					>
						<Constraint
							AxisLocal="(0;0;1)"
							MinLimit="0"
							MaxLimit="1"
							Name="Anchor"
							Type="Prismatic"
						>
							<Motor Force="9000" Type="Position" />
						</Constraint>
					</Body>
				</Body>
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="4000" Tau="0.2" Type="Position" />
				</Constraint>
			</Body>
			<Body ImpactType="Truck" Mass="400" ModelFrame="platform">
				<Constraint Type="Fixed" />
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<HeadLight>
			<Model
				Org="(1.697; 3.356; 0.425)"
				Dir="(-1; -0.1; -0.1)"
				ParentFrame="BoneArm1_cdt"
				Mesh="env/light_ray"
			/>
			<Model
				Org="(1.697; 3.356; -0.025)"
				Dir="(-1; -0.1; 0.1)"
				ParentFrame="BoneArm1_cdt"
				Mesh="env/light_ray"
			/>
			<Flare
				Size="0.7"
				Pos="(1.697; 3.356; 0.425)"
				Dir="(-1; -0.2; 0)"
				ParentFrame="BoneArm1_cdt"
				AspectRatio="1.4"
				Color="g(141; 133; 117) x 1.4"
				ColorMultAtDay="0.7"
				DirAngle="90"
				Reflections="true"
				SizeMultAtDay="0.8"
			/>
			<Flare
				Size="0.7"
				Pos="(1.697; 3.356; -0.025)"
				Dir="(-1; -0.2; 0)"
				ParentFrame="BoneArm1_cdt"
				AspectRatio="1.4"
				Color="g(141; 133; 117) x 1.4"
				ColorMultAtDay="0.7"
				DirAngle="90"
				Reflections="true"
				SizeMultAtDay="0.8"
			/>
			<Flare
				Pos="(1.697; 3.356; 0.425)"
				Dir="(-1; -0.2; 0)"
				ParentFrame="BoneArm1_cdt"
				AspectRatio="4.0"
				Color="g(0; 0; 255) x 0.2"
				ColorMultAtDay="0"
				DirAngle="45"
				Size="1.4"
				Texture="sfx/flare_line__s_d.tga"
			/>
			<Flare
				Pos="(1.697; 3.356; -0.025)"
				Dir="(-1; -0.2; 0)"
				ParentFrame="BoneArm1_cdt"
				AspectRatio="4.0"
				Color="g(0; 0; 255) x 0.2"
				ColorMultAtDay="0"
				DirAngle="45"
				Size="1.4"
				Texture="sfx/flare_line__s_d.tga"
			/>
		</HeadLight>
	</ModelAttachments>
	<HeadLight
		AttenEnd="65"
		Dir="(-1.0; -0.8; 0)"
		Pos="(1.997; 3.376; 0.0)"
		ParentFrame="BoneArm1_cdt"
		AttenStart="1"
		Color="g(255; 212; 154) x 8.0"
		InnerCone="0"
		OuterCone="90"
	/>
	<GameData>
	<RequiredAddon Types="6490-MAYAKI" />
		<InstallSocket Type="etcrane" Offset="(0; 0; 0)" />
	</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; 0.968; 0)"
			HelperVisFrame="BoneGrappler_cdt"
			Id="crane"
			ModelFrames="BoneCart_cdt,BoneRotationBase_cdt,BoneArm1_cdt,BoneArm2_cdt,BoneArm3_cdt"
		/>
	</ControlledIK>
	<ControlledConstraints>
		<Constraint Id="crane_grappler" LinkedControlledIK="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>
	</AutomaticIK>
	<AddonCamera
		ParentFrame="Box001"
		FirstPersonPos="(0.75; 4.76; 0.8)"
		FirstPersonDir="(1.0; -0.32; 0.0)"
	/>
</TruckAddon>
