﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="combineDrivable">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>FR 780</name>
        <specs>
            <power>775</power>
            <maxSpeed>40</maxSpeed>
            <combination>SFI 900</combination>
        </specs>
        <functions>
            <function>$l10n_function_combineForage</function>
            <function>$l10n_function_combineNeedsForageCutter</function>
        </functions>
        <image>$data/vehicles/newHolland/newHollandFR780/store_newHollandFR780.png</image>
        <price>364000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>NEWHOLLAND</brand>
        <category>forageHarvesters</category>
        <shopTranslationOffset>0 0.05 0</shopTranslationOffset>
        <shopRotationOffset>1.25 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>3777688</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>984174</indexBufferMemoryUsage>
        <textureMemoryUsage>22719624</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_harvester</typeDesc>
        <filename>$data/vehicles/newHolland/newHollandFR780/newHollandFR780.i3d</filename>
        <size width="4" length="8" lengthOffset="-0.5"/>
        <components>
            <component centerOfMass="0 0.75 -0.8" solverIterationCount="50" mass="5500" />
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="5000" />
            <joint component1="1" component2="2" node="axisComponentJoint" rotLimit="0 0 10" rotLimitSpring="0 0 4000" rotLimitDamping="0 0 75" maxRotDriveForce="0 0 20" rotDriveRotation="0 0 0" rotDriveSpring="0 0 30" rotDriveDamping="0 0 20" breakable="false"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <turnedOn name="DEFAULT_VEHICLE_ON"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
            <turnedOnSelected name="DEFAULT_VEHICLE_SELECTED_ON"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="1.6" differentialIndex="1" ackermannSteeringIndex="1">
                    <wheel filename="$data/shared/wheels/trelleborg/TM900/710_70R42.xml" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="1.6" repr="leftFrontWheel"                                         forcePointRatio="0.5" initialCompression="20" suspTravel="0.17" spring="36" damper="40" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM900/710_70R42.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="1.6" repr="rightFrontWheel"                                        forcePointRatio="0.5" initialCompression="20" suspTravel="0.17" spring="36" damper="40" />
                    </wheel>

                    <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R28.xml" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="4.9" repr="leftBackWheelRepr"  driveNode="leftBackWheelDriveNode"  forcePointRatio="0.5" initialCompression="50" suspTravel="0.3"  spring="31" damper="40" frictionScale="1.8" />
                        <steering node="steeringBar" nodeMinTransX="-0.14" nodeMaxTransX="0.14" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R28.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="4.9" repr="rightBackWheelRepr" driveNode="rightBackWheelDriveNode" forcePointRatio="0.5" initialCompression="50" suspTravel="0.3"  spring="31" damper="40" frictionScale="1.8" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="2000">
                <wheels autoRotateBackSpeed="1.6" differentialIndex="1" ackermannSteeringIndex="1">
                    <wheel filename="$data/shared/wheels/trelleborg/TM900/900_60R38.xml" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="1.6" repr="leftFrontWheel"                                         forcePointRatio="0.5" initialCompression="20" suspTravel="0.17" spring="36" damper="40" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM900/900_60R38.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="1.6" repr="rightFrontWheel"                                        forcePointRatio="0.5" initialCompression="20" suspTravel="0.17" spring="36" damper="40" />
                    </wheel>

                    <wheel filename="$data/shared/wheels/trelleborg/TM900/710_60R30.xml" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="4.9" repr="leftBackWheelRepr"  driveNode="leftBackWheelDriveNode"  forcePointRatio="0.5" initialCompression="50" suspTravel="0.3"  spring="31" damper="40" frictionScale="1.8" />
                        <steering node="steeringBar" nodeMinTransX="-0.14" nodeMaxTransX="0.14" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TM900/710_60R30.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="4.9" repr="rightBackWheelRepr" driveNode="rightBackWheelDriveNode" forcePointRatio="0.5" initialCompression="50" suspTravel="0.3"  spring="31" damper="40" frictionScale="1.8" />
                    </wheel>
                </wheels>
                <objectChange node="leftFrontWheel"  translationActive="1.261 1.001 1.251" />
                <objectChange node="rightFrontWheel" translationActive="-1.261 1.001 1.251" />
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="40" rotCenterWheel1="1" rotCenterWheel2="2" />
        </ackermannSteeringConfigurations>

        <rimColor>SHARED_WHITE2</rimColor>

        <hubs>
            <color0>SHARED_BLACK2</color0>
            <color1>SHARED_BLACK2</color1>
            <hub linkNode="leftFrontWheel"            filename="$data/shared/wheels/hubs/hub_n10_7.xml" isLeft="true"  scale="0.335 0.335 0.335" />
            <hub linkNode="rightFrontWheel"           filename="$data/shared/wheels/hubs/hub_n10_7.xml" isLeft="false" scale="0.335 0.335 0.335" />
            <hub linkNode="leftBackWheelDriveNode"    filename="$data/shared/wheels/hubs/hub_n8_4.xml"  isLeft="true"  scale="0.285 0.285 0.285" />
            <hub linkNode="rightBackWheelDriveNode"   filename="$data/shared/wheels/hubs/hub_n8_4.xml"  isLeft="false" scale="0.285 0.285 0.285" />
        </hubs>
    </wheels>

    <enterable>
        <enterReferenceNode node="fr780_main_component1" />
        <exitPoint node="exitPoint" />

        <cameras>
            <camera node="outdoorCamera" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="6.5" transMax="40" translation="0 0 7.75" rotation="-15 180 0" >
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
                <raycastNode node="cameraRaycastNode3"/>
            </camera>
            <camera node="indoorCamera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox"/>
        </cameras>

        <characterNode node="playerSkin" cameraMinDistance="1.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>

        <mirrors>
            <mirror node="mirrorRightDecal" prio="2" />
            <mirror node="mirrorRight1Decal" prio="1" />
            <mirror node="mirrorLeftDecal" prio="2" />
            <mirror node="mirrorLeft1Decal" prio="1" />
        </mirrors>

        <enterAnimation name="enterAnimation"/>
    </enterable>

    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" linkNode="fr780_main_component1" />
        </sounds>

        <steeringWheel node="steeringWheel" indoorRotation="540" outdoorRotation="25" />

        <dashboards>
            <dashboard displayType="NUMBER"  valueType="cruiseControl" numbers="numbersCruiseSpeed01" precision="2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="NUMBER"  valueType="cruiseControl" numbers="numbersCruiseSpeed02" precision="2" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>

    <powerTakeOffs>
        <output attacherJointIndices="1" outputNode="ptoOutputLeft"  ptoName="LEFT_PTO"/>
    </powerTakeOffs>

    <connectionHoses>
        <target attacherJointIndices="1" type="hydraulicIn" node="hydraulicSocket01" socket="hydraulic01"/>
        <target attacherJointIndices="1" type="hydraulicOut" node="hydraulicSocket02" socket="hydraulic02"/>
        <target attacherJointIndices="1" type="hydraulicIn" node="hydraulicSocket03" socket="hydraulic01"/>
        <target attacherJointIndices="1" type="hydraulicOut" node="hydraulicSocket04" socket="hydraulic01"/>
    </connectionHoses>

    <lights>
        <sharedLight linkNode="workingLightOval_05_03" node="0" lightTypes="4" filename="$data/shared/assets/lights/lizard/workingLightOval_05.xml"/>
        <sharedLight linkNode="workingLightOval_05_01" node="0" lightTypes="4" filename="$data/shared/assets/lights/lizard/workingLightOval_05.xml"/>
        <sharedLight linkNode="workingLightOval_05_02" node="0" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLightOval_05.xml"/>
        <sharedLight linkNode="workingLightOval_05_04" node="0" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLightOval_05.xml"/>
        <sharedLight linkNode="yellowRound_01_01" node="0" lightTypes="1" filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml"/>
        <sharedLight linkNode="yellowRound_01_02" node="0" lightTypes="1" filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml"/>
        <sharedLight linkNode="yellowRound_01_03" node="0" lightTypes="1" filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml"/>

        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
            <state lightTypes="0 1 2 4" />
        </states>

        <realLights>
            <low>
                <light node="frontLightLow"         lightTypes="0" excludedLightTypes="1 2 3" />
                <light node="workLightBackLow"      lightTypes="2"/>
                <light node="workLightFrontLow"     lightTypes="1"/>
                <light node="highBeamLow"           lightTypes="3" />
                <light node="workLightBackLowPipe"  lightTypes="4" />
            </low>
            <high>
                <light node="frontLightHigh"            lightTypes="0" excludedLightTypes="1 2 3" />
                <light node="workLightBackHigh1"        lightTypes="2"/>
                <light node="workLightFrontHigh1"       lightTypes="1"/>
                <light node="highBeamHigh"              lightTypes="3"/>
                <light node="workLightBackHigh1Pipe"    lightTypes="4" />
                <light node="backLightsHigh1"           lightTypes="0"/>
                <brakeLight node="backLightsHigh1" />
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightRight node="turnLightRightFront" />
                <reverseLight node="reverseLight" />
                <interiorLight node="interiorScreenLight"/>
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStaticGlass"     lightTypes="0 3" intensity="0.5"/>
            <defaultLight shaderNode="frontlightStatic"     lightTypes="0 3" intensity="100"/>
            <defaultLight shaderNode="backlightStaticGlass"     lightTypes="0" intensity="20"/>
            <defaultLight shaderNode="backlightStatic"     lightTypes="0" intensity="50"/>
            <defaultLight shaderNode="worklightFrontStaticGlass" lightTypes="2" intensity="0.5" />
            <defaultLight shaderNode="worklightFrontStatic" lightTypes="2" intensity="100" />
        </defaultLights>

        <turnLights>
            <turnLightLeft shaderNode="turnlightLeftStatic" intensity="100" />
            <turnLightLeft shaderNode="turnlightLeftStaticGlass" intensity="1" />
            <turnLightRight shaderNode="turnlightRightStatic" intensity="100" />
            <turnLightRight shaderNode="turnlightRightStaticGlass" intensity="1" />
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="backlightStaticGlass" intensity="50"/>
            <brakeLight shaderNode="backlightStatic" intensity="80"/>
        </brakeLights>

        <reverseLights>
            <reverseLight shaderNode="reverseLightStatic" intensity="100"/>
            <reverseLight shaderNode="reverseLightStaticGlass" intensity="0.5"/>
        </reverseLights>

       <beaconLights>
           <beaconLight node="beaconLight01" speed="0.015" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml" />
           <beaconLight node="beaconLight02" speed="0.015" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml" />
       </beaconLights>

        <sounds>
            <switchLight template="SWITCH_01" linkNode="fr780_main_component1" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="fr780_main_component1" />
        </sounds>

        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState" node="joystickDecal"  baseColor="GREY" emitColor="GREY"    intensity="0.1" lightTypes="0 3" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="seatDecal"  baseColor="GREY" emitColor="GREY"    intensity="0.1" lightTypes="0 3" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="cabinDecal"  baseColor="GREY" emitColor="GREY"    intensity="0.1" lightTypes="0 3" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightLeft" node="turnlightDecalLeft"  baseColor="GREY" emitColor="GREEN"    intensity="1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightRight" node="turnlightDecalRight"  baseColor="GREY" emitColor="GREEN"    intensity="1" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </lights>

    <attacherJoints>
        <attacherJoint jointType="cutterHarvester" node="attacherJointFront" jointPositionOffset="0 0 -0.993" lowerTransLimit="0 0 0" lowerRotLimit="5 0 10" lockDownRotLimit="true" moveTime="2.5" comboTime="0">
            <distanceToGround lower="1.2" upper="1.7" />
            <rotationNode node="attacherJointFrontRot" lowerRotation="0 0 0" upperRotation="-29 0 0" />
            <bottomArm rotationNode="feederHouse" referenceNode="attacherJointFront" />
            <schema position="1 0" rotation="0" invertX="true" />
        </attacherJoint>
        <attacherJoint node="trailerAttacherJointBack" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="10 70 50" lowerTransLimit="0 0 0" canTurnOnImplement="false" comboTime="1" >
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>

        <sounds>
            <attach template="ATTACH_01" />
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" />
        </sounds>
    </attacherJoints>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" fillTypeCategories="forageHarvester forageHarvesterstraw"/>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="1200" />
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="def" capacity="200" />
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <honk>
        <sound template="HONK_NEW_HOLLAND_HARVESTER" linkNode="fr780_main_component1" />
    </honk>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="2" usage="310" fillType="diesel" />   <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="3" usage="3.0" fillType="def" />      <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.9" wheelIndex1="1" wheelIndex2="2" /> <!-- back left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4" /> <!-- front left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="1" differentialIndex2="2" /> <!-- front-back -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="FR 780" hp="775" price="0">
                <motor torqueScale="3.27" minRpm="850" maxRpm="2200" maxForwardSpeed="43" maxBackwardSpeed="15" brakeForce="12" lowBrakeForceScale="0.22" >
                    <torque normRpm="0.45" torque="0.8"/>
                    <torque normRpm="0.5" torque="0.87"/>
                    <torque normRpm="0.59" torque="0.9"/>
                    <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="40" maxBackwardGearRatio="200" />
            </motorConfiguration>
        </motorConfigurations>

        <exhaustEffects>
            <exhaustEffect node="exhaustParticle" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.03" maxRpmScale="0.2" xzRotationsOffset="40 0" xzRotationsForward="20 80" xzRotationsBackward="20 -80" xzRotationsLeft="20 80" xzRotationsRight="20 -80" />
        </exhaustEffects>

        <dashboards>
            <dashboard displayType="NUMBER" valueType="speed" numbers="numbersCurrentSpeed" precision="1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT"    valueType="speedDir" node="joystick" minRot="-15 0 0" maxRot="15 0 0" groups="MOTOR_ACTIVE"/>
        </dashboards>

        <sounds externalSoundFile="$data/sounds/vehicles/engine/new_holland_fr780/new_holland_fr780.xml" />
    </motorized>

    <pipe>
        <unloadingTriggers>
            <unloadingTrigger node="trailerTrigger" />
        </unloadingTriggers>
        <pipeNodes>
            <pipeNode node="pipeBase" rotationSpeeds="0 35 0" autoAimYRotation="true" autoAimInvertZ="true" minRotationLimits="- -100 -" maxRotationLimits="- 100 -" foldPriority="1">
                <state1 rotation="0 0 0" />
                <state2 rotation="0 0 0"/>
            </pipeNode>
            <pipeNode node="pipeRot" rotationSpeeds="25 0 0">
                <state1 rotation="0 0 0"/>
                <state2 rotation="35 0 0"/>
            </pipeNode>
            <pipeNode node="pipeEndRot01" rotationSpeeds="25 0 0">
                <state1 rotation="116 0 0"/>
                <state2 rotation="135 0 0"/>
            </pipeNode>
            <pipeNode node="pipeEndRot02" rotationSpeeds="80 0 0" autoAimXRotation="true" minRotationLimits="-70 - -" maxRotationLimits="0 - -" bendingRegulation="0.15">
                <state1 rotation="-45 0 0"/>
                <state2 rotation="-45 0 0"/>
                <bendingRegulationNode node="pipeRaycastNode" axis="1" direction="1"/>
            </pipeNode>
        </pipeNodes>
        <states num="2" unloading="2" autoAiming="2" turnOnAllowed="2"/>
    </pipe>

    <dischargeable>
        <dischargeNode node="pipeRaycastNode" emptySpeed="1000" fillUnitIndex="1" maxDistance="32" stopDischargeOnEmpty="false">
            <info width="0.4" length="0.4" useRaycastHitPosition="true"/>

            <effects>
                <effectNode                          effectNode="pipeEffect1"  delay="0"    materialType="unloading" materialTypeId="1" fadeScale="0"/>
                <effectNode                          effectNode="pipeEffect2"  delay="0.1"  materialType="unloading" materialTypeId="1" fadeScale="0"/>
                <effectNode effectClass="PipeEffect" effectNode="pipeEffect3"  delay="0.12" materialType="pipe"      materialTypeId="1" maxBending="0.15" shapeScaleSpread="1.03 0.96 1 0"/>
            </effects>
        </dischargeNode>
    </dischargeable>

    <allowFillFromAir value="false" />

    <combine allowThreshingDuringRain="true" fillUnitIndex="1">
        <animationNodes>
            <animationNode node="rotationPart01" rotSpeed="-900" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="8" />
            <animationNode node="rotationPart02" rotSpeed="900"  rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="8" />
        </animationNodes>

        <!-- WORK SOUNDS -->
        <sounds>
            <start template="FORAGE_HARVESTER_NH_TOOL_START" linkNode="fr780_main_component1" />
            <work template="FORAGE_HARVESTER_NH_TOOL_WORK" linkNode="fr780_main_component1" />
            <stop template="FORAGE_HARVESTER_NH_TOOL_STOP" linkNode="fr780_main_component1" />
        </sounds>
    </combine>

    <animations>
        <animation name="enterAnimation">
            <part node="steeringBase02" startTime="0" duration="1" startRot="-11.901 0 0" endRot="-35 0 0"/>
        </animation>
        <animation name="wiperAnimation">
            <part node="wiperArm1"  startTime="0.0" endTime="0.3" startRot="0 0 0" endRot="-3 0 -35" />
            <part node="wiperArm1"  startTime="0.3" endTime="0.6" startRot="-3 0 -35" endRot="8 0 -70" />
        </animation>
    </animations>

    <wipers>
        <wiper animName="wiperAnimation" >
            <state animSpeed="0.75" animPause="2.0" />
            <state animSpeed="0.75" animPause="0.0" />
            <state animSpeed="1.10" animPause="0.0" />
        </wiper>
    </wipers>

    <fillVolumes>
        <dischargeInfos>
            <dischargeInfo>
                <node index="pipeRaycastNode" width="0.4" length="0.4" />
            </dischargeInfo>
        </dischargeInfos>
    </fillVolumes>

    <cylindered>
        <movingTools>
            <movingTool node="pipeRot" playSound="true">
                <dependentPart node="pipeRotHydraulic" />
            </movingTool>

            <movingTool node="pipeEndRot01">
                <dependentPart node="pipeEndRot01Hydraulic" />
                <dependentPart node="pipeEndRot02Bar" />
                <dependentPart node="pipeEndRot02Spring" />
            </movingTool>

            <movingTool node="pipeEndRot02">
                <dependentPart node="pipeEndRot02Bar" />
                <dependentPart node="pipeEndRot02Spring" />
            </movingTool>

            <movingTool node="feederHouse">
                <dependentPart node="upperBelt" />
                <dependentPart node="lowerBelt" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="rightSteeringArm" referencePoint="rightSteeringArmRef" referenceFrame="rightSteeringArmRef" scaleZ="true" isActiveDirty="true"/>
            <movingPart node="leftSteeringArm" referencePoint="leftSteeringArmRef" referenceFrame="leftSteeringArmRef" scaleZ="true" isActiveDirty="true"/>

            <movingPart node="pipeRotHydraulic" referencePoint="pipeRotHydraulicRef" referenceFrame="pipeRotHydraulicRef">
                <translatingPart node="pipeRotHydraulicPunch" />
            </movingPart>

            <movingPart node="pipeEndRot01Hydraulic" referencePoint="pipeEndRot01HydraulicRef" referenceFrame="pipeEndRot01HydraulicRef">
                <translatingPart node="pipeEndRot01HydraulicPunch" />
            </movingPart>

            <movingPart node="pipeEndRot02Bar" referencePoint="pipeEndRot02BarRef"  referenceFrame="pipeEndRot02BarRef" scaleZ="true"/>
            <movingPart node="pipeEndRot02Spring" referencePoint="pipeEndRot02SpringRef"  referenceFrame="pipeEndRot02SpringRef" scaleZ="true"/>

            <movingPart node="upperBelt" referencePoint="upperBeltRef"  referenceFrame="upperBeltRef" scaleZ="true"/>
            <movingPart node="lowerBelt" referencePoint="lowerBeltRef"  referenceFrame="lowerBeltRef" scaleZ="true"/>
            <movingPart node="wiperArm2" referencePoint="wiperArm2Ref"  referenceFrame="wiperArm2Ref" isActiveDirty="true"/>
            <movingPart node="wiper" referenceFrame="fr780_main_component1" isActiveDirty="true"/>
        </movingParts>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND"/>
        </sounds>
    </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>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
        <default>
            <dashboard displayType="VISIBILITY" node="decalsNonAlphaBlending"  groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="indoorHuds"  groups="MOTOR_ACTIVE" />
        </default>
    </dashboard>

    <ai>
        <collisionTrigger node="aiCollisionTrigger" />
    </ai>

    <foliageBending>
        <bendingNode minX="-1.65" maxX="1.65" minZ="-2.8" maxZ="2.5" yOffset="0.6" />
    </foliageBending>

    <baseMaterial>
        <material name="newHollandFR780_mat" baseNode="fr780_vis">
            <shaderParameter name="colorMat0" value="NEWHOLLAND_YELLOW1"/>
        </material>
         <material name="newHollandFR780Interior_mat" baseNode="interior">
            <shaderParameter name="colorMat1" value="NEWHOLLAND_BLUE1"/>
            <shaderParameter name="colorMat2" value="NEWHOLLAND_ORANGE1"/>
            <shaderParameter name="colorMat4" value="NEWHOLLAND_ORANGE1"/>
            <shaderParameter name="colorMat5" value="NEWHOLLAND_YELLOW1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="fr780_main_component1" node="0>" />
        <i3dMapping id="fr780_vis" node="0>0" />
        <i3dMapping id="leftFrontWheel" node="0>0|0|0" />
        <i3dMapping id="rightFrontWheel" node="0>0|0|1" />
        <i3dMapping id="axisComponentJoint" node="0>0|0|2" />
        <i3dMapping id="outdoorCameraTarget" node="0>0|1|0" />
        <i3dMapping id="outdoorCamera" node="0>0|1|0|0" />
        <i3dMapping id="indoorCamera" 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="workingLightOval_05_02" node="0>0|2|0|0" />
        <i3dMapping id="workingLightOval_05_04" node="0>0|2|0|1" />
        <i3dMapping id="yellowRound_01_01" node="0>0|2|0|2" />
        <i3dMapping id="yellowRound_01_02" node="0>0|2|0|3" />
        <i3dMapping id="yellowRound_01_03" node="0>0|2|0|4" />
        <i3dMapping id="backlightStatic" node="0>0|2|1|0" />
        <i3dMapping id="backlightStaticGlass" node="0>0|2|1|1" />
        <i3dMapping id="worklightFrontStatic" node="0>0|2|1|2" />
        <i3dMapping id="worklightFrontStaticGlass" node="0>0|2|1|3" />
        <i3dMapping id="frontlightStatic" node="0>0|2|1|4" />
        <i3dMapping id="frontlightStaticGlass" node="0>0|2|1|5" />
        <i3dMapping id="turnlightLeftStatic" node="0>0|2|1|6" />
        <i3dMapping id="turnlightLeftStaticGlass" node="0>0|2|1|7" />
        <i3dMapping id="turnlightRightStatic" node="0>0|2|1|8" />
        <i3dMapping id="turnlightRightStaticGlass" node="0>0|2|1|9" />
        <i3dMapping id="reverseLightStatic" node="0>0|2|1|10" />
        <i3dMapping id="reverseLightStaticGlass" node="0>0|2|1|11" />
        <i3dMapping id="frontLightLow" node="0>0|2|2|0" />
        <i3dMapping id="highBeamLow" node="0>0|2|2|1" />
        <i3dMapping id="frontLightHigh" node="0>0|2|2|2" />
        <i3dMapping id="highBeamHigh" node="0>0|2|2|3" />
        <i3dMapping id="workLightFrontLow" node="0>0|2|3|0" />
        <i3dMapping id="workLightBackLow" node="0>0|2|3|1" />
        <i3dMapping id="workLightFrontHigh1" node="0>0|2|3|2" />
        <i3dMapping id="workLightBackHigh1" node="0>0|2|3|3" />
        <i3dMapping id="workLightBackHigh2" node="0>0|2|3|3|0" />
        <i3dMapping id="backLightsHigh1" node="0>0|2|4|0" />
        <i3dMapping id="turnLightRightFront" node="0>0|2|5|0" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|5|0|0" />
        <i3dMapping id="turnLightLeftFront" node="0>0|2|5|1" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|5|1|0" />
        <i3dMapping id="reverseLight" node="0>0|2|6|0" />
        <i3dMapping id="beaconLight01" node="0>0|2|7|0" />
        <i3dMapping id="beaconLight02" node="0>0|2|7|1" />
        <i3dMapping id="exitPoint" node="0>0|3" />
        <i3dMapping id="steeringBase01" node="0>0|4" />
        <i3dMapping id="steeringBase02" node="0>0|4|0" />
        <i3dMapping id="steeringWheel" node="0>0|4|0|0" />
        <i3dMapping id="playerLeftHandTarget" node="0>0|4|0|0|0" />
        <i3dMapping id="turnlightDecalLeft" node="0>0|4|0|1" />
        <i3dMapping id="turnlightDecalRight" node="0>0|4|0|2" />
        <i3dMapping id="attacherJointFrontRot" node="0>0|5|0|0" />
        <i3dMapping id="attacherJointFront" node="0>0|5|0|0|0" />
        <i3dMapping id="feederHouse" node="0>0|5|0|1" />
        <i3dMapping id="rotationParts" node="0>0|5|0|1|0" />
        <i3dMapping id="rotationPart01" node="0>0|5|0|1|0|0" />
        <i3dMapping id="rotationPart02" node="0>0|5|0|1|0|1" />
        <i3dMapping id="lowerBelt" node="0>0|5|0|1|1" />
        <i3dMapping id="upperBelt" node="0>0|5|0|1|2" />
        <i3dMapping id="ptoOutputLeft" node="0>0|5|0|1|3" />
        <i3dMapping id="lowerBeltRef" node="0>0|5|0|2" />
        <i3dMapping id="upperBeltRef" node="0>0|5|0|3" />
        <i3dMapping id="trailerAttacherJointBack" node="0>0|5|1|0" />
        <i3dMapping id="hydraulicSocket02" node="0>0|5|2|0" />
        <i3dMapping id="hydraulicSocket01" node="0>0|5|2|1" />
        <i3dMapping id="hydraulicSocket03" node="0>0|5|2|2" />
        <i3dMapping id="hydraulicSocket04" node="0>0|5|2|3" />
        <i3dMapping id="seat" node="0>0|6|0" />
        <i3dMapping id="playerSkin" node="0>0|6|0|0" />
        <i3dMapping id="indoorHuds" node="0>0|6|0|1" />
        <i3dMapping id="numbersCurrentSpeed" node="0>0|6|0|1|0" />
        <i3dMapping id="numbersCruiseSpeed01" node="0>0|6|0|1|1" />
        <i3dMapping id="numbersCruiseSpeed02" node="0>0|6|0|1|2" />
        <i3dMapping id="joystick" node="0>0|6|0|2" />
        <i3dMapping id="playerRightHandTarget" node="0>0|6|0|2|0" />
        <i3dMapping id="joystickDecal" node="0>0|6|0|2|1" />
        <i3dMapping id="decalsNonAlphaBlending" node="0>0|6|0|4" />
        <i3dMapping id="seatDecal" node="0>0|6|0|6" />
        <i3dMapping id="interiorScreenLight" node="0>0|6|0|7" />
        <i3dMapping id="playerRightFootTarget" node="0>0|6|1" />
        <i3dMapping id="playerLeftFootTarget" node="0>0|6|2" />
        <i3dMapping id="wiperArm2Ref" node="0>0|6|3|0" />
        <i3dMapping id="wiperArm1" node="0>0|6|3|1|0" />
        <i3dMapping id="wiper" node="0>0|6|3|1|0|0" />
        <i3dMapping id="wiperArm2" node="0>0|6|3|1|0|0|0" />
        <i3dMapping id="aiCollisionTrigger" node="0>0|7|0" />
        <i3dMapping id="trailerTrigger" node="0>0|7|1" />
        <i3dMapping id="exhaustParticle" node="0>0|8|0" />
        <i3dMapping id="movingParts" node="0>0|9" />
        <i3dMapping id="pipeBase" node="0>0|9|0" />
        <i3dMapping id="pipeRot" node="0>0|9|0|0" />
        <i3dMapping id="pipeEndRot01" node="0>0|9|0|0|0" />
        <i3dMapping id="pipeEndRot02" node="0>0|9|0|0|0|0" />
        <i3dMapping id="pipeRaycastNode" node="0>0|9|0|0|0|0|0" />
        <i3dMapping id="pipeEffect3" node="0>0|9|0|0|0|0|1" />
        <i3dMapping id="pipeEndRot02BarRef" node="0>0|9|0|0|0|0|2" />
        <i3dMapping id="pipeEndRot02SpringRef" node="0>0|9|0|0|0|0|3" />
        <i3dMapping id="pipeEffect2" node="0>0|9|0|0|0|1" />
        <i3dMapping id="pipeEndRot01HydraulicRef" node="0>0|9|0|0|0|2" />
        <i3dMapping id="pipeEndRot01Hydraulic" node="0>0|9|0|0|1" />
        <i3dMapping id="pipeEndRot01HydraulicPunch" node="0>0|9|0|0|1|0" />
        <i3dMapping id="pipeEndRot02Bar" node="0>0|9|0|0|2" />
        <i3dMapping id="pipeEndRot02Spring" node="0>0|9|0|0|3" />
        <i3dMapping id="pipeEffect1" node="0>0|9|0|0|4" />
        <i3dMapping id="pipeRotHydraulicRef" node="0>0|9|0|0|5" />
        <i3dMapping id="workLightBackLowPipe" node="0>0|9|0|0|6" />
        <i3dMapping id="workLightBackHigh1Pipe" node="0>0|9|0|0|7" />
        <i3dMapping id="workingLightOval_05_03" node="0>0|9|0|0|11" />
        <i3dMapping id="workingLightOval_05_01" node="0>0|9|0|0|12" />
        <i3dMapping id="pipeRotHydraulic" node="0>0|9|0|1" />
        <i3dMapping id="pipeRotHydraulicPunch" node="0>0|9|0|1|0" />
        <i3dMapping id="cabinDecal" node="0>0|10|0" />
        <i3dMapping id="mirrorLeftDecal" node="0>0|11|0" />
        <i3dMapping id="mirrorRightDecal" node="0>0|11|1" />
        <i3dMapping id="mirrorRight1Decal" node="0>0|11|2" />
        <i3dMapping id="mirrorLeft1Decal" node="0>0|11|3" />
        <i3dMapping id="interior" node="0>0|13|0" />
        <i3dMapping id="leftBackWheelRepr" node="1>0|0|0|0" />
        <i3dMapping id="leftBackWheelDriveNode" node="1>0|0|0|0|0|0" />
        <i3dMapping id="leftSteeringArm" node="1>0|0|0|0|1" />
        <i3dMapping id="rightBackWheelRepr" node="1>0|0|1|0" />
        <i3dMapping id="rightBackWheelDriveNode" node="1>0|0|1|0|0|0" />
        <i3dMapping id="rightSteeringArm" node="1>0|0|1|0|1" />
        <i3dMapping id="steeringBar" node="1>0|0|2" />
        <i3dMapping id="leftSteeringArmRef" node="1>0|0|2|0" />
        <i3dMapping id="rightSteeringArmRef" node="1>0|0|2|1" />
    </i3dMappings>
</vehicle>
