﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="selfPropelledLeveler" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Leitwolf Agripower</name>
        <specs>
            <power>435</power>
            <maxSpeed>20</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_leveler</function>
        </functions>
        <image>$data/vehicles/prinoth/leitwolf/store_leitwolf.png</image>
        <price>199500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>PRINOTH</brand>
        <category>miscVehicles</category>
        <shopTranslationOffset>0 -0.024 0</shopTranslationOffset>
        <shopRotationOffset>0.003 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>6383104</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1712128</indexBufferMemoryUsage>
        <textureMemoryUsage>7405568</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>562788</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_vehicle</typeDesc>
        <filename>$data/vehicles/prinoth/leitwolf/leitwolf.i3d</filename>
        <sounds filename="$data/vehicles/prinoth/leitwolf/sounds/leitwolf.xml"/>
        <size width="4.3" length="8" height="2.95" lengthOffset="0.5"/>
        <components>
            <component centerOfMass="0 0.5 -0.75" solverIterationCount="20" mass="6765" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="VEHICLE" />
        <mapHotspot type="TRACTOR" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="MICHELIN">
                <wheels speedDependentRotateBack="false" autoRotateBackSpeed="4">
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelFrontLeft"        radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire tireTrackAtlasIndex="6" isCareWheel="false" />
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelFrontRight"       radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire tireTrackAtlasIndex="6" isCareWheel="false" />
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelCenterFrontLeft"  radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire isCareWheel="false" />
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelCenterFrontRight" radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire isCareWheel="false" />
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelCenterBackLeft"   radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire isCareWheel="false" />
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelCenterBackRight"  radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire isCareWheel="false" />
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelBackLeft"         radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire tireTrackAtlasIndex="6" isCareWheel="false" />
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" showSteeringAngle="false" restLoad="1.1" repr="wheelBackRight"        radius="0.4" width="0.76" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="8" suspTravel="0.15" spring="95" damper="30" yOffset="-0.015" supportsWheelSink="false" />
                        <tire tireTrackAtlasIndex="6" isCareWheel="false" />
                    </wheel>
                </wheels>

                <crawlers>
                    <crawler filename="$data/shared/crawlers/prinoth/leitwolfCrawler/leitwolfCrawler.xml" linkNode="trackLeftLinkNode"  wheelIndices="1" isLeft="true"/>
                    <crawler filename="$data/shared/crawlers/prinoth/leitwolfCrawler/leitwolfCrawler.xml" linkNode="trackRightLinkNode" wheelIndices="2" isLeft="false"/>
                </crawlers>
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="50" rotMax="90" rotCenter="0 -0.75" />
        </ackermannSteeringConfigurations>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="wheel01" wheelIndex="1"/>
        <speedRotatingPart node="wheel02" wheelIndex="1"/>
        <speedRotatingPart node="wheel03" wheelIndex="1"/>
        <speedRotatingPart node="wheel04" wheelIndex="3"/>
        <speedRotatingPart node="wheel05" wheelIndex="3"/>
        <speedRotatingPart node="wheel06" wheelIndex="3"/>
        <speedRotatingPart node="wheel07" wheelIndex="2"/>
        <speedRotatingPart node="wheel08" wheelIndex="2"/>
        <speedRotatingPart node="wheel09" wheelIndex="2"/>
        <speedRotatingPart node="wheel10" wheelIndex="4"/>
        <speedRotatingPart node="wheel11" wheelIndex="4"/>
        <speedRotatingPart node="wheel12" wheelIndex="4"/>
    </speedRotatingParts>

    <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="workLightBackHigh1"  lightTypes="1"/>
                <light node="workLightFrontHigh1" lightTypes="2"/>
                <light node="highBeamHigh"        lightTypes="3"/>
                <light node="backLightsHigh1"     lightTypes="0"/>
                <brakeLight node="backLightsHigh1" />
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightRight node="turnLightRightFront" />
                <interiorLight node="interiorScreenLight"/>
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStatic01"    lightTypes="0 3" />
            <defaultLight shaderNode="backLightsStatic"      lightTypes="0" />
            <defaultLight shaderNode="worklightBackStatic"   lightTypes="1" />
            <defaultLight shaderNode="worklightBackStatic1"  lightTypes="1" />
            <defaultLight shaderNode="worklightFrontStatic"  lightTypes="2" />
            <defaultLight shaderNode="worklightFrontStatic1" lightTypes="2" />
        </defaultLights>

        <turnLights>
            <turnLightLeft shaderNode="turnlightLeft_static"/>
            <turnLightRight shaderNode="turnlightRight_static"/>
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="backLightsStatic" />
        </brakeLights>

        <beaconLights>
            <beaconLight node="beaconLight03_01" filename="$data/shared/assets/beaconLights/lizard/beaconLight07.xml" />
            <beaconLight node="beaconLight03_02" filename="$data/shared/assets/beaconLights/lizard/beaconLight07.xml" />
        </beaconLights>

        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState"  node="seatDecalsLight"     intensity="0.5"   lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"  node="cabinDecalsLight"    intensity="0.5"   lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"  node="display"    intensity="1"   lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="beaconLight" node="beaconLight_decal"   intensity="1"   groups="MOTOR_ACTIVE"/>
        </dashboards>
    </lights>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="extinguisher" filename="$data/shared/assets/extinguisher.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="camera_01" filename="$data/shared/assets/camera_01.i3d"/>
    </dynamicallyLoadedParts>

    <enterable isTabbable="true" >
        <enterReferenceNode node="leitwolf_main_component1" />
        <exitPoint node="exitPoint" />

        <cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.8" transMax="40" translation="0 0 6.3" rotation="-20 180 0">
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
                <raycastNode node="cameraRaycastNode3"/>
            </camera>
            <camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox" suspensionNodeIndex="1" positionSmoothingParameter="0.512"/>
        </cameras>

        <characterNode node="playerSkin" cameraMinDistance="0.5" spineRotation="-90 0 90" >
            <target ikChain="rightFoot" targetNode="playerRightFootTarget" />
            <target ikChain="leftFoot"  targetNode="playerLeftFootTarget" />
            <target ikChain="rightArm"  targetNode="playerRightHandTarget" poseId="wideFingers"/>
            <target ikChain="leftArm"   targetNode="playerLeftHandTarget" />
        </characterNode>

        <passengerSeats>
            <passengerSeat node="passengerSeat01" exitPoint="passengerSeat01ExitPoint" outdoorCameraIndex="1">
                <camera node="passengerSeat01Camera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="false" positionSmoothingParameter="0" shadowFocusBox="shadowFocusBox"/>
                <characterNode node="passengerSeat01PlayerSkin" cameraMinDistance="0.5" spineRotation="-90 0 90">
                    <target ikChain="leftArm"   targetNode="passengerSeat01PlayerLeftHand" poseId="flatFingers"/>
                    <target ikChain="rightArm"  targetNode="passengerSeat01PlayerRightHand" poseId="flatFingers"/>
                    <target ikChain="leftFoot"  targetNode="passengerSeat01PlayerLeftFoot" />
                    <target ikChain="rightFoot" targetNode="passengerSeat01PlayerRightFoot" />
                </characterNode>
            </passengerSeat>
            <passengerSeat node="passengerSeat02" exitPoint="passengerSeat02ExitPoint" outdoorCameraIndex="1">
                <camera node="passengerSeat02Camera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="false" positionSmoothingParameter="0" shadowFocusBox="shadowFocusBox"/>
                <characterNode node="passengerSeat02PlayerSkin" cameraMinDistance="0.5" spineRotation="-90 0 90">
                    <target ikChain="leftArm"   targetNode="passengerSeat02PlayerLeftHand" poseId="flatFingers"/>
                    <target ikChain="rightArm"  targetNode="passengerSeat02PlayerRightHand" poseId="flatFingers"/>
                    <target ikChain="leftFoot"  targetNode="passengerSeat02PlayerLeftFoot" />
                    <target ikChain="rightFoot" targetNode="passengerSeat02PlayerRightFoot" />
                </characterNode>
            </passengerSeat>
        </passengerSeats>

        <mirrors>
            <mirror node="mirrorDecal1" prio="1" />
            <mirror node="mirrorDecal2" prio="1" />
            <mirror node="mirrorDecal3" prio="2" />
        </mirrors>

        <dashboards>
            <dashboard displayType="NUMBER" valueType="operatingTime" numbers="numbersOperatingTime" numberColor="0.8 0.5 0.8 1" precision="1" font="GENERIC"  groups="MOTOR_ACTIVE"/>
            <dashboard displayType="NUMBER" valueType="time" numbers="numbersTime" numberColor="0.5 1 0.5 1" precision="2" font="GENERIC"  groups="MOTOR_ACTIVE"/>
        </dashboards>
    </enterable>

    <powerConsumer ptoRpm="500" neededMaxPtoPower="150"/>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="130"  fillType="diesel" />
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="2.3" wheelIndex1="1" wheelIndex2="2" />
                    <differential torqueRatio="0.5" maxSpeedRatio="5.2" wheelIndex1="3" wheelIndex2="4" />
                    <differential torqueRatio="0.5" maxSpeedRatio="5.3" wheelIndex1="5" wheelIndex2="6" />
                    <differential torqueRatio="0.5" maxSpeedRatio="2.3" wheelIndex1="7" wheelIndex2="8" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="1" differentialIndex2="2" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="3" differentialIndex2="4" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="5" differentialIndex2="6" />
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="Leitwolf Agripower" hp="435" >
                <motor torqueScale="1.837" minRpm="850" maxRpm="2200" maxForwardSpeed="23" maxBackwardSpeed="15" brakeForce="2" lowBrakeForceScale="0.22" dampingRateScale="2.6">
                    <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="31" maxForwardGearRatio="310" minBackwardGearRatio="47" maxBackwardGearRatio="310" name="$l10n_info_transmission_cvt"/>
            </motorConfiguration>
        </motorConfigurations>

        <exhaustEffects>
            <exhaustEffect node="exhaustParticle1" filename="$data/effects/exhaust/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" />
        </exhaustEffects>

        <motorStartDuration>3300</motorStartDuration>

        <dashboards>
            <dashboard displayType="NUMBER" valueType="speed" numbers="numbersSpeed"  numberColor="0.5 1 0.5 1" precision="0" font="GENERIC" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="SLIDER"      valueType="motorTemperature" node="tempBarDecal" minValueSlider="40" maxValueSlider="120" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="speedDir" animName="joystickMovement" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="MULTI_STATE" valueType="ignitionState" node="ignitionKey" doInterpolation="true" groups="MOTOR_ACTIVE">
                <state value="0" rotation="0 0 0"/>
                <state value="1" rotation="0 0 -90"/>
                <state value="2" rotation="0 0 -30"/>
            </dashboard>
            <dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" minValueAnim="600" maxValueAnim="2200" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </motorized>

    <drivable>
        <idleTurning allowed="true" updateSteeringWheel="false" direction="1" maxSpeed="2" lockDirection="false">
            <wheel node="wheelFrontLeft" steeringAngle="-45"/>
            <wheel node="wheelCenterFrontLeft" steeringAngle="-30"/>
            <wheel node="wheelCenterBackLeft" steeringAngle="30"/>
            <wheel node="wheelBackLeft" steeringAngle="45"/>
            <wheel node="wheelFrontRight" steeringAngle="45" inverted="true"/>
            <wheel node="wheelCenterFrontRight" steeringAngle="30" inverted="true"/>
            <wheel node="wheelCenterBackRight" steeringAngle="-30" inverted="true"/>
            <wheel node="wheelBackRight" steeringAngle="-45" inverted="true"/>
        </idleTurning>
    </drivable>

    <attacherJoints>
        <attacherJoint node="attacherJointBack" moveTime="0" allowsLowering="false" lowerTransLimit="0 0 0" upperTransLimit="0 0 0">
            <distanceToGround lower="0.8" upper="0.8"/>
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1" >
                    <foldingPart animationName="folding" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <animation name="folding">
            <part node="levelerLeftArm" startTime="0.2" endTime="3.0" startRot="0 -20 0" endRot="0 -80 0" />
            <part node="levelerRightArm" startTime="0.0" endTime="2.8" startRot="0 20 0" endRot="0 80 0" />

            <sound template="hydraulicLayerTone2"   startTime="0.0" endTime="3" pitchScale="1.6" volumeScale="1.3" linkNode="levelerLeftArm" fadeIn="0.1" fadeOut="0.05"/>
            <sound template="defaultHydraulicSound" startTime="0.0" endTime="3" pitchScale="1.0" volumeScale="1.6" linkNode="levelerRightArm" fadeIn="0.1" fadeOut="0.05"/>

            <sound template="cylinderPunch"         startTime="2.99" direction="1" pitchScale="0.8" volumeScale="1.0" linkNode="arm02Tool" />
            <sound template="metalLowVar2"          startTime="2.99" direction="1" pitchScale="2.8" volumeScale="3.0" linkNode="arm02Tool" />
            <sound template="clackVar6"             startTime="2.95" direction="1" pitchScale="0.5" volumeScale="2.0" linkNode="arm02Tool" />
            <sound template="clackVar6"             startTime="2.95" direction="1" pitchScale="1.0" volumeScale="0.4" linkNode="arm02Tool" />
        </animation>
        <animation name="joystickMovement">
            <part node="joystickLeft" startTime="0"    endTime="1" startRot="-10 0 0"  endRot="20 0 0" />
        </animation>
        <animation name="rpmDisplay">
            <part node="rpmNeedle" startTime="0" duration="1" startRot="0 0 0" endRot="-169.513 0 0"/>
        </animation>
        <animation name="wiperFrontAnimation">
            <part node="wiperFront" startTime="0.0" endTime="1" startRot="0 0 0" endRot="0 -17.437 -60.523" />
            <part node="wiperFront2" startTime="0.5" endTime="1.5" startRot="0 0 0" endRot="21.44 6.34 -78.847" />

            <sound template="wiper1" startTime="0" endTime="1" direction="1"   volumeScale="1.0" pitchScale="0.9" fadeOut="0.1" linkNode="wiperFront"/>
            <sound template="wiper2" startTime="0" endTime="1" direction="-1"  volumeScale="1.0" pitchScale="0.9" fadeOut="0.1" linkNode="wiperFront"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="arm01" >
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.35" iconName="IMPLEMENT_ATTACHER_TRANS" />
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="10" rotMin="-32" rotationAxis="1" startRot="0"/>
                <dependentPart node="arm02XRotAuto" />
                <dependentPart node="arm01Hydraulic" />
                <dependentPart node="arm02Hydraulic" />
            </movingTool>
            <movingTool node="arm02XRotManual" >
                <controls axis="AXIS_FRONTLOADER_TOOL2" invertAxis="false" mouseSpeedFactor="0.25" iconName="IMPLEMENT_ATTACHER_ROTX" />
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="15" rotMin="-30" rotationAxis="1" startRot="0"/>
                <dependentPart node="arm02Rot01Hydraulic" />
                <dependentPart node="arm02Rot02Hydraulic" />
                <dependentPart node="arm02Hydraulic" />
                <dependentPart node="arm02Tool01Hydraulic" />
                <dependentPart node="arm02Tool02Hydraulic" />
            </movingTool>
            <movingTool node="arm02YRot" >
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" mouseSpeedFactor="0.25" iconName="SNOW_PLOW_ROT_CENTER" />
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="15" rotMin="-15" rotationAxis="2" startRot="0"/>
                <dependentPart node="arm02Rot01Hydraulic" />
                <dependentPart node="arm02Rot02Hydraulic" />
                <dependentPart node="arm02Hydraulic" />
                <dependentPart node="arm02Tool01Hydraulic" />
                <dependentPart node="arm02Tool02Hydraulic" />
            </movingTool>
            <movingTool node="levelerLeftArm" playSound="true">
                <dependentPart node="levelerLeftArmHydraulic" />
            </movingTool>
            <movingTool node="levelerRightArm" playSound="true">
                <dependentPart node="levelerRightArmHydraulic" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="arm02XRotAuto" referenceFrame="leitwolf_main_component1">
                <dependentPart node="arm02Rot01Hydraulic" />
                <dependentPart node="arm02Rot02Hydraulic" />
                <dependentPart node="arm02Hydraulic" />
                <dependentPart node="arm02Tool01Hydraulic" />
                <dependentPart node="arm02Tool02Hydraulic" />
            </movingPart>
            <movingPart node="levelerLeftArmHydraulic" referencePoint="levelerLeftArmHydraulicRef" referenceFrame="levelerLeftArmHydraulicRef">
                <translatingPart node="levelerLeftArmHydraulicPunch" />
            </movingPart>
            <movingPart node="levelerRightArmHydraulic" referencePoint="levelerRightArmHydraulicRef" referenceFrame="levelerRightArmHydraulicRef">
                <translatingPart node="levelerRightArmHydraulicPunch" />
            </movingPart>
            <movingPart node="arm01Hydraulic" referencePoint="arm01HydraulicRef" referenceFrame="arm01HydraulicRef">
                <translatingPart node="arm01HydraulicPunch" />
            </movingPart>
            <movingPart node="arm02Rot01Hydraulic" referencePoint="arm02Rot01HydraulicRef" referenceFrame="arm02Rot01HydraulicRef">
                <translatingPart node="arm02Rot01HydraulicPunch" />
            </movingPart>
            <movingPart node="arm02Rot02Hydraulic" referencePoint="arm02Rot02HydraulicRef" referenceFrame="arm02Rot02HydraulicRef">
                <translatingPart node="arm02Rot02HydraulicPunch" />
            </movingPart>
            <movingPart node="arm02Hydraulic" referencePoint="arm02HydraulicRef" referenceFrame="arm02HydraulicRef">
                <translatingPart node="arm02HydraulicPunch" />
            </movingPart>
            <movingPart node="arm02Tool01Hydraulic" referencePoint="arm02Tool01HydraulicRef" referenceFrame="arm02Tool01HydraulicRef">
                <translatingPart node="arm02Tool01HydraulicPunch" />
            </movingPart>
            <movingPart node="arm02Tool02Hydraulic" referencePoint="arm02Tool02HydraulicRef" referenceFrame="arm02Tool02HydraulicRef">
                <translatingPart node="arm02Tool02HydraulicPunch" />
            </movingPart>
        </movingParts>

        <sounds>
            <actionSound template="hydraulicLayerTone2"   pitchScale="1.5" volumeScale="1.5" linkNode="arm01Hydraulic"   actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="arm01Hydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicLayerTone"    pitchScale="0.7" volumeScale="1.5" linkNode="arm01Hydraulic"   actionNames="TRANSLATING_POS" nodes="arm01Hydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicLayerTone2"   pitchScale="2.3" volumeScale="0.6" linkNode="arm02Rot01Hydraulic" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="arm02Rot01Hydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="defaultHydraulicSound" pitchScale="1.3" volumeScale="1.0" linkNode="arm02Rot01Hydraulic" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="arm02Rot01Hydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="metalLowVar2"  pitchScale="1.0" volumeScale="3.3"   linkNode="arm01"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="arm01"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.7" linkNode="arm01"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="arm01"/>
            <actionSound template="metalClose"    pitchScale="2.5" volumeScale="0.5" linkNode="arm01"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="arm01"/>
            <actionSound template="clackVar6"     pitchScale="1.0" volumeScale="1.3" linkNode="arm01"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="arm01"/>

            <actionSound template="metalLowVar2"  pitchScale="1.3" volumeScale="2.2"   linkNode="arm01"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="arm01"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.4" linkNode="arm01"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="arm01"/>
            <actionSound template="metalClose"    pitchScale="2.8" volumeScale="0.3" linkNode="arm01"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="arm01"/>
            <actionSound template="clackVar6"     pitchScale="0.8" volumeScale="0.7" linkNode="arm01"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="arm01"/>
        </sounds>

        <dashboards>
            <dashboard displayType="ROT" valueType="movingTool" node="joystickRight" interpolationSpeed="0.01" rotAxis="1" minRot="-10" maxRot="10" axis="AXIS_FRONTLOADER_ARM"  doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="movingTool" node="joystickRight" interpolationSpeed="0.01" rotAxis="3" minRot="10" maxRot="-10" axis="AXIS_FRONTLOADER_TOOL"  doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </cylindered>

    <wipers>
        <wiper animName="wiperFrontAnimation" >
            <state animSpeed="0.5" animPause="2.0" />
            <state animSpeed="0.5" animPause="0.0" />
            <state animSpeed="1.0" animPause="0.0" />
        </wiper>
    </wipers>


    <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" />
        <suspension node="levelerNode"       weight="150" minTranslation="0 -0.5 0.0" maxTranslation="0.0 0.5 0.0" suspensionParametersX="20 4" suspensionParametersY="1 1" suspensionParametersZ="20 4" serverOnly="true"/>
    </suspensions>

    <leveler fillUnitIndex="2" maxFillLevelPerMS="35">
        <levelerNode node="levelerNode" width="5.0" zOffset="0.9" minDropWidth="2.5" maxDropWidth="5.2" minDropDirOffset="1" maxDropDirOffset="2" foldMinLimit="0" foldMaxLimit="0.1">
            <smoothing allowed="true" radius="0.5" overlap="1.7" />

            <occlusionAreas>
                <occlusionArea startNode="occlustionArea01Start" widthNode="occlustionArea01Width" heightNode="occlustionArea01Height"/>
                <occlusionArea startNode="occlustionArea02Start" widthNode="occlustionArea02Width" heightNode="occlustionArea02Height"/>
                <occlusionArea startNode="occlustionArea03Start" widthNode="occlustionArea03Width" heightNode="occlustionArea03Height"/>
            </occlusionAreas>
        </levelerNode>

        <force node="leitwolf_main_component1" maxForce="50" direction="1" />

        <pickUpDirection>1</pickUpDirection>

        <effects>
            <effectNode effectNode="levelerEffectNode" effectClass="LevelerEffect" materialType="leveler" fadeTime="0.5" speed="1" maxHeight="1.328" />
        </effects>
    </leveler>

    <bunkerSiloCompacter compactingScale="2" />

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="210" >
                        <dashboard displayType="SLIDER" valueType="fillLevel" node="loadBarFuel" groups="MOTOR_ACTIVE"/>
                  </fillUnit>
                  <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="bulk windrow" capacity="12000" showInShop="false" showOnHud="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>

    <ai>
        <agent width="3.25" length="7.65" height="2.95" lengthOffset="1.23" frontOffset="1.615" />
        <collisionTrigger node="aiCollisionNode" width="5.1" height="3.0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-3.2" maxZ="1.35" yOffset="0.5" />
        <bendingNode minX="-0.5" maxX="0.5" minZ="-0.2" maxZ="1.3" yOffset="-0.2" node="arm01" />
        <bendingNode minX="-1.35" maxX="1.35" minZ="-0.1" maxZ="0.25" yOffset="-0.75" node="leveler" />
        <bendingNode minX="0" maxX="1.3" minZ="-0.1" maxZ="0.25" yOffset="-0.65" node="levelerLeftArm" />
        <bendingNode minX="-1.3" maxX="0" minZ="-0.1" maxZ="0.25" yOffset="-0.65" node="levelerRightArm" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="leitwolf_main_component1" node="0>" />
        <i3dMapping id="wheelFrontLeft" node="0>0|0|0" />
        <i3dMapping id="wheelFrontRight" node="0>0|0|1" />
        <i3dMapping id="wheelCenterFrontLeft" node="0>0|0|2" />
        <i3dMapping id="wheelCenterFrontRight" node="0>0|0|3" />
        <i3dMapping id="wheelCenterBackLeft" node="0>0|0|4" />
        <i3dMapping id="wheelCenterBackRight" node="0>0|0|5" />
        <i3dMapping id="wheelBackLeft" node="0>0|0|6" />
        <i3dMapping id="wheelBackRight" node="0>0|0|7" />
        <i3dMapping id="trackLeftLinkNode" node="0>0|0|8" />
        <i3dMapping id="trackRightLinkNode" node="0>0|0|9" />
        <i3dMapping id="wheel01" node="0>0|0|10|0" />
        <i3dMapping id="wheel02" node="0>0|0|10|1" />
        <i3dMapping id="wheel03" node="0>0|0|10|2" />
        <i3dMapping id="wheel04" node="0>0|0|10|3" />
        <i3dMapping id="wheel05" node="0>0|0|10|4" />
        <i3dMapping id="wheel06" node="0>0|0|10|5" />
        <i3dMapping id="wheel07" node="0>0|0|10|6" />
        <i3dMapping id="wheel08" node="0>0|0|10|7" />
        <i3dMapping id="wheel09" node="0>0|0|10|8" />
        <i3dMapping id="wheel10" node="0>0|0|10|9" />
        <i3dMapping id="wheel11" node="0>0|0|10|10" />
        <i3dMapping id="wheel12" node="0>0|0|10|11" />
        <i3dMapping id="outdoorCameraTarget" node="0>0|1|0" />
        <i3dMapping id="outdoorCamera1" node="0>0|1|0|0" />
        <i3dMapping id="indoorCamera1" node="0>0|1|1" />
        <i3dMapping id="cameraRaycastNode1" node="0>0|1|2" />
        <i3dMapping id="cameraRaycastNode2" node="0>0|1|3" />
        <i3dMapping id="cameraRaycastNode3" node="0>0|1|4" />
        <i3dMapping id="shadowFocusBox" node="0>0|1|5" />
        <i3dMapping id="exitPoint" node="0>0|2" />
        <i3dMapping id="beaconLight03_02" node="0>0|3|0|0" />
        <i3dMapping id="beaconLight03_01" node="0>0|3|0|1" />
        <i3dMapping id="frontlightStatic01" node="0>0|3|1|0" />
        <i3dMapping id="worklightFrontStatic" node="0>0|3|1|1" />
        <i3dMapping id="backLightsStatic" node="0>0|3|1|2" />
        <i3dMapping id="turnlightRight_static" node="0>0|3|1|3" />
        <i3dMapping id="turnlightLeft_static" node="0>0|3|1|4" />
        <i3dMapping id="worklightBackStatic" node="0>0|3|1|5" />
        <i3dMapping id="worklightBackStatic1" node="0>0|3|1|6" />
        <i3dMapping id="worklightFrontStatic1" node="0>0|3|1|7" />
        <i3dMapping id="frontLightLow" node="0>0|3|2|0" />
        <i3dMapping id="highBeamLow" node="0>0|3|2|1" />
        <i3dMapping id="frontLightHigh" node="0>0|3|2|2" />
        <i3dMapping id="highBeamHigh" node="0>0|3|2|3" />
        <i3dMapping id="workLightFrontLow" node="0>0|3|3|0" />
        <i3dMapping id="workLightBackLow" node="0>0|3|3|1" />
        <i3dMapping id="workLightFrontHigh1" node="0>0|3|3|2" />
        <i3dMapping id="workLightBackHigh1" node="0>0|3|3|3" />
        <i3dMapping id="backLightsHigh1" node="0>0|3|4|0" />
        <i3dMapping id="turnLightLeftFront" node="0>0|3|5|0" />
        <i3dMapping id="turnLightRightFront" node="0>0|3|5|1" />
        <i3dMapping id="attacherJointBack" node="0>0|4|0" />
        <i3dMapping id="arm01" node="0>0|5|0" />
        <i3dMapping id="arm02XRotAuto" node="0>0|5|0|0" />
        <i3dMapping id="arm02XRotManual" node="0>0|5|0|0|0" />
        <i3dMapping id="arm02YRot" node="0>0|5|0|0|0|0" />
        <i3dMapping id="arm02Tool" node="0>0|5|0|0|0|0|0" />
        <i3dMapping id="arm02" node="0>0|5|0|0|0|0|0|0" />
        <i3dMapping id="leveler" node="0>0|5|0|0|0|0|0|0|0" />
        <i3dMapping id="levelerLeftArm" node="0>0|5|0|0|0|0|0|0|0|0" />
        <i3dMapping id="levelerLeftArmHydraulicRef" node="0>0|5|0|0|0|0|0|0|0|0|0" />
        <i3dMapping id="occlustionArea02Start" node="0>0|5|0|0|0|0|0|0|0|0|2|0" />
        <i3dMapping id="occlustionArea02Width" node="0>0|5|0|0|0|0|0|0|0|0|2|1" />
        <i3dMapping id="occlustionArea02Height" node="0>0|5|0|0|0|0|0|0|0|0|2|2" />
        <i3dMapping id="levelerRightArm" node="0>0|5|0|0|0|0|0|0|0|1" />
        <i3dMapping id="levelerRightArmHydraulicRef" node="0>0|5|0|0|0|0|0|0|0|1|0" />
        <i3dMapping id="occlustionArea03Start" node="0>0|5|0|0|0|0|0|0|0|1|2|0" />
        <i3dMapping id="occlustionArea03Width" node="0>0|5|0|0|0|0|0|0|0|1|2|1" />
        <i3dMapping id="occlustionArea03Height" node="0>0|5|0|0|0|0|0|0|0|1|2|2" />
        <i3dMapping id="levelerLeftArmHydraulic" node="0>0|5|0|0|0|0|0|0|0|2" />
        <i3dMapping id="levelerLeftArmHydraulicPunch" node="0>0|5|0|0|0|0|0|0|0|2|0" />
        <i3dMapping id="levelerRightArmHydraulic" node="0>0|5|0|0|0|0|0|0|0|3" />
        <i3dMapping id="levelerRightArmHydraulicPunch" node="0>0|5|0|0|0|0|0|0|0|3|0" />
        <i3dMapping id="levelerNode" node="0>0|5|0|0|0|0|0|0|0|4" />
        <i3dMapping id="occlustionArea01Start" node="0>0|5|0|0|0|0|0|0|0|6|0" />
        <i3dMapping id="occlustionArea01Width" node="0>0|5|0|0|0|0|0|0|0|6|1" />
        <i3dMapping id="occlustionArea01Height" node="0>0|5|0|0|0|0|0|0|0|6|2" />
        <i3dMapping id="levelerEffectNode" node="0>0|5|0|0|0|0|0|0|0|7|0" />
        <i3dMapping id="arm02Rot01HydraulicRef" node="0>0|5|0|0|0|0|0|0|1" />
        <i3dMapping id="arm02Rot02HydraulicRef" node="0>0|5|0|0|0|0|0|0|2" />
        <i3dMapping id="arm02HydraulicRef" node="0>0|5|0|0|0|0|0|0|3" />
        <i3dMapping id="arm02Tool01Hydraulic" node="0>0|5|0|0|0|0|0|0|4" />
        <i3dMapping id="arm02Tool01HydraulicPunch" node="0>0|5|0|0|0|0|0|0|4|0" />
        <i3dMapping id="arm02Tool02Hydraulic" node="0>0|5|0|0|0|0|0|0|5" />
        <i3dMapping id="arm02Tool02HydraulicPunch" node="0>0|5|0|0|0|0|0|0|5|0" />
        <i3dMapping id="arm01Hydraulic" node="0>0|5|0|1" />
        <i3dMapping id="arm01HydraulicPunch" node="0>0|5|0|1|0" />
        <i3dMapping id="arm02Rot01Hydraulic" node="0>0|5|0|2" />
        <i3dMapping id="arm02Rot01HydraulicPunch" node="0>0|5|0|2|0" />
        <i3dMapping id="arm02Rot02Hydraulic" node="0>0|5|0|3" />
        <i3dMapping id="arm02Rot02HydraulicPunch" node="0>0|5|0|3|0" />
        <i3dMapping id="arm02Tool02HydraulicRef" node="0>0|5|0|4" />
        <i3dMapping id="arm02Tool01HydraulicRef" node="0>0|5|0|5" />
        <i3dMapping id="arm01HydraulicRef" node="0>0|5|1" />
        <i3dMapping id="arm02Hydraulic" node="0>0|5|2" />
        <i3dMapping id="arm02HydraulicPunch" node="0>0|5|2|0" />
        <i3dMapping id="seat" node="0>0|6|0" />
        <i3dMapping id="playerSkin" node="0>0|6|0|0|0" />
        <i3dMapping id="joystickRight" node="0>0|6|0|1" />
        <i3dMapping id="playerRightHandTarget" node="0>0|6|0|1|0" />
        <i3dMapping id="joystickLeft" node="0>0|6|0|2" />
        <i3dMapping id="playerLeftHandTarget" node="0>0|6|0|2|0" />
        <i3dMapping id="beaconLight_decal" node="0>0|6|0|3|0" />
        <i3dMapping id="seatDecalsLight" node="0>0|6|0|3|1" />
        <i3dMapping id="display" node="0>0|6|0|3|2" />
        <i3dMapping id="interiorScreenLight" node="0>0|6|0|3|3" />
        <i3dMapping id="numbersSpeed" node="0>0|6|0|3|4" />
        <i3dMapping id="numbersOperatingTime" node="0>0|6|0|3|5" />
        <i3dMapping id="numbersTime" node="0>0|6|0|3|6" />
        <i3dMapping id="rpmNeedle" node="0>0|6|0|3|7|0" />
        <i3dMapping id="loadBarFuel" node="0>0|6|0|3|8" />
        <i3dMapping id="tempBarDecal" node="0>0|6|0|3|9" />
        <i3dMapping id="ignitionKey" node="0>0|6|0|5|0" />
        <i3dMapping id="playerRightFootTarget" node="0>0|6|1|0" />
        <i3dMapping id="playerLeftFootTarget" node="0>0|6|1|1" />
        <i3dMapping id="mirrorDecal1" node="0>0|6|2|0" />
        <i3dMapping id="mirrorDecal2" node="0>0|6|2|1" />
        <i3dMapping id="mirrorDecal3" node="0>0|6|2|2" />
        <i3dMapping id="wiperFront" node="0>0|6|3|0" />
        <i3dMapping id="wiperFront2" node="0>0|6|3|1" />
        <i3dMapping id="passengerSeat01" node="0>0|6|4|0" />
        <i3dMapping id="passengerSeat01Camera" node="0>0|6|4|0|0" />
        <i3dMapping id="passengerSeat01PlayerSkin" node="0>0|6|4|0|1" />
        <i3dMapping id="passengerSeat01PlayerLeftFoot" node="0>0|6|4|0|2" />
        <i3dMapping id="passengerSeat01PlayerRightFoot" node="0>0|6|4|0|3" />
        <i3dMapping id="passengerSeat01ExitPoint" node="0>0|6|4|0|4" />
        <i3dMapping id="passengerSeat01PlayerLeftHand" node="0>0|6|4|0|5" />
        <i3dMapping id="passengerSeat01PlayerRightHand" node="0>0|6|4|0|6" />
        <i3dMapping id="passengerSeat02" node="0>0|6|4|1" />
        <i3dMapping id="passengerSeat02Camera" node="0>0|6|4|1|0" />
        <i3dMapping id="passengerSeat02PlayerSkin" node="0>0|6|4|1|1" />
        <i3dMapping id="passengerSeat02PlayerLeftFoot" node="0>0|6|4|1|2" />
        <i3dMapping id="passengerSeat02PlayerRightFoot" node="0>0|6|4|1|3" />
        <i3dMapping id="passengerSeat02ExitPoint" node="0>0|6|4|1|4" />
        <i3dMapping id="passengerSeat02PlayerLeftHand" node="0>0|6|4|1|5" />
        <i3dMapping id="passengerSeat02PlayerRightHand" node="0>0|6|4|1|6" />
        <i3dMapping id="camera_01" node="0>0|7|0" />
        <i3dMapping id="extinguisher" node="0>0|7|1" />
        <i3dMapping id="aiCollisionNode" node="0>0|8|0" />
        <i3dMapping id="exhaustParticle1" node="0>0|9" />
        <i3dMapping id="cabinDecalsLight" node="0>0|10|7" />
        <i3dMapping id="leitwolf_lod0" node="0>0|10|14|0" />
    </i3dMappings>
</vehicle>
