<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cutter">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Gleaner S98 40Ft 9250 DynaFlex</name>
        <specs>
            <workingWidth>12.2</workingWidth>
            <combination>Gleaner S98</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>headers/textures/store9250GL.dds</image>
        <price>60000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>AGCO</brand>
        <category>cutters</category>
        <vertexBufferMemoryUsage>2850528</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>827892</indexBufferMemoryUsage>
        <textureMemoryUsage>11010360</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>headers/9250DynaFlexGleaner.i3d</filename>
        <size width="13.5" length="3"/>
        <speedLimit value="11"/>
        <components>
            <component centerOfMass="0 0.25 -0.7" mass="2100"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0" jointType="cutter" upperRotationOffset="0" forceSelectionOnAttach="true">
                <distanceToGround lower="1.05" upper="2.06"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <powerConsumer ptoRpm="540" neededMaxPtoPower="50"/>

    <powerTakeOffs>
        <input inputNode="0>1" inputAttacherJointIndices="1" aboveAttacher="true" ptoName="LEFT_PTO"/>
        <input inputNode="0>6" inputAttacherJointIndices="1" aboveAttacher="true" ptoName="RIGHT_PTO"/>
    </powerTakeOffs>

    <turnOnVehicle turnedOnByAttacherVehicle="true"/>

    <groundReferenceNodes>
        <groundReferenceNode node="0>9" threshold="0.4" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea">
            <area startNode="0>3|0" widthNode="0>3|1" heightNode="0>3|2"/>
	      <groundReferenceNode index="1" />
        </workArea>
    </workAreas>

    <cylindered>
        <movingTools>
            <movingTool node="0>2|1|0" playSound="true">
                <controls axis="AXIS_CUTTER_REEL" invertAxis="false" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_X"/>
                <translation transSpeed="0.1" transAcceleration="10" transMax="1.261" transMin="0.921" translationAxis="3"/>
                <animation startTrans="1.1"/>
            </movingTool>
            <movingTool node="0>2|1" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_Y"/>
                <rotation rotSpeed="20" rotAcceleration="50" rotMax="10" rotMin="-18" startRot="-18"/>
                <dependentPart node="0>2|2"/>
            </movingTool>
            <movingTool node="0>2|1|0|1">
                <dependentPart node="0>2|1|0|0|0"/>
                <dependentPart node="0>2|1|0|0|1"/>
                <dependentPart node="0>2|1|0|0|2"/>
                <dependentPart node="0>2|1|0|0|3"/>
                <dependentPart node="0>2|1|0|0|4"/>
                <dependentPart node="0>2|1|0|0|5"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="0>2|1|0|0|0" referencePoint="0>2|1|0|1|0" referenceFrame="0>2|1|0|2"/>
            <movingPart node="0>2|1|0|0|1" referencePoint="0>2|1|0|1|1" referenceFrame="0>2|1|0|2"/>
            <movingPart node="0>2|1|0|0|2" referencePoint="0>2|1|0|1|2" referenceFrame="0>2|1|0|2"/>
            <movingPart node="0>2|1|0|0|3" referencePoint="0>2|1|0|1|3" referenceFrame="0>2|1|0|2"/>
            <movingPart node="0>2|1|0|0|4" referencePoint="0>2|1|0|1|4" referenceFrame="0>2|1|0|2"/>
            <movingPart node="0>2|1|0|0|5" referencePoint="0>2|1|0|1|5" referenceFrame="0>2|1|0|2"/>
            <movingPart node="0>2|2" referencePoint="0>2|1|1" referenceFrame="0>2|1|1">
                <translatingPart node="0>2|2|0"/>
                <dependentPart node="0>2|2|0|0"/>
            </movingPart>
            <movingPart node="0>2|2|0|0" referencePoint="0>2|1|2" referenceFrame="0>2|1|2"/>
        </movingParts>
        <sounds>
		<hydraulic template="DEFAULT_HYDRAULIC_SOUND"/>
        </sounds>
    </cylindered>

    <cutter fruitTypeCategories="grainHeader">
        <testAreas>
            <testArea startNode="0>5|1|0" widthNode="0>5|1|0|0" heightNode="0>5|1|0|1"/>
            <testArea startNode="0>5|1|1" widthNode="0>5|1|1|0" heightNode="0>5|1|1|1"/>
            <testArea startNode="0>5|1|2" widthNode="0>5|1|2|0" heightNode="0>5|1|2|1"/>
            <testArea startNode="0>5|1|3" widthNode="0>5|1|3|0" heightNode="0>5|1|3|1"/>
            <testArea startNode="0>5|1|4" widthNode="0>5|1|4|0" heightNode="0>5|1|4|1"/>
            <testArea startNode="0>5|1|5" widthNode="0>5|1|5|0" heightNode="0>5|1|5|1"/>
            <testArea startNode="0>5|1|6" widthNode="0>5|1|6|0" heightNode="0>5|1|6|1"/>
            <testArea startNode="0>5|1|7" widthNode="0>5|1|7|0" heightNode="0>5|1|7|1"/>
            <testArea startNode="0>5|1|8" widthNode="0>5|1|8|0" heightNode="0>5|1|8|1"/>
            <testArea startNode="0>5|1|9" widthNode="0>5|1|9|0" heightNode="0>5|1|9|1"/>
        </testAreas>
        <effect>
            <effectNode linkNode="0>5|0|0" speedScale="0.0018" effectType="CENTER" changeSpeedScale="0.01"/>
            <effectNode linkNode="0>5|0|1" speedScale="0.0017" lengthAndRadius="4.3 1 1 1" effectType="LEFT" useInterpolation="true" minOffset="6.5"/>
            <effectNode linkNode="0>5|0|2" speedScale="0.0017" lengthAndRadius="4.3 1 1 1" effectType="RIGHT" useInterpolation="true" minOffset="6.5" useMaxValue="true"/>
        </effect>
	<fillEffect>
	    <effectNode effectClass="ParticleEffect" effectNode="0>5|0|3" particleType="SMOKE" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
	</fillEffect>
        <animationNodes>
            <animationNode node="0>2|3" class="ScrollingAnimation" scrollSpeed="-1.25" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
            <animationNode node="0>2|0" rotSpeed="800" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="3"/>
            <animationNode node="0>2|1|0|0" rotSpeed="200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="3"/>
            <animationNode node="0>2|1|0|1" rotSpeed="200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="3"/>
        </animationNodes>
    </cutter>

    <dynamicMount forceLimitScale="1"/>
    <washable dirtDuration="140" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

    <foliageBending>
        <bendingNode minX="-5.9" maxX="5.9" minZ="-0.8" maxZ="0.6" yOffset="0" />
    </foliageBending>

    <ai>
        <areaMarkers leftNode="0>4|0|0" rightNode="0>4|0|1" backNode="0>4|0|2"/>
        <collisionTrigger node="0>4|1"/>
    </ai>

</vehicle>
