<?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>SuperFlex Draper 45FT</name>
        <specs>
            <workingWidth>13.8</workingWidth>
			<combination xmlFilename="cr1090.xml"/>
			<combination xmlFilename="n60_45.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>superflexDraper45ft/store_superflexDraper45ft.dds</image>
        <price>89000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>NEWHOLLAND</brand>
        <category>cutters</category>
        <shopTranslationOffset>0 -0.037 0</shopTranslationOffset>
        <shopRotationOffset>11.399 0 0</shopRotationOffset>
        <shopLoadingDelay initial="0.3"/>
        <vertexBufferMemoryUsage>4518400</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1172224</indexBufferMemoryUsage>
        <textureMemoryUsage>2621440</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>superflexDraper45ft/superflexDraper45ft.i3d</filename>
        <size width="18.5" length="4.0" widthOffset="1.7" />
        <speedLimit value="10" />
        <sounds volumeFactor="2.0"/>
        <components>
            <component centerOfMass="0 0.0 0" solverIterationCount="10" mass="3950" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="COMBINE_HEADER" />
        <mapHotspot type="CUTTER" />
        <objectChanges>
            <objectChange node="decalcaseIH" visibilityActive="true"/>
            <objectChange node="decalnewholland" visibilityActive="false"/>
        </objectChanges>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="cutter">
                <heightNode node="heightNode01" />
                <heightNode node="heightNode02" />
                <heightNode node="heightNode03" />
                <distanceToGround lower="0.55" upper="1.9" />
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <connectionHoses>
        <customTarget node="cnhMultiCoupler" type="cnhMultiCoupler" inputAttacherJointIndices="1">
            <objectChange node="cnhMultiCoupler_cover" rotationActive="-60 0 0" rotationInactive="-145 0 0"/>
        </customTarget>
        <customTarget node="electric" type="cnhElectricConnector" inputAttacherJointIndices="1">
            <objectChange node="electric_cover" rotationActive="90 0 0" rotationInactive="9 0 0"/>
        </customTarget>
    </connectionHoses>

    <powerTakeOffs>
        <input inputNode="ptoInputNode" inputAttacherJointIndices="1" aboveAttacher="true" ptoName="LEFT_PTO" color="SHARED_BLACK2" decalColor="WALTERSCHEID_YELLOW1"/>
    </powerTakeOffs>

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

    <lights>
        <sharedLight linkNode="bigTriangle_01"                      filename="$data/shared/assets/reflectors/lizard/bigTriangle.xml" inputAttacherJointIndex="2"/>
        <sharedLight linkNode="bigTriangle_02"                      filename="$data/shared/assets/reflectors/lizard/bigTriangle.xml" inputAttacherJointIndex="2"/>
    </lights>

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

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea" disableBackwards="true">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
            <testAreas autoGenerate="true" zOffset="0.5" xOffset="0" length="0.6" numAreas="16" areaWidthScale="0.25" scale="0.94"/>
        </workArea>
    </workAreas>

    <animations>
        <animation name="knifeAnimation" looping="true">
            <part node="knives01" startTime="0" endTime="0.5" shaderParameter="offsetUV" shaderStartValues="0 0 0 0" shaderEndValues="-0.06 0 0 0"/>
            <part node="knives01" startTime="0.5" endTime="1" shaderParameter="offsetUV" shaderStartValues="-0.06 0 0 0" shaderEndValues="0 0 0 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="reelMover" foldMinLimit="0" foldMaxLimit="1" playSound="true">
                <controls axis="AXIS_CUTTER_REEL" invertAxis="true" mouseSpeedFactor="0.3" iconName="REEL_TRANSLATE_X" />
                <translation translationAxis="3" transSpeed="0.2" transAcceleration="10" transMax="0.6" transMin="0" startTrans="0.3" />
                <dependentPart node="reelMoverHydraulic" />
            </movingTool>
            <movingTool node="reelArm" foldMinLimit="0" foldMaxLimit="1" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.5" iconName="REEL_TRANSLATE_Y" />
                <rotation rotationAxis="1" rotSpeed="10" rotAcceleration="50" rotMax="0" rotMin="-19" startRot="-19" />
                <dependentPart node="reelArmHydraulic" />
                <dependentPart node="reelArmMiddleHydraulic" />
            </movingTool>
            <movingTool node="reel">
                <dependentPart node="spike01" />
                <dependentPart node="spike02" />
                <dependentPart node="spike03" />
                <dependentPart node="spike04" />
                <dependentPart node="spike05" />
                <dependentPart node="spike06" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="reelArmMiddleHydraulic" referencePoint="reelArmMiddleHydraulicRef" referenceFrame="reelArmMiddleHydraulicRef">
                <translatingPart node="reelArmMiddleHydraulicPunch" />
            </movingPart>
            <movingPart node="reelArmHydraulic" referencePoint="reelArmHydraulicRef" referenceFrame="reelArmHydraulicRef">
                <translatingPart node="reelArmHydraulicPunch" />
            </movingPart>
            <movingPart node="reelMoverHydraulic" referencePoint="reelMoverHydraulicRef" referenceFrame="reelMoverHydraulicRef">
                <translatingPart node="reelMoverHydraulicPunch" />
            </movingPart>
            <movingPart node="spike01" referenceFrame="draper3162_main_component1" />
            <movingPart node="spike02" referenceFrame="draper3162_main_component1" />
            <movingPart node="spike03" referenceFrame="draper3162_main_component1" />
            <movingPart node="spike04" referenceFrame="draper3162_main_component1" />
            <movingPart node="spike05" referenceFrame="draper3162_main_component1" />
            <movingPart node="spike06" referenceFrame="draper3162_main_component1" />
        </movingParts>

        <sounds>
            <hydraulic template="defaultHydraulicSound" pitchScale="1.2" volumeScale="1.0" fadeIn="0.1" fadeOut="0.05" linkNode="0>"/>
        </sounds>
    </cylindered>

    <cutter fruitTypeCategories="grainHeader">
        <effect>
            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER" linkNode="cutterEffectLinkNode">
                <motionPathEffect textureFilename="$data/effects/cutter/arrays/grainheader/beltXArray.dds" numRows="32" rowLength="42" minFade="0.06" textureRealWidth="16"/>
            </effectNode>
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" materialType="smokeParticle" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
        </effect>

        <animationNodes>
            <animationNode node="reel" rotAxis="1" rotSpeed="210"  turnOnFadeTime="2" turnOffFadeTime="3"/>
            <animationNode node="mainDrum" rotAxis="1" rotSpeed="800"  turnOnFadeTime="2" turnOffFadeTime="3"/>
            <animationNode class="ScrollingAnimation" node="belt" scrollSpeed="1.7" turnOnFadeTime="2" turnOffFadeTime="2"/>
        </animationNodes>

        <automaticTilt raycastNode1="heightNode01" raycastNode2="heightNode03"/>
        <sounds>
            <cut template="cropCutting" />
        </sounds>
    </cutter>

    <turnOnVehicle turnedOnByAttacherVehicle="true">
        <turnedOnAnimation name="knifeAnimation" speedScale="6.9" turnOnFadeTime="2" turnOffFadeTime="5"/>
        <sounds>
            <start template="HARVESTER_TOOL_START" volumeScale="1.5" />
            <work  template="HARVESTER_TOOL_WORK"  volumeScale="1.5" />
            <stop  template="HARVESTER_TOOL_STOP"  volumeScale="1.5" />
        </sounds>
    </turnOnVehicle>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <collisionTrigger node="aiCollisionNode" width="14.4" height="2.6"/>
        <agentAttachment jointNode="attacherJoint" width="14" height="2.8" length="3.4" lengthOffset="0.3"/>
    </ai>

    <dynamicMount forceLimitScale="1" />

    <designConfigurations>
        <designConfiguration name="Case IH" isSelectable="false" price="0">
            <objectChange node="decalcaseIH" visibilityActive="true" visibilityInactive="false"/>
            <material name="draper3162_mat" shaderParameter="colorMat0" color="CASEIH_RED1"/>
            <material name="draper3162_mat" shaderParameter="colorMat1" color="CASEIH_RED1"/>
        </designConfiguration>
        <designConfiguration name="New Holland" price="0" vehicleBrand="NEWHOLLAND" vehicleName="Superflex Draper 45FT" vehicleIcon="superflexDraper45ft/store_superflexDraper45ft.dds">
            <objectChange node="decalnewholland" visibilityActive="true" visibilityInactive="false"/>
            <material name="draper3162_mat" shaderParameter="colorMat0" color="NEWHOLLAND_YELLOW1"/>
            <material name="draper3162_mat" shaderParameter="colorMat1" color="NEWHOLLAND_YELLOW1"/>
        </designConfiguration>
    </designConfigurations>

    <baseMaterial>
        <material name="draper3162_mat" baseNode="draper3162_vis">
            <shaderParameter name="colorMat0" value="CASEIH_RED1"/>
            <shaderParameter name="colorMat1" value="CASEIH_RED1"/>
        </material>
    </baseMaterial>

    <foliageBending>
        <bendingNode minX="-7.1" maxX="7.1" minZ="-1.2" maxZ="0.3" yOffset="1" />
    </foliageBending>

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

    <i3dMappings>
        <i3dMapping id="draper3162_main_component1" node="0>" />
        <i3dMapping id="draper3162_vis" node="0>0" />
        <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="ptoInputNode" node="0>0|0|0|3" />
        <i3dMapping id="connectionHoses" node="0>0|0|1" />
        <i3dMapping id="cnhMultiCoupler" node="0>0|0|1|0" />
        <i3dMapping id="cnhMultiCoupler_cover" node="0>0|0|1|0|0" />
        <i3dMapping id="electric" node="0>0|0|1|1" />
        <i3dMapping id="electric_cover" node="0>0|0|1|1|0" />
        <i3dMapping id="rearLightSquare_01Orange_1" node="0>0|1|0|0" />
        <i3dMapping id="rearLightSquare_01Orange_2" node="0>0|1|0|1" />
        <i3dMapping id="rear2ChamberLight_04_leftBack" node="0>0|1|0|2" />
        <i3dMapping id="rear2ChamberLight_04_leftFront" node="0>0|1|0|3" />
        <i3dMapping id="backLightsHigh1" node="0>0|1|1" />
        <i3dMapping id="turnLightLeftFront" node="0>0|1|2" />
        <i3dMapping id="turnLightLeftBack" node="0>0|1|3" />
        <i3dMapping id="backLightsHigh3" node="0>0|1|4" />
        <i3dMapping id="drawbarWorkingMode" node="0>0|2|0" />
        <i3dMapping id="axisBackRightPart02" node="0>0|2|1" />
        <i3dMapping id="axisBackRightPart01" node="0>0|2|1|0" />
        <i3dMapping id="axisBackRightHydraulicRef" node="0>0|2|1|1" />
        <i3dMapping id="axisFront" node="0>0|2|2" />
        <i3dMapping id="frontAxisJoint" node="0>0|2|2|0" />
        <i3dMapping id="axisBackLeft" node="0>0|2|3|0" />
        <i3dMapping id="wheelBack01" node="0>0|2|3|0|0|0" />
        <i3dMapping id="wheelBack02" node="0>0|2|3|0|0|1" />
        <i3dMapping id="axisBackLeftHydraulicRef" node="0>0|2|3|0|1" />
        <i3dMapping id="axisBackRight" node="0>0|2|4" />
        <i3dMapping id="wheelBack03Rot" node="0>0|2|4|0" />
        <i3dMapping id="wheelBack03" node="0>0|2|4|0|0" />
        <i3dMapping id="wheelBack04" node="0>0|2|4|0|1" />
        <i3dMapping id="axisBackRightPart01Ref" node="0>0|2|4|1" />
        <i3dMapping id="mainDrum" node="0>0|2|5" />
        <i3dMapping id="belt" node="0>0|2|6" />
        <i3dMapping id="reelArm" node="0>0|2|7" />
        <i3dMapping id="reelMover" node="0>0|2|7|0|0" />
        <i3dMapping id="reel" node="0>0|2|7|0|0|0" />
        <i3dMapping id="spike01" node="0>0|2|7|0|0|0|0|0" />
        <i3dMapping id="spike02" node="0>0|2|7|0|0|0|0|1" />
        <i3dMapping id="spike03" node="0>0|2|7|0|0|0|0|2" />
        <i3dMapping id="spike04" node="0>0|2|7|0|0|0|0|3" />
        <i3dMapping id="spike05" node="0>0|2|7|0|0|0|0|4" />
        <i3dMapping id="spike06" node="0>0|2|7|0|0|0|0|5" />
        <i3dMapping id="reelMoverHydraulicRef" node="0>0|2|7|0|0|1" />
        <i3dMapping id="reelMoverHydraulic" node="0>0|2|7|1" />
        <i3dMapping id="reelMoverHydraulicPunch" node="0>0|2|7|1|0" />
        <i3dMapping id="reelArmMiddleHydraulicRef" node="0>0|2|7|2" />
        <i3dMapping id="reelArmHydraulicRef" node="0>0|2|7|3" />
        <i3dMapping id="rear2ChamberLight_04_rightFront" node="0>0|2|7|4|0|0" />
        <i3dMapping id="rear2ChamberLight_04_rightBack" node="0>0|2|7|4|0|1" />
        <i3dMapping id="bigTriangle_01" node="0>0|2|7|4|0|2" />
        <i3dMapping id="bigTriangle_02" node="0>0|2|7|4|0|3" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|7|4|1" />
        <i3dMapping id="turnLightRightFront" node="0>0|2|7|4|2" />
        <i3dMapping id="knives01" node="0>0|2|8" />
        <i3dMapping id="axisBackLeftHydraulic" node="0>0|3|0" />
        <i3dMapping id="axisBackLeftHydraulicPunch" node="0>0|3|0|0" />
        <i3dMapping id="axisBackRightHydraulic" node="0>0|3|1" />
        <i3dMapping id="axisBackRightHydraulicPunch" node="0>0|3|1|0" />
        <i3dMapping id="axisBackRightPart02RefFrame" node="0>0|3|2" />
        <i3dMapping id="reelArmMiddleHydraulic" node="0>0|3|3" />
        <i3dMapping id="reelArmMiddleHydraulicPunch" node="0>0|3|3|0" />
        <i3dMapping id="reelArmHydraulic" node="0>0|3|4" />
        <i3dMapping id="reelArmHydraulicPunch" node="0>0|3|4|0" />
        <i3dMapping id="aiMarkerLeft" node="0>0|4|0|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|4|0|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|4|0|2" />
        <i3dMapping id="aiCollisionNode" node="0>0|4|1" />
        <i3dMapping id="cutterEffectLinkNode" node="0>0|5|0" />
        <i3dMapping id="smokeEmitter" node="0>0|5|1" />
        <i3dMapping id="workAreaStart" node="0>0|6|0" />
        <i3dMapping id="workAreaWidth" node="0>0|6|1" />
        <i3dMapping id="workAreaHeight" node="0>0|6|2" />
        <i3dMapping id="groundReferenceNode" node="0>0|6|3" />
        <i3dMapping id="decalcaseIH" node="0>0|7|0|0" />
        <i3dMapping id="decalnewholland" node="0>0|7|0|1" />
    </i3dMappings>
</vehicle>
