<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="carFillable">
    <storeData>
        <name>GENIE_SX280</name>
		 <specs>
            <power>610</power>
        </specs>
		<functions>
            <function>$l10n_function_tractor</function>
        </functions>
        <image>Store.dds</image>
        <price>84950</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>GENIE</brand>
        <category>miscVehicles</category>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_tractor</typeDesc>
		<filename>Haulotte_H14TPX.i3d</filename>
        <size width="3.0" length="7.0"/>
        <components>
            <component centerOfMass="0.00 1.19 0.48" solverIterationCount="10"mass="4681"/>
            <component centerOfMass="0 0 0" solverIterationCount="254"mass="1"/>
        </components>
		<schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="roue" price="0">
                <wheels autoRotateBackSpeed="2.2">
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="1" restLoad="1.5" repr="wheelFrontLeft" forcePointRatio="0.2" radius="0.7" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="1.5"/>
                    </wheel>
                
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="1" restLoad="1.5" repr="wheelFrontRight" forcePointRatio="0.2" radius="0.7" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="1.5"/>
                    </wheel>
               
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="1" restLoad="2.4" repr="wheel03" forcePointRatio="0.3" radius="0.7" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="1.5"/>
                    </wheel>
                
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="1" restLoad="2.4" repr="wheel04" forcePointRatio="0.3" radius="0.7" width="0.4" mass="0.19" initialCompression="50" suspTravel="0.1" spring="90" damper="50" frictionScale="1.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
		
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="60" rotMax="48" rotCenterWheel1="2" rotCenterWheel2="3"/>
        </ackermannSteeringConfigurations>
		
    </wheels>
  
     <lights>

		<states>
            <state lightTypes="0"/>
            <state lightTypes="0 2"/>
        </states>
		
      <realLights>
		
            <low>
                <light node="frontLightLow"         lightTypes="0" excludedLightTypes="2 3" />
                <light node="highBeamLow"           lightTypes="3" />
            </low>
			
            <high>
                <light node="frontLightHigh"        lightTypes="0" excludedLightTypes="2 3" />             
                <light node="highBeamHigh"          lightTypes="3"/>
                <light node="backLightsHigh"       lightTypes="0"/>
				<light node="backLightsHigh1"       lightTypes="0"/>
				<light node="frontLightHigh1"       lightTypes="0"/>
				<light node="frontLightHigh2"       lightTypes="2"/>
				<light node="frontLightHigh3"       lightTypes="2"/>
                <brakeLight node="backLightsHigh" />
				<brakeLight node="backLightsHigh" />
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightFront" />
                <turnLightRight node="turnLightRightBack" />
				<reverseLight node="reverseLight" />
				<reverseLight node="reverseLight1" />
            </high>
			
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStatic"     lightTypes="0 3" />
			<defaultLight shaderNode="frontlightStatic1"     lightTypes="0 3" />
			<defaultLight shaderNode="frontlightStatic2"     lightTypes="2" />
			<defaultLight shaderNode="frontlightStatic3"     lightTypes="2" />
            <defaultLight shaderNode="backlightsHighStaticLeft" lightTypes="0" />
			<defaultLight shaderNode="backlightsHighStaticRight" lightTypes="0" />
			<defaultLight shaderNode="brakelightStaticleft"  />
			<defaultLight shaderNode="brakelightStaticRight"  />
        </defaultLights>

        <turnLights>
            <turnLightLeft  shaderNode="turnlightFrontLeftStatic" />
            <turnLightLeft  shaderNode="turnlightBackLeftStatic" />
            <turnLightRight shaderNode="turnlightFrontRightStatic" />
            <turnLightRight shaderNode="turnlightBackRightStatic" />
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="brakelightStaticleft" />
			<brakeLight shaderNode="brakelightStaticRight" />
        </brakeLights>
		
		<reverseLights>
            <reverseLight shaderNode="reverseLightStaticLeft" />
			<reverseLight shaderNode="reverselightStaticright" />
        </reverseLights>

        <sounds>
            <switchLight template="SWITCH_01" linkNode="0>" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>" />
        </sounds>
        <beaconLights>
            <beaconLight node="0>13|0|2" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml"/>
            <beaconLight node="0>13|0|3" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml"/>
        </beaconLights>
    </lights>
    <enterable>
        <exitPoint node="0>13|0|0|0|0|0|0|0|0|4"/>
        <enterReferenceNode node="0>"/>
        <cameras>
            <camera node="outdoorCamera" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="6.75" transMax="40" translation="0 0 11" rotation="-10 179.9 0">
            </camera>
            <camera node="indoorCamera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox"/>
			<camera node="indoorCamera1" useWorldXZRotation="false"/> 
        </cameras>
    </enterable>
    <motorized>
        <motorConfigurations>
            <motorConfiguration>
                <motor torqueScale="0.63" minRpm="1000" maxRpm="3200" maxBackwardSpeed="20" brakeForce="6" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1">
                    <torque normRpm="0.45" torque="0.9"/>
                    <torque normRpm="0.5" torque="0.97"/>
                    <torque normRpm="0.59" torque="1"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="0.86" torque="0.88"/>
                    <torque normRpm="1" torque="0.72"/>
                </motor>
                <transmission minForwardGearRatio="45" maxForwardGearRatio="130" minBackwardGearRatio="45" maxBackwardGearRatio="130"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.7" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.7" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>13|0|7" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.5 0.5 0.5 5" maxRpmColor="0 0 0 10" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="0 0" xzRotationsForward="-250 0" xzRotationsBackward="50 0" xzRotationsLeft="0 100" xzRotationsRight="0 -100"/>
        </exhaustEffects>
		
        <motorStartDuration>2500</motorStartDuration>
		
        <sounds externalSoundFile="$data/sounds/vehicles/engine/manitou_mlt737/manitou_mlt737.xml" />
		
		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="192" fillType="diesel"/>
            </consumerConfiguration>
        </consumerConfigurations>
		
    </motorized>
	
	<drivable>
        <steeringWheel node="0>12" indoorRotation="450" outdoorRotation="450"/>
		<sounds>            
		   <waterSplash template="WATER_SPLASH_01"/>
		</sounds>
    </drivable>
	
    <foldable>
        <foldingParts posDirectionText="unfold_SupportFeet" negDirectionText="fold_SupportFeet" turnOnFoldMinLimit="0.9" turnOnFoldMaxLimit="1">
            <foldingPart animationName="movePillars" speedScale="1"/>
        </foldingParts>
    </foldable>
	
    <animations>
        <animation name="movePillars">
            <part node="0>13|5|3|0" startTime="0" endTime="1" startTrans="-1.33 -0.366 2.441" endTrans="-0.139 -0.366 2.441"/>
            <part node="0>13|5|3|0|0" startTime="0" endTime="1" startTrans="0 0 0" endTrans="1.279 0 0"/>
            <part node="0>13|5|3|0|0|0" startTime="1" endTime="2" startTrans="1.121 0.243 -5.264" endTrans="1.121 -0.836 -5.264"/>
            <part node="0>13|5|3|1" startTime="0" endTime="1" startTrans="-1.33 -0.366 8.144" endTrans="-0.005 -0.388 8.144"/>
            <part node="0>13|5|3|1|0" startTime="0" endTime="1" startTrans="0 0 0" endTrans="1.279 0 0"/>
            <part node="0>13|5|3|1|0|0" startTime="1" endTime="2" startTrans="1.121 0.243 -5.264" endTrans="1.121 -0.801 -5.264"/>
            <part node="0>13|5|4|0" startTime="0" endTime="1" startTrans="-0.558 -0.366 -2.441" endTrans="-1.33 -0.366 -2.441"/>
            <part node="0>13|5|4|0|0" startTime="0" endTime="1" startTrans="0 0 0" endTrans="1.279 0 0"/>
            <part node="0>13|5|4|0|0|0" startTime="1" endTime="2" startTrans="1.121 0.243 -5.264" endTrans="1.121 -0.801 -5.264"/>
            <part node="0>13|5|4|1" startTime="0" endTime="1" startTrans="-0.559 -0.366 -8.053" endTrans="-1.417 -0.366 -8.053"/>
            <part node="0>13|5|4|1|0" startTime="0" endTime="1" startTrans="0 0 0" endTrans="1.279 0 0"/>
            <part node="0>13|5|4|1|0|0" startTime="1" endTime="2" startTrans="1.121 0.243 -5.264" endTrans="1.121 -0.801 -5.264"/>
        </animation>
    </animations>
	
    <cylindered>
	
        <movingTools>
            <movingTool node="0>13|0">
                 <controls axis="AXIS_CRANE_ARM" invertAxis="true" speedFactor="0.5"iconName="CRANE_ARM1_ROTATE_Y"/>          
			   <rotation rotSpeed="30" rotAcceleration="250" rotMax="360" rotMin="-360" rotationAxis="2"/>    
			   <attacherJoint jointIndices="0 1 2 3 4 5 6"/>    
                <dependentPart node="0>13|0|0"/>
            </movingTool>
			
            <movingTool node="0>13|0|0">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" speedFactor="0.6" iconName="CRANE_ARM1_ROTATE_X"/> 
			   <rotation rotSpeed="30" rotAcceleration="200" rotMax="70" rotMin="-49" rotationAxis="1"/>       
			   <attacherJoint jointIndices="0 1 2 3 4 5 6"/>           
                <dependentPart node="0>13|0|0|0|0"/>
                <dependentPart node="0>13|0|0|4"/>
            </movingTool>
			
            <movingTool node="0>13|0|0|0">
                <controls axis="AXIS_CRANE_ARM4" invertAxis="true" invertMouseAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM2_TRANSLATE"/>     
				<translation transSpeed="2" transAcceleration="2.8" transMax="13.199" transMin="5" translationAxis="3"/>                   
				<attacherJoint jointIndices="0 1 2 3 4 5 6"/>         
                <dependentMovingTool node="0>13|0|0|0|0"speedScale="1"/>  
            </movingTool>
			
            <movingTool node="0>13|0|0|0|0">
                <translation transSpeed="2" transAcceleration="1.8" transMax="0.457" transMin="-0.473" translationAxis="3"/>
                <attacherJoint jointIndices="0 1 2 3 4 5 6"/>

            </movingTool>
                 
            <movingTool node="0>13|0|0|0|0|0">
                <controls axis="AXIS_FRONTLOADER_ARM2" invertAxis="true" invertMouseAxis="true" mouseSpeedFactor="1" iconName="CRANE_ARM2_ROTATE_X"/>
                <rotation rotSpeed="60" rotAcceleration="90" rotMax="50" rotMin="-10" rotationAxis="1"/>
                <attacherJoint jointIndices="0 1 2 3 4 5 6"/>
                <dependentMovingTool node="0>13|0|0|0|0|0|0"speedScale="1"/>
				<dependentMovingTool node="0>13|0|0|0|0|0|1"speedScale="1"/> 
            </movingTool>
			
            <movingTool node="0>13|0|0|0|0|0|0">
                <rotation rotSpeed="200" rotAcceleration="200" rotMax="0" rotMin="-115" rotationAxis="1"/>
                <attacherJoint jointIndices="0 1 2 3 4 5 6"/>
            </movingTool> 
			
			<movingTool node="0>13|0|0|0|0|0|1">              
                <rotation rotSpeed="200" rotAcceleration="200" rotMax="0" rotMin="-115" rotationAxis="1"/>
                <attacherJoint jointIndices="0 1 2 3 4 5 6"/>
            </movingTool>  
			
            <movingTool node="0>13|0|0|0|0|0|0|0">
                <controls axis="AXIS_FRONTLOADER_TOOL4" invertAxis="true" invertMouseAxis="true" speedFactor="0.4"iconName="CRANE_ARM1_ROTATE_X"/>  
                <rotation rotSpeed="200" rotAcceleration="200" rotMax="145" rotMin="-10" rotationAxis="1"/>
                <attacherJoint jointIndices="0 1 2 3 4 5 6"/>
            </movingTool>
         
            <movingTool node="0>13|0|0|0|0|0|0|0|0">
                <controls axis="AXIS_CRANE_TOOL2" invertAxis="true" invertMouseAxis="true" mouseSpeedFactor="1" iconName="GRABBER_ROTATE_Y"/>   
                <rotation rotSpeed="200" rotAcceleration="600" rotMax="80" rotMin="-80" rotationAxis="2"/>
                <attacherJoint jointIndices="0 1 2 3 4 5 6"/>

            </movingTool>
			
        </movingTools>
		
        <movingParts>
		
            <movingPart node="0>13|0|0|4" referencePoint="0>13|0|1" referenceFrame="0>13|0|1">
                <translatingPart node="0>13|0|0|4|0"/>
            </movingPart>
			
			<movingPart node="0>13|0|0|0|0|0|1" referencePoint="0>13|0|0|0|0|0|0|0|1" referenceFrame="0>13|0|0|0|0|0|0|0|1">
            </movingPart>
			
        </movingParts>
		
    </cylindered>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="200" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/>
                    <fillUnit capacity="40" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
    <turnOnVehicle turnOffIfNotAllowed="true"/>

	<honk>
     	<sound template="HONK_TRUCK" linkNode="0>"/>
	</honk>  
	
	<dashboard>       
     	<groups>           
     		<group name="MOTOR_STARTING" isMotorStarting="true"/>       
			<group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true"/>
		</groups>
	</dashboard>  
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>  
	<washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	  
    <ai>
        <collisionTrigger node="14"/>
    </ai>
	
   <i3dMappings>  
    	<i3dMapping id="Haulotte_H14TPX" node="0>"/>
		
		<i3dMapping id="outdoorCameraTarget" node="0>4"/>  
		<i3dMapping id="outdoorCamera" node="0>4|0"/> 
		<i3dMapping id="shadowFocusBox" node="0>4|1"/> 
		<i3dMapping id="indoorCamera" node="0>13|0|0|0|0|0|0|0|0|0"/> 
		<i3dMapping id="indoorCamera1" node="0>5"/>  
		
		
		<i3dMapping id="wheelFrontLeft" node="0>0"/>
        <i3dMapping id="wheelFrontRight" node="0>1"/>
		<i3dMapping id="wheel03" node="0>2"/>
        <i3dMapping id="wheel04" node="0>3"/>
		
		<i3dMapping id="turnlightFrontLeftStatic" node="0>13|6|0|0|1" />
        <i3dMapping id="turnlightFrontRightStatic" node="0>13|6|0|1|1" />
		<i3dMapping id="turnLightLeftFront" node="0>13|6|2|0" />
        <i3dMapping id="turnLightRightFront" node="0>13|6|2|1" />
		<i3dMapping id="turnlightBackRightStatic" node="0>13|6|0|4|2" />
        <i3dMapping id="turnlightBackLeftStatic" node="0>13|6|0|5|2" />
		<i3dMapping id="turnLightLeftBack" node="0>13|6|3|0" />
        <i3dMapping id="turnLightRightBack" node="0>13|6|3|1" />
		
		<i3dMapping id="backLightsHigh" node="0>13|6|1|0" />
		<i3dMapping id="backLightsHigh1" node="0>13|6|1|0|0" />
		<i3dMapping id="backlightsHighStaticRight" node="0>13|6|0|5|4" />
		<i3dMapping id="backlightsHighStaticLeft" node="0>13|6|0|4|4" />
		<i3dMapping id="brakelightStaticleft" node="0>13|6|0|4|5" />
		<i3dMapping id="brakelightStaticRight" node="0>13|6|0|5|5" />
		
		<i3dMapping id="reverseLight1" node="0>13|6|4|1" />
		<i3dMapping id="reverseLight" node="0>13|6|4|0" />
		<i3dMapping id="reverselightStaticright" node="0>13|6|0|5|3" />
		<i3dMapping id="reverseLightStaticLeft" node="0>13|6|0|4|3" />
		
		<i3dMapping id="frontlightStatic" node="0>13|6|0|0|0" />
		<i3dMapping id="frontlightStatic1" node="0>13|6|0|1|0" />
		<i3dMapping id="frontlightStatic2" node="0>13|6|0|2|0" />
		<i3dMapping id="frontlightStatic3" node="0>13|6|0|3|0" />
		
		<i3dMapping id="frontLightLow" node="0>13|6|5|0" />
        <i3dMapping id="highBeamLow" node="0>13|6|5|1" />
        <i3dMapping id="frontLightHigh" node="0>13|6|5|2" />
		<i3dMapping id="frontLightHigh1" node="0>13|6|5|2|0" />
		<i3dMapping id="frontLightHigh2" node="0>13|6|5|4" />
		<i3dMapping id="frontLightHigh3" node="0>13|6|5|4|0" />
        <i3dMapping id="highBeamHigh" node="0>13|6|5|3" />
		<i3dMapping id="highBeamHigh1" node="0>13|6|5|3|0" />
		
    </i3dMappings>		
	
	
</vehicle>
