<?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>Argus 870</name>
        <specs>
            <workingWidth>5.6</workingWidth>
            <combination xmlFilename="$data/vehicles/rostselmash/nova330/nova330.xml"/>
            <combination xmlFilename="$data/vehicles/nardi/n40b/n40b.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>store_PPK81.png</image>
        <price>38000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ROSTSELMASH</brand>
        <category>cornHeaders</category>
        <shopTranslationOffset>0 -0.04 0</shopTranslationOffset>
        <shopRotationOffset>6 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>rsmPPK81.i3d</filename>
        <size width="6.1" length="3.5"/>
        <speedLimit value="12"/>
        <components>
            <component centerOfMass="0 0 0" mass="2600" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="COMBINE_HEADER" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="cutter">
				<heightNode node="heightNode01"/>
                <heightNode node="heightNode02"/>
                <heightNode node="heightNode03"/>
                <distanceToGround lower="0.1" upper="1.8" />
            </inputAttacherJoint>
        </inputAttacherJoints>
		<support animationName="moveSupport"/>
    </attachable>

    <powerTakeOffs>
        <input inputNode="ptoLeft" inputAttacherJointIndices="1" aboveAttacher="true" ptoName="LEFT_PTO"/>
        <input inputNode="ptoRight" inputAttacherJointIndices="1" aboveAttacher="true" ptoName="RIGHT_PTO"/>
    </powerTakeOffs>

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

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

    <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="8" areaWidthScale="0.25"/>
        </workArea>
        <workArea type="auxiliary" >
           <area startNode="workAreaStrawStart" widthNode="workAreaStrawWidth" heightNode="workAreaStrawHeight" />
        </workArea>
    </workAreas>

    <cutter fruitTypes="maize" strawRatio="0.1">
		<effect>
            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER" linkNode="effectNodePlant">
                <motionPathEffect textureFilename="$data/vehicles/caseIH/header4408/plantArray.dds" textureRealWidth="9.5" numRows="12" rowLength="8" minFade="0.19" />
            </effectNode>
            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER_FRUITS" linkNode="effectNodeFruit">
                <motionPathEffect textureFilename="$data/vehicles/caseIH/header4408/fruitArray.dds" textureRealWidth="9.5" numRows="12" rowLength="28" 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/caseIH/header4408/threshingArray.dds" textureRealWidth="9.5" numRows="12" 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="rotor" rotSpeed="600" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="bottomRotor1" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="bottomRotor2" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="bottomRotor3" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="bottomRotor4" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
			<animationNode node="bottomRotor5" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="bottomRotor6" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="bottomRotor7" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
			<animationNode node="bottomRotor8" rotSpeed="1600" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor1" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor2" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor3" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor4" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor5" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor6" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor7" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor8" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
			<animationNode node="upperRotor9" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor10" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor11" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor12" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor13" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor14" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor15" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="upperRotor16" rotSpeed="-800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode class="ScrollingAnimation" node="chains1" scrollSpeed="-8" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" turnOnFadeTime="2" turnOffFadeTime="2"/>
            <animationNode class="ScrollingAnimation" node="chains2" scrollSpeed="3" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" turnOnFadeTime="2" turnOffFadeTime="2"/>
        </animationNodes>
		<automaticTilt raycastNode1="heightNode01" raycastNode2="heightNode03"/>
        <sounds>
            <cut template="cropCutting" />
        </sounds>
    </cutter>
	
	<animations>
        <animation name="moveSupport">
            <part node="supportFront" startTime="0" endTime="0.25" visibility="false" />
			<part node="supportFront" startTime="0.25" endTime="0.5" visibility="true"/>
			<part node="supportCol" startTime="0" endTime="0.5" startTrans="0 1.085 0" endTrans="0 0.494 0"/>
			<part node="supportBack" startTime="0" endTime="0.5" startTrans="0 0.328 0" endTrans="0 0 0"/>
        </animation>
    </animations>
	
	<turnOnVehicle turnedOnByAttacherVehicle="true">
        <sounds>
            <start template="forageHarvesterStart" volumeScale="0.7"/>
            <work  template="forageHarvesterWork"  pitchScale="0.8" />
            <stop  template="forageHarvesterStop"  pitchScale="1.4" volumeScale="0.35" />
        </sounds>
    </turnOnVehicle>

     <connectionHoses>
      <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="0.5" diameter="0.02" straighteningFactor="0.2" adapterType="NONE"/>
      <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn02" length="0.5" diameter="0.02" straighteningFactor="0.2" adapterType="NONE"/>
    </connectionHoses>
	

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <collisionTrigger node="aiCollisionTrigger" width="6.6" height="2.0"/>
		<agentAttachment width="6.4" height="2.2" length="3" lengthOffset="0"/>
    </ai>

    <dynamicMount forceLimitScale="1"/>

    <foliageBending>
        <bendingNode minX="-2.8" maxX="2.8" minZ="-1.3" maxZ="0.5" yOffset="0.3" />
    </foliageBending>

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

   <i3dMappings>
  <i3dMapping id="rostselmashPPK81_main_component1" node="0>" />
  <i3dMapping id="rsm_vis" node="0>0" />
  <i3dMapping id="attacherJoint" node="0>0|0" />
  <i3dMapping id="heightNode01" node="0>0|0|0" />
  <i3dMapping id="heightNode02" node="0>0|0|2" />
  <i3dMapping id="heightNode03" node="0>0|0|3" />
  <i3dMapping id="connectionHoses" node="0>0|0|1" />
  <i3dMapping id="hydraulicIn01" node="0>0|0|1|0" />
  <i3dMapping id="hydraulicIn02" node="0>0|0|1|1" />
  <i3dMapping id="ptoLeft" node="0>0|1" />
  <i3dMapping id="ptoRight" node="0>0|2" />
  <i3dMapping id="rotor" node="0>0|3" />
  <i3dMapping id="support" node="0>0|4" />
  <i3dMapping id="supportFront" node="0>0|4|0" />
  <i3dMapping id="supportBack" node="0>0|4|1" />
  <i3dMapping id="supportCol" node="0>0|4|2" />
  <i3dMapping id="bottomRotors" node="0>0|5" />
  <i3dMapping id="bottomRotor1" node="0>0|5|0" />
  <i3dMapping id="bottomRotor2" node="0>0|5|1" />
  <i3dMapping id="bottomRotor3" node="0>0|5|2" />
  <i3dMapping id="bottomRotor4" node="0>0|5|3" />
  <i3dMapping id="bottomRotor5" node="0>0|5|4" />
  <i3dMapping id="bottomRotor6" node="0>0|5|5" />
  <i3dMapping id="bottomRotor7" node="0>0|5|6" />
  <i3dMapping id="bottomRotor8" node="0>0|5|7" />
  <i3dMapping id="upperRotors" node="0>0|6" />
  <i3dMapping id="upperRotor1" node="0>0|6|0" />
  <i3dMapping id="upperRotor2" node="0>0|6|1" />
  <i3dMapping id="upperRotor3" node="0>0|6|2" />
  <i3dMapping id="upperRotor4" node="0>0|6|3" />
  <i3dMapping id="upperRotor5" node="0>0|6|4" />
  <i3dMapping id="upperRotor6" node="0>0|6|5" />
  <i3dMapping id="upperRotor7" node="0>0|6|6" />
  <i3dMapping id="upperRotor8" node="0>0|6|7" />
  <i3dMapping id="upperRotor9" node="0>0|6|8" />
  <i3dMapping id="upperRotor10" node="0>0|6|9" />
  <i3dMapping id="upperRotor11" node="0>0|6|10" />
  <i3dMapping id="upperRotor12" node="0>0|6|11" />
  <i3dMapping id="upperRotor13" node="0>0|6|12" />
  <i3dMapping id="upperRotor14" node="0>0|6|13" />
  <i3dMapping id="upperRotor15" node="0>0|6|14" />
  <i3dMapping id="upperRotor16" node="0>0|6|15" />
  <i3dMapping id="chains" node="0>0|7" />
  <i3dMapping id="chains1" node="0>0|7|0" />
  <i3dMapping id="chains2" node="0>0|7|1" />
  <i3dMapping id="workAreaStart" node="0>0|8|0|0" />
  <i3dMapping id="workAreaWidth" node="0>0|8|0|1" />
  <i3dMapping id="workAreaHeight" node="0>0|8|0|2" />
  <i3dMapping id="groundReferenceNode" node="0>0|8|1" />
  <i3dMapping id="ai" node="0>0|9" />
  <i3dMapping id="aiMarker" node="0>0|9|0" />
  <i3dMapping id="aiMarkerLeft" node="0>0|9|0|0" />
  <i3dMapping id="aiMarkerRight" node="0>0|9|0|1" />
  <i3dMapping id="aiMarkerBack" node="0>0|9|0|2" />
  <i3dMapping id="aiCollisionTrigger" node="0>0|9|1" />
  <i3dMapping id="workAreaStrawStart" node="0>0|8|0|3" />
  <i3dMapping id="workAreaStrawWidth" node="0>0|8|0|4" />
  <i3dMapping id="workAreaStrawHeight" node="0>0|8|0|5" />
  <i3dMapping id="smokeEmitter" node="0>0|10|3" />
  <i3dMapping id="decals" node="0>0|10|3" />
  <i3dMapping id="effectNodePlant" node="0>0|10|0" />
  <i3dMapping id="effectNodeFruit" node="0>0|10|1" />
  <i3dMapping id="effectNodeThreshing" node="0>0|10|2" />
</i3dMappings>
</vehicle>
