<_templates Include="trucks" />
<TruckAddon IsChassisFullOcclusion="true">
	<PoweredConstraints>
		<Group Id="close_bort">
			<Constraint Name="Bort" Position="-69.5" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks_164_carriage">
		<Body ImpactType="Truck" Mass="600">
			<Constraint Type="Fixed" />
			<Body ImpactType="Truck" Mass="100" ModelFrame="BoneLeft_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-2"
					MaxLimit="2"
					Type="Hinge"
				>
					<Motor Damping="100" Spring="2000" Type="Spring" />
				</Constraint>
				<Body ImpactType="Truck" Mass="10" ModelFrame="BoneBortLR_cdt">
					<Constraint
						AxisLocal="(1; 0; 0)"
						MinLimit="-55"
						MaxLimit="35"
						Type="Hinge"
					/>
				</Body>
			</Body>
			<Body ImpactType="Truck" Mass="100" ModelFrame="BoneRight_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-2"
					MaxLimit="2"
					Type="Hinge"
				>
					<Motor Damping="100" Spring="2000" Type="Spring" />
				</Constraint>
				<Body ImpactType="Truck" Mass="10" ModelFrame="BoneBortRR_cdt">
					<Constraint
						AxisLocal="(1; 0; 0)"
						MinLimit="-35"
						MaxLimit="55"
						Type="Hinge"
					/>
				</Body>
			</Body>
			<Body ImpactType="Truck" Mass="90" ModelFrame="BoneBack_cdt">
				<Constraint
					AxisLocal="(0; 0; 1)"
					MinLimit="-69.5"
					MaxLimit="0"
					Name="Bort"
					Type="Hinge"
				>
					<Motor Force="5000" Type="Position" Damping="1" />
				</Constraint>
			</Body>
			<Body AngularDamping="2.0" Collisions="None" Mass="10" ModelFrame="BoneBortRF_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-5"
					MaxLimit="1"
					Type="Hinge"
				/>
			</Body>
			<Body AngularDamping="1.0" Collisions="None" Mass="10" ModelFrame="BoneBortLF_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-10"
					MaxLimit="3"
					Type="Hinge"
				/>
			</Body>
		</Body>
	</PhysicsModel>
		<ModelAttachments>
			<StopSignals>
				<Flare Color="g(255; 0; 0) x 0.3" ColorMultAtDay="0.8" Dir="(-1; 0; 0)" DirAngle="90" Pos="(-3.35; 1.021; +0.799)" Reflections="true" Size="0.2" />
				<Flare Color="g(255; 0; 0) x 0.3" ColorMultAtDay="0.8" Dir="(-1; 0; 0)" DirAngle="90" Pos="(-3.35; 1.021; -0.799)" Reflections="true" Size="0.2" />
			</StopSignals>
			<Ignition>
				<Flare Color="g(169; 0; 0) x 0.8" ColorMultAtDay="1.0" Dir="(-1; 0; 0)" DirAngle="90" Pos="(-3.35; 1.021; +0.799)" Size="0.3" SizeMultAtDay="0.8" />
				<Flare Color="g(169; 0; 0) x 0.8" ColorMultAtDay="1.0" Dir="(-1; 0; 0)" DirAngle="90" Pos="(-3.35; 1.021; -0.799)" Size="0.3" SizeMultAtDay="0.8" />
			</Ignition>
		</ModelAttachments>
	<GameData>
		<LoadArea Min="(-4.145; 1.277; -1.267)" Max="(0.293; 2.4; 1.267)" Type="ShortLogs" />
		<InstallSocket Type="164_Сarriage" />
	</GameData>
</TruckAddon>
