<_templates Include="trucks">
	<Wheel>
		<Wheel
			HardpointOffsetY="-0.15"
			SuspensionMin="-0.25"
			SuspensionStrength="0.022"
			Torque="default"
			Type="zil_130_double"
			
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.531"
		HardpointDefaultZ="1.05"
	>
		<Wheel _template="Wheel" HardpointX="-2.161" ParentFrame="BoneAxle1_cdt"/>
		<Wheel _template="Wheel" HardpointX="-2.161" RightSide="true" ParentFrame="BoneAxle1_cdt"/>
	</Wheels>
	<TruckData RepairsCapacity="100">
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-4.0; 0; 0)" />
		<Axles>
			<Axle Frame="BoneAxle1_cdt" />
		</Axles>
	</TruckData>
	<RepairsHide>
		<Mesh HideThreshold="0.0" Frame="rezina" />
	</RepairsHide>
	<PoweredConstraints>
		<Group Id="_trailer_foot">
			<Constraint Name="Foot" Position="0.6" TerminalFix="true" />
		</Group>
		<Group Id="Rear side">
			<Constraint Name="bort" Position="175" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/zil_130_odaz_885">
		<Body
			CenterOfMassOffset="(0; 0; 0)"
			ImpactType="Truck"
			Mass="2000"
			ModelFrame="rama_cdt"
		>
		<Body ImpactType="Truck" Mass="2500" 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"
					MaxLimit="0.3"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="64000" Type="Position" />
				</Constraint>
			</Body>
				<Body
				CenterOfMassOffset="(-0.25; -0.010; 0)"
				ImpactType="Truck"
				Mass="200"
				ModelFrame="bort_cdt"
			>
				<Constraint
					AxisLocal="(0; 0; 1)"
					MaxLimit="90"
					Name="bort"
					Type="Hinge"
				>
					<Motor Force="10000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Pos="(-3.604; 1.161; -0.027)" />
			<Flare _template="StopSignal" Pos="(-3.239; 1.156; 0.867)" />
			<Flare _template="StopSignal" Pos="(-3.239; 1.156; -0.858)" />
		</StopSignals>
			<Ignition>
			<Light _template="IgnitionSignalRed" Pos="(-3.611; 1.185; 0.005)" />
			<Flare _template="IgnitionSignalRed" Pos="(-3.239; 1.21; 0.863)" />
			<Flare _template="IgnitionSignalRed" Pos="(-3.239; 1.21; -0.86)" />
		</Ignition>
	</ModelAttachments>
	<GameData>
	<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.388; 1.94; 1.308)" />
		<WinchSocket Pos="(-3.376; 1.941; -1.299)" />
		<WinchSocket Pos="(3.386; 1.955; -1.304)" />
		<WinchSocket Pos="(3.374; 1.951; 1.309)" />
		<WinchSocket Pos="(-3.331; 1.158; -0.019)" />
		<WinchSocket Pos="(2.727; 1.197; -0.003)" />
		<RequiredAddon Types="zil_130_tractor" />
		<InstallSocket Offset="(2.696; 1.179; 0.001)" Type="odaz_885" />
		<AddonSockets>
			<Socket Names="LoadLogsDoaz885" Offset="(0.0; 0.0 ; 0.0)" ParentFrame="kuzov_cdt" />
		</AddonSockets>
	</GameData>
</Truck>
