<TruckAddon IsChassisFullOcclusion="true">
	<PoweredConstraints>
		<Group Id="crane_grab">
			<Constraint Position="70" Name="RightGrappler" />
			<Constraint Position="-70" Name="LeftGrappler" />
		</Group>
		<Group Id="anchors_push">
			<Constraint Name="Anchor" Position="1.2" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<ControlledConstraints>
		<Constraint Id="crane_grappler" LinkToControlledIK="crane" Name="GrapplerBase" />
	</ControlledConstraints>
	<PhysicsModel Mesh="trucks/4422">
		<Body
			CenterOfMassOffset="(1.37; -0.106; 0)"
			ImpactType="Truck"
			Mass="3000"
		>
			<Constraint Type="Fixed" />
			<Body ForceBodyParams="true" Mass="800" ModelFrame="BoneAncorLeft_cdt" NoFoliageCollisions="true">
				<Constraint
					AxisLocal="(-0.122; -0.58; 0.805)"
					MinLimit="0"
					MaxLimit="1.2"
					Name="Anchor"
					Type="Prismatic"
				>
					<Motor Force="16000" Type="Position" />
				</Constraint>
				<Body Mass="150" ModelFrame="BoneFootL_cdt">
					<Constraint
						AxisLocal="(0.985; 0; 0.174)"
						MinLimit="-9"
						MaxLimit="3"
						Type="Hinge"
					>
						<Motor Damping="10" Spring="0" Type="Spring" />
					</Constraint>
				</Body>
			</Body>
			<Body ForceBodyParams="true" Mass="800" ModelFrame="BoneAnchorRight_cdt" NoFoliageCollisions="true">
				<Constraint
					AxisLocal="(-0.132; -0.57; -0.811)"
					MinLimit="0"
					MaxLimit="1.2"
					Name="Anchor"
					Type="Prismatic"
				>
					<Motor Force="16000" Type="Position" />
				</Constraint>
				<Body Mass="150" ModelFrame="BoneFootR_cdt">
					<Constraint
						AxisLocal="(0.989; 0; -0.149)"
						MinLimit="-3"
						MaxLimit="9"
						Type="Hinge"
					>
						<Motor Damping="10" Spring="0" Type="Spring" />
					</Constraint>
				</Body>
			</Body>
			<Body Mass="1000" ModelFrame="BoneRotationBase_cdt">
				<Constraint
					AxisLocal="(0; 1; 0)"
					MinLimit="-350"
					MaxLimit="350"
					Name="Crane"
					Type="Hinge"
				>
					<Motor Force="200000" Tau="0.02" Type="Position" />
				</Constraint>
				<Body Collisions="Internal" Mass="600" ModelFrame="BoneArm1_cdt">
					<Constraint
						AxisLocal="(0; 0; 1)"
						MinLimit="-50"
						MaxLimit="30"
						Name="Crane"
						Type="Hinge"
					>
						<Motor Force="320000" Type="Position" Tau="0.04" />
					</Constraint>
					<Body Collisions="Internal" Mass="400" ModelFrame="BoneArm2_cdt">
						<Constraint
							AxisLocal="(0; 0; 1)"
							MinLimit="0"
							MaxLimit="120"
							Name="Crane"
							Type="Hinge"
						>
							<Motor
								Damping="1.0"
								Type="Position"
								Force="120000"
								Tau="0.04"
							/>
						</Constraint>
						<Body Collisions="Internal" Mass="200" ModelFrame="BoneGrapplerBase_cdt">
							<Constraint
								AxisLocal="(0; 0; 1)"
								MinLimit="-150"
								MaxLimit="150"
								Type="Hinge"
								Name="Crane"
							>
								<Motor Damping="50" Spring="2" Type="Spring" />
							</Constraint>
							<Body
								Collisions="Internal"
								ForceBodyParams="true"
								Mass="200"
								ModelFrame="BoneGrappler_cdt"
								AngularDamping="10"
							>
								<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="4" Mass="200" ModelFrame="BoneGrapplerLeft_cdt" NoClientCollisions="true">
									<Constraint
										AxisLocal="(0; 0; 1)"
										MinLimit="-70"
										MaxLimit="0"
										Name="LeftGrappler"
										Type="Hinge"
									>
										<Motor
											Damping="1.0"
											Force="10000"
											Tau="0.8"
											Type="Position"
										/>
									</Constraint>
								</Body>
								<Body Collisions="Internal" ForceBodyParams="true" Friction="4" Mass="200" ModelFrame="BoneGrapplerRight_cdt" NoClientCollisions="true">
									<Constraint
										AxisLocal="(0; 0; 1)"
										MinLimit="0"
										MaxLimit="70"
										Name="RightGrappler"
										Type="Hinge"
									>
										<Motor
											Damping="1.0"
											Force="10000"
											Tau="0.8"
											Type="Position"
										/>
									</Constraint>
								</Body>
							</Body>
						</Body>
					</Body>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<GameData>
           <RequiredAddon Types="Cover for eo" />
		<InstallSocket Type="eo4422" Offset="(0.101; 0; 0)" />
	</GameData>
	<ControlledIK>
		<Chain
			CenterXZ="(-4.19;0.022)"
			EndOffset="(-2.303; -1.687; 0.014)"
			Id="crane"
			ModelFrames="BoneRoot_cdt, BoneRotationBase_cdt, BoneArm1_cdt, BoneArm2_cdt "
			VerticalLineFrame="BoneGrappler_cdt"
		/>
	</ControlledIK>
	<AutomaticIK>
		<IKBone ModelFrame="BoneCylender1" ParentFrame="BoneRotationBase_cdt">
			<IKJoint AxisLocal="(0; 0; 1)" Type="Hinge" />
			<IKBone ModelFrame="BoneRod1L" AttachOffset="(0; 0; 0)" AttachToFrame="BoneArm1_cdt">
				<IKJoint AxisLocal="(-0.28; -0.958; -0.057)" Type="Slider" />
			</IKBone>
			<IKBone ModelFrame="BoneRod1R" AttachOffset="(0; 0; 0)" AttachToFrame="BoneArm1_cdt">
				<IKJoint AxisLocal="(-0.289; -0.955; 0.063)" Type="Slider" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="BoneCylender2" ParentFrame="BoneArm1_cdt">
			<IKJoint AxisLocal="(0; 0; -1)" Type="Hinge" />
			<IKBone
				ModelFrame="BoneRod2"
				AttachOffset="(0; 0; 0)"
				AttachToFrame="BoneArm2_cdt"
			>
				<IKJoint AxisLocal="(-0.997; -0.078; 0.006)" Type="Slider" />
			</IKBone>
		</IKBone>
	</AutomaticIK>
	<AddonCamera
		FirstPersonDir="(0.828; -0.561; 0)"
		FirstPersonPos="(-1.659; 2.835; 0.828)"
		ParentFrame="BoneRotationBase_cdt"
	/>
	<HeadLight
		AttenEnd="32"
		AttenStart="1"
		Color="g(255; 212; 154) x 3.2"
		Dir="(0.929; -0.371; 0)"
		InnerCone="0"
		OuterCone="90"
		Pos="(-2.373; 3.74; 0)"
		ParentFrame="BoneArm1_cdt"
	/>
	<ModelAttachments>
		<HeadLight>
			<Flare AspectRatio="2.0" Pos="(-2.2; 3.785; -0.333)" Size="2" SizeMultAtDay="0.5" ParentFrame="BoneArm1_cdt" Dir="(0.929; -0.371; 0)" Color="g(141; 133; 117) x 1.4" ColorMultAtDay="0.7" DirAngle="90" Reflections="true" />
			<Flare AspectRatio="2.0" Pos="(-2.2; 3.785; +0.347)" Size="2" SizeMultAtDay="0.5" ParentFrame="BoneArm1_cdt" Dir="(0.929; -0.371; 0)" Color="g(141; 133; 117) x 1.4" ColorMultAtDay="0.7" DirAngle="90" Reflections="true" />
			<Flare AspectRatio="2.0" Pos="(-3.364; 3.661; -0.774)" Size="2" SizeMultAtDay="0.5" ParentFrame="BoneRotationBase_cdt" Dir="(0.999; -0.033; 0)" Color="g(141; 133; 117) x 1.4" ColorMultAtDay="0.7" DirAngle="90" Reflections="true" />
		</HeadLight>
	</ModelAttachments>
</TruckAddon>
