﻿<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cutter" 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>345 Plus</name>
        <specs>
            <workingWidth>4.5</workingWidth>
            <neededPower>375</neededPower>
            <combination xmlFilename="$data/vehicles/lacotec/lhII/lhII.xml"/>
            <combination xmlFilename="$data/vehicles/claas/jaguar960TT/jaguar960TT.xml"/>
            <combination xmlFilename="$data/vehicles/fendt/katana650/katana650.xml"/>
            <combination xmlFilename="$data/vehicles/johnDeere/series9000/series9000.xml"/>
            <combination xmlFilename="$data/vehicles/newHolland/fr780/fr780.xml"/>
            <combination xmlFilename="$data/vehicles/krone/bigX1180/bigX1180.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_cutterForage</function>
        </functions>
        <storePacks>
            <storePack>STARTER_CHAFF</storePack>
        </storePacks>
        <image>$data/vehicles/kemper/plus345/store_plus345.png</image>
        <price>60000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KEMPER</brand>
        <category>forageHarvesterCutters</category>
        <shopTranslationOffset>0 0.017 0</shopTranslationOffset>
        <shopRotationOffset>11.85 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>3422208</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>516352</indexBufferMemoryUsage>
        <textureMemoryUsage>8388608</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_harvestingHeader</typeDesc>
        <filename>$data/vehicles/kemper/plus345/plus345.i3d</filename>
        <size width="4.5" length="3.5" lengthOffset="0.3"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 0.3 -0.3" solverIterationCount="10" mass="2050"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="COMBINE_HEADER"/>
        <mapHotspot type="CUTTER" />
    </base>

    <attachable>
        <inputAttacherJointConfigurations>
            <inputAttacherJointConfiguration name="Lacotec" price="0" displayBrand="LACOTEC">
                <inputAttacherJoint node="attacherJointClaas" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameClaas" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="true"/>
                <objectChange node="kemperDecalRight" visibilityActive="true"/>
                <objectChange node="ptoNewHolland" visibilityActive="false"/>

                <objectChange node="sharedFrameParts" parentNodeActive="claasFrameTilt" />

                <objectChange node="supportArm01Rot" translationActive="-0.911 -0.879 -0.502" rotationActive="0 0 0"/>
                <objectChange node="supportArm02Rot" translationActive="1.195 -0.424 -0.52" rotationActive="0 0 0"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.284 -0.007"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.284 -0.007"/>
            </inputAttacherJointConfiguration>

            <inputAttacherJointConfiguration name="Claas" price="0" displayBrand="CLAAS">
                <inputAttacherJoint node="attacherJointClaas" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameClaas" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="true"/>
                <objectChange node="kemperDecalRight" visibilityActive="true"/>
                <objectChange node="ptoNewHolland" visibilityActive="false"/>

                <objectChange node="sharedFrameParts" parentNodeActive="claasFrameTilt" />

                <objectChange node="supportArm01Rot" translationActive="-0.911 -0.879 -0.502" rotationActive="0 0 0"/>
                <objectChange node="supportArm02Rot" translationActive="1.195 -0.424 -0.52" rotationActive="0 0 0"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.284 -0.007"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.284 -0.007"/>
            </inputAttacherJointConfiguration>

            <inputAttacherJointConfiguration name="Krone" price="0" displayBrand="KRONE">
                <inputAttacherJoint node="attacherJointKrone" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameKrone" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="true"/>
                <objectChange node="kemperDecalRight" visibilityActive="true"/>
                <objectChange node="ptoNewHolland" visibilityActive="false"/>

                <objectChange node="supportArm01Rot" translationActive="-0.991 -0.808 -0.475" rotationActive="2.447 1.065 -11.321"/>
                <objectChange node="supportArm02Rot" translationActive="1.233 -0.324 -0.498" rotationActive="2.664 0.169 8.566"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.256 0.033"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.256 0.033"/>
            </inputAttacherJointConfiguration>

            <!-- Red header with New Holland frame -->
            <inputAttacherJointConfiguration name="New Holland" price="0" displayBrand="NEWHOLLAND">
                <inputAttacherJoint node="attacherJointNewHolland" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameNewHolland" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="true"/>
                <objectChange node="kemperDecalRight" visibilityActive="true"/>
                <objectChange node="ptoNewHolland" visibilityActive="true"/>

                <objectChange node="supportArm01Rot" translationActive="-0.999 -0.810 -0.475" rotationActive="2.447 1.065 -11.321"/>
                <objectChange node="supportArm02Rot" translationActive="1.242 -0.327 -0.498" rotationActive="2.664 0.169 8.566"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.2 0.033"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.2 0.033"/>

                <material name="frameNewHolland_mat" shaderParameter="colorMat0" color="KEMPER_RED1"/>
                <material name="frameNewHolland_mat" shaderParameter="colorMat1" color="KEMPER_RED1"/>
                <material name="frameNewHollandParts_mat" shaderParameter="colorMat0" color="KEMPER_RED1"/>
                <material name="frameNewHollandParts_mat" shaderParameter="colorMat1" color="KEMPER_RED1"/>
            </inputAttacherJointConfiguration>

            <!-- Red header with John Deere frame -->
            <inputAttacherJointConfiguration name="John Deere" price="0" displayBrand="JOHNDEERE">
                <inputAttacherJoint node="attacherJointJohnDeere" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameJohnDeere" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="true"/>
                <objectChange node="kemperDecalRight" visibilityActive="true"/>
                <objectChange node="ptoNewHolland" visibilityActive="false"/>

                <objectChange node="supportArm01Rot" translationActive="-0.991 -0.808 -0.475" rotationActive="2.447 1.065 -11.321"/>
                <objectChange node="supportArm02Rot" translationActive="1.235 -0.326 -0.498" rotationActive="2.664 0.169 8.566"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.217 0.105"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.217 0.105"/>

                <material name="frameJohnDeere_mat" shaderParameter="colorMat0" color="KEMPER_RED1"/>
                <material name="frameJohnDeereParts_mat" shaderParameter="colorMat0" color="KEMPER_RED1"/>
            </inputAttacherJointConfiguration>

            <!-- New Holland Yellow Config - only available with New Holland store item -->
            <inputAttacherJointConfiguration name="New Holland" price="0" displayBrand="NEWHOLLAND" isSelectable="false"
                                             vehicleBrand="NEWHOLLAND" vehicleName="450 SFI" vehicleIcon="$data/vehicles/kemper/plus345/store_plus345_newHolland.png">
                <inputAttacherJoint node="attacherJointNewHolland" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameNewHolland" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="cnhDecalLeft" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="cnhDecalRight" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="false"/>
                <objectChange node="kemperDecalRight" visibilityActive="false"/>
                <objectChange node="ptoNewHolland" visibilityActive="true"/>

                <objectChange node="supportArm01Rot" translationActive="-0.999 -0.810 -0.475" rotationActive="2.447 1.065 -11.321"/>
                <objectChange node="supportArm02Rot" translationActive="1.242 -0.327 -0.498" rotationActive="2.664 0.169 8.566"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.2 0.033"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.2 0.033"/>

                <material name="plus345_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345_mat" shaderParameter="colorMat4" color="SHARED_BLACK1"/>
                <material name="plus345Disc2_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345Disc3_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345Disc4_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345Disc5_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345Disc6_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345Disc7_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345Disc8_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
                <material name="plus345Disc1Yellow_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
            </inputAttacherJointConfiguration>

            <!-- John Deere Yellow Config - only available with John Deere store item -->
            <inputAttacherJointConfiguration name="John Deere" price="0" displayBrand="JOHNDEERE" isSelectable="false"
                                             vehicleBrand="JOHNDEERE" vehicleIcon="$data/vehicles/kemper/plus345/store_plus345_johnDeere.png">
                <inputAttacherJoint node="attacherJointJohnDeere" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameJohnDeere" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="johnDeereDecalLeft" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="johnDeereDecalRight" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="false"/>
                <objectChange node="kemperDecalRight" visibilityActive="false"/>
                <objectChange node="ptoNewHolland" visibilityActive="false"/>

                <objectChange node="supportArm01Rot" translationActive="-0.991 -0.808 -0.475" rotationActive="2.447 1.065 -11.321"/>
                <objectChange node="supportArm02Rot" translationActive="1.235 -0.326 -0.498" rotationActive="2.664 0.169 8.566"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.217 0.105"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.217 0.105"/>

                <material name="plus345_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345_mat" shaderParameter="colorMat1" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345_mat" shaderParameter="colorMat4" color="JOHNDEERE_GREEN1"/>
                <material name="plus345Disc2_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345Disc3_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345Disc4_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345Disc5_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345Disc6_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345Disc7_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345Disc8_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
                <material name="plus345Disc1Yellow_mat" shaderParameter="colorMat0" color="JOHNDEERE_YELLOW1"/>
            </inputAttacherJointConfiguration>

            <inputAttacherJointConfiguration name="Rostselmash" price="0" displayBrand="ROSTSELMASH">
                <inputAttacherJoint node="attacherJointNewHolland" lowerRotLimitScale="0 0 1" jointType="cutterHarvester">
                    <heightNode node="heightNode01" foldMaxLimit="0.25"/>
                    <heightNode node="heightNode02"/>
                    <heightNode node="heightNode03" foldMaxLimit="0.25"/>
                    <distanceToGround lower="0.1" upper="1.1"/>
                </inputAttacherJoint>

                <objectChange node="attacherFrameNewHolland" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="kemperDecalLeft" visibilityActive="true"/>
                <objectChange node="kemperDecalRight" visibilityActive="true"/>
                <objectChange node="ptoNewHolland" visibilityActive="true"/>

                <objectChange node="supportArm01Rot" translationActive="-0.999 -0.810 -0.475" rotationActive="2.447 1.065 -11.321"/>
                <objectChange node="supportArm02Rot" translationActive="1.242 -0.327 -0.498" rotationActive="2.664 0.169 8.566"/>
                <objectChange node="leftCatmullRomRef" translationActive="0.011 1.2 0.033"/>
                <objectChange node="rightCatmullRomRef" translationActive="-0.011 1.2 0.033"/>

                <material name="frameNewHolland_mat" shaderParameter="colorMat0" color="KEMPER_RED1"/>
                <material name="frameNewHolland_mat" shaderParameter="colorMat1" color="KEMPER_RED1"/>
                <material name="frameNewHollandParts_mat" shaderParameter="colorMat0" color="KEMPER_RED1"/>
                <material name="frameNewHollandParts_mat" shaderParameter="colorMat1" color="KEMPER_RED1"/>
            </inputAttacherJointConfiguration>
        </inputAttacherJointConfigurations>

        <support animationName="moveSupport"/>
    </attachable>

    <powerTakeOffs>
        <input inputNode="ptoNewHolland" inputAttacherJointIndices="1" ptoName="LEFT_PTO"/>
    </powerTakeOffs>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_connector_johnDeere"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_connector_johnDeere" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_connector_claas"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_connector_claas" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_connector_newHolland"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_connector_newHolland" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_connector_krone"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_connector_krone" filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="1.2" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="hydraulicIn01_detached_johnDeere" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="hydraulicIn01_detached_claas" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="hydraulicIn01_detached_newHolland" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="hydraulicIn01_detached_krone" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="1.2" diameter="0.02" straighteningFactor="0.5">
            <objectChange node="hydraulicOut01_detached_johnDeere" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="hydraulicOut01_detached_claas" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="hydraulicOut01_detached_newHolland" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="hydraulicOut01_detached_krone" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <groundReferenceNodes>
        <groundReferenceNode node="heightNode02" threshold="0.5" />
    </groundReferenceNodes>

    <powerConsumer ptoRpm="540" neededMaxPtoPower="100">
        <speedLimitModifier offset="-4" minPowerHp="0" maxPowerHp="299"/>
        <speedLimitModifier offset="-2" minPowerHp="300" maxPowerHp="349"/>
        <speedLimitModifier offset="-1" minPowerHp="350" maxPowerHp="369"/>
        <speedLimitModifier offset="0" minPowerHp="370" maxPowerHp="599"/>
        <speedLimitModifier offset="1" minPowerHp="600" maxPowerHp="799"/>
        <speedLimitModifier offset="2" minPowerHp="800" maxPowerHp="1300"/>
    </powerConsumer>

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea" disableBackwards="true" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
            <groundReferenceNode index="1" />
            <folding minLimit="0" maxLimit="0.1" />
            <testAreas autoGenerate="true" zOffset="0.5" xOffset="0" length="0.6" numAreas="6"/>
        </workArea>
    </workAreas>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1" turnOnFoldMaxLimit="0.1" turnOnFoldMinLimit="0">
                    <foldingPart animationName="folding" speedScale="0.6" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <animation name="folding">
            <part node="leftArm" startTime="0.3" endTime="3" startRot="0 0 0" endRot="0 0 90"/>
            <part node="rightArm" startTime="0" endTime="2.7" startRot="0 0 0" endRot="0 0 -90"/>
            <part node="headerLeftAnimBone" startTime="0.3" endTime="3" startTrans="1.166 -0.14 0.39" endTrans="1.111 -0.2 0.23" startRot="0 0 0" endRot="0 0 49.375"/>
            <part node="headerRightAnimBone" startTime="0" endTime="2.7" startTrans="-1.166 -0.14 0.39" endTrans="-1.095 -0.2 0.23" startRot="0 0 0" endRot="0 0 -36.26"/>

            <sound template="defaultHydraulicSound" startTime="0.01" endTime="2.7"  volumeScale="1.4" pitchScale="0.8"/>
            <sound template="defaultHydraulicSound" startTime="0.3"  endTime="2.99" volumeScale="1.4" pitchScale="0.6"/>
            <sound template="clackVar4"             startTime="2.99" direction="-1" volumeScale="1.3" pitchScale="1.6"  />
            <sound template="clackVar3"             startTime="2.99" direction="-1" volumeScale="1.3" pitchScale="1.6"  />
            <sound template="clackVar4"             startTime="2.7"  direction="-1" volumeScale="1.3" pitchScale="1.4"  />
            <sound template="clackVar1"             startTime="2.7"  direction="-1" volumeScale="1"   pitchScale="1.6"  />
            <sound template="clackVar1"             startTime="0.4"  direction="-1" pitchScale="0.8"  volumeScale="1.6"/>
            <sound template="metalClose"            startTime="0.3"  direction="-1" pitchScale="0.6"  volumeScale="1.3" />
            <sound template="clackVar6"             startTime="0.01" direction="-1" pitchScale="0.7"  volumeScale="1.6"/>
            <sound template="clackVar1"             startTime="0.1"  direction="-1" pitchScale="1"    volumeScale="1.3"/>
            <sound template="clackVar1"             startTime="0.01" direction="1"  pitchScale="1"    volumeScale="1.6"/>
            <sound template="clackVar3"             startTime="0.01" direction="1"  pitchScale="1"    volumeScale="1.6"/>
            <sound template="clackVar6"             startTime="0.3"  direction="1"  pitchScale="1.3"  volumeScale="1"/>
            <sound template="clackVar4"             startTime="2.7"  direction="1"  volumeScale="1.5" pitchScale="1.2"  />
            <sound template="clackVar6"             startTime="2.99" direction="1"  volumeScale="1"   pitchScale="1.2"  />
            <sound template="sheetImp02"            startTime="2.99" direction="1"  volumeScale="1.5" pitchScale="1.2" />
            <sound template="clackVar3"             startTime="2.99" direction="1"  volumeScale="1.5" pitchScale="1.2" />
        </animation>
        <animation name="moveSupport">
            <part node="supportArm01" startTime="0" endTime="0.1" startTrans="0 0 0.05" endTrans="0 0 0.25"/>
            <part node="supportArm02" startTime="0" endTime="0.1" startTrans="0 0 0.05" endTrans="0 0 0.25"/>
            <part node="supportCollision01" startTime="0" endTime="0.1" startTrans="0 0 0" endTrans="0 -0.25 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="leftArm" playSound="true">
                <dependentPart node="hydraulicLeftArm" />
            </movingTool>
            <movingTool node="rightArm" playSound="true">
                <dependentPart node="rightArmHydraulic" />
            </movingTool>

            <movingTool node="claasFrameTilt">
                <inputAttacherJoint value="true"/>
                <dependentPart node="claasFrameTiltSpringLeft" />
                <dependentPart node="claasFrameTiltSpringRight" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="hydraulicLeftArm" referencePoint="hydraulicLeftArmRef" referenceFrame="hydraulicLeftArmRef">
                <translatingPart node="hydraulicLeftArmPunch" />
            </movingPart>
            <movingPart node="rightArmHydraulic" referencePoint="rightArmHydraulicRef" referenceFrame="rightArmHydraulicRef">
                <translatingPart node="rightArmHydraulicPunch" />
            </movingPart>

            <movingPart node="claasFrameTiltSpringLeft" referencePoint="claasFrameTiltSpringLeftRef" referenceFrame="claasFrameTiltSpringLeftRef" scaleZ="true"/>
            <movingPart node="claasFrameTiltSpringRight" referencePoint="claasFrameTiltSpringRightRef" referenceFrame="claasFrameTiltSpringRightRef" scaleZ="true"/>
        </movingParts>
    </cylindered>

    <cutter fruitTypeCategories="maizeCutter" allowsForageGrowthState="true" fruitTypeConverter="forageHarvester">
        <effect>
            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER_FORAGE" linkNode="effectLinkNode">
                <motionPathEffect textureFilename="$data/vehicles/kemper/plus345/plus345Array.dds" numRows="6" rowLength="20" verticalOffset="-0.25" minFade="0.05" visibilityZ="50 -1"/>
            </effectNode>
        </effect>

        <animationNodes>
            <animationNode node="rotPartLeftOuter" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="5"/>
            <animationNode node="disc1yellow7" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="12"/>
            <animationNode node="rotPartLeft" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="5"/>
            <animationNode node="disc1yellow6" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="10"/>
            <animationNode node="rotPartInnerLeft" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="5"/>
            <animationNode node="disc1yellow5" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="11"/>
            <animationNode node="rotPartInnerRight" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="5"/>
            <animationNode node="disc1yellow4" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="12"/>
            <animationNode node="rotPartRight" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="5"/>
            <animationNode node="disc1yellow3" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="10"/>
            <animationNode node="rotPartRightOuter" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="5"/>
            <animationNode node="disc1yellow1" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="11"/>
            <animationNode node="rotPartEntry01" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="11"/>
            <animationNode node="rotPartEntry02" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="11"/>
            <animationNode node="rotPartEntry03" rotSpeed="500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="11"/>
            <animationNode node="rotPartEntry04" rotSpeed="-500" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="11"/>
        </animationNodes>

        <automaticTilt raycastNode1="heightNode01" raycastNode2="heightNode03">
            <automaticTiltNode node="claasFrameTilt" minAngle="-3.5" maxAngle="3.5" maxSpeed="5"/>
        </automaticTilt>
        <sounds>
            <cut template="cropCuttingForage" />
        </sounds>
    </cutter>

    <turnOnVehicle turnedOnByAttacherVehicle="true" turnOffIfNotAllowed="true">
        <sounds>
            <start template="forageHarvesterStart" />
            <work  template="forageHarvesterWork" />
            <stop  template="forageHarvesterStop" />
        </sounds>
    </turnOnVehicle>

    <dynamicMount forceLimitScale="1"/>

    <ropes>
        <rope baseNode="leftCatmullRom" targetNode="leftCatmullRomRef"   baseParameters="0 0 -1 0" targetParameters="0 0 3 0"/>
        <rope baseNode="rightCatmullRom" targetNode="rightCatmullRomRef" baseParameters="0 0 -1 0" targetParameters="0 0 3 0"/>
    </ropes>

    <ai>
        <areaMarkers leftNode="aiLeftMarker" rightNode="aiRightMarker" backNode="aiMarkerBack"/>
        <collisionTrigger node="aiCollisionNode" width="4.8" height="1.5"/>
        <agentAttachment width="3.1" height="1.9" length="2.2" lengthOffset="0.3"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.4" maxX="1.4" minZ="-0.6" maxZ="-0.1" yOffset="0.25" />
        <bendingNode minX="0.3" maxX="1.2" minZ="-0.1" maxZ="0.2" yOffset="-0.2" node="leftArm" />
        <bendingNode minX="-1.2" maxX="-0.3" minZ="-0.1" maxZ="0.2" yOffset="-0.2" node="rightArm" />
    </foliageBending>

    <baseMaterial>
        <material name="plus345_mat" baseNode="plus345_vis">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
            <shaderParameter name="colorMat2" value="KEMPER_GREEN1"/>
            <shaderParameter name="colorMat4" value="SHARED_WHITE1"/>
        </material>
        <material name="plus345Disc2_mat" baseNode="disc27">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
        </material>
        <material name="plus345Disc3_mat" baseNode="disc26">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
        </material>
        <material name="plus345Disc4_mat" baseNode="disc19">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
        </material>
        <material name="plus345Disc5_mat" baseNode="disc31">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
        </material>
        <material name="plus345Disc6_mat" baseNode="disc30">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
        </material>
        <material name="plus345Disc7_mat" baseNode="disc29">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
        </material>
        <material name="plus345Disc8_mat" baseNode="disc28">
            <shaderParameter name="colorMat0" value="KEMPER_RED1"/>
        </material>
        <material name="plus345Disc1Yellow_mat" baseNode="disc1yellow7">
            <shaderParameter name="colorMat3" value="KEMPER_YELLOW_1"/>
        </material>

        <material name="frameNewHolland_mat" baseNode="frameNewHolland_vis">
            <shaderParameter name="colorMat0" value="NEWHOLLAND_YELLOW1"/>
            <shaderParameter name="colorMat1" value="NEWHOLLAND_YELLOW1"/>
        </material>
        <material name="frameNewHollandParts_mat" baseNode="frameNewHolland_vis2">
            <shaderParameter name="colorMat0" value="NEWHOLLAND_YELLOW1"/>
            <shaderParameter name="colorMat1" value="NEWHOLLAND_YELLOW1"/>
        </material>

        <material name="frameJohnDeere_mat" baseNode="frameJohnDeere_vis">
            <shaderParameter name="colorMat0" value="JOHNDEERE_YELLOW1"/>
        </material>
        <material name="frameJohnDeereParts_mat" baseNode="frameJohnDeere_vis2">
            <shaderParameter name="colorMat0" value="JOHNDEERE_YELLOW1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="plus345_main_component1" node="0>" />
        <i3dMapping id="plus345_vis" node="0>0" />
        <i3dMapping id="attacherFrameJohnDeere" node="0>0|0|0|0" />
        <i3dMapping id="attacherJointJohnDeere" node="0>0|0|0|0|0" />
        <i3dMapping id="frameJohnDeere_vis" node="0>0|0|0|0|1" />
        <i3dMapping id="frameJohnDeere_vis2" node="0>0|0|0|0|1|0" />
        <i3dMapping id="hydraulicIn01_detached_johnDeere" node="0>0|0|0|0|2|0" />
        <i3dMapping id="hydraulicIn01_connector_johnDeere" node="0>0|0|0|0|2|0|0" />
        <i3dMapping id="hydraulicOut01_detached_johnDeere" node="0>0|0|0|0|2|1" />
        <i3dMapping id="hydraulicOut01_connector_johnDeere" node="0>0|0|0|0|2|1|0" />
        <i3dMapping id="attacherFrameClaas" node="0>0|0|0|1" />
        <i3dMapping id="claasFrameTilt" node="0>0|0|0|1|0|0" />
        <i3dMapping id="attacherJointClaas" node="0>0|0|0|1|0|0|0" />
        <i3dMapping id="claasFrameTiltSpringLeftRef" node="0>0|0|0|1|0|0|1" />
        <i3dMapping id="claasFrameTiltSpringRightRef" node="0>0|0|0|1|0|0|2" />
        <i3dMapping id="claasFrameTiltSpringLeft" node="0>0|0|0|1|2" />
        <i3dMapping id="claasFrameTiltSpringRight" node="0>0|0|0|1|3" />
        <i3dMapping id="hydraulicIn01_detached_claas" node="0>0|0|0|1|4|0" />
        <i3dMapping id="hydraulicIn01_connector_claas" node="0>0|0|0|1|4|0|0" />
        <i3dMapping id="hydraulicOut01_detached_claas" node="0>0|0|0|1|4|1" />
        <i3dMapping id="hydraulicOut01_connector_claas" node="0>0|0|0|1|4|1|0" />
        <i3dMapping id="attacherFrameNewHolland" node="0>0|0|0|2" />
        <i3dMapping id="attacherJointNewHolland" node="0>0|0|0|2|0" />
        <i3dMapping id="ptoNewHolland" node="0>0|0|0|2|1" />
        <i3dMapping id="frameNewHolland_vis" node="0>0|0|0|2|2" />
        <i3dMapping id="frameNewHolland_vis2" node="0>0|0|0|2|2|0" />
        <i3dMapping id="hydraulicIn01_detached_newHolland" node="0>0|0|0|2|3|0" />
        <i3dMapping id="hydraulicIn01_connector_newHolland" node="0>0|0|0|2|3|0|0" />
        <i3dMapping id="hydraulicOut01_detached_newHolland" node="0>0|0|0|2|3|1" />
        <i3dMapping id="hydraulicOut01_connector_newHolland" node="0>0|0|0|2|3|1|0" />
        <i3dMapping id="attacherFrameKrone" node="0>0|0|0|3" />
        <i3dMapping id="attacherJointKrone" node="0>0|0|0|3|0" />
        <i3dMapping id="hydraulicIn01_detached_krone" node="0>0|0|0|3|2|0" />
        <i3dMapping id="hydraulicIn01_connector_krone" node="0>0|0|0|3|2|0|0" />
        <i3dMapping id="hydraulicOut01_detached_krone" node="0>0|0|0|3|2|1" />
        <i3dMapping id="hydraulicOut01_connector_krone" node="0>0|0|0|3|2|1|0" />
        <i3dMapping id="hydraulicIn01" node="0>0|0|1" />
        <i3dMapping id="hydraulicOut01" node="0>0|0|2" />
        <i3dMapping id="leftArm" node="0>0|1|0" />
        <i3dMapping id="rotPartLeftOuter" node="0>0|1|0|0" />
        <i3dMapping id="disc26" node="0>0|1|0|0|0|1" />
        <i3dMapping id="disc27" node="0>0|1|0|0|0|2" />
        <i3dMapping id="disc1yellow7" node="0>0|1|0|0|0|3" />
        <i3dMapping id="disc1" node="0>0|1|0|0|0|3|1" />
        <i3dMapping id="disc1Bolts6" node="0>0|1|0|0|0|3|3" />
        <i3dMapping id="hydraulicLeftArm" node="0>0|1|0|1" />
        <i3dMapping id="hydraulicLeftArmPunch" node="0>0|1|0|1|0" />
        <i3dMapping id="kemperDecalLeft" node="0>0|1|0|2|0" />
        <i3dMapping id="cnhDecalLeft" node="0>0|1|0|2|1" />
        <i3dMapping id="johnDeereDecalLeft" node="0>0|1|0|2|2" />
        <i3dMapping id="leftArmAnimBone" node="0>0|1|0|6" />
        <i3dMapping id="leftCatmullRom" node="0>0|1|0|7" />
        <i3dMapping id="rightArm" node="0>0|1|1" />
        <i3dMapping id="rotPartRightOuter" node="0>0|1|1|0" />
        <i3dMapping id="disc1yellow1" node="0>0|1|1|0|0|3" />
        <i3dMapping id="disc1yellow2" node="0>0|1|1|0|0|3|1" />
        <i3dMapping id="disc18" node="0>0|1|1|0|0|3|2" />
        <i3dMapping id="disc1Bolts1" node="0>0|1|1|0|0|3|3" />
        <i3dMapping id="rightArmHydraulic" node="0>0|1|1|1" />
        <i3dMapping id="rightArmHydraulicPunch" node="0>0|1|1|1|0" />
        <i3dMapping id="kemperDecalRight" node="0>0|1|1|2|0" />
        <i3dMapping id="cnhDecalRight" node="0>0|1|1|2|1" />
        <i3dMapping id="johnDeereDecalRight" node="0>0|1|1|2|2" />
        <i3dMapping id="rightArmAnimBone" node="0>0|1|1|6" />
        <i3dMapping id="rightCatmullRom" node="0>0|1|1|7" />
        <i3dMapping id="headerLeftAnimBone" node="0>0|1|3" />
        <i3dMapping id="headerRightAnimBone" node="0>0|1|4" />
        <i3dMapping id="hydraulicLeftArmRef" node="0>0|1|5" />
        <i3dMapping id="rightArmHydraulicRef" node="0>0|1|6" />
        <i3dMapping id="chainRightRef" node="0>0|1|7" />
        <i3dMapping id="chainLeftRef" node="0>0|1|8" />
        <i3dMapping id="sharedFrameParts" node="0>0|1|9" />
        <i3dMapping id="leftCatmullRomRef" node="0>0|1|9|0|0" />
        <i3dMapping id="rightCatmullRomRef" node="0>0|1|9|0|1" />
        <i3dMapping id="supportArm01Rot" node="0>0|1|9|1|0" />
        <i3dMapping id="supportArm01" node="0>0|1|9|1|0|0" />
        <i3dMapping id="supportArm02Rot" node="0>0|1|9|1|1" />
        <i3dMapping id="supportArm02" node="0>0|1|9|1|1|0" />
        <i3dMapping id="supportCollision01" node="0>0|1|9|1|2|0" />
        <i3dMapping id="rotPartLeft" node="0>0|2|0" />
        <i3dMapping id="disc1yellow6" node="0>0|2|0|3" />
        <i3dMapping id="disc25" node="0>0|2|0|3|2" />
        <i3dMapping id="rotPartRight" node="0>0|2|1" />
        <i3dMapping id="disc1yellow3" node="0>0|2|1|3" />
        <i3dMapping id="disc17" node="0>0|2|1|3|2" />
        <i3dMapping id="rotPartInnerLeft" node="0>0|2|2" />
        <i3dMapping id="disc19" node="0>0|2|2|1" />
        <i3dMapping id="disc1yellow5" node="0>0|2|2|4" />
        <i3dMapping id="disc22" node="0>0|2|2|4|1" />
        <i3dMapping id="rotPartInnerRight" node="0>0|2|3" />
        <i3dMapping id="disc1yellow4" node="0>0|2|3|4" />
        <i3dMapping id="disc16" node="0>0|2|3|4|1" />
        <i3dMapping id="rotPartEntry01" node="0>0|2|4" />
        <i3dMapping id="disc31" node="0>0|2|4|0" />
        <i3dMapping id="rotPartEntry02" node="0>0|2|5" />
        <i3dMapping id="rotPartEntry03" node="0>0|2|6|0" />
        <i3dMapping id="disc28" node="0>0|2|6|0|0" />
        <i3dMapping id="disc29" node="0>0|2|6|0|1" />
        <i3dMapping id="disc30" node="0>0|2|6|0|2" />
        <i3dMapping id="rotPartEntry04" node="0>0|2|7|0" />
        <i3dMapping id="aiLeftMarker" node="0>0|3|0" />
        <i3dMapping id="aiRightMarker" node="0>0|3|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|3|2" />
        <i3dMapping id="aiCollisionNode" node="0>0|3|3" />
        <i3dMapping id="effectLinkNode" node="0>0|4|0" />
        <i3dMapping id="workAreaStart" node="0>0|5|0" />
        <i3dMapping id="workAreaWidth" node="0>0|5|1" />
        <i3dMapping id="workAreaHeight" node="0>0|5|2" />
        <i3dMapping id="heightNode01" node="0>0|5|3" />
        <i3dMapping id="heightNode02" node="0>0|5|4" />
        <i3dMapping id="heightNode03" node="0>0|5|5" />
    </i3dMappings>
</vehicle>
