<_templates Include="trucks">
	<Wheel>
		<RearWheel
			Type="koleso_pricep_krone"
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.5"
			SuspensionStrength="0.03"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.95"
		HardpointDefaultZ="1.09"
	>
		<Wheel _template="RearWheel" HardpointX="-8.561" />
		<Wheel _template="RearWheel" HardpointX="-8.561" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-9.855" />
		<Wheel _template="RearWheel" HardpointX="-9.855" RightSide="true" />
		<Wheel _template="RearWheel" HardpointX="-11.105" />
		<Wheel _template="RearWheel" HardpointX="-11.105" RightSide="true" />
	</Wheels>
	<TruckData RepairsCapacity="100"
	>
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-7.259; 1.357; 0)" RadiusMultiplier="1.8" />
		<Axles>
			<Axle Frame="AxleBone1" LeftWheel="0" RightWheel="1" />
			<Axle Frame="AxleBone2" LeftWheel="2" RightWheel="3" />
			<Axle Frame="AxleBone3" LeftWheel="4" RightWheel="5" />
		</Axles>
	</TruckData>
	<PoweredConstraints>
		<Group Id="foot_push">
			<Constraint Name="opori" Position="0.6" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/trubovoz">
		<Body
			CenterOfMassOffset="(-2.0; -0.6; 0)"
			Mass="6000"
		>
			<Body Collisions="Internal" Mass="100" ModelFrame="BoneOpor_cdt">
				<Constraint
					AxisLocal="(0; -1; 0)"
					MinLimit="0"
					MaxLimit="0.6"
					Name="opori"
					Type="Prismatic"
				>
					<Motor Force="82000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<StopSignals>
			<Light _template="StopSignal" Color="(102; 1; 1) x 10" Pos="(-13.64; 1.069; -0.825)" />
			<Light _template="StopSignal" Color="(102; 1; 1) x 10" Pos="(-13.64; 1.069; 0.825)" />
			<Flare _template="StopSignal" Pos="(-13.64; 1.069; -0.825)" />
			<Flare _template="StopSignal" Pos="(-13.64; 1.069; 0.825)" />
		</StopSignals>	
		<Ignition>
				 <Light _template="StopSignal" Pos="(-13.623; 1.057; -1.07)" />
		         <Light _template="StopSignal" Pos="(-13.623; 1.057; 1.07)" />
	             <Flare _template="RedSignal" Pos="(-13.623; 1.057; -1.07)" />
		         <Flare _template="RedSignal" Pos="(-13.623; 1.057; 1.07)"  />
		</Ignition>					
		<ReverseSignals>
			<Model _template="HeadLightRay" Dir="(-1.0; -0.4; 0)" Org="(-13.643; 1.058; -0.733)" />
			<Model _template="HeadLightRay" Dir="(-1.0; -0.4; 0)" Org="(-13.643; 1.058; 0.733)" />
			<Light _template="ReverseSignal" Pos="(-13.643; 1.058; -0.733)" />
			<Light _template="ReverseSignal" Pos="(-13.643; 1.058; 0.733)" />
			<Flare _template="ReverseSignal" Pos="(-13.643; 1.058; -0.733)" />
			<Flare _template="ReverseSignal" Pos="(-13.643; 1.058; 0.733)" />
		</ReverseSignals>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-1.697; 1.506; -0.007)" />
		<WinchSocket Pos="(-12.754; 2.248; 1.244)" />
		<WinchSocket Pos="(-12.754; 2.248; -1.244)" />
		<LoadArea
			Min="(-1.924; 1.72; -1.237)"
			Max="(-13.658; 3.0; 1.237)"
			TrailerLoad="true"
			Type="LongLogs"
		/>
		<LoadArea
			Min="(-1.924; 1.72; -1.237)"
			Max="(-13.658; 3.0; 1.237)"
			TrailerLoad="true"
			Type="MediumLogs"
		/>
		<LoadArea
			Min="(-1.924; 1.72; -1.237)"
			Max="(-13.658; 3.0; 1.237)"
			TrailerLoad="true"
			Type="ShortLogs"
		/>
		<InstallSocket Offset="(-1.4; 1.3; 0.0)" Type="leosovoz" />
		<AddonSockets>
			<Socket Names="zapchasti" />
			<Socket Names="primebrevna" />
			<Socket Names="primelumber" />
		</AddonSockets>
	</GameData>
</Truck>
