<TruckAddon IsChassisFullOcclusion="true">
	<TruckData RepairsCapacity="800" />
	<PoweredConstraints>
		<Group Id="anchors_extend">
			<Constraint
				InitialFix="true"
				Name="AnchorExt"
				Position="0.7"
				TerminalFix="true"
			/>
			<Constraint
				InitialFix="true"
				Name="AnchorExt"
				Position="0.7"
				TerminalFix="true"
			/>
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/maz7310_utility">
		<Body Mass="4000">
			<Constraint Type="Fixed" />
			<Body Collisions="None" Mass="2000" ModelFrame="BoneCrane_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="-20"
					MaxLimit="0"
					Name="Crane"
					Type="Hinge"
				>
					<Motor Force="1320000" Tau="0.3" Type="Position" />
				</Constraint>
				<Body
					AngularDamping="2"
					Collisions="None"
					Mass="1000"
					ModelFrame="BoneHook_cdt"
				>
					<Constraint
						ConeMin="-60"
						ConeMax="60"
						TwistAxisLocal="(0;1;0)"
						TwistMin="0"
						TwistMax="0"
						Type="Ragdoll"
					/>
				</Body>
			</Body>
			<Body Collisions="None" Mass="400" ModelFrame="BoneAnchorRight_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0"
					MaxLimit="0.7"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="92000" Type="Position" />
				</Constraint>
				<Body
					ForceBodyParams="true"
					Mass="200"
					ModelFrame="BoneFootRight_cdt"
					NoFoliageCollisions="true"
				>
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="0"
						MaxLimit="30"
						Type="Hinge"
					>
						<Motor Damping="600" Spring="2400" Type="Spring" />
					</Constraint>
				</Body>
			</Body>
			<Body Collisions="None" Mass="400" ModelFrame="BoneAnchorLeft_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="0"
					MaxLimit="0.7"
					Name="AnchorExt"
					Type="Prismatic"
				>
					<Motor Force="92000" Type="Position" />
				</Constraint>
				<Body
					ForceBodyParams="true"
					Mass="200"
					ModelFrame="BoneFootLeft_cdt"
					NoFoliageCollisions="true"
				>
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="0"
						MaxLimit="30"
						Type="Hinge"
					>
						<Motor Damping="600" Spring="2400" Type="Spring" />
					</Constraint>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light
				Pos="(-4.358; 1.667; 0)"
				AttenEnd="2.0"
				Color="(102; 1; 1) x 4"
				Dir="(-1.0; -0.2; 0)"
				InnerCone="120"
				OuterCone="160"
			/>
			<Flare
				Pos="(-4.558; 1.667; 1.34)"
				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="(-4.558; 1.667; -1.34)"
				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>
		<ReverseSignals>
			<Light
				Pos="(-5.0; 1.667; 0)"
				AttenEnd="2.0"
				Color="(102; 102; 102) x 16"
				Dir="(-1.0; -0.2; 0)"
				InnerCone="120"
				OuterCone="160"
			/>
			<Flare
				Pos="(-4.558; 1.667; 1.34)"
				AspectRatio="1.4"
				Color="g(255; 255; 255) x 0.4"
				ColorMultAtDay="0.6"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Reflections="true"
				Size="1.2"
			/>
			<Flare
				Pos="(-4.558; 1.667; -1.34)"
				AspectRatio="1.4"
				Color="g(255; 255; 255) x 0.4"
				ColorMultAtDay="0.6"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Reflections="true"
				Size="1.2"
			/>
		</ReverseSignals>
		<Ignition>
			<Flare
				Pos="(-4.558; 1.667; -1.34)"
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(-1;0;0)"
				DirAngle="90"
				Size="0.5"
			/>
			<Flare
				Pos="(-4.558; 1.667; 1.34)"
				AspectRatio="1.4"
				Color="g(169; 0; 0) x 0.8"
				Dir="(-1;0;0)"
				DirAngle="90"
				Size="0.5"
			/>
		</Ignition>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-5.085; 2.075; 0)" ParentFrame="BoneHook_cdt" />
		<WinchSocket Pos="(-5.3; 2.5; 0)" ParentFrame="BoneCrane_cdt" />
		<InstallSocket Type="MazBigCart" />
	</GameData>
	<ControlledConstraints>
		<Constraint Id="crane" Name="Crane" />
	</ControlledConstraints>
	<AutomaticIK>
		<IKBone ModelFrame="BonePistonsBase" ParentFrame="BoneBase_cdt">
			<IKJoint AxisLocal="(0;0;1)" Type="Hinge" />
			<IKBone
				AttachOffset="(0; 0.949; 0)"
				AttachToFrame="BoneCrane_cdt"
				ModelFrame="BonePistons"
			>
				<IKJoint AxisLocal="(0;1;0)" Type="Slider" />
			</IKBone>
		</IKBone>
	</AutomaticIK>
</TruckAddon>
