<?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>NorthStar 1830</name>
        <specs>
            <workingWidth>13.0</workingWidth>
            <combination xmlFilename="$data/vehicles/claas/lexion8900/lexion8900.xml"/>
            <combination xmlFilename="$data/vehicles/johnDeere/seriesX9/seriesX9.xml"/>
            <combination xmlFilename="$data/vehicles/newHolland/cr11/cr11.xml"/>
            <combination xmlFilename="$data/vehicles/newHolland/cr11/cr11GoldEdition.xml"/>
            <combination xmlFilename="$data/vehicles/caseIH/af11/af11.xml"/>
            <combination xmlFilename="$data/vehicles/nardi/n60_45/n60_45.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>$data/vehicles/geringhoff/northStar1830/store_northStar1830.png</image>
        <price>156000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>GERINGHOFF</brand>
        <category>cornHeaders</category>
        <shopTranslationOffset>0 0.004 0</shopTranslationOffset>
        <shopRotationOffset>-0.247 0 0</shopRotationOffset>
        <shopHeight>4</shopHeight>
        <vertexBufferMemoryUsage>3949568</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1485824</indexBufferMemoryUsage>
        <textureMemoryUsage>655360</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>$data/vehicles/geringhoff/northStar1830/northStar1830.i3d</filename>
        <size width="14" length="3.1" height="1.6" lengthOffset="0.4"/>
        <speedLimit value="17"/>
        <components>
            <component centerOfMass="0 0.2 0" solverIterationCount="10" mass="5647"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="COMBINE_HEADER"/>
        <mapHotspot type="CUTTER"/>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="cutter">
                <heightNode node="heightNode01"/>
                <heightNode node="heightNode02"/>
                <heightNode node="heightNode03"/>
                <distanceToGround lower="0.2" upper="1.8"/>
                <objectChange node="claasConnector" visibilityActive="false" visibilityInactive="true"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric" node="electric_node" socket="electric" length="1.4" diameter="0.018" straighteningFactor="1.5"/>
        <customTarget node="claasConnectorNode" type="claasMultiCoupler" inputAttacherJointIndices="1"/>
    </connectionHoses>

    <animations>
        <animation name="moveSupport">
            <part node="support"    startTime="0" endTime="1.0" startTrans="0 0 -0.06" endTrans="0 0 0"/>
            <part node="supportCol" startTime="0" endTime="0.2" startTrans="0 0.07 0"  endTrans="0 0 0"/>

            <sound template="hydraulicOpen02" startTime="0.01" endTime="0.99" volumeScale="1.4" pitchScale="1.4" fadeIn="0.1" fadeOut="0.1" />
            <sound template="hingeImp"        startTime="0.1"  direction="-1" volumeScale="0.7" pitchScale="1.2" />
        </animation>
    </animations>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" inputNode="ptoInputLeft"  aboveAttacher="true" ptoName="LEFT_PTO" detachNode="ptoLeft_detach"/>
        <input inputAttacherJointIndices="1" inputNode="ptoInputRight" aboveAttacher="true" ptoName="RIGHT_PTO" detachNode="ptoRight_detach"/>
        <local startNode="ptoLeft_02"  endNode="ptoLeft_03"  filename="$data/shared/assets/powerTakeOffs/walterscheidW_SC25_oneEnd.xml"/>
        <local startNode="ptoLeft_04"  endNode="ptoLeft_05"  filename="$data/shared/assets/powerTakeOffs/walterscheidW.xml"/>
        <local startNode="ptoRight_02" endNode="ptoRight_03" filename="$data/shared/assets/powerTakeOffs/walterscheidW_SC25_oneEnd.xml"/>
        <local startNode="ptoRight_04" endNode="ptoRight_05" filename="$data/shared/assets/powerTakeOffs/walterscheidW.xml"/>
    </powerTakeOffs>

    <powerConsumer ptoRpm="470" neededMaxPtoPower="100"/>

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

    <lights>
        <states>
            <state lightTypes="0"/>
        </states>

        <sharedLight linkNode="sideMarker18_left"  filename="$data/shared/assets/lights/lizard/sideMarker18_right.xml" lightTypes="0"/>
        <sharedLight linkNode="sideMarker18_right" filename="$data/shared/assets/lights/lizard/sideMarker18_left.xml"  lightTypes="0"/>
    </lights>

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
            <groundReferenceNode index="1"/>
            <chopperArea index="2"/>
            <testAreas autoGenerate="true" zOffset="0.5" xOffset="0" length="0.6" numAreas="18" areaWidthScale="0.25"/>
        </workArea>
        <workArea type="auxiliary">
            <area startNode="workAreaStartStraw" widthNode="workAreaWidthStraw" heightNode="workAreaHeightStraw"/>
        </workArea>
    </workAreas>

    <cutter fruitTypeCategories="maizeHeader" strawRatio="0.1">
        <effect>
            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER" linkNode="effectNodePlant">
                <motionPathEffect textureFilename="$data/vehicles/geringhoff/northStar1830/plantArray.dds" numRows="20" rowLength="8" minFade="0.19" visibilityY="50 0"/>
            </effectNode>
            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER_FRUITS" linkNode="effectNodeFruit">
                <motionPathEffect textureFilename="$data/vehicles/geringhoff/northStar1830/fruitArray.dds" numRows="20" rowLength="38" speedScale="0.23" verticalOffset="0" minFade="0.09" startDelay="0.4" stopDelay="0.6"/>
            </effectNode>
            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER_THRESHING" linkNode="effectNodeThreshing">
                <motionPathEffect textureFilename="$data/vehicles/geringhoff/northStar1830/threshingArray.dds" numRows="20" rowLength="10" verticalOffset="0" minFade="0.15" startDelay="0.2" stopDelay="0.6"/>
            </effectNode>
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" materialType="smokeParticle" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
        </effect>

        <animationNodes>
            <animationNode node="drumLeft"  rotSpeed="900" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="drumRight" rotSpeed="900" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="4"/>

            <animationNode node="rollLeft"  rotSpeed="1300"  rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="rollRight" rotSpeed="-1300" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>

            <animationNode node="cutterRoll01" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll02" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll03" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll04" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll05" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll06" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll07" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll08" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll09" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll10" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll11" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll12" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll13" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll14" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll15" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll16" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll17" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll18" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll19" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll20" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll21" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll22" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll23" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll24" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll25" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll26" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll27" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll28" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll29" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll30" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll31" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll32" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll33" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll34" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll35" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>
            <animationNode node="cutterRoll36" rotSpeed="-800" rotAxis="3" turnOnFadeTime="2" turnOffFadeTime="4"/>

            <animationNode class="ScrollingAnimation" node="chains"  scrollSpeed="-3" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" turnOnFadeTime="2" turnOffFadeTime="4"/>
        </animationNodes>

        <automaticTilt raycastNode1="heightNode01" raycastNode2="heightNode03"/>
        <sounds>
            <cut template="cropCuttingCorn" volumeScale="3.0"/>
        </sounds>
    </cutter>

    <turnOnVehicle turnedOnByAttacherVehicle="true">
        <sounds>
            <start template="maizeHeaderStart" pitchScale="0.8" volumeScale="0.3"/>
            <work  template="maizeHeaderLoop"  pitchScale="0.8" volumeScale="0.3"/>
            <stop  template="maizeHeaderStop"  pitchScale="0.8" volumeScale="0.3"/>
        </sounds>
    </turnOnVehicle>

    <dynamicMount forceLimitScale="1"/>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <collisionTrigger useSize="true"/>
        <agentAttachment useSize="true"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-6.95" maxX="6.95" minZ="-1" maxZ="0.6" yOffset="0.2"/>
    </foliageBending>

    <designColorConfigurations defaultColorMaterialTemplateName="calibratedPaint">
        <designColorConfiguration materialTemplateName="GERINGHOFF_RED" saveId="1">
            <material materialSlotName="base02_color_mat" materialTemplateName="GERINGHOFF_BLACK"/>
            <material materialSlotName="tines_color_mat" materialTemplateName="GERINGHOFF_YELLOW"/>
        </designColorConfiguration>

        <designColorConfiguration materialTemplateName="JOHNDEERE_GREEN1" saveId="3">
            <material materialSlotName="base02_color_mat" materialTemplateName="GERINGHOFF_BLACK"/>
            <material materialSlotName="tines_color_mat" materialTemplateName="JOHNDEERE_YELLOW1"/>
        </designColorConfiguration>

        <designColorConfiguration materialTemplateName="NEWHOLLAND_YELLOW1" saveId="5">
            <material materialSlotName="base02_color_mat" materialTemplateName="GERINGHOFF_BLACK"/>
            <material materialSlotName="tines_color_mat" materialTemplateName="NEWHOLLAND_WHITE1"/>
        </designColorConfiguration>

        <designColorConfiguration materialTemplateName="GERINGHOFF_BLACK" saveId="2">
            <material materialSlotName="base02_color_mat" materialTemplateName="GERINGHOFF_BLACK"/>
            <material materialSlotName="tines_color_mat" materialTemplateName="GERINGHOFF_YELLOW"/>
        </designColorConfiguration>

        <designColorConfiguration materialTemplateName="SHARED_GREY" saveId="6">
            <material materialSlotName="base02_color_mat" materialTemplateName="GERINGHOFF_BLACK"/>
            <material materialSlotName="tines_color_mat" materialTemplateName="GERINGHOFF_YELLOW"/>
        </designColorConfiguration>

        <material materialSlotName="base01_color_mat" />
    </designColorConfigurations>

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

    <i3dMappings>
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="heightNode01" node="0>0|0|0|0" />
        <i3dMapping id="heightNode02" node="0>0|0|0|1" />
        <i3dMapping id="heightNode03" node="0>0|0|0|2" />
        <i3dMapping id="ptoInputLeft" node="0>0|0|1" />
        <i3dMapping id="ptoLeft_detach" node="0>0|0|1|0" />
        <i3dMapping id="ptoLeft_02" node="0>0|0|1|1" />
        <i3dMapping id="ptoLeft_03" node="0>0|0|1|2" />
        <i3dMapping id="ptoLeft_04" node="0>0|0|1|3" />
        <i3dMapping id="ptoLeft_05" node="0>0|0|1|4" />
        <i3dMapping id="ptoInputRight" node="0>0|0|2" />
        <i3dMapping id="ptoRight_detach" node="0>0|0|2|0" />
        <i3dMapping id="ptoRight_02" node="0>0|0|2|1" />
        <i3dMapping id="ptoRight_03" node="0>0|0|2|2" />
        <i3dMapping id="ptoRight_04" node="0>0|0|2|3" />
        <i3dMapping id="ptoRight_05" node="0>0|0|2|4" />
        <i3dMapping id="support" node="0>0|0|3|0|0" />
        <i3dMapping id="supportCol" node="0>0|0|3|1" />
        <i3dMapping id="electric_node" node="0>0|0|4|0" />
        <i3dMapping id="claasConnectorNode" node="0>0|0|4|1" />
        <i3dMapping id="claasConnector" node="0>0|0|4|1|0" />
        <i3dMapping id="sideMarker18_left" node="0>0|1|0|0" />
        <i3dMapping id="sideMarker18_right" node="0>0|1|0|1" />
        <i3dMapping id="cutterRoll01" node="0>0|2|0|0|0" />
        <i3dMapping id="cutterRoll02" node="0>0|2|0|1|0" />
        <i3dMapping id="cutterRoll03" node="0>0|2|0|2|0" />
        <i3dMapping id="cutterRoll04" node="0>0|2|0|3|0" />
        <i3dMapping id="cutterRoll05" node="0>0|2|0|4|0" />
        <i3dMapping id="cutterRoll06" node="0>0|2|0|5|0" />
        <i3dMapping id="cutterRoll07" node="0>0|2|0|6|0" />
        <i3dMapping id="cutterRoll08" node="0>0|2|0|7|0" />
        <i3dMapping id="cutterRoll09" node="0>0|2|0|8|0" />
        <i3dMapping id="cutterRoll10" node="0>0|2|0|9|0" />
        <i3dMapping id="cutterRoll11" node="0>0|2|0|10|0" />
        <i3dMapping id="cutterRoll12" node="0>0|2|0|11|0" />
        <i3dMapping id="cutterRoll13" node="0>0|2|0|12|0" />
        <i3dMapping id="cutterRoll14" node="0>0|2|0|13|0" />
        <i3dMapping id="cutterRoll15" node="0>0|2|0|14|0" />
        <i3dMapping id="cutterRoll16" node="0>0|2|0|15|0" />
        <i3dMapping id="cutterRoll17" node="0>0|2|0|16|0" />
        <i3dMapping id="cutterRoll18" node="0>0|2|0|17|0" />
        <i3dMapping id="cutterRoll19" node="0>0|2|0|18|0" />
        <i3dMapping id="cutterRoll20" node="0>0|2|0|19|0" />
        <i3dMapping id="cutterRoll21" node="0>0|2|0|20|0" />
        <i3dMapping id="cutterRoll22" node="0>0|2|0|21|0" />
        <i3dMapping id="cutterRoll23" node="0>0|2|0|22|0" />
        <i3dMapping id="cutterRoll24" node="0>0|2|0|23|0" />
        <i3dMapping id="cutterRoll25" node="0>0|2|0|24|0" />
        <i3dMapping id="cutterRoll26" node="0>0|2|0|25|0" />
        <i3dMapping id="cutterRoll27" node="0>0|2|0|26|0" />
        <i3dMapping id="cutterRoll28" node="0>0|2|0|27|0" />
        <i3dMapping id="cutterRoll29" node="0>0|2|0|28|0" />
        <i3dMapping id="cutterRoll30" node="0>0|2|0|29|0" />
        <i3dMapping id="cutterRoll31" node="0>0|2|0|30|0" />
        <i3dMapping id="cutterRoll32" node="0>0|2|0|31|0" />
        <i3dMapping id="cutterRoll33" node="0>0|2|0|32|0" />
        <i3dMapping id="cutterRoll34" node="0>0|2|0|33|0" />
        <i3dMapping id="cutterRoll35" node="0>0|2|0|34|0" />
        <i3dMapping id="cutterRoll36" node="0>0|2|0|35|0" />
        <i3dMapping id="drumLeft" node="0>0|2|1" />
        <i3dMapping id="drumRight" node="0>0|2|2" />
        <i3dMapping id="rollLeft" node="0>0|2|3|0" />
        <i3dMapping id="rollRight" node="0>0|2|4|0" />
        <i3dMapping id="chains" node="0>0|2|5" />
        <i3dMapping id="workAreaStart" node="0>0|3|0" />
        <i3dMapping id="workAreaWidth" node="0>0|3|1" />
        <i3dMapping id="workAreaHeight" node="0>0|3|2" />
        <i3dMapping id="workAreaStartStraw" node="0>0|3|3" />
        <i3dMapping id="workAreaWidthStraw" node="0>0|3|4" />
        <i3dMapping id="workAreaHeightStraw" node="0>0|3|5" />
        <i3dMapping id="groundReferenceNode" node="0>0|3|6" />
        <i3dMapping id="effectNodePlant" node="0>0|4|0|0" />
        <i3dMapping id="effectNodeFruit" node="0>0|4|0|1" />
        <i3dMapping id="effectNodeThreshing" node="0>0|4|0|2" />
        <i3dMapping id="smokeEmitter" node="0>0|4|1" />
        <i3dMapping id="aiMarkerLeft" node="0>0|5|0|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|5|0|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|5|0|2" />
    </i3dMappings>
</vehicle>
