<TruckAddon IsChassisFullOcclusion="true">
	<PoweredConstraints>
		<Group Id="bort">
			<Constraint InitialFix="true" Name="bort" Position="120" />
		</Group>
	</PoweredConstraints>
	<TruckData RepairsCapacity="225" />
	<PhysicsModel Mesh="trucks/samosval_gaz51">
		<Body
			CenterOfMassOffset="(0; -0.5; 0)"
			ImpactType="Truck"
			Mass="500"
		>
			<Constraint Type="Fixed" />
			<Body Mass="500" ModelFrame="BoneKuzov_cdt">
				<Constraint
					AxisLocal="(0;0;1)"
					MinLimit="0"
					MaxLimit="40"
					Name="samasval"
					Type="Hinge"
				>
					<Motor Force="85000" Type="Position" />
				</Constraint>
				<Body
					ModelFrame="BoneBriz1_cdt"
					Mass="10"
					AngularDamping="4.0"
					Collisions="None"
				>
					<Constraint
						Type="Hinge"
						MinLimit="-45"
						MaxLimit="30"
						AxisLocal="(0.0; 0.0; 0.1)"
					/>
				</Body>
				<Body
					ModelFrame="BoneBriz2_cdt"
					Mass="10"
					AngularDamping="4.0"
					Collisions="None"
				>
					<Constraint
						Type="Hinge"
						MinLimit="-45"
						MaxLimit="30"
						AxisLocal="(0.0; 0.0; 0.1)"
					/>
				</Body>
				<Body Mass="100" ModelFrame="BoneBort_cdt">
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="-120"
						MaxLimit="0"
						Name="bort"
						Type="Hinge"
					>
						<Motor/>
					</Constraint>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ControlledConstraints>
		<Constraint Id="kuzov" Name="samasval" />
	</ControlledConstraints>
	<AutomaticIK>
		<IKBone
			AttachToFrame="arm4"
			ModelFrame="arm5"
			ParentFrame="BoneSamosval_cdt"
		>
			<IKJoint AxisLocal="(0;0;1)" Type="Hinge" />
			<IKBone
				AttachToFrame="arm3"
				ModelFrame="arm4"
				ParentFrame="arm5"
				AttachOffset="(0; -0.0; 0)"
			>
				<IKJoint AxisLocal="(0;-1;0)" Type="Slider" />
				<IKBone
					ModelFrame="arm3"
					ParentFrame="arm4"
					AttachToFrame="arm2"
					AttachOffset="(0; -0.0; 0)"
				>
					<IKJoint AxisLocal="(0;-1;0)" Type="Slider" />
					<IKBone
						ModelFrame="arm2"
						ParentFrame="arm3"
						AttachToFrame="arm1"
						AttachOffset="(0; -0.0; 0)"
					>
						<IKJoint AxisLocal="(0;-1;0)" Type="Slider" />
						<IKBone
							ModelFrame="arm1"
							ParentFrame="arm2"
							AttachToFrame="BoneKuzov_cdt"
							AttachOffset="(0; -0.0; 0)"
						>
							<IKJoint AxisLocal="(0;-1;0)" Type="Slider" />
						</IKBone>
					</IKBone>
				</IKBone>
			</IKBone>
		</IKBone>
	</AutomaticIK>
	<GameData>
		<LoadArea Min="(-3.1; 0.8; -1.0)" Max="(0.5; 2.7; 1.0)" Type="ShortLogs" />			
		<InstallSocket Type="s_2_zapaskami" />
	</GameData>
</TruckAddon>
