<TruckAddon IsChassisFullOcclusion="true">
	<PoweredConstraints>
		<Group Id="crane_grap">
			<Constraint InitialFix="true" Name="RightGrappler" Position="120" />
			<Constraint InitialFix="true" Name="LeftGrappler" Position="-120" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/7thmo3uu">
		<Body ImpactType="Truck" Mass="1200" ModelFrame="BoneRoot_cdt">
			<Constraint Type="Fixed" />
			<Body
				ModelFrame="c1_cdt"
				Mass="10"
				AngularDamping="4.5"
				Collisions="None"
			>
				<Constraint
					Type="Hinge"
					MinLimit="-15"
					MaxLimit="15"
					AxisLocal="(1.0; 0.0; 0.0)"
				/>
			</Body>
			<Body
				ModelFrame="c2_cdt"
				Mass="10"
				AngularDamping="4.5"
				Collisions="None"
			>
				<Constraint
					Type="Hinge"
					MinLimit="-15"
					MaxLimit="15"
					AxisLocal="(1.0; 0.0; 0.0)"
				/>
			</Body>
			<Body
				ModelFrame="c3_cdt"
				Mass="10"
				AngularDamping="4.5"
				Collisions="None"
			>
				<Constraint
					Type="Hinge"
					MinLimit="-15"
					MaxLimit="15"
					AxisLocal="(1.0; 0.0; 0.0)"
				/>
			</Body>
			<Body
				ModelFrame="c4_cdt"
				Mass="10"
				AngularDamping="4.5"
				Collisions="None"
			>
				<Constraint
					Type="Hinge"
					MinLimit="-15"
					MaxLimit="15"
					AxisLocal="(1.0; 0.0; 0.0)"
				/>
			</Body>
			<Body
				ModelFrame="c5_cdt"
				Mass="10"
				AngularDamping="4.5"
				Collisions="None"
			>
				<Constraint
					Type="Hinge"
					MinLimit="-10"
					MaxLimit="15"
					AxisLocal="(1.0; 0.0; 0.0)"
				/>
			</Body>
			<Body
				ModelFrame="c6_cdt"
				Mass="10"
				AngularDamping="4.5"
				Collisions="None"
			>
				<Constraint
					Type="Hinge"
					MinLimit="-15"
					MaxLimit="4"
					AxisLocal="(1.0; 0.0; 0.0)"
				/>
			</Body>
			<Body Mass="400" ModelFrame="BoneRotBase_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
										ModelFrame="BoneGrapplerLeft_cdt"
										Collisions="Internal"
										ForceBodyParams="true"
										Friction="4"
										Mass="100"
										NoClientCollisions="true"
									>
										<Constraint
											MinLimit="-160"
											MaxLimit="0"
											Name="LeftGrappler"
											AxisLocal="(0;0;1)"
											Type="Hinge"
										>
											<Motor
												Damping="1.0"
												Force="8000"
												Tau="0.04"
												Type="Position"
											/>
										</Constraint>
									</Body>
									<Body
										ModelFrame="BoneGrapplerRight_cdt"
										Collisions="Internal"
										ForceBodyParams="true"
										Friction="4"
										Mass="100"
										NoClientCollisions="true"
									>
										<Constraint
											MinLimit="0"
											MaxLimit="160"
											Name="RightGrappler"
											AxisLocal="(0;0;1)"
											Type="Hinge"
										>
											<Motor
												Damping="1.0"
												Force="8000"
												Tau="0.04"
												Type="Position"
											/>
										</Constraint>
									</Body>
								</Body>
							</Body>
						</Body>
					</Body>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<GameData>
		<WinchSocket Pos="(-1.367; 2.576; 0)" ParentFrame="BoneGrappler_cdt" />
		<InstallSocket Type="zls31_Cart2" />
		<LoadArea Min="(-3.635; 1.446; -1.2)" Max="(-5.127; 2.145; 1.2)" Type="ShortLogs" />
		<LoadArea Min="(-1.355; 1.446; -1.2)" Max="(-3.346; 2.145; 1.2)" Type="ShortLogs" />
	</GameData>
	<ControlledIK>
		<Chain
			AffectedFrames="BoneRotBase_cdt,BoneArm1_cdt,BoneArm2_cdt,BoneArm3_cdt,BoneGrapplerBase_cdt,BoneGrappler_cdt,BoneGrapplerRight_cdt,BoneGrapplerLeft_cdt"
			CenterXZ="(-0.376; 0)"
			EndOffset="(0; 2.168; 0)"
			HelperVisFrame="BoneGrappler_cdt"
			Id="crane"
			ModelFrames="BoneRoot_cdt,BoneRotBase_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.61; 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.133; 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="BoneRotBase_cdt"
				ModelFrame="BoneBasePiston"
			>
				<IKJoint AxisLocal="(0;1;0)" Type="Slider" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="BoneGrapplerPistonBaseTop" ParentFrame="BoneGrapplerLeft_cdt">
			<IKJoint Type="Hinge" AxisLocal="(0;0;1)" />
			<IKBone
				ModelFrame="BoneGrapplerPistonTop"
				AttachToFrame="BoneGrapplerRight_cdt"
				AttachOffset="(0; 0.296; 0)"
			>
				<IKJoint Type="Slider" AxisLocal="(0;1;0)" />
			</IKBone>
		</IKBone>
		<IKBone ModelFrame="BoneGrapplerPistonBaseBottom" ParentFrame="BoneGrapplerRight_cdt">
			<IKJoint Type="Hinge" AxisLocal="(0;0;1)" />
			<IKBone
				ModelFrame="BoneGrapplerPistonBottom"
				AttachToFrame="BoneGrapplerLeft_cdt"
				AttachOffset="(0; 0.316; 0)"
			>
				<IKJoint Type="Slider" AxisLocal="(0;1;0)" />
			</IKBone>
		</IKBone>
	</AutomaticIK>
	<AddonCamera
		FirstPersonDir="(-1.0; -0.32; 0.0)"
		FirstPersonPos="(-0.379; 3.026; -0.975)"
		ParentFrame="BoneRotBase_cdt"
	/>
</TruckAddon>
