<_templates Include="trucks" />
<TruckAddon _noinherit="true">
    <PhysicsModel Mesh="trucks/Nami_Bort">
		<Body ImpactType="Truck" Collisions="All" ForceBodyParams="true" Friction="1.5" Mass="3000">
			<Constraint Type="Fixed" />
 		<Body ImpactType="Truck" Collisions="All" Mass="500" ModelFrame="Bort_Left_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-0"
					MaxLimit="180"
					Name="Foot1"
					Type="Hinge"
				>
					<Motor Force="40000" Tau="0.02" Type="Position" />
				</Constraint>
		</Body>
		<Body ImpactType="Truck" Collisions="All" Mass="500" ModelFrame="Bort_Right_cdt">
				<Constraint
					Name="Foot2"
					AxisLocal="(1; 0; 0)"
					MinLimit="-180"
					MaxLimit="0"
					Type="Hinge"
				>
					<Motor Force="40000" Tau="0.02" Type="Position"  />
				</Constraint>
		</Body>
						<Body Collisions="All" Mass="500" ModelFrame="Bone_bort_cdt">
							<Constraint
								AxisLocal="(0;0;1)"
								MinLimit="-0"
								MaxLimit="125"
								Name="Foot3"
								Type="Hinge"
							>
								<Motor Force="280000" Tau="0.04" Type="Position" />
							</Constraint>
		</Body>
		</Body>
    </PhysicsModel>

	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-5.148; 1.382; 0)" />
			<Flare _template="StopSignal" Pos="(-5.148; 1.382; 1.169)" />
			<Flare _template="StopSignal" Pos="(-5.148; 1.382; -1.169)" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-5.128; 1.522; 0.865)"  />
			<Flare _template="ReverseSignal" Pos="(-5.128; 1.522; 0.865)"  />
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-5.148; 1.382; 0)" />
			<Flare _template="IgnitionSignalRed" Pos="(-5.148; 1.382; 1.169)" />
			<Flare _template="IgnitionSignalRed" Pos="(-5.148; 1.382; -1.169)" />
		</Ignition>
	</ModelAttachments>

	<PoweredConstraints>
		<Group Id="Bort_Front">
			<Constraint Name="Foot1" Position="180" />
			<Constraint Name="Foot2" Position="-180" />
		</Group>
		<Group Id="Bort_Rear">
			<Constraint Name="Foot3" Position="125" />
		</Group>
	</PoweredConstraints>


    <GameData>
		<LoadArea Min="(-0.386; 1.701; -1.412)" Max="(-5.207; 2.934; 1.412)" Type="ShortLogs" ParentFrame="Rama_Rear_cdt" />
                <InstallSocket Type="Nami_Bort" />

    </GameData>
</TruckAddon>