<_templates Include="trucks">
	<Wheel>
		<TrailerWheel
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.3"
			Type="zil_130_front"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.7"
		HardpointDefaultZ="0.915"
	>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-1.4"
			SuspensionStrength="0.016"
			ParentFrame="B2_cdt"
		/>
		<Wheel
			_template="TrailerWheel"
			HardpointX="-1.4"
			RightSide="true"
			SuspensionStrength="0.016"
			ParentFrame="B2_cdt"
		/>
		<Wheel
			_template="TrailerWheel"
			HardpointX="1.302"
			SuspensionStrength="0.026"
			ParentFrame="B1_cdt"
		/>
		<Wheel
			_template="TrailerWheel"
			HardpointX="1.302"
			RightSide="true"
			SuspensionStrength="0.026"
			ParentFrame="B1_cdt"
		/>
	</Wheels>
	<TruckData   RepairsCapacity="100">
		
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-4.0; 0; 0)" />
		<Axles>
			<Axle Frame="B1_cdt" LeftWheel="2" RightWheel="3" />
			<Axle Frame="B2_cdt" LeftWheel="0" RightWheel="1" />
		</Axles>
	</TruckData>
	<RepairsHide>
		<Mesh HideThreshold="0.0" Frame="rezina" />
	</RepairsHide>
	<PhysicsModel Mesh="trucks/zil_130_pricep">
		<Body
			CenterOfMassOffset="(-0.7; 0; 0)"
			ImpactType="Truck"
			Mass="2000"
			ModelFrame="rama_cdt"
		>		
		<Body ImpactType="Truck" Mass="100" ModelFrame="BoneLeft_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="-15"
					MaxLimit="0"
					Type="Hinge"
				>
					<Motor Damping="100" Spring="2400" Type="Spring" />
				</Constraint>
			</Body>
			<Body ImpactType="Truck" Mass="100" ModelFrame="BoneRight_cdt">
				<Constraint
					AxisLocal="(1; 0; 0)"
					MinLimit="0"
					MaxLimit="15"
					Type="Hinge"
				>
					<Motor Damping="100" Spring="2400" Type="Spring" />
				</Constraint>
			</Body>
				<Body Mass="500" ModelFrame="pov_cdt">
				<Constraint
					AxisLocal="(0.0; 1.0; 0.0)"
					Collisions="None"
					MinLimit="-40"
					MaxLimit="40"
					Type="Hinge"
				>
					<Motor Force="10" Type="Position" />
				</Constraint>
				<Body Mass="1000" ModelFrame="dish_cdt">
					<Constraint
						AxisLocal="(0.0; 0.0; 1.0)"
						MinLimit="-50"
						MaxLimit="50"
						Type="Hinge"
					>
						<Motor Force="30" Type="Position" />
					</Constraint>
						<Body
				AngularDamping="3.0"
				Collisions="None"
				Mass="100"
				ModelFrame="razetka_cdt"
			>
				<Constraint
					AxisLocal="(1.0; 0.0; 1.0)"
					MinLimit="-15"
					MaxLimit="17"
					Type="Hinge"
				/>
			</Body>
				</Body>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
		    <Light _template="StopSignal" Pos="(-2.121; 1.098; -0.865)"   ParentFrame="rama_cdt" />
			<Light _template="StopSignal" Pos="(-2.098; 1.097; 0.884)"  ParentFrame="rama_cdt" />
			<Flare _template="StopSignal" Pos="(-2.024; 1.102; 0.877)" ParentFrame="rama_cdt" />
			<Flare _template="StopSignal" Pos="(-2.029; 1.107; -0.868)" ParentFrame="rama_cdt" />
		</StopSignals>
		<Ignition>
			<Flare _template="StopSignal" Pos="(-2.032; 1.107; 0.968)" ParentFrame="rama_cdt" />
			<Flare _template="StopSignal" Pos="(-2.03; 1.095; -0.962)" ParentFrame="rama_cdt" />
		</Ignition>
		</ModelAttachments>
	<GameData>
		<LoadArea
			Min="(0.149; 1.443; -1.2)"
			Max="(2.14; 3.121; 1.36)"
			TrailerLoad="true"
			Type="ShortLogs"
			ParentFrame="rama_cdt"
		/>
		<LoadArea
			Min="(0.042; 1.443; -1.2)"
			Max="(-2.447; 3.121; 1.36)"
			TrailerLoad="true"
			Type="ShortLogs"
			ParentFrame="rama_cdt"
		/>
		
		
		<InstallSocket Offset="(3.86; 0.837; 0.001)" Type="zil_130_pricepgkb" ParentFrame="dish_cdt" />
		<WinchSocket Pos="(-1.877; 2.621; -1.023)" ParentFrame="rama_cdt"  />
		<WinchSocket Pos="(-1.875; 2.607; 1.029)"  ParentFrame="rama_cdt"  />
		<WinchSocket Pos="(1.944; 2.602; 1.028)" ParentFrame="rama_cdt"  />
		<WinchSocket Pos="(1.947; 2.602; -1.007)"  ParentFrame="rama_cdt" />
		<WinchSocket Pos="(-2.014; 0.918; 0.014)"  ParentFrame="rama_cdt" />
		<WinchSocket Pos="(3.856; 0.854; -0.001)"  ParentFrame="dish_cdt" />
		<AddonSockets>
			<Socket Names="load_zil_130_gkb" Offset="(0.0; 0.0 ; 0.0)" ParentFrame="rama_cdt" />
		</AddonSockets>
		
	</GameData>
</Truck>
