<_templates Include="trucks">
	<Flare>
		<Sublight Color="(122; 61; 0) x 0.6" Size="0.5" />
	</Flare>	
	<Wheel>
		<Wheel
			Type="koleso_pricep_krone"
			HardpointOffsetY="-0.2"
			SuspensionMin="-0.5"
			SuspensionStrength="0.015"
			Torque="default"
		/>
	</Wheel>
</_templates>
<Truck>
	<Wheels
		HardpointDefaultY="0.45"
		HardpointDefaultZ="1.17"
	>
		<Wheel _template="Wheel" HardpointX="-7.241" />
		<Wheel _template="Wheel" HardpointX="-7.241" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-8.628" />
		<Wheel _template="Wheel" HardpointX="-8.628" RightSide="true" />
		<Wheel _template="Wheel" HardpointX="-9.969" />
		<Wheel _template="Wheel" HardpointX="-9.969" RightSide="true" />	
	</Wheels>
	<TruckData FuelCapacity="3200" >
		<OcclusionMap HalfSizeZ="1.75" MinX="-7.84" MaxX="1.36" />
		<Constraint _template="TrailerRagdoll" />
		<Camera Center="(-8.0; 1; 0)" />
	</TruckData>
	<PoweredConstraints>
		<Group Id="foot_push">
			<Constraint Name="Foot" Position="-0.8" TerminalFix="true" />
		</Group>
	</PoweredConstraints>
	<PhysicsModel Mesh="trucks/pricep_molokovoz_mercedes_benz">
		<Body CenterOfMassOffset="(-2.0; -0.6; 0)" Mass="6500">
			<Body
				ForceBodyParams="true"
				Mass="200"
				ModelFrame="BoneOpora_cdt"
				NoFoliageCollisions="true"
			>
				<Constraint
					AxisLocal="(0;1;0)"
					MinLimit="-0.6"
					MaxLimit="0"
					Name="Foot"
					Type="Prismatic"
				>
					<Motor Force="16000" Type="Position" />
				</Constraint>
			</Body>
		</Body>
	</PhysicsModel>
	<ModelAttachments>
		<ReverseSignals>
			<Light
				Pos="(-12.7; 0.0; 0)"
				ParentFrame="BoneRear_cdt"
				AttenEnd="2.0"
				Color="(102; 102; 102) x 16"
				Dir="(-1.0; -0.2; 0)"
				InnerCone="120"
				OuterCone="160"
			/>
			<Flare
				Pos="(-12.7; 1.106; 0.774)"
				ParentFrame="BoneRear_cdt"
				Color="g(255; 255; 255) x 0.5"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Size="1.2"
				SizeAtDay="0.4"
			/>
			<Flare
				Pos="(-12.7; 1.106; -0.774)"
				ParentFrame="BoneRear_cdt"
				Color="g(255; 255; 255) x 0.5"
				Dir="(-1.0; 0; 0)"
				DirAngle="90"
				Size="1.2"
				SizeAtDay="0.4"
			/>
		</ReverseSignals>		
		<Ignition>
			<Flare _template="Sublight" Pos="(-11.004; 1.153; -0.858)" />
			<Flare _template="Sublight" Pos="(-11.004; 1.153;  0.858)" />						
			
			<Flare _template="Sublight" Pos="(-6.483; 1.153; -0.858)" />
			<Flare _template="Sublight" Pos="(-6.483; 1.153;  0.858)" />						
			
			<Flare _template="Sublight" Pos="(-2.428; 1.153; -0.858)" />
			<Flare _template="Sublight" Pos="(-2.428; 1.153;  0.858)" />					
			
			<Flare _template="Sublight" Pos="(-0.07; 1.347; -1.421)" />
			<Flare _template="Sublight" Pos="(-0.07; 1.347;  1.421)" />								
			
			<Flare _template="Sublight" Pos="(-12.605; 1.183; -1.4)" />
			<Flare _template="Sublight" Pos="(-12.605; 1.183;  1.4)" />			
			<Flare _template="StopSignal" Pos="(-12.7; 1.106; -1.15)" />
			<Flare _template="StopSignal" Pos="(-12.7; 1.106;  1.15)" />
		</Ignition>		
		<StopSignals>
			<Light _template="StopSignal" Pos="(-12.7; 0.0; 0)" />
			<Flare _template="StopSignal" Pos="(-12.7; 1.106; -0.87)" />
			<Flare _template="StopSignal" Pos="(-12.7; 1.106;  0.87)" />
		</StopSignals>
	</ModelAttachments>
	<GameData>
		<WinchSocket Pos="(-12.7; 1.106; 0.389)" />
		<WinchSocket Pos="(-12.7; 1.106; -0.389)" />
		<WinchSocket Pos="(0.0; 1.0; 0)" />
		<InstallSocket Offset="(0; 1.0; 0.0)" Type="pricep" />
	</GameData>
	<FuelMass>
		<Body Mass="3200" />
	</FuelMass>
</Truck>

