<_templates Include="trucks" />
<TruckAddon IsChassisFullOcclusion="true">
    <GameData>

        <InstallSocket Type="Evakuator_ural" />


    </GameData>
    <PhysicsModel Mesh="trucks/Evakuator_ural">
		<Body ImpactType="Truck" Mass="2000">
			<Constraint Type="Fixed" />



			<Body Collisions="Internal" Mass="200" ModelFrame="Bone_bort">
				<Constraint
					AxisLocal="(0; 0; 1)"
					MinLimit="0"
					MaxLimit="100"
					Name="Foot1"
					Type="Hinge"
				>
					<Motor Tau="0.4" Force="200000" Type="Position" />
				</Constraint>
		</Body>
			<Body Collisions="Internal" Mass="200" ModelFrame="Bone_bort_left">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-170"
					MaxLimit="0"
					Name="Foot6"
					Type="Hinge"
				>
					<Motor Tau="0.4" Force="200000" Type="Position" />
				</Constraint>
		</Body>
						<Body Collisions="None" Mass="200" ModelFrame="Bone_trap_vdw">
							<Constraint
								AxisLocal="(-1;0;0)"
								MinLimit="0"
								MaxLimit="7.4"
								Name="Foot2"
								Type="Prismatic"
							>
								<Motor Force="40000" Tau="1.0" Type="Position" />
							</Constraint>

						<Body Collisions="None" Mass="200" ModelFrame="Bone_trap_naklon">
							<Constraint
								AxisLocal="(0;0;1)"
								MinLimit="0"
								MaxLimit="40"
								Name="Foot3"
								Type="Hinge"
							>
								<Motor Force="40000" Tau="1.0" Type="Position" />
							</Constraint>



						<Body Collisions="Internal" Mass="200" ModelFrame="Bone_trap1">
							<Constraint
								AxisLocal="(0;0;1)"
								MinLimit="0"
								MaxLimit="0.8"
								Name="Foot4"
								Type="Prismatic"
							>
								<Motor Force="90000" Tau="1.0" Type="Position" />
							</Constraint>
		</Body>
						<Body Collisions="Internal" Mass="200" ModelFrame="Bone_trap2">
							<Constraint
								AxisLocal="(0;0;1)"
								MinLimit="-0.8"
								MaxLimit="0"
								Name="Foot5"
								Type="Prismatic"
							>
								<Motor Force="90000" Tau="1.0" Type="Position" />
							</Constraint>
		</Body>
		</Body>
		</Body>
		</Body>

    </PhysicsModel>

	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-6.809; 1.628; 0)" />
			<Flare _template="StopSignal" Pos="(-6.809; 1.628; 0.964)"  />
			<Flare _template="StopSignal" Pos="(-6.809; 1.628; -0.964)"  />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-6.809; 1.628; 0)" />
			<Flare _template="ReverseSignal" Pos="(-6.809; 1.628; 0.964)"  />
			<Flare _template="ReverseSignal" Pos="(-6.809; 1.628; -0.964)"  />
		</ReverseSignals>
		<Ignition>
			<Flare _template="IgnitionSignalRed" Pos="(-6.809; 1.628; -0.964)"  />
			<Flare _template="IgnitionSignalRed" Pos="(-6.809; 1.628; 0.964)"  />
		</Ignition>
	</ModelAttachments>

	<PoweredConstraints>
		<Group Id="Trap_1">
			<Constraint Name="Foot2" Position="7.4" />
		</Group>
		<Group Id="Trap_2">
			<Constraint Name="Foot3" Position="40" />
		</Group>
		<Group Id="Trap_3">
			<Constraint Name="Foot4" Position="0.8" />
			<Constraint Name="Foot5" Position="-0.8" />
		</Group>
		<Group Id="Bort_zad">
			<Constraint Name="Foot1" Position="100" />
		</Group>
		<Group Id="Bort_left">
			<Constraint Name="Foot6" Position="-170" />
		</Group>
	</PoweredConstraints>

</TruckAddon>