<_templates Include="trucks">
	<Wheel>
		<TrailerWheel
			HardpointOffsetY="-0.1"
			SuspensionMin="-0.3"
			SuspensionStrength="0.016"
			Type="zil_130_double"
			ParentFrame="BoneAxle1_cdt"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.1"
		HardpointDefaultZ="0.98"
	>
		<Wheel _template="TrailerWheel" HardpointX="-2.841" />
		<Wheel _template="TrailerWheel" HardpointX="-2.841" RightSide="true" />
	</Wheels>
	<TruckData>
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-4.0; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle1_cdt" LeftWheel="0" RightWheel="1" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint Name="Foot" Position="0.6" TerminalFix="true" />
		</Group>
		<Group Id="back door">
			<Constraint Name="bort" Position="175" TerminalFix="true" />
		</Group>
		<Group Id="side door">
			<Constraint Name="dver" Position="175" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/zil_130_odaz_794">
			 <Body
			CenterOfMassOffset="(-2.0; 0; 0)"
			ImpactType="Truck"
			Mass="2000"
			ModelFrame="rama_cdt"
		>
		<Body ImpactType="Truck" Mass="1500" ModelFrame="kuzov_cdt">
				<Constraint
					AxisLocal="(1;0;0)"
					MinLimit="-0.1"
					MaxLimit="0.1"
					PivotOffset="(2.304; -0.117; 0.0)"
					Type="Hinge"
				>
					<Motor Damping="40000" Spring="200000" Type="Spring" />
				</Constraint>
			</Body>
			<Body
				ForceBodyParams="true"
				Mass="100"
				ModelFrame="lapa_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-0.1"
					MaxLimit="0.3"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="64000" Type="Position" />
				</Constraint>
			</Body>
			<Body
				CenterOfMassOffset="(-0.25; -0.010; 0)"
				ImpactType="Truck"
				Mass="500"
				ModelFrame="pravdver_cdt"
			>
				<Constraint
					AxisLocal="(0; -1; 0)"
					MaxLimit="100"
					Name="bort"
					Type="Hinge"
				>
					<Motor Force="10000" Type="Position" />
				</Constraint>
			</Body>
				<Body
				CenterOfMassOffset="(-0.25; -0.010; 0)"
				ImpactType="Truck"
				Mass="500"
				ModelFrame="levdver_cdt"
			>
				<Constraint
					AxisLocal="(0; 1; 0)"
					MaxLimit="100"
					Name="bort"
					Type="Hinge"
				>
					<Motor Force="10000" Type="Position" />
				</Constraint>
			</Body>
			<Body
				CenterOfMassOffset="(-0.25; -0.010; 0)"
				ImpactType="Truck"
				Mass="500"
				ModelFrame="bokpr_cdt"
			>
				<Constraint
					AxisLocal="(0; -1; 0)"
					MaxLimit="100"
					Name="dver"
					Type="Hinge"
				>
					<Motor Force="10000" Type="Position" />
				</Constraint>
			</Body>
				<Body
				CenterOfMassOffset="(-0.25; -0.010; 0)"
				ImpactType="Truck"
				Mass="500"
				ModelFrame="boklev_cdt"
			>
				<Constraint
					AxisLocal="(0; 1; 0)"
					MaxLimit="100"
					Name="dver"
					Type="Hinge"
				>
					<Motor Force="10000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-4.078; 0.885; 0.863)"  />
			<Light _template="StopSignal" Pos="(-3.985; 0.894; -0.9)" />
			<Flare _template="StopSignal" Pos="(-3.806; 0.906; 0.703)" />
			<Flare _template="StopSignal" Pos="(-3.808; 0.908; -0.767)"  />
		</StopSignals>
		<Ignition>
			<Flare _template="IgnitionSignalRed" Pos="(-3.806; 0.907; 0.995)"  />
			<Flare _template="IgnitionSignalRed" Pos="(-3.808; 0.91; -1.054)" />
		</Ignition>
	</ModelAttachments>
	<GameData GaragePRoints="4">
	<LoadArea
			Min="(3.223; 0.973; -1.2)"
			Max="(0.876; 2.753; 1.36)"
			TrailerLoad="true"
			Type="MediumLogs"
			ParentFrame="kuzov_cdt"
		/>
		<LoadArea
			Min="(-0.682; 0.973; -1.2)"
			Max="(-3.72; 2.753; 1.36)"
			TrailerLoad="true"
			Type="MediumLogs"
			ParentFrame="kuzov_cdt"
		/>
		<WinchSocket Pos="(-3.783; 2.899; -1.315)" />
		<WinchSocket Pos="(-3.8; 2.891; 1.258)" />
		<WinchSocket Pos="(3.222; 2.859; 1.23)" />
		<WinchSocket Pos="(3.203; 2.861; -1.314)" />
		<WinchSocket Pos="(-3.812; 0.778; -0.024)" />
		<WinchSocket Pos="(2.63; 0.879; -0.058)" />
		<RequiredAddon Types="zil_130_tractor" />
		<InstallSocket Offset="(2.578; 0.918; -0.051)" Type="odaz_794" />
		<AddonSockets>
			<Socket Names="load_tv" Offset="(0.0; 0.0 ; 0.0)" ParentFrame="kuzov_cdt" />
		</AddonSockets>
	</GameData>
</Truck>
