<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="tractor">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>9080</name>
        <specs>
            <power>158</power>
            <maxSpeed>45</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_wheelLoader</function>
        </functions>
        <image>store.png</image>
        <price>108000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>WEIDEMANN</brand>
        <category>wheelLoaderVehicles</category>
        <vertexBufferMemoryUsage>1504500</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>279606</indexBufferMemoryUsage>
        <textureMemoryUsage>18918264</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_wheelLoader</typeDesc>
        <filename>liebherrL538.i3d</filename>
        <size width="3" length="7"/>
        <components>
            <component centerOfMass="0 0.95 -1.3" solverIterationCount="10" mass="9250"/>
            <component centerOfMass="0 0.95 1.1" solverIterationCount="10" mass="3850"/>
            <joint component1="1" component2="2" node="joint" rotLimit="0 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
                <wheels autoRotateBackSpeed="1.2">
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.1" repr="wheelLeftFront" initialCompression="23" suspTravel="0.22" spring="36" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.1" repr="wheelRightFront" initialCompression="23" suspTravel="0.22" spring="36" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="4.9" repr="wheelLeftBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="4.9" repr="wheelRightBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="1700" brand="MICHELIN">
                <wheels autoRotateBackSpeed="1.2">
                    <wheel filename="$data/shared/wheels/michelin/megaXbib/620_75R26.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.1" repr="wheelLeftFront" initialCompression="23" suspTravel="0.21" spring="38" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/megaXbib/620_75R26.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.1" repr="wheelRightFront" initialCompression="23" suspTravel="0.21" spring="38" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/megaXbib/620_75R26.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="4.9" repr="wheelLeftBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/megaXbib/620_75R26.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="4.9" repr="wheelRightBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueTwinWheelsFront" price="2250" brand="TRELLEBORG">
                <wheels autoRotateBackSpeed="1.2">
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.3" repr="wheelLeftFront" initialCompression="23" suspTravel="0.22" spring="36" damper="40"/>
                        <additionalWheel filename="$data/shared/wheels/trelleborg/TM600/420_85R34.xml" configId="dual" offset="0.17" hasParticles="true" hasTireTracks="true">
                            <connector filename="$data/shared/wheels/rims/dual001_3.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.3" repr="wheelRightFront" initialCompression="23" suspTravel="0.22" spring="36" damper="40"/>
                        <additionalWheel filename="$data/shared/wheels/trelleborg/TM600/420_85R34.xml" configId="dual" offset="0.17" hasParticles="true" hasTireTracks="true">
                            <connector filename="$data/shared/wheels/rims/dual001_3.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="4.9" repr="wheelLeftBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM2000/620_75R26.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="4.9" repr="wheelRightBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                    <foliageBendingModifier index="2" minX="-1.8" maxX="1.8" />
                </wheels>
                <size width="4"/>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="7000" brand="TRELLEBORG">
                <wheels autoRotateBackSpeed="1.2">
                    <wheel filename="$data/shared/wheels/trelleborg/TwinForestry428SB/750_45R30_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.1" repr="wheelLeftFront" initialCompression="23" suspTravel="0.22" spring="36" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinForestry428SB/750_45R30_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.1" repr="wheelRightFront" initialCompression="23" suspTravel="0.22" spring="36" damper="40"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinForestry428SB/750_45R30_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="5.0" repr="wheelLeftBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinForestry428SB/750_45R30_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="5.0" repr="wheelRightBack" initialCompression="48" suspTravel="0.22" spring="44" damper="70" frictionScale="2"/>
                    </wheel>
                    <foliageBendingModifier index="1" minX="-1.4" maxX="1.4" />
                    <foliageBendingModifier index="2" minX="-1.4" maxX="1.4" />
                </wheels>
                <objectChange node="wheelLeftBack"   translationActive="1.017 0.766 -1.449" />
                <objectChange node="wheelRightBack"  translationActive="-1.017 0.766 -1.449" />
                <objectChange node="wheelLeftFront"  translationActive="0.993 0.764 1.533" />
                <objectChange node="wheelRightFront" translationActive="-0.993 0.764 1.533" />
                <size width="3.3"/>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimcolor>0.0987 0.0987 0.0987 1</rimcolor>

        <hubs>
            <color0>0.0987 0.0987 0.0987 1</color0>
            <color1>SHARED_GREY1</color1>
            <hub linkNode="wheelLeftFront"  filename="$data/shared/wheels/hubs/hub_n12_4.xml" isLeft="true"  scale="0.410 0.410 0.410" />
            <hub linkNode="wheelRightFront" filename="$data/shared/wheels/hubs/hub_n12_4.xml" isLeft="false" scale="0.410 0.410 0.410" />
            <hub linkNode="wheelLeftBack"   filename="$data/shared/wheels/hubs/hub_n12_4.xml" isLeft="true"  scale="0.410 0.410 0.410" />
            <hub linkNode="wheelRightBack"  filename="$data/shared/wheels/hubs/hub_n12_4.xml" isLeft="false" scale="0.410 0.410 0.410" />
        </hubs>
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="wheelChock01" filename="$data/shared/assets/wheelChocks/wheelChock01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="wheelChock02" filename="$data/shared/assets/wheelChocks/wheelChock01.i3d"/>
    </dynamicallyLoadedParts>
	
    <rimColorConfigurations useDefaultColors="true" price="300" >
        <rimColorConfiguration color="1 1 1 1" />
    </rimColorConfigurations>	

    <articulatedAxis componentJointIndex="1" rotSpeed="55" rotMax="33" rotMin="-33" anchorActor="0"/>

    <attacherJoints>
        <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="20 75 85" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="attacherJointDummy" rootNode="liebherrL538_front_component2" nodeVisual="attacherJoint_visual" jointType="wheelLoader" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5" allowsJointLimitMovement="false" allowsLowering="false">
            <schema position="1 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="liebherrL538_back_component1" />
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="liebherrL538_back_component1" />
        </sounds>
    </attacherJoints>

    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <low>
                <light node="frontLightLow"      lightTypes="0" excludedLightTypes="2 3" />
                <light node="workLightBackLow"   lightTypes="1"/>
                <light node="workLightFrontLow"  lightTypes="2"/>
                <light node="highBeamLow"        lightTypes="3" />
            </low>
            <high>
                <light node="frontLightHigh"     lightTypes="0" excludedLightTypes="2 3" />
                <light node="workLightBackHigh"  lightTypes="1"/>
                <light node="workLightFrontHigh" lightTypes="2"/>
                <light node="highBeamHigh"       lightTypes="3"/>
                <light node="backLightsHigh"     lightTypes="0"/>
                <brakeLight node="backLightsHigh" />
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightFront" />
                <turnLightRight node="turnLightRightBack" />
                <interiorLight node="interiorScreenLight"/>
                <reverseLight node="reverseLight"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="frontlightStatic"     lightTypes="0 3" />
            <defaultLight shaderNode="backlightsStatic" lightTypes="0" />
            <defaultLight shaderNode="worklightBackStatic"  lightTypes="1" />
            <defaultLight shaderNode="worklightFrontStatic" lightTypes="2" />
        </defaultLights>

        <turnLights>
            <turnLightLeft  shaderNode="turnlightLeftFrontStatic" />
            <turnLightLeft  shaderNode="turnlightBackLeftStatic" />
            <turnLightRight shaderNode="turnlightRightFrontStatic" />
            <turnLightRight shaderNode="turnlightBackRightStatic" />
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="backlightsStatic" />
        </brakeLights>
        <reverseLights>
            <reverseLight shaderNode="reverseLightStatic" />
        </reverseLights>
        <beaconLights>
            <beaconLight node="beaconLight" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml"/>
        </beaconLights>

        <sounds>
            <switchLight template="SWITCH_01" linkNode="liebherrL538_back_component1" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="liebherrL538_back_component1" />
        </sounds>

        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState" node="cabDecalLight" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </lights>

    <enterable>
        <exitPoint node="exitPoint"/>
        <enterReferenceNode node="liebherrL538_back_component1"/>
        <characterNode node="player_skin" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="player_rightFoot"/>
            <target ikChain="leftFoot" targetNode="player_leftFoot"/>
            <target ikChain="rightArm" targetNode="player_rightHand" poseId="wideFingers"/>
            <target ikChain="leftArm" targetNode="player_leftHand"/>
        </characterNode>
        <cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget1" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="5" transMax="35" translation="0 0 8" rotation="-17.5 180 0">
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
                <raycastNode node="cameraRaycastNode3"/>
                <raycastNode node="raycastNode4"/>
            </camera>
            <camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox"/>
        </cameras>
        <mirrors>
            <mirror node="mirrorInsideDecal" prio="1"/>
            <mirror node="mirrorRightDecal" prio="1"/>
            <mirror node="mirrorLeftDecal" prio="1"/>
        </mirrors>
    </enterable>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="62"  fillType="diesel" />   <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="3.0" fillType="def" />      <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>
        <motorConfigurations>
            <motorConfiguration name="9080" hp="158"  maxForwardSpeed="43" price="0">
                <motor torqueScale="0.655" minRpm="850" maxRpm="2200" maxForwardSpeed="43" maxBackwardSpeed="20" brakeForce="12" 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="14.5" maxForwardGearRatio="200" minBackwardGearRatio="35" maxBackwardGearRatio="200"/>
            </motorConfiguration>
            <motorConfiguration name="9150" hp="215"  maxForwardSpeed="47" price="12000">
                <motor torqueScale="0.973" minRpm="850" maxRpm="2400" maxForwardSpeed="47" maxBackwardSpeed="22" brakeForce="12" 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="19.2" maxForwardGearRatio="250" minBackwardGearRatio="37.2" maxBackwardGearRatio="250" />
            </motorConfiguration>
        </motorConfigurations>		
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="2.0" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="2.0" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="exhaustParticles" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="50 0" xzRotationsForward="-50 0" xzRotationsBackward="50 0" xzRotationsLeft="0 -180" xzRotationsRight="0 180"/>
        </exhaustEffects>
        <motorStartDuration>1500</motorStartDuration>
        <sounds externalSoundFile="sounds/liebherr_l538.xml" />

        <dashboards>
            <dashboard displayType="ANIMATION" valueType="speed" animName="speedDisplay"   groups="MOTOR_ACTIVE"/>
        </dashboards>
    </motorized>

    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" linkNode="liebherrL538_back_component1" />
        </sounds>
        <steeringWheel node="steeringWheel" indoorRotation="540" outdoorRotation="55"/>
        <dashboards>
            <dashboard displayType="ROT"     valueType="accelerationAxis" node="gasPedal"   minRot="0 0 0" maxRot="0 -20 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>

    <animations>
        <animation name="speedDisplay">
            <part node="speedPart1_decal" startTime="0" endTime="0.010" visibility="true"/>
            <part node="speedPart2_decal" startTime="0" endTime="0.111" visibility="true"/>
            <part node="speedPart3_decal" startTime="0" endTime="0.222" visibility="true"/>
            <part node="speedPart4_decal" startTime="0" endTime="0.333" visibility="true"/>
            <part node="speedPart5_decal" startTime="0" endTime="0.444" visibility="true"/>
            <part node="speedPart6_decal" startTime="0" endTime="0.555" visibility="true"/>
            <part node="speedPart7_decal" startTime="0" endTime="0.666" visibility="true"/>
            <part node="speedPart8_decal" startTime="0" endTime="0.777" visibility="true"/>
            <part node="speedPart9_decal" startTime="0" endTime="0.888" visibility="true"/>
            <part node="speedPart11_decal" startTime="0" endTime="0.010" visibility="false"/>
            <part node="speedPart12_decal" startTime="0" endTime="0.111" visibility="false"/>
            <part node="speedPart13_decal" startTime="0" endTime="0.222" visibility="false"/>
            <part node="speedPart14_decal" startTime="0" endTime="0.333" visibility="false"/>
            <part node="speedPart15_decal" startTime="0" endTime="0.444" visibility="false"/>
            <part node="speedPart16_decal" startTime="0" endTime="0.555" visibility="false"/>
            <part node="speedPart17_decal" startTime="0" endTime="0.666" visibility="false"/>
            <part node="speedPart18_decal" startTime="0" endTime="0.777" visibility="false"/>
            <part node="speedPart19_decal" startTime="0" endTime="0.888" visibility="false"/>
            <part node="speedPart1_decal" startTime="0.011" endTime="0.111" visibility="false"/>
            <part node="speedPart2_decal" startTime="0.112" endTime="0.222" visibility="false"/>
            <part node="speedPart3_decal" startTime="0.223" endTime="0.333" visibility="false"/>
            <part node="speedPart4_decal" startTime="0.334" endTime="0.444" visibility="false"/>
            <part node="speedPart5_decal" startTime="0.445" endTime="0.555" visibility="false"/>
            <part node="speedPart6_decal" startTime="0.556" endTime="0.666" visibility="false"/>
            <part node="speedPart7_decal" startTime="0.667" endTime="0.777" visibility="false"/>
            <part node="speedPart8_decal" startTime="0.778" endTime="0.888" visibility="false"/>
            <part node="speedPart9_decal" startTime="0.889" endTime="1.000" visibility="false"/>
            <part node="speedPart11_decal" startTime="0.011" endTime="0.111" visibility="true"/>
            <part node="speedPart12_decal" startTime="0.112" endTime="0.222" visibility="true"/>
            <part node="speedPart13_decal" startTime="0.223" endTime="0.333" visibility="true"/>
            <part node="speedPart14_decal" startTime="0.334" endTime="0.444" visibility="true"/>
            <part node="speedPart15_decal" startTime="0.445" endTime="0.555" visibility="true"/>
            <part node="speedPart16_decal" startTime="0.556" endTime="0.666" visibility="true"/>
            <part node="speedPart17_decal" startTime="0.667" endTime="0.777" visibility="true"/>
            <part node="speedPart18_decal" startTime="0.778" endTime="0.888" visibility="true"/>
            <part node="speedPart19_decal" startTime="0.889" endTime="1" visibility="true"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="fuelPart1_decal" startTime="0" endTime="0.001" visibility="true"/>
            <part node="fuelPart2_decal" startTime="0" endTime="0.25" visibility="true"/>
            <part node="fuelPart4_decal" startTime="0" endTime="0.50" visibility="true"/>
            <part node="fuelPart3_decal" startTime="0" endTime="0.75" visibility="true"/>
            <part node="fuelPart5_decal" startTime="0" endTime="0.001" visibility="false"/>
            <part node="fuelPart6_decal" startTime="0" endTime="0.25" visibility="false"/>
            <part node="fuelPart8_decal" startTime="0" endTime="0.50" visibility="false"/>
            <part node="fuelPart7_decal" startTime="0" endTime="0.75" visibility="false"/>
            <part node="fuelPart1_decal" startTime="0.002" endTime="0.25" visibility="false"/>
            <part node="fuelPart2_decal" startTime="0.251" endTime="0.50" visibility="false"/>
            <part node="fuelPart4_decal" startTime="0.501" endTime="0.75" visibility="false"/>
            <part node="fuelPart3_decal" startTime="0.751" endTime="1" visibility="false"/>
            <part node="fuelPart5_decal" startTime="0.002" endTime="0.25" visibility="true"/>
            <part node="fuelPart6_decal" startTime="0.251" endTime="0.50" visibility="true"/>
            <part node="fuelPart8_decal" startTime="0.501" endTime="0.75" visibility="true"/>
            <part node="fuelPart7_decal" startTime="0.751" endTime="1" visibility="true"/>
        </animation>
        <animation name="wiperFrontAnimation">
            <part node="wiperArm01" startTime="0.0" endTime="0.5" startRot="0 0 0" endRot="10 0 40" />
            <part node="wiperArm01" startTime="0.5" endTime="1.0" startRot="10 0 40" endRot="5 0 82" />
            <part node="wiperArm01" startTime="1.0" endTime="1.5" startRot="5 0 82" endRot="10 0 40" />
            <part node="wiperArm01" startTime="1.5" endTime="2.0" startRot="10 0 40" endRot="0 0 0" />
            <part node="wiper" startTime="0.0" endTime="0.5" startRot="0 0 0" endRot="-7 0 -40" />
            <part node="wiper" startTime="0.5" endTime="1.0" startRot="-7 0 -40" endRot="0 0 -82" />
            <part node="wiper" startTime="1.0" endTime="1.5" startRot="0 0 -82" endRot="-7 0 -40" />
            <part node="wiper" startTime="1.5" endTime="2.0" startRot="-7 0 -40" endRot="0 0 0" />
        </animation>
        <animation name="wiperBackAnimation">
            <part node="wiperBack" startTime="0.0" endTime="1" startRot="0 0 0" endRot="0 1.591 -54.501" />
            <part node="wiperBack" startTime="1.0" endTime="2" startRot="0 1.591 -54.501" endRot="0 0 0" />
        </animation>
    </animations>

    <wipers>
        <wiper animName="wiperFrontAnimation" >
            <state animSpeed="0.75" animPause="2.0" />
            <state animSpeed="0.75" animPause="0.0" />
            <state animSpeed="1.10" animPause="0.0" />
        </wiper>
        <wiper animName="wiperBackAnimation" >
            <state animSpeed="1.0" animPause="2.0" />
        </wiper>
    </wipers>

    <cylindered>
        <movingTools>
            <movingTool node="mainArmDummy" delayedNode="mainArm">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.6" iconName="CRANE_ARM2_ROTATE_X"/>
                <rotation rotSpeed="25" rotAcceleration="125" rotMax="6" rotMin="-87"/>
                <dependentMovingTool node="attacherDummy" minRotLimits="6 85" maxRotLimits="120 195" rotSpeedScale="-1"/>
                <attacherJoint jointIndices="2"/>
            </movingTool>
            <movingTool node="attacherDummy" delayedNode="attacher">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.35" iconName="CRANE_ARM2_ROTATE_TOOL"/>
                <rotation rotSpeed="60" rotAcceleration="200" rotMax="120" rotMin="0" syncMinRotLimits="true" syncMaxRotLimits="true"/>
                <attacherJoint jointIndices="2"/>
            </movingTool>
            <movingTool node="mainArm">
                <dependentPart node="zKinematic"/>
                <dependentPart node="hydraulicMainArm"/>
            </movingTool>
            <movingTool node="attacher">
                <dependentPart node="zKinematic"/>
            </movingTool>
            <movingTool node="wiperArm01">
                <dependentPart node="wiperArm02"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="wiperArm02" referencePoint="wiperArm02Ref" referenceFrame="wiperArm02Ref"/>
            <movingPart node="hydraulicMainArm" referencePoint="hydraulicMainArmRef" referenceFrame="hydraulicMainArmRef" playSound="true">
                <translatingPart node="hydraulicMainArmPunch"/>
            </movingPart>
            <movingPart node="zKinematic" referencePoint="zKinematicArmRef" localReferencePoint="zKinematicArm" referenceFrame="zKinematicRefFrame" playSound="true">
                <dependentPart node="zKinematicArm"/>
                <dependentPart node="hydraulicZKinematic"/>
            </movingPart>
            <movingPart node="zKinematicArm" referencePoint="zKinematicArmRef" referenceFrame="zKinematicArmRefFrame" playSound="true"/>
            <movingPart node="hydraulicZKinematic" referencePoint="hydraulicZKinematicRef" referenceFrame="mainArm" playSound="true">
                <translatingPart node="hydraulicZKinematicPunch"/>
                <dependentPart node="joint2"/>
            </movingPart>
            <movingPart node="joint2" referenceFrame="hydraulicZKinematic" playSound="true"/>
            <movingPart node="hydraulicSteeringLeft" referencePoint="hydraulicSteeringLeftRef" referenceFrame="hydraulicSteeringLeftRef" isActiveDirty="true">
                <translatingPart node="hydraulicSteeringLeftPunch"/>
            </movingPart>
            <movingPart node="hydraulicSteeringRight" referencePoint="hydraulicSteeringRightRef" referenceFrame="hydraulicSteeringRightRef" isActiveDirty="true">
                <translatingPart node="hydraulicSteeringRightPunch"/>
            </movingPart>
            <movingPart node="drivingShaft" referencePoint="drivingShaftRef" referenceFrame="drivingShaftRef" isActiveDirty="true" scaleZ="true"/>
            <movingPart node="hydraulicPipesLeft" referencePoint="hydraulicPipesLeftRef" referenceFrame="hydraulicPipesLeftRef" isActiveDirty="true" scaleZ="true"/>
            <movingPart node="hydraulicPipesRight" referencePoint="hydraulicPipesRightRef" referenceFrame="hydraulicPipesRightRef" isActiveDirty="true" scaleZ="true"/>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="liebherrL538_back_component1"/>
        </sounds>
        <dashboards>
            <dashboard displayType="ROT" valueType="movingTool" node="frontloaderJoystick02" rotAxis="1" minRot="-15" maxRot="15" axis="AXIS_FRONTLOADER_ARM"  doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="movingTool" node="frontloaderJoystick02" rotAxis="3" minRot="-15" maxRot="15" axis="AXIS_FRONTLOADER_TOOL" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </cylindered>

    <suspensions>
        <suspension node="seat"              weight="150" minTranslation="-0.05 -0.15 0.0" maxTranslation="0.05 0.15 0.0" suspensionParametersX="20 4" suspensionParametersY="5 1" suspensionParametersZ="20 4" />
        <suspension useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1" />
    </suspensions>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="205" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                    <fillUnit capacity="20" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
        <default>
            <dashboard displayType="EMITTER" node="displayDecal" idleValue="-1" intensity="0.3" groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="speedParts" groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="fuelParts" groups="MOTOR_ACTIVE" />
        </default>
    </dashboard>

    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-3.3" maxZ="-0.1" yOffset="0.7" node="liebherrL538_back_component1" />
        <bendingNode minX="-1.3" maxX="1.3" minZ="-0.1" maxZ="2.4" yOffset="0.7" node="liebherrL538_front_component2" />
        <bendingNode minX="-0.8" maxX="0.8" minZ="-1" maxZ="1.3" yOffset="0.1" node="hydraulicMainArmRef" />
    </foliageBending>

    <honk>
        <sound template="HONK_NH_W190" linkNode="liebherrL538_back_component1" />
    </honk>

    <ai>
        <collisionTrigger node="trafficCollisionTrigger"/>
    </ai>

    <i3dMappings>
        <i3dMapping id="liebherrL538_back_component1" node="0>" />
        <i3dMapping id="wheelLeftBack" node="0>0|0" />
        <i3dMapping id="wheelRightBack" node="0>0|1" />
        <i3dMapping id="indoorCamera1" node="0>1|1" />
        <i3dMapping id="cameraRaycastNode1" node="0>1|2" />
        <i3dMapping id="cameraRaycastNode2" node="0>1|3" />
        <i3dMapping id="cameraRaycastNode3" node="0>1|4" />
        <i3dMapping id="shadowFocusBox" node="0>1|5" />
        <i3dMapping id="workLightBackLow" node="0>2|0|0|0" />
        <i3dMapping id="workLightBackHigh" node="0>2|0|0|1" />
        <i3dMapping id="workLightFrontHigh" node="0>2|0|1|0" />
        <i3dMapping id="workLightFrontLow" node="0>2|0|1|1" />
        <i3dMapping id="backLightsHigh" node="0>2|1|0" />
        <i3dMapping id="turnLightLeftBack" node="0>2|2|0|0" />
        <i3dMapping id="turnLightRightBack" node="0>2|2|1|0" />
        <i3dMapping id="beaconLight" node="0>2|3|0" />
        <i3dMapping id="reverseLight" node="0>2|4" />
        <i3dMapping id="worklightFrontStatic" node="0>2|5|1" />
        <i3dMapping id="worklightBackStatic" node="0>2|5|2" />
        <i3dMapping id="reverseLightStatic" node="0>2|5|3" />
        <i3dMapping id="backlightsStatic" node="0>2|5|4" />
        <i3dMapping id="turnlightBackLeftStatic" node="0>2|5|5" />
        <i3dMapping id="turnlightBackRightStatic" node="0>2|5|6" />
        <i3dMapping id="exitPoint" node="0>3" />
        <i3dMapping id="steeringWheel" node="0>4|0" />
        <i3dMapping id="player_leftHand" node="0>4|0|0" />
        <i3dMapping id="trailerAttacherJoint" node="0>5|0" />
        <i3dMapping id="player_leftFoot" node="0>6|0" />
        <i3dMapping id="exhaustParticles" node="0>8|0" />
        <i3dMapping id="drivingShaft" node="0>9|0" />
        <i3dMapping id="hydraulicSteeringLeft" node="0>9|1" />
        <i3dMapping id="hydraulicSteeringLeftPunch" node="0>9|1|0" />
        <i3dMapping id="hydraulicSteeringRight" node="0>9|2" />
        <i3dMapping id="hydraulicSteeringRightPunch" node="0>9|2|0" />
        <i3dMapping id="hydraulicPipesLeft" node="0>9|3" />
        <i3dMapping id="hydraulicPipesRight" node="0>9|4" />
        <i3dMapping id="speedParts" node="0>10|0" />
        <i3dMapping id="speedPart1_decal" node="0>10|0|0|0" />
        <i3dMapping id="speedPart2_decal" node="0>10|0|0|1" />
        <i3dMapping id="speedPart3_decal" node="0>10|0|0|2" />
        <i3dMapping id="speedPart4_decal" node="0>10|0|0|3" />
        <i3dMapping id="speedPart5_decal" node="0>10|0|0|4" />
        <i3dMapping id="speedPart6_decal" node="0>10|0|0|5" />
        <i3dMapping id="speedPart7_decal" node="0>10|0|0|6" />
        <i3dMapping id="speedPart8_decal" node="0>10|0|0|7" />
        <i3dMapping id="speedPart9_decal" node="0>10|0|0|8" />
        <i3dMapping id="speedPart11_decal" node="0>10|0|1|0" />
        <i3dMapping id="speedPart12_decal" node="0>10|0|1|1" />
        <i3dMapping id="speedPart13_decal" node="0>10|0|1|2" />
        <i3dMapping id="speedPart14_decal" node="0>10|0|1|3" />
        <i3dMapping id="speedPart15_decal" node="0>10|0|1|4" />
        <i3dMapping id="speedPart16_decal" node="0>10|0|1|5" />
        <i3dMapping id="speedPart17_decal" node="0>10|0|1|6" />
        <i3dMapping id="speedPart18_decal" node="0>10|0|1|7" />
        <i3dMapping id="speedPart19_decal" node="0>10|0|1|8" />
        <i3dMapping id="fuelParts" node="0>10|1" />
        <i3dMapping id="fuelPart1_decal" node="0>10|1|0|0" />
        <i3dMapping id="fuelPart2_decal" node="0>10|1|0|1" />
        <i3dMapping id="fuelPart4_decal" node="0>10|1|0|2" />
        <i3dMapping id="fuelPart3_decal" node="0>10|1|0|3" />
        <i3dMapping id="fuelPart5_decal" node="0>10|1|1|0" />
        <i3dMapping id="fuelPart6_decal" node="0>10|1|1|1" />
        <i3dMapping id="fuelPart8_decal" node="0>10|1|1|2" />
        <i3dMapping id="fuelPart7_decal" node="0>10|1|1|3" />
        <i3dMapping id="mirrorInsideDecal" node="0>11|0" />
        <i3dMapping id="mirrorRightDecal" node="0>11|1" />
        <i3dMapping id="mirrorLeftDecal" node="0>11|2" />
        <i3dMapping id="joint" node="0>13" />
        <i3dMapping id="interiorScreenLight" node="0>14|2|0" />
        <i3dMapping id="cabDecalLight" node="0>14|2|3" />
        <i3dMapping id="frontloaderJoystick02" node="0>14|12" />
        <i3dMapping id="player_rightHand" node="0>14|12|0" />
        <i3dMapping id="seat" node="0>14|13" />
        <i3dMapping id="player_skin" node="0>14|13|1" />
        <i3dMapping id="gasPedal" node="0>14|15|0" />
        <i3dMapping id="player_rightFoot" node="0>14|15|0|0" />
        <i3dMapping id="displayDecal" node="0>14|16" />
        <i3dMapping id="wiperBack" node="0>14|18" />
        <i3dMapping id="wiperArm01" node="0>14|19" />
        <i3dMapping id="wiper" node="0>14|19|0" />
        <i3dMapping id="wiperArm02Ref" node="0>14|19|0|0" />
        <i3dMapping id="wiperArm02" node="0>14|20" />
        <i3dMapping id="liebherrL538_front_component2" node="1>" />
        <i3dMapping id="wheelLeftFront" node="1>0|0" />
        <i3dMapping id="wheelRightFront" node="1>0|1" />
        <i3dMapping id="outdoorCameraTarget1" node="1>1|0" />
        <i3dMapping id="outdoorCamera1" node="1>1|0|0" />
        <i3dMapping id="raycastNode4" node="1>1|1" />
        <i3dMapping id="frontLightLow" node="1>2|0|0" />
        <i3dMapping id="highBeamLow" node="1>2|0|1" />
        <i3dMapping id="frontLightHigh" node="1>2|0|2" />
        <i3dMapping id="highBeamHigh" node="1>2|0|3" />
        <i3dMapping id="turnLightLeftFront" node="1>2|1|0|0" />
        <i3dMapping id="turnLightRightFront" node="1>2|1|1|0" />
        <i3dMapping id="frontlightStatic" node="1>2|2|1" />
        <i3dMapping id="turnlightRightFrontStatic" node="1>2|2|2" />
        <i3dMapping id="turnlightLeftFrontStatic" node="1>2|2|3" />
        <i3dMapping id="trafficCollisionTrigger" node="1>3|0" />
        <i3dMapping id="mainArm" node="1>4|0" />
        <i3dMapping id="attacher" node="1>4|0|0" />
        <i3dMapping id="zKinematicArmRef" node="1>4|0|0|0" />
        <i3dMapping id="attacherJoint_visual" node="1>4|0|0|1" />
        <i3dMapping id="zKinematic" node="1>4|0|1" />
        <i3dMapping id="zKinematicArm" node="1>4|0|1|0" />
        <i3dMapping id="hydraulicZKinematicRef" node="1>4|0|1|1" />
        <i3dMapping id="zKinematicArmRefFrame" node="1>4|0|1|2" />
        <i3dMapping id="hydraulicMainArmRef" node="1>4|0|2" />
        <i3dMapping id="zKinematicRefFrame" node="1>4|0|3" />
        <i3dMapping id="hydraulicMainArm" node="1>4|1" />
        <i3dMapping id="hydraulicMainArmPunch" node="1>4|1|0" />
        <i3dMapping id="hydraulicZKinematic" node="1>4|2" />
        <i3dMapping id="hydraulicZKinematicPunch" node="1>4|2|0" />
        <i3dMapping id="drivingShaftRef" node="1>4|3" />
        <i3dMapping id="hydraulicSteeringLeftRef" node="1>4|4" />
        <i3dMapping id="hydraulicSteeringRightRef" node="1>4|5" />
        <i3dMapping id="hydraulicPipesLeftRef" node="1>4|6" />
        <i3dMapping id="hydraulicPipesRightRef" node="1>4|7" />
        <i3dMapping id="mainArmDummy" node="1>4|8" />
        <i3dMapping id="attacherDummy" node="1>4|8|0" />
        <i3dMapping id="attacherJointDummy" node="1>4|8|0|0" />
        <i3dMapping id="joint2" node="1>7|0|0" />
        <i3dMapping id="wheelChock1" node="1>8|0|0" />
        <i3dMapping id="wheelChock2" node="1>8|0|1" />
        <i3dMapping id="wheelChock01" node="1>9" />
        <i3dMapping id="wheelChock02" node="1>10" />
    </i3dMappings>
</vehicle>
