﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="baler" 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>SB 1290 iD</name>
        <specs>
            <neededPower>195</neededPower>
        </specs>
        <functions>
            <function>$l10n_function_baler</function>
        </functions>
        <image>$data/vehicles/kuhn/sb1290ID/store_sb1290ID.png</image>
        <price>164000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KUHN</brand>
        <category>balers</category>
        <shopTranslationOffset>0 0.123 0</shopTranslationOffset>
        <shopRotationOffset>1.223 0 0</shopRotationOffset>
        <shopFoldingState>1</shopFoldingState>
        <vertexBufferMemoryUsage>5560064</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1609216</indexBufferMemoryUsage>
        <textureMemoryUsage>1900544</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_baler</typeDesc>
        <filename>$data/vehicles/kuhn/sb1290ID/sb1290ID.i3d</filename>
        <size width="4" length="10.5" />
        <speedLimit value="17" />
        <components>
            <component centerOfMass="0 0.8 0.5" solverIterationCount="10" mass="11380" />
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="200" />
            <joint component1="1" component2="2" node="pickupJoint" rotLimit="0 0 0" transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL_TRAILED" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/560_60R22_5.xml" isLeft="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="2.7" repr="wheelFrontLeft"                                forcePointRatio="0.5" initialCompression="40" suspTravel="0.14" spring="45" damper="40" yOffset="0.04"/>
                        <wheelChock/>
                        <wheelChock isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/560_60R22_5.xml" isLeft="false" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="2.7" repr="wheelFrontRight"                               forcePointRatio="0.5" initialCompression="40" suspTravel="0.14" spring="45" damper="40" yOffset="0.04" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/560_60R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="2.7" repr="wheelBackLeftAxis" driveNode="wheelBackLeft"   forcePointRatio="0.5" initialCompression="40" suspTravel="0.14" spring="45" damper="40" yOffset="0.04" />
                        <steeringAxle scale="-0.7" rotMax="15" rotMin="-15" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/560_60R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="2.7" repr="wheelBackRightAxis" driveNode="wheelBackRight" forcePointRatio="0.5" initialCompression="40" suspTravel="0.14" spring="45" damper="40" yOffset="0.04" />
                        <steeringAxle scale="-0.7" rotMax="15" rotMin="-15" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T510/15x6_00R6.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.2" repr="pickupWheelLeft"  forcePointRatio="0.1" initialCompression="20" suspTravel="0.03" spring="15" damper="10" rotationDamping="0.002" brakeFactor="0"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T510/15x6_00R6.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="3" restLoad="0.2" repr="pickupWheelRight" forcePointRatio="0.1" initialCompression="20" suspTravel="0.03" spring="15" damper="10" rotationDamping="0.002" brakeFactor="0"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="MICHELIN" saveId="MICHELIN_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/michelin/cargoXBibHD/560_60R22_5.xml">
                        <physics yOffset="0.042"/>
                        <wheelChock/>
                        <wheelChock/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/cargoXBibHD/560_60R22_5.xml">
                        <physics yOffset="0.042" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/cargoXBibHD/560_60R22_5.xml">
                        <physics yOffset="0.042" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/cargoXBibHD/560_60R22_5.xml">
                        <physics yOffset="0.042" />
                    </wheel>
                    <wheel/>
                    <wheel/>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="BKT" saveId="BKT_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/560_60R22_5.xml">
                        <wheelChock/>
                        <wheelChock/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/560_60R22_5.xml"/>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/560_60R22_5.xml"/>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/560_60R22_5.xml"/>
                    <wheel/>
                    <wheel/>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="VREDESTEIN" saveId="VREDESTEIN_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/vredestein/flotationTrac/560_60R22_5.xml">
                        <physics yOffset="0.042"/>
                        <wheelChock/>
                        <wheelChock/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/flotationTrac/560_60R22_5.xml">
                        <physics yOffset="0.042" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/flotationTrac/560_60R22_5.xml">
                        <physics yOffset="0.042" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/flotationTrac/560_60R22_5.xml">
                        <physics yOffset="0.042" />
                    </wheel>
                    <wheel/>
                    <wheel/>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimColor material="18">SHARED_WHITE1</rimColor>

        <hubs>
            <hub linkNode="wheelFrontLeft"   filename="$data/shared/wheels/hubs/hub_n8_6.xml"      isLeft="true"  scale="0.305 0.305 0.305" >
              <color0>KUHN_BLACK3</color0>
              <color1>SHARED_GREY3</color1>
            </hub>
            <hub linkNode="wheelFrontRight"  filename="$data/shared/wheels/hubs/hub_n8_6.xml"      isLeft="false" scale="0.305 0.305 0.305" >
              <color0>KUHN_BLACK3</color0>
              <color1>SHARED_GREY3</color1>
            </hub>
            <hub linkNode="wheelBackLeft"    filename="$data/shared/wheels/hubs/hub_n8_6.xml"      isLeft="true"  scale="0.305 0.305 0.305" >
              <color0>KUHN_BLACK3</color0>
              <color1>SHARED_GREY3</color1>
            </hub>
            <hub linkNode="wheelBackRight"   filename="$data/shared/wheels/hubs/hub_n8_6.xml"      isLeft="false" scale="0.305 0.305 0.305" >
              <color0>KUHN_BLACK3</color0>
              <color1>SHARED_GREY3</color1>
            </hub>
            <hub linkNode="pickupWheelLeft"  filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="true"  scale="0.132 0.132 0.132">
                <color0 material="18">SHARED_WHITE1</color0>
            </hub>
            <hub linkNode="pickupWheelRight" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="false" scale="0.132 0.132 0.132">
                <color0 material="18">SHARED_WHITE1</color0>
            </hub>
        </hubs>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="drum01" radius="0.3" groundReferenceNodeIndex="1" onlyActiveWhenLowered="true" rotateOnlyIfFillLevelIncreased="true" />
        <speedRotatingPart node="bladeDecal" radius="12" groundReferenceNodeIndex="1" onlyActiveWhenLowered="true" rotateOnlyIfFillLevelIncreased="true" stopIfNotActive="true"/>
    </speedRotatingParts>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerLow" attacherHeight="0.69"/>
        </inputAttacherJoints>
        <steeringAxleAngleScale startSpeed="0" endSpeed="90" />
        <support animationName="moveSupport" />
        <brakeForce force="1.6"/>
    </attachable>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" inputNode="ptoInputNode" aboveAttacher="true" detachNode="ptoDetachNode" color="SHARED_BLACK1" decalColor="WALTERSCHEID_YELLOW1"/>
    </powerTakeOffs>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="0.8" diameter="0.018">
           <objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="0.8" diameter="0.017">
           <objectChange node="hydraulicOut01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleRed" node="airIn" length="0.8" diameter="0.017">
            <objectChange node="airInDetached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="airOut" length="0.8" diameter="0.017">
            <objectChange node="airOutDetached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric" node="electric" length="0.8" diameter="0.01">
            <objectChange node="electric_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_detachedAdapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_detachedAdapter" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|1" linkNode="electric_detachedAdapter" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|2" linkNode="airIn_detachedAdapter" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|3" linkNode="airOut_detachedAdapter" filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <licensePlates>
        <licensePlate node="licensePlateNodeBack"  position="BACK" preferedType="SQUARISH" placementArea="0.1 0.25 0.25 0.25"/>
    </licensePlates>

    <powerConsumer ptoRpm="470" neededMinPtoPower="65" neededMaxPtoPower="85"/>

    <lights>
        <sharedLight linkNode="workingLight17"           filename="$data/shared/assets/lights/lizard/workingLight17.xml" />
        <sharedLight linkNode="workingLight18"           filename="$data/shared/assets/lights/lizard/workingLight17.xml" />
        <sharedLight linkNode="workingLight19"           filename="$data/shared/assets/lights/lizard/workingLight17.xml" />
        <sharedLight linkNode="sideMarker16Static_left"  filename="$data/shared/assets/lights/lizard/sideMarker16_left.xml" />
        <sharedLight linkNode="sideMarker16Static_right" filename="$data/shared/assets/lights/lizard/sideMarker16_right.xml" />
        <sharedLight linkNode="rearLight40_left"         filename="$data/shared/assets/lights/lizard/rearLight40_left.xml" />
        <sharedLight linkNode="rearLight40_right"        filename="$data/shared/assets/lights/lizard/rearLight40_right.xml" />
        <sharedLight linkNode="whiteRound_03"            filename="$data/shared/assets/reflectors/lizard/whiteRound_03.xml" />
        <sharedLight linkNode="whiteRound_04"            filename="$data/shared/assets/reflectors/lizard/whiteRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03"  filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflectorYellowRound_04"  filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflectorYellowRound_05"  filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflectorYellowRound_06"  filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflectorYellowRound_07"  filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflectorYellowRound_08"  filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflectorYellowRound_09"  filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflectorYellowRound_010" filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="plateNumberLight02"       filename="$data/shared/assets/lights/lizard/plateNumberLight02.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh1" lightTypes="0" />
                <light node="licensePlateLightHigh" lightTypes="0" />
                <light node="workLightBackHigh1" lightTypes="1" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh1" />
                <reverseLight node="reverseLightHigh1" />
            </high>
        </realLights>
    </lights>

    <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" threshold="0.4" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="baler" functionName="processBalerArea" disableBackwards="false" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
            <onlyActiveWhenLowered value="true"/>
        </workArea>
    </workAreas>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1" turnOnFoldMinLimit="0.0" turnOnFoldMaxLimit="0.02" allowUnfoldingByAI="false">
                    <foldingPart animationName="foldBackDoor" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <animation name="moveSupport">
            <part node="supportArmPart" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 -0.27 0" />
            <part node="supportArm"     startTime="0" endTime="0.5" startRot="90 0 0" endRot="0 0 0" />

            <sound template="clackVar1" startTime="0.1" direction="-1" volumeScale="1.2" pitchScale="1.5" linkNode="attacherJoint"/>
            <sound template="clackVar5" startTime="0.01" direction="1" volumeScale="1.2" pitchScale="1.4" linkNode="attacherJoint"/>
        </animation>

        <animation name="rotatePickup">
            <part node="pickupJoint" startTime="0" endTime="1"   startRot="-35 0 0" endRot="0 0 0" />
            <part node="pickupPushDown" startTime="0.25" endTime="0.75" startRot="0 0 0" endRot="-12 0 0" />
            <part node="helpJoint" startTime="0" endTime="1" startRot="-60 0 0" endRot="0 0 0" />
            <part startTime="0" endTime="1" componentJointIndex="1" startRotLimit="0 0 0" endRotLimit="30 0 0"/>

            <sound template="defaultHydraulicSound" startTime="0.01" endTime="0.9"  direction="1"     volumeScale="0.9" pitchScale="1" fadeIn="0.1" fadeOut="0.1" linkNode="pickup"/>
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="0.8"  direction="-1"    volumeScale="1.8" pitchScale="1" fadeIn="0.1" fadeOut="0.1" linkNode="pickup"/>
            <sound template="clackVar6"             startTime="0.9"  direction="1"                    volumeScale="0.5" pitchScale="0.7"                          linkNode="pickup"/>
            <sound template="clackVar6"             startTime="0.01" direction="-1"                   volumeScale="1.2" pitchScale="0.9"                          linkNode="pickup"/>
            <sound template="sheetImp02"            startTime="0.01" direction="-1"                   volumeScale="1.5" pitchScale="1.4"                          linkNode="pickup"/>
        </animation>

        <animation name="knoting">
            <part node="knotingDrum"    startTime="0" endTime="0.999" startRot="0 0 0" endRot="359.999 0 0" />
            <part node="knotingDrum"    startTime="0.999" endTime="1" startRot="359.999 0 0" endRot="0 0 0" />
        </animation>

        <animation name="foldBackDoor">
            <part node="backPart"       startTime="0" endTime="2.5" startRot="0 0 0" endRot="86.5 0 0" />
            <part node="chain01"        startTime="0" endTime="2.5" startRot="0 0 0" endRot="-50 0 0" />

            <sound template="defaultHydraulicSound" startTime="0.01" endTime="2.5"  volumeScale="1.6" pitchScale="1.2" fadeIn="0.1" fadeOut="0.2"/>
            <sound template="clackVar6"             startTime="2.49" direction="-1" volumeScale="1.1" pitchScale="1.3" />
            <sound template="sheetImp02"            startTime="2.49" direction="-1" volumeScale="1.5" pitchScale="0.8" />
            <sound template="latchSmall"            startTime="2.49" direction="-1" volumeScale="0.5" pitchScale="2" />
            <sound template="sheetImp05"            startTime="0.01" direction="-1" volumeScale="1.5" pitchScale="0.8" />
            <sound template="clackVar6"             startTime="0.01" direction="-1" volumeScale="1.5" pitchScale="0.9"/>
            <sound template="clackVar5"             startTime="0.01" direction="1"  volumeScale="0.5" pitchScale="1.6"/>
            <sound template="clackVar6"             startTime="2.4"  direction="1"  volumeScale="0.9" pitchScale="0.8"/>
            <sound template="clackVar4"             startTime="2.4"  direction="1"  volumeScale="1.1" pitchScale="1.8"/>
            <sound template="sheetImp05"            startTime="2.4"  direction="1"  volumeScale="0.7" pitchScale="0.6"/>
        </animation>

        <animation name="balingAnimation" looping="true">
            <part node="pushBackMoveRotation"   startTime="0" endTime="1.999" startRot="0 0 0" endRot="720 0 0" />
            <part node="pushRotor"              startTime="0" endTime="1.999" startRot="0 0 0" endRot="720 0 0" />
            <part node="rafferRotArm"           startTime="0" endTime="1.999" startRot="0 0 0" endRot="720 0 0" />
            <part node="pushBackMoveRotation"   startTime="1.999" endTime="2" startRot="720 0 0" endRot="0 0 0" />
            <part node="pushRotor"              startTime="1.999" endTime="2" startRot="720 0 0" endRot="0 0 0" />
            <part node="rafferRotArm"           startTime="1.999" endTime="2" startRot="720 0 0" endRot="0 0 0" />
            <part node="rafferPreArm"           startTime="0" endTime="0.25" startRot="-35 0 0" endRot="30 0 0" tangentType="spline"/>
            <part node="rafferPreArm"           startTime="0.30" endTime="0.7" startRot="30 0 0" endRot="-35 0 0" tangentType="spline"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="backPart" playSound="true">
                <dependentPart node="backPartHydraulic" />
                <dependentPart node="chain02" />
            </movingTool>
            <movingTool node="knotingDrum" playSound="false">
                <dependentPart node="knotingArm" />
            </movingTool>
            <movingTool node="pushBackMoveRotation">
                <dependentPart node="pushBackTopDir" />
                <dependentPart node="pushBackBottomDir" />
                <dependentPart node="raffer01" />
            </movingTool>
            <movingTool node="pickupJoint" playSound="true">
                <componentJoint index="1" />
            </movingTool>
            <movingTool node="pickupPushDown">
                <dependentPart node="pickupPushDownSpringPart01" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="steeringBar" referencePoint="steeringBarRef" referenceFrame="steeringBarRef" isActiveDirty="true" maxUpdateDistance="25"/>
            <movingPart node="steeringBarDamper" referencePoint="steeringBarDamperRef" referenceFrame="steeringBarDamperRef" isActiveDirty="true" maxUpdateDistance="20">
                <translatingPart node="steeringBarDamperPunch"/>
            </movingPart>
            <movingPart node="pickup" referencePoint="pickupRef" referenceFrame="pickupRef" isActiveDirty="true" maxUpdateDistance="200"/>
            <movingPart node="backPartHydraulic" referencePoint="backPartHydraulicRef" referenceFrame="backPartHydraulicRef">
                <translatingPart node="backPartHydraulicPunch" />
            </movingPart>
            <movingPart node="raffer01" localReferencePoint="raffer02" referencePoint="raffer02Ref" referenceFrame="raffer01RefFrame">
                <dependentPart node="raffer02" />
            </movingPart>
            <movingPart node="raffer02" referencePoint="raffer02Ref" referenceFrame="raffer02RefFrame"/>
            <movingPart node="pushBackTopDir" referencePoint="pushBackTopRef" referenceFrame="pushBackDirRefFrame" limitedAxis="2" >
                <translatingPart node="pushBackTop" />
                <dependentPart node="pushBackPunch" />
            </movingPart>
            <movingPart node="pushBackPunch" referencePoint="pushBackPunchRef" referenceFrame="pushBackPunchRef" scaleZ="true"/>
            <movingPart node="pushBackBottomDir" referencePoint="pushBackBottomRef" referenceFrame="pushBackDirRefFrame" limitedAxis="2" >
                <translatingPart node="pushBackBottom" />
            </movingPart>
            <movingPart node="knotingArm" localReferencePoint="knotingArmPart" referencePoint="knotingArmPartRef" referenceFrame="knotingArmRefFrame">
                <dependentPart node="knotingArmPart" />
            </movingPart>
            <movingPart node="knotingArmPart" referencePoint="knotingArmPartRef" referenceFrame="knotingArmPartRefFrame"/>
            <movingPart node="chain02" localReferencePoint="chain03" referencePoint="chain03Ref" referenceFrame="chain02RefFrame">
                <dependentPart node="chain03" />
            </movingPart>
            <movingPart node="chain03" referencePoint="chain03Ref" referenceFrame="chain03Ref"/>

            <movingPart node="pickupPushDownSpringPart01" referencePoint="pickupPushDownSpringPart02" referenceFrame="pickupPushDownSpringPart01RefFrame">
                <dependentPart node="pickupPushDownSpringPart02" />
            </movingPart>
            <movingPart node="pickupPushDownSpringPart02" referencePoint="pickupPushDownSpringPart01" referenceFrame="pickupPushDownSpringPart02RefFrame">
                <dependentPart node="pickupPushDownSpringDecal" />
            </movingPart>
            <movingPart node="pickupPushDownSpringDecal" referencePoint="pickupPushDownSpringDecalRef" referenceFrame="pickupPushDownSpringDecalRef" scaleZ="true"/>
        </movingParts>
    </cylindered>

    <pickup>
        <animation name="rotatePickup" lowerSpeed="1.5" liftSpeed="-1" />
    </pickup>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="windrow" capacity="4000" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <baler fillScale="1" maxPickupLitersPerSecond="325">
        <baleAnimation>
            <key pos="0 0 0"  rot="0 0 0"/>
            <key pos="0 0 -5.05" rot="0 0 0"/>
        </baleAnimation>
        <baleTypes>
            <baleType isRoundBale="false" width="1.2" height="0.9" length="1.8">
                <nodes baleRootNode="baleRootNode" baleNode="baleNode" scaleNode="baleAnimation"/>
                <objectChange node="baleNode" translationActive="0 0 -0.9"/>
            </baleType>
            <baleType isRoundBale="false" width="1.2" height="0.9" length="2.2" isDefault="true">
                <nodes baleRootNode="baleRootNode" baleNode="baleNode" scaleNode="baleAnimation"/>
                <objectChange node="baleNode" translationActive="0 0 -1.1"/>
            </baleType>
            <baleType isRoundBale="false" width="1.2" height="0.9" length="2.4">
                <nodes baleRootNode="baleRootNode" baleNode="baleNode" scaleNode="baleAnimation"/>
                <objectChange node="baleNode" translationActive="0 0 -1.2"/>
            </baleType>
        </baleTypes>
        <sounds>
            <work template="BALE_WRAPPING_02" />
            <unload template="BALER_UNLOAD"/>
            <knotCleaning template="BALER_KNOT_CLEANING" />
        </sounds>
        <baleUnloading time="4" allowed="true" foldThreshold="0.1" />
        <knotingAnimation name="knoting" speed="0.5" />

        <fillEffect>
            <effectNode effectClass="TypedMotionPathEffect" effectType="PICKUPIN" linkNode="pickupEffectNode">
                <motionPathEffect textureFilename="$data/vehicles/kuhn/sb1290ID/pickupEffectArray.dds" numRows="12" rowLength="10" minFade="0.15" shapeScale="0.85"/>
            </effectNode>
            <effectNode effectClass="TypedMotionPathEffect" effectType="PICKUPIN" linkNode="liftupEffectNode">
                <motionPathEffect textureFilename="$data/vehicles/kuhn/sb1290ID/liftupEffectArray.dds" numRows="10" rowLength="10" delay="0.35" shapeScale="0.5" maxShapeScale="0.5" density="2"/>
            </effectNode>
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" materialType="smokeParticle" emitCountScale="0.1"/>
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" materialType="smokeParticle" emitCountScale="0.2" worldSpace="false"/>
        </fillEffect>

        <animationNodes>
            <animationNode node="swingWheel" rotSpeed="1400" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="6" />
            <animationNode node="drum"       rotSpeed="600" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="6" />
            <animationNode node="rotor"      rotSpeed="600" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="6" />
            <animationNode node="cardan01"   rotSpeed="600" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="6" />
            <animationNode node="cardan02"   rotSpeed="600" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="6" />
            <animationNode node="cardan03"   rotSpeed="600" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="6" />
            <animationNode node="cardan04"   rotSpeed="600" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="6" />
        </animationNodes>
    </baler>

    <turnOnVehicle>
        <turnedOnAnimation name="balingAnimation" speedScale="0.7" />

        <animationNodes>
            <animationNode node="tines" rotSpeed="-550" rotAxis="1" class="RotationAnimationSpikes" turnOnFadeTime="1" turnOffFadeTime="2">
                <spikes moveUpRange="0 125" moveDownRange="200 250" maxRot="70" rotAxis="1" >
                    <spike node="tinesPart01" />
                    <spike node="tinesPart02" />
                    <spike node="tinesPart03" />
                    <spike node="tinesPart04" />
                    <spike node="tinesPart05" />
                </spikes>
            </animationNode>
        </animationNodes>
    </turnOnVehicle>

    <ai>
        <allowTurnBackward value="false"/>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2 3 4" width="3.3" height="3.5" length="7" lengthOffset="-0.2"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.6" maxX="1.6" minZ="-1.6" maxZ="2.6" yOffset="0.6" />
        <bendingNode minX="-0.6" maxX="0.6" minZ="2.6" maxZ="4.4" yOffset="0.6" />
        <bendingNode minX="-0.7" maxX="0.7" minZ="-3.5" maxZ="-1.6" yOffset="0.7" />
        <bendingNode minX="-1.4" maxX="1.4" minZ="-0.1" maxZ="0.9" yOffset="-0.2" node="pickup"/>
        <bendingNode minX="-0.8" maxX="0.8" minZ="-1.8" maxZ="-0.2" yOffset="-0.3" node="backPart"/>
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

    <baseMaterial>
        <material name="sb1290iDStatic_mat" baseNode="sb1290ID_vis">
            <shaderParameter name="colorMat0" value="KUHN_RED1"/>
        </material>
    </baseMaterial>

    <i3dMappings>
        <i3dMapping id="sb1290ID_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="supportArm" node="0>0|0|1" />
        <i3dMapping id="supportArmPart" node="0>0|0|1|0" />
        <i3dMapping id="ptoInputNode" node="0>0|0|2|0" />
        <i3dMapping id="ptoDetachNode" node="0>0|0|2|1" />
        <i3dMapping id="hydraulicIn01_detached" node="0>0|0|3|0" />
        <i3dMapping id="hydraulicIn01_detachedAdapter" node="0>0|0|3|0|0" />
        <i3dMapping id="hydraulicOut01_detached" node="0>0|0|3|1" />
        <i3dMapping id="hydraulicOut01_detachedAdapter" node="0>0|0|3|1|0" />
        <i3dMapping id="airInDetached" node="0>0|0|3|2" />
        <i3dMapping id="airIn_detachedAdapter" node="0>0|0|3|2|0" />
        <i3dMapping id="airOutDetached" node="0>0|0|3|3" />
        <i3dMapping id="airOut_detachedAdapter" node="0>0|0|3|3|0" />
        <i3dMapping id="airIn" node="0>0|0|3|4" />
        <i3dMapping id="hydraulicOut01" node="0>0|0|3|5" />
        <i3dMapping id="hydraulicIn01" node="0>0|0|3|6" />
        <i3dMapping id="airOut" node="0>0|0|3|7" />
        <i3dMapping id="electric" node="0>0|0|3|8" />
        <i3dMapping id="electric_detached" node="0>0|0|3|9" />
        <i3dMapping id="electric_detachedAdapter" node="0>0|0|3|9|0" />
        <i3dMapping id="wheelFrontLeft" node="0>0|1|0" />
        <i3dMapping id="wheelFrontRight" node="0>0|1|1" />
        <i3dMapping id="wheelBackLeftAxis" node="0>0|1|2|0" />
        <i3dMapping id="wheelBackLeft" node="0>0|1|2|0|0|0" />
        <i3dMapping id="steeringBar" node="0>0|1|2|0|1" />
        <i3dMapping id="steeringBarDamperRef" node="0>0|1|2|0|1|0" />
        <i3dMapping id="wheelBackRightAxis" node="0>0|1|3|0" />
        <i3dMapping id="wheelBackRight" node="0>0|1|3|0|0|0" />
        <i3dMapping id="steeringBarRef" node="0>0|1|3|0|1" />
        <i3dMapping id="workingLight17" node="0>0|2|0|0" />
        <i3dMapping id="workingLight18" node="0>0|2|0|1" />
        <i3dMapping id="workingLight19" node="0>0|2|0|2" />
        <i3dMapping id="whiteRound_03" node="0>0|2|0|3" />
        <i3dMapping id="whiteRound_04" node="0>0|2|0|4" />
        <i3dMapping id="reflectorYellowRound_03" node="0>0|2|0|5" />
        <i3dMapping id="reflectorYellowRound_04" node="0>0|2|0|6" />
        <i3dMapping id="reflectorYellowRound_05" node="0>0|2|0|7" />
        <i3dMapping id="reflectorYellowRound_06" node="0>0|2|0|8" />
        <i3dMapping id="reflectorYellowRound_07" node="0>0|2|0|9" />
        <i3dMapping id="reflectorYellowRound_08" node="0>0|2|0|10" />
        <i3dMapping id="reflectorYellowRound_09" node="0>0|2|0|11" />
        <i3dMapping id="reflectorYellowRound_010" node="0>0|2|0|12" />
        <i3dMapping id="sideMarker16Static_left" node="0>0|2|0|13" />
        <i3dMapping id="sideMarker16Static_right" node="0>0|2|0|14" />
        <i3dMapping id="rearLight40_left" node="0>0|2|0|15" />
        <i3dMapping id="rearLight40_right" node="0>0|2|0|16" />
        <i3dMapping id="backLightsHigh1" node="0>0|2|1|0" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|2|0" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|2|1" />
        <i3dMapping id="workLightBackHigh1" node="0>0|2|3|0" />
        <i3dMapping id="reverseLightHigh1" node="0>0|2|4|0" />
        <i3dMapping id="pickup" node="0>0|3|0" />
        <i3dMapping id="tines" node="0>0|3|0|0" />
        <i3dMapping id="tinesPart01" node="0>0|3|0|0|0" />
        <i3dMapping id="tinesPart02" node="0>0|3|0|0|1" />
        <i3dMapping id="tinesPart05" node="0>0|3|0|0|2" />
        <i3dMapping id="tinesPart04" node="0>0|3|0|0|3" />
        <i3dMapping id="tinesPart03" node="0>0|3|0|0|4" />
        <i3dMapping id="pickupPushDown" node="0>0|3|0|1" />
        <i3dMapping id="drum01" node="0>0|3|0|1|0" />
        <i3dMapping id="helpJoint" node="0>0|3|0|1|1" />
        <i3dMapping id="pickupPushDownSpringPart01RefFrame" node="0>0|3|0|1|4" />
        <i3dMapping id="pickupPushDownSpringPart01" node="0>0|3|0|1|4|0" />
        <i3dMapping id="pickupPushDownSpringDecalRef" node="0>0|3|0|1|4|0|0" />
        <i3dMapping id="pickupPushDownSpringPart02RefFrame" node="0>0|3|0|2" />
        <i3dMapping id="pickupPushDownSpringPart02" node="0>0|3|0|2|0" />
        <i3dMapping id="pickupPushDownSpringDecal" node="0>0|3|0|2|0|0" />
        <i3dMapping id="smokeEmitter" node="0>0|3|0|4|0" />
        <i3dMapping id="pickupEffectNode" node="0>0|3|0|4|1" />
        <i3dMapping id="backPart" node="0>0|3|1" />
        <i3dMapping id="backPartHydraulicRef" node="0>0|3|1|0" />
        <i3dMapping id="chain03Ref" node="0>0|3|1|1" />
        <i3dMapping id="licensePlateNodeBack" node="0>0|3|1|4" />
        <i3dMapping id="plateNumberLight02" node="0>0|3|1|5" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|3|1|6" />
        <i3dMapping id="backPartHydraulic" node="0>0|3|2" />
        <i3dMapping id="backPartHydraulicPunch" node="0>0|3|2|0" />
        <i3dMapping id="swingWheel" node="0>0|3|3|0" />
        <i3dMapping id="rafferRotArm" node="0>0|3|4" />
        <i3dMapping id="raffer02Ref" node="0>0|3|4|0" />
        <i3dMapping id="rafferPreArm" node="0>0|3|5" />
        <i3dMapping id="raffer01RefFrame" node="0>0|3|5|0" />
        <i3dMapping id="raffer01" node="0>0|3|5|0|0" />
        <i3dMapping id="raffer02" node="0>0|3|5|0|0|0" />
        <i3dMapping id="raffer02RefFrame" node="0>0|3|6" />
        <i3dMapping id="pushBackMoveRotationRot" node="0>0|3|7" />
        <i3dMapping id="pushBackMoveRotation" node="0>0|3|7|0" />
        <i3dMapping id="pushBackTopRef" node="0>0|3|7|0|0" />
        <i3dMapping id="pushBackBottomRef" node="0>0|3|7|0|1" />
        <i3dMapping id="pushRotor" node="0>0|3|7|1" />
        <i3dMapping id="pushBackPunch" node="0>0|3|7|1|0" />
        <i3dMapping id="pushBackDirRefFrame" node="0>0|3|7|2" />
        <i3dMapping id="pushBackTopDir" node="0>0|3|7|2|0" />
        <i3dMapping id="pushBackTop" node="0>0|3|7|2|0|0" />
        <i3dMapping id="pushBackPunchRef" node="0>0|3|7|2|0|0|0" />
        <i3dMapping id="pushBackBottomDir" node="0>0|3|7|2|1" />
        <i3dMapping id="pushBackBottom" node="0>0|3|7|2|1|0" />
        <i3dMapping id="rotor" node="0>0|3|8" />
        <i3dMapping id="drum" node="0>0|3|9" />
        <i3dMapping id="knotingArmRefFrame" node="0>0|3|10" />
        <i3dMapping id="knotingArmPartRefFrame" node="0>0|3|11" />
        <i3dMapping id="knotingDrum" node="0>0|3|12" />
        <i3dMapping id="knotingArm" node="0>0|3|12|0" />
        <i3dMapping id="knotingArmPart" node="0>0|3|12|0|0" />
        <i3dMapping id="knotingArmPartRef" node="0>0|3|13" />
        <i3dMapping id="steeringBarDamper" node="0>0|3|14" />
        <i3dMapping id="steeringBarDamperPunch" node="0>0|3|14|0" />
        <i3dMapping id="chain01" node="0>0|3|15" />
        <i3dMapping id="chain02RefFrame" node="0>0|3|15|0" />
        <i3dMapping id="chain02" node="0>0|3|15|0|0" />
        <i3dMapping id="chain03" node="0>0|3|15|0|0|0" />
        <i3dMapping id="cardan01" node="0>0|3|16|0|0" />
        <i3dMapping id="cardan02" node="0>0|3|16|1|0" />
        <i3dMapping id="cardan03" node="0>0|3|16|2|0" />
        <i3dMapping id="cardan04" node="0>0|3|16|3" />
        <i3dMapping id="bales" node="0>0|4" />
        <i3dMapping id="baleAnimation" node="0>0|4|0" />
        <i3dMapping id="baleNode" node="0>0|4|0|0" />
        <i3dMapping id="baleRootNode" node="0>0|4|1" />
        <i3dMapping id="baleRootNodeRef" node="0>0|4|1|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="liftupEffectNode" node="0>0|6|0" />
        <i3dMapping id="pickupJoint" node="0>0|7" />
        <i3dMapping id="bladeDecal" node="0>0|8|4|0" />
        <i3dMapping id="sb1290idAnimated2" node="0>0|8|5|0" />
        <i3dMapping id="sb1290idAnimated3" node="0>0|8|6|0" />
        <i3dMapping id="sb1290ID_pickup_component2" node="1>" />
        <i3dMapping id="pickupWheelLeft" node="1>0" />
        <i3dMapping id="pickupWheelRight" node="1>1" />
        <i3dMapping id="pickupRef" node="1>2" />
        <i3dMapping id="groundReferenceNode" node="1>3" />
    </i3dMappings>
</vehicle>
