<_templates Include="trucks">
	<Wheel>
		<TrailerWheel
			HardpointOffsetY="-0.15"
			SuspensionMin="-0.35"
			Type="ural_cart"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.48"
		HardpointDefaultZ="1.08"
	>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-8.039"
			SuspensionStrength="0.029"
			SuspensionDamping="0.28"
			ParentFrame="BoneRear_cdt"
		/>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-8.039"
			RightSide="true"
			SuspensionStrength="0.029"
			SuspensionDamping="0.28"
			ParentFrame="BoneRear_cdt"
		/>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-4.545"
			SuspensionStrength="0.03"
			SuspensionDamping="0.3"
			ParentFrame="BoneFrontCart_cdt"
		/>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-4.545"
			RightSide="true"
			SuspensionStrength="0.03"
			SuspensionDamping="0.3"
			ParentFrame="BoneFrontCart_cdt"
		/>
	</Wheels>
	<TruckData>
		<OcclusionMap
			HalfSizeZ="1.75"
			MinX="-8.86"
			MaxX="-3.96"
			ParentFrame="BoneRear_cdt"
		/>
		<Constraint _template="TrailerRagdoll">
			<TwistMotor _inheritRemove="true" />
		</Constraint>
		<Camera Center="(-8.0; 0; 0)" ParentFrame="BoneRear_cdt" />
		<Axles>
			<Axle Frame="BoneAxle1" />
			<Axle Frame="BoneAxle2" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="Blok telegi">
			<Constraint TerminalFix="true" Name="FrontCart" Position="0" />
		</Group>	
	</PoweredConstraints>	
	<PhysicsModel Mesh="trucks/trailer_short_cart">
		<Body ImpactType="Truck" Mass="500" CenterOfMassOffset="(0.57; -0.15; 0)" ModelFrame="BoneFront_cdt">
			<Body ImpactType="Truck" Mass="1600" CenterOfMassOffset="(-1.0; -0.3; 0)" ModelFrame="BoneRear_cdt">
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-15"
					MaxLimit="15"
					Type="Hinge"
				>
					<Motor Damping="10000" Spring="100000" Type="Spring" />
				</Constraint>
			</Body>
			<Body Mass="600" CenterOfMassOffset="(0.13; 0; 0)" ModelFrame="BoneFrontCart_cdt">
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-60"
					MaxLimit="60"
					Name="FrontCart"
					Type="Hinge"
				>
					<Motor Damping="3000" Spring="30000" Type="Spring" />
				</Constraint>
				<Body ForceBodyParams="true" Mass="200" ModelFrame="BoneHandle_cdt">
					<Constraint
						AxisLocal="(0;0;1)"
						MinLimit="-60"
						MaxLimit="60"
						Type="Hinge"
					/>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-8.6; 1.355; 0)" ParentFrame="BoneRear_cdt" />
			<Flare _template="StopSignal" Pos="(-8.8; 1.055; 0.938)" ParentFrame="BoneRear_cdt" />
			<Flare _template="StopSignal" Pos="(-8.8; 1.055; -0.938)" ParentFrame="BoneRear_cdt" />
		</StopSignals>
		<ReverseSignals>
			<Light _template="ReverseSignal" Pos="(-8.6; 1.355; 0)" ParentFrame="BoneRear_cdt" />
			<Flare _template="ReverseSignal" Pos="(-8.8; 1.055; 0.938)" ParentFrame="BoneRear_cdt" />
			<Flare _template="ReverseSignal" Pos="(-8.8; 1.055; -0.938)" ParentFrame="BoneRear_cdt" />
			<Flare
				_template="BlueStreak"
				Dir="(-1; 0; 0)"
				Pos="(-8.8; 1.055; 0.938)"
				ParentFrame="BoneRear_cdt"
			/>
			<Flare
				_template="BlueStreak"
				Dir="(-1; 0; 0)"
				Pos="(-8.8; 1.055; -0.938)"
				ParentFrame="BoneRear_cdt"
			/>
		</ReverseSignals>
		<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-8.6; 1.355; 0)" ParentFrame="BoneRear_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.8; 1.055; 0.938)" ParentFrame="BoneRear_cdt" />
			<Flare _template="IgnitionSignalRed" Pos="(-8.8; 1.055; -0.938)" ParentFrame="BoneRear_cdt" />
		</Ignition>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-8.79; 0.651; 0.723)" ParentFrame="BoneRear_cdt" />
		<WinchSocket Pos="(-8.79; 0.651; -0.723)" ParentFrame="BoneRear_cdt" />
		<WinchSocket Pos="(-6.257; 1.241; 1.21)" ParentFrame="BoneFront_cdt" />
		<WinchSocket Pos="(-6.257; 1.241; -1.21)" ParentFrame="BoneFront_cdt" />
		<WinchSocket Pos="(-2.1; 0.82; 0)" ParentFrame="BoneHandle_cdt" />
		<LoadArea
			Min="(-9.0; 1.2; -1.2)"
			Max="(-6.7; 2.7; 1.2)"
			TrailerLoad="true"
			Type="ShortLogs"
			ParentFrame="BoneRear_cdt"
		/>
		<LoadArea
			Min="(-6.4; 1.2; -1.2)"
			Max="(-4.2; 2.7; 1.2)"
			TrailerLoad="true"
			Type="ShortLogs"
			ParentFrame="BoneFront_cdt"
		/>
		<InstallSocket Offset="(-1.837; 0.816; 0)" Type="KamazTrailerCart" ParentFrame="BoneHandle_cdt" />
		<AddonSockets>
			<Socket Names="LoadLogsShortTrailer" Offset="(-4.55; -0.05; 0.0)" />
		</AddonSockets>
	</GameData>
</Truck>
