<_templates Include="trucks">
<Wheel>
		<RearWheel
			Type="Wheels_gaz51_paz"
			HardpointOffsetY="-0.12"
			SuspensionMin="-0.25"
			SuspensionStrength="0.038"
			Torque="default"
		/>
	   <FrontWheel
			Type="Wheels_gaz51_paz"
			HardpointOffsetY="-0.12"
			SuspensionMin="-0.25"
			SuspensionStrength="0.038"
			Torque="default"
		/>
	</Wheel>
   <Body>
		<Mudguard AngularDamping="1.0" Collisions="Internal" Mass="10">
			<Constraint
				AxisLocal="(0.0; 0.0; 1.0)"
				MinLimit="-45"
				MaxLimit="45"
				Type="Hinge"
			/>
		</Mudguard>
	</Body>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.6"
		HardpointDefaultZ="0.67"
	>
		<Wheel _template="RearWheel" HardpointX="-4.829" />
		<Wheel _template="FrontWheel" HardpointX="-4.829" RightSide="true" />
	</Wheels>
	<TruckData RepairsCapacity="150">
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-4.5; -0.5; 0)" />
	   <Axles>
			<Axle Frame="BoneAxle" LeftWheel="0" RightWheel="1" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
	    <Group Id="Foot">
			<Constraint Name="Foot" Position="90" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/pricep_kvas_gaz51">
		<Body
			CenterOfMassOffset="(-0.0; -0.2; 0)"
			ImpactType="Truck"
			Mass="500"
		>
			<Body ImpactType="Truck" Mass="100" ModelFrame="BoneLapa_cdt">
				<Constraint
					AxisLocal="(0;  0; 1)"
					MinLimit="0"
					MaxLimit="100"
					Name="Foot"
					Type="Hinge"
				>
					<Motor Force="3000" Type="Position" />
				</Constraint>
			</Body>		  
		  <Body _template="Mudguard" ModelFrame="BoneBriz1_cdt" />
		  <Body _template="Mudguard" ModelFrame="BoneBriz2_cdt" />

		</Body>
	</PhysicsModel>
	<GameData>
   	 <LoadArea
			Min="(-3.0;-0.5; -1.3)"
			Max="(-6.7; 2.0; 1.3)"
			TrailerLoad="true"
			Type="ShortLogs"
		/>
		 <AddonSockets> 
	        <Socket Names="gruz_nevidivka_trailer" Offset="(-4.8; 1.3; 0.0)" />
	      </AddonSockets>	
		<WinchSocket Pos="(-6.059; 0.774; 0.010)" />
		<WinchSocket Pos="(-2.606; 0.789; -0.010)" />						
		<InstallSocket Offset="(-2.607; 0.789; 0.0)" Type="pricep_benzovoz_gaz53" />
	</GameData>
</Truck>