<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cutter">
    <annotation>Giants</annotation>

    <storeData>
        <name>Helianthus 12000 by Wolf Pack Modding</name>
        <specs>
            <neededPower>380</neededPower>
            <workingWidth>12.0</workingWidth>
            <combination>161, S790, 9240, 10.90, IDEAL</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>$data/vehicles/capello/helianthus12000/store_helianthus12000.png</image>
        <price>47000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CAPELLO</brand>
        <category>cutters</category>
        <shopTranslationOffset>0 -0.05 0</shopTranslationOffset>
        <shopRotationOffset>3.5 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>922788</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>136584</indexBufferMemoryUsage>
        <textureMemoryUsage>6816024</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>$data/vehicles/capello/helianthus12000/helianthus12000.i3d</filename>
        <size width="12.7" length="3"/>
        <speedLimit value="15"/>
        <components>
            <component centerOfMass="0 0 0" mass="3470" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" >
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="cutter" >
                <heightNode node="heightNode"/>
                <distanceToGround lower="0.8" upper="2.1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

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

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

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

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
            <chopperArea index="2" />
        </workArea>
        <workArea type="auxiliary" >
            <area startNode="workAreaStrawStart" widthNode="workAreaStrawWidth" heightNode="workAreaStrawHeight" />
        </workArea>
    </workAreas>

    <cylindered>
        <movingTools>
            <movingTool node="reelArm" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.3" iconName="REEL_TRANSLATE_Y" />
                <rotation rotSpeed="20" rotAcceleration="50" rotMax="0" rotMin="-16"/>
            </movingTool>
        </movingTools>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>

    <cutter fruitTypes="sunflower maize">
        <testAreas>
            <testArea startNode="testAreaStart1"  widthNode="testAreaWidth1" heightNode="testAreaHeight1"/>
            <testArea startNode="testAreaStart2"  widthNode="testAreaWidth2" heightNode="testAreaHeight2"/>
            <testArea startNode="testAreaStart3"  widthNode="testAreaWidth3" heightNode="testAreaHeight3"/>
            <testArea startNode="testAreaStart4"  widthNode="testAreaWidth4" heightNode="testAreaHeight4"/>
            <testArea startNode="testAreaStart5"  widthNode="testAreaWidth5" heightNode="testAreaHeight5"/>
            <testArea startNode="testAreaStart6"  widthNode="testAreaWidth6" heightNode="testAreaHeight6"/>
            <testArea startNode="testAreaStart7"  widthNode="testAreaWidth7" heightNode="testAreaHeight7"/>
            <testArea startNode="testAreaStart8"  widthNode="testAreaWidth8" heightNode="testAreaHeight8"/>
            <testArea startNode="testAreaStart9"  widthNode="testAreaWidth9" heightNode="testAreaHeight9"/>
            <testArea startNode="testAreaStart10" widthNode="testAreaWidth10" heightNode="testAreaHeight10"/>
        </testAreas>
        <fillEffect>
            <effectNode effectClass="ParticleEffect" effectNode="effectParticles" particleType="CUTTER_CHOPPER" />
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
        </fillEffect>
        <effect>
            <effectNode linkNode="effectCenter" inverted="true" speedScale="0.00180" lengthAndRadius="1 3.0 0.85 2.6" effectType="CENTER" changeSpeedScale="0.01"/>
            <effectNode linkNode="effectLeft" inverted="true" speedScale="0.00120" lengthAndRadius="5 1 1 1" effectType="LEFT" useInterpolation="true" minOffset="7"/>
            <effectNode linkNode="effectRight" inverted="true" speedScale="0.00120" lengthAndRadius="5 1 1 1" effectType="RIGHT" useInterpolation="true" minOffset="7" useMaxValue="true"/>
        </effect>
        <animationNodes>
            <animationNode node="mainDrum" rotSpeed="900" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="reel" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        </animationNodes>
    </cutter>

    <turnOnVehicle turnedOnByAttacherVehicle="true"/>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <collisionTrigger node="aiCollisionTrigger"/>
    </ai>

    <dynamicMount forceLimit="0.04"/>
	
	 <baseMaterialConfigurations useDefaultColors="true" price="1200">
        <baseMaterialConfiguration color="SHARED_BLACK1"/>
        <material name="capelloQuasar_mat" shaderParameter="colorMat0"/>
    </baseMaterialConfigurations>
    <baseMaterial>
        <material name="capelloQuasar_mat" baseNode="capello_vis">
            <shaderParameter name="colorMat0" value="SHARED_BLACK1"/>
        </material>
    </baseMaterial>
    <baseMaterial>
        <material name="capelloHelianthus12000_mat" baseNode="capello_vis">
            <shaderParameter name="colorMat0" value="CAPELLO_RED1"/>
            <shaderParameter name="colorMat1" value="CAPELLO_BLACK1"/>
        </material>
    </baseMaterial>

    <foliageBending>
        <bendingNode minX="-6.1" maxX="6.1" minZ="-1" maxZ="1.1" yOffset="-0.1" />
    </foliageBending>

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

    <i3dMappings>
        <i3dMapping id="helianthus12000_main_component1" node="0>" />
        <i3dMapping id="capello_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="heightNode" node="0>0|0|0" />
        <i3dMapping id="pto" node="0>0|1" />
        <i3dMapping id="mainDrum" node="0>0|2" />
        <i3dMapping id="reelArm" node="0>0|3" />
        <i3dMapping id="reel" node="0>0|3|0" />
        <i3dMapping id="workAreaStart" node="0>0|4|0" />
        <i3dMapping id="workAreaWidth" node="0>0|4|1" />
        <i3dMapping id="workAreaHeight" node="0>0|4|2" />
        <i3dMapping id="groundReferenceNode" node="0>0|4|3" />
        <i3dMapping id="aiMarkerLeft" node="0>0|5|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|5|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|5|2" />
        <i3dMapping id="aiCollisionTrigger" node="0>0|5|3" />
        <i3dMapping id="effectCenter" node="0>0|6|0|0" />
        <i3dMapping id="effectLeft" node="0>0|6|0|1" />
        <i3dMapping id="effectRight" node="0>0|6|0|2" />
        <i3dMapping id="smokeEmitter" node="0>0|6|0|3" />
        <i3dMapping id="effectParticles" node="0>0|6|0|4" />
        <i3dMapping id="workAreaStrawStart" node="0>0|6|0|4|0|0" />
        <i3dMapping id="workAreaStrawWidth" node="0>0|6|0|4|0|1" />
        <i3dMapping id="workAreaStrawHeight" node="0>0|6|0|4|0|2" />
        <i3dMapping id="testAreaStart1" node="0>0|6|1|0" />
        <i3dMapping id="testAreaWidth1" node="0>0|6|1|0|0" />
        <i3dMapping id="testAreaHeight1" node="0>0|6|1|0|1" />
        <i3dMapping id="testAreaStart2" node="0>0|6|1|1" />
        <i3dMapping id="testAreaWidth2" node="0>0|6|1|1|0" />
        <i3dMapping id="testAreaHeight2" node="0>0|6|1|1|1" />
        <i3dMapping id="testAreaStart3" node="0>0|6|1|2" />
        <i3dMapping id="testAreaWidth3" node="0>0|6|1|2|0" />
        <i3dMapping id="testAreaHeight3" node="0>0|6|1|2|1" />
        <i3dMapping id="testAreaStart4" node="0>0|6|1|3" />
        <i3dMapping id="testAreaWidth4" node="0>0|6|1|3|0" />
        <i3dMapping id="testAreaHeight4" node="0>0|6|1|3|1" />
        <i3dMapping id="testAreaStart5" node="0>0|6|1|4" />
        <i3dMapping id="testAreaWidth5" node="0>0|6|1|4|0" />
        <i3dMapping id="testAreaHeight5" node="0>0|6|1|4|1" />
        <i3dMapping id="testAreaStart6" node="0>0|6|1|5" />
        <i3dMapping id="testAreaWidth6" node="0>0|6|1|5|0" />
        <i3dMapping id="testAreaHeight6" node="0>0|6|1|5|1" />
        <i3dMapping id="testAreaStart7" node="0>0|6|1|6" />
        <i3dMapping id="testAreaWidth7" node="0>0|6|1|6|0" />
        <i3dMapping id="testAreaHeight7" node="0>0|6|1|6|1" />
        <i3dMapping id="testAreaStart8" node="0>0|6|1|7" />
        <i3dMapping id="testAreaWidth8" node="0>0|6|1|7|0" />
        <i3dMapping id="testAreaHeight8" node="0>0|6|1|7|1" />
        <i3dMapping id="testAreaStart9" node="0>0|6|1|8" />
        <i3dMapping id="testAreaWidth9" node="0>0|6|1|8|0" />
        <i3dMapping id="testAreaHeight9" node="0>0|6|1|8|1" />
        <i3dMapping id="testAreaStart10" node="0>0|6|1|9" />
        <i3dMapping id="testAreaWidth10" node="0>0|6|1|9|0" />
        <i3dMapping id="testAreaHeight10" node="0>0|6|1|9|1" />
    </i3dMappings>
</vehicle>
