<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cutter">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>1030 14FT</name>
        <specs>
            <workingWidth>4.35</workingWidth>
            <combination>1660 Axial-Flow</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>store/store_caseIH1030Cutter.png</image>
        <price>28000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CASEIH</brand>
        <category>cutters</category>
        <vertexBufferMemoryUsage>1824460</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>258300</indexBufferMemoryUsage>
        <textureMemoryUsage>25734144</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>caseIH1030Cutter.i3d</filename>
        <size width="5.5" length="2.5"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 0.5 0" mass="1000"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="cutter" upperRotationOffset="0" forceSelectionOnAttach="false">
                <distanceToGround lower="1.08" upper="1.84"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <powerTakeOffs>
        <input inputNode="pto" inputAttacherJointIndices="1" aboveAttacher="true"/>
    </powerTakeOffs>

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

    <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" threshold="0.3" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>

    <cylindered>
        <movingTools>
            <movingTool node="reelMover" playSound="true">
                <controls axis="AXIS_CUTTER_REEL" invertAxis="false" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_X"/>
                <translation transSpeed="0.1" transAcceleration="10" transMax="1.21" transMin="0.913" translationAxis="3" startTrans="0.92"/>
            </movingTool>
            <movingTool node="reelArm" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_Y"/>
                <rotation rotSpeed="20" rotAcceleration="50" rotMax="20" rotMin="-8" startRot="-8"/>
                <dependentPart node="hydraulicReelArm"/>
            </movingTool>
            <movingTool node="reel2">
                <dependentPart node="spike1"/>
                <dependentPart node="spike2"/>
                <dependentPart node="spike3"/>
                <dependentPart node="spike4"/>
                <dependentPart node="spike5"/>
                <dependentPart node="spike6"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="spike1" referencePoint="spike1Ref" referenceFrame="spikeRefFrame"/>
            <movingPart node="spike2" referencePoint="spike2Ref" referenceFrame="spikeRefFrame"/>
            <movingPart node="spike3" referencePoint="spike3Ref" referenceFrame="spikeRefFrame"/>
            <movingPart node="spike4" referencePoint="spike4Ref" referenceFrame="spikeRefFrame"/>
            <movingPart node="spike5" referencePoint="spike5Ref" referenceFrame="spikeRefFrame"/>
            <movingPart node="spike6" referencePoint="spike6Ref" referenceFrame="spikeRefFrame"/>
            <movingPart node="hydraulicReelArm" referencePoint="hydraulicReelArmRef" referenceFrame="hydraulicReelArmRef">
                <translatingPart node="hydraulicReelArmPunch"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND"/>
        </sounds>
    </cylindered>

    <animations>
        <animation name="knifeAnimation" looping="true">
            <part node="blades1" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 0.05 0"/>
            <part node="blades1" startTime="0.5" endTime="1" startTrans="0 0.05 0" endTrans="0 0 0"/>

            <part node="blades2" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 -0.05 0"/>
            <part node="blades2" startTime="0.5" endTime="1" startTrans="0 0.05 0" endTrans="0 0 0"/>

            <part node="blades" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0.1 0 0"/>
            <part node="blades" startTime="0.5" endTime="1" startTrans="0.1 0 0" endTrans="0 0 0"/>

            <part node="knifes" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0.1 0 0"/>
            <part node="knifes" startTime="0.5" endTime="1" startTrans="0.1 0 0" endTrans="0 0 0"/>
        </animation>
    </animations>

    <cutter fruitTypeCategories="grainHeader">
        <fruitExtraObjects hideOnDetach="true">
            <fruitExtraObject fruitType="canola" node="zieglerRapeseedModules_4_3m"/>
            <fruitExtraObject fruitType="wheat" node="grainExtension" isDefault="false"/>
            <fruitExtraObject fruitType="barley" node="grainExtension"/>
            <fruitExtraObject fruitType="soybean" node="grainExtension"/>
            <fruitExtraObject fruitType="oat" node="grainExtension"/>
        </fruitExtraObjects>

        <testAreas>
            <testArea startNode="testAreaStart1" widthNode="testAreaWidth1" heightNode="testAreaHeight1"/>
            <testArea startNode="testAreaStart2" widthNode="testAreaStart2Width" heightNode="testAreaStart2Height"/>
            <testArea startNode="testAreaStart3" widthNode="testAreaStart3Width" heightNode="testAreaStart3Height"/>
            <testArea startNode="testAreaStart4" widthNode="testAreaStart4Width" heightNode="testAreaStart4Height"/>
        </testAreas>
        <effect>
            <effectNode linkNode="center" speedScale="0.0018" effectType="CENTER" changeSpeedScale="0.01"/>
            <effectNode linkNode="left" speedScale="0.0013" lengthAndRadius="1 1 1 0.8" effectType="LEFT" useInterpolation="true" minOffset="3"/>
            <effectNode linkNode="right" speedScale="0.0013" lengthAndRadius="1 1 1 0.8" effectType="RIGHT" useInterpolation="true" minOffset="3" useMaxValue="true"/>
        </effect>
        <animationNodes>
            <animationNode node="mainDrum" rotSpeed="800" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="reel" rotSpeed="200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="reel2" rotSpeed="200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        </animationNodes>
    </cutter>
    
    <turnOnVehicle turnedOnByAttacherVehicle="true">
        <turnedOnAnimation name="knifeAnimation" speedScale="6" turnOnFadeTime="2" turnOffFadeTime="2"/>
    </turnOnVehicle>

    <dynamicMount forceLimitScale="1"/>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

    <ai>
        <areaMarkers leftNode="aiLeftMarker" rightNode="aiRightMarker" backNode="aiBackMarker"/>
        <sizeMarkers leftNode="sizeMarkerStart" rightNode="sizeMarkerWidth" backNode="sizeMarkerBack"/>
        <collisionTrigger node="aiCollisionTrigger"/>
    </ai>

    <baseMaterial>
        <material name="caseIH1030_mat" baseNode="caseIH_vis">
            <shaderParameter name="colorMat0" value="CASEIH_RED1"/>
        </material>
    </baseMaterial>
    <baseMaterialConfigurations price="800" useDefaultColors="true" defaultColorIndex="14">
        <material name="caseIH1030_mat" shaderParameter="colorMat0"/>
    </baseMaterialConfigurations>    

    <i3dMappings>
        <i3dMapping id="attacherJoint" node="0>0" />
        <i3dMapping id="pto" node="0>1" />
        <i3dMapping id="caseIH_vis" node="0>2" />
        <i3dMapping id="mainDrum" node="0>2|0" />
        <i3dMapping id="reelArm" node="0>2|1" />
        <i3dMapping id="reelMover" node="0>2|1|0" />
        <i3dMapping id="reel" node="0>2|1|0|0" />
        <i3dMapping id="spike1" node="0>2|1|0|0|0" />
        <i3dMapping id="spike2" node="0>2|1|0|0|1" />
        <i3dMapping id="spike3" node="0>2|1|0|0|2" />
        <i3dMapping id="spike4" node="0>2|1|0|0|3" />
        <i3dMapping id="spike5" node="0>2|1|0|0|4" />
        <i3dMapping id="spike6" node="0>2|1|0|0|5" />
        <i3dMapping id="reel2" node="0>2|1|0|1" />
        <i3dMapping id="spike1Ref" node="0>2|1|0|1|0" />
        <i3dMapping id="spike2Ref" node="0>2|1|0|1|1" />
        <i3dMapping id="spike3Ref" node="0>2|1|0|1|2" />
        <i3dMapping id="spike4Ref" node="0>2|1|0|1|3" />
        <i3dMapping id="spike5Ref" node="0>2|1|0|1|4" />
        <i3dMapping id="spike6Ref" node="0>2|1|0|1|5" />
        <i3dMapping id="spikeRefFrame" node="0>2|1|0|2" />
        <i3dMapping id="hydraulicReelArmRef" node="0>2|1|1" />
        <i3dMapping id="hydraulicReelArm" node="0>2|2" />
        <i3dMapping id="hydraulicReelArmPunch" node="0>2|2|0" />
        <i3dMapping id="knifes" node="0>2|5|0" />
        <i3dMapping id="workAreaStart" node="0>3|0" />
        <i3dMapping id="workAreaWidth" node="0>3|1" />
        <i3dMapping id="workAreaHeight" node="0>3|2" />
        <i3dMapping id="groundReferenceNode" node="0>3|3" />
        <i3dMapping id="aiLeftMarker" node="0>4|0|0" />
        <i3dMapping id="aiRightMarker" node="0>4|0|1" />
        <i3dMapping id="aiBackMarker" node="0>4|0|2" />
        <i3dMapping id="sizeMarkerStart" node="0>4|1|0" />
        <i3dMapping id="sizeMarkerWidth" node="0>4|1|1" />
        <i3dMapping id="sizeMarkerBack" node="0>4|1|2" />
        <i3dMapping id="aiCollisionTrigger" node="0>4|2" />
        <i3dMapping id="testAreaStart1" node="0>5|0" />
        <i3dMapping id="testAreaWidth1" node="0>5|0|0" />
        <i3dMapping id="testAreaHeight1" node="0>5|0|1" />
        <i3dMapping id="testAreaStart2" node="0>5|1" />
        <i3dMapping id="testAreaStart2Width" node="0>5|1|0" />
        <i3dMapping id="testAreaStart2Height" node="0>5|1|1" />
        <i3dMapping id="testAreaStart3" node="0>5|2" />
        <i3dMapping id="testAreaStart3Width" node="0>5|2|0" />
        <i3dMapping id="testAreaStart3Height" node="0>5|2|1" />
        <i3dMapping id="testAreaStart4" node="0>5|3" />
        <i3dMapping id="testAreaStart4Width" node="0>5|3|0" />
        <i3dMapping id="testAreaStart4Height" node="0>5|3|1" />
        <i3dMapping id="center" node="0>6|0" />
        <i3dMapping id="left" node="0>6|1" />
        <i3dMapping id="right" node="0>6|2" />
        <i3dMapping id="grainExtension" node="0>8" />
        <i3dMapping id="zieglerRapeseedModules_4_3m" node="0>9" />
        <i3dMapping id="blades" node="0>9|2|0" />
        <i3dMapping id="blades1" node="0>9|3|0" />
        <i3dMapping id="blades2" node="0>9|3|1" />
    </i3dMappings>
</vehicle>

