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

    <storeData>
        <name>Claas Vario 900</name>
        <specs>
            <workingWidth>10</workingWidth>
            <combination>CLAAS LEXION 780</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>store/store_claasVario900.png</image>
        <price>35000</price>
        <lifetime>450</lifetime>
        <rotation>0</rotation>
        <brand>CLAAS</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>Claas_Vario_900.i3d</filename>
        <size width="13" length="2.5" lengthOffset="0.2"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 0.2 -0.5" mass="1000"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <turnedOn name="DEFAULT_IMPLEMENT_ON"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
            <turnedOnSelected name="DEFAULT_IMPLEMENT_SELECTED_ON"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="cutter" upperRotationOffset="0" lowerRotLimit="15 0 15"  forceSelectionOnAttach="false">
                 <distanceToGround lower="1.04" upper="1.55"/>
				<!-- <distanceToGround lower="1.08" upper="1.84"/> -->
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>


    <powerTakeOffs>
        <input inputNode="ptoLeft" inputAttacherJointIndices="1" aboveAttacher="true" ptoName="LEFT_PTO"/>
    </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>
        <workArea type="auxiliary" >
            <area startNode="workAreaStrawStart" widthNode="workAreaStrawWidth" heightNode="workAreaStrawHeight" />
        </workArea>		
    </workAreas>

    <cylindered>
        <movingTools>
            <movingTool node="reelArmMover" playSound="true">
                <controls axis="AXIS_CUTTER_REEL" invertAxis="false" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_X" />
                <translation transSpeed="0.1" transAcceleration="10" transMax="1.294" transMin="1.067" translationAxis="3" />
            </movingTool>
            <movingTool node="reelArmMover2" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_Y" />
                <rotation rotSpeed="20" rotAcceleration="50" rotMax="15" rotMin="-14" startRot="14"/>
                <dependentPart node="reelArmHydraulic"/>
            </movingTool>
			
            <movingTool node="reel">
                <dependentPart node="spike1"/>
                <dependentPart node="spike2"/>
                <dependentPart node="spike3"/>
                <dependentPart node="spike4"/>
                <dependentPart node="spike5"/>
                <dependentPart node="spike6"/>
				<dependentPart node="spike7"/>
                <dependentPart node="spike8"/>
                <dependentPart node="spike9"/>
                <dependentPart node="spike10"/>
                <dependentPart node="spike11"/>
                <dependentPart node="spike12"/>
            </movingTool>
        </movingTools>
		
        <movingParts>
            <movingPart node="spike1" referencePoint="spike1" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike2" referencePoint="spike2" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike3" referencePoint="spike3" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike4" referencePoint="spike4" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike5" referencePoint="spike5" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike6" referencePoint="spike6" referenceFrame="Vario900_main_component1"/>
			<movingPart node="spike7" referencePoint="spike7" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike8" referencePoint="spike8" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike9" referencePoint="spike9" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike10" referencePoint="spike10" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike11" referencePoint="spike11" referenceFrame="Vario900_main_component1"/>
            <movingPart node="spike12" referencePoint="spike12" referenceFrame="Vario900_main_component1"/>
            <movingPart node="reelArmHydraulic" referencePoint="reelArmHydraulicRef" referenceFrame="reelArmHydraulicRef">
                <translatingPart node="reelArmHydraulicPunch"/>
            </movingPart>			
        </movingParts>
		
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND"/>
        </sounds>
    </cylindered>

    <foldable>
        <foldingParts startMoveDirection="1" turnOnFoldMinLimit="0" turnOnFoldMaxLimit="0.02">
            <foldingPart animationName="openCams" speedScale="1"/>
        </foldingParts>
    </foldable>	
	
    <animations>
        <animation name="openCams">
            <part node="laser1" startTime="0" duration="3" startRot="6 180 0" endRot="6 180 -85"/>
            <part node="laser2" startTime="0" duration="3" startRot="6 180 0" endRot="6 180 85"/>
            <part node="spitze1" startTime="0" duration="3" startRot="0 0 0" endRot="0 -82 0"/>
            <part node="spitze2" startTime="0" duration="3" startRot="0 0 0" endRot="0 82 0"/>
        </animation>	
        <animation name="knifeAnimation" looping="true">
            <part node="blades1" startTime="0" endTime="0.5" startTrans="0 0.06 0" endTrans="0 0.1 0"/>
            <part node="blades1" startTime="0.5" endTime="1" startTrans="0 0.1 0" endTrans="0 0.06 0"/>

            <part node="blades2" startTime="0" endTime="0.5" startTrans="0 0.1 0" endTrans="0 0.06 0"/>
            <part node="blades2" startTime="0.5" endTime="1" startTrans="0 0.06 0" endTrans="0 0.1 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">
        <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>

        <effect>
            <effectNode linkNode="effectCenter" speedScale="0.0018" lengthAndRadius="0 0 -0.5 0.25" effectType="CENTER" changeSpeedScale="0.01"/>
            <effectNode linkNode="effectLeft" speedScale="0.0013" lengthAndRadius="3.9 1.8 1 1" effectType="LEFT" useInterpolation="true" minOffset="7"/>
            <effectNode linkNode="effectRight" speedScale="0.0013" lengthAndRadius="3.9 1.8 1 1" effectType="RIGHT" useInterpolation="true" minOffset="7" useMaxValue="true"/>
        </effect>

        <fillEffect>
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
        </fillEffect>
		
        <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>
		
        <fruitExtraObjects hideOnDetach="true">
            <fruitExtraObject fruitType="canola" node="varifeedRape"/>
            <fruitExtraObject fruitType="wheat" node="wheatParts"/>
            <fruitExtraObject fruitType="barley" node="wheatParts"/>
            <fruitExtraObject fruitType="soybean" node="wheatParts"/>
            <fruitExtraObject fruitType="oat" node="wheatParts"/>
        </fruitExtraObjects>		
    </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>

    <designConfigurations>
        <designConfiguration name="Standard" price="0">
            <objectChange node="confi00" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 01" price="600">
            <objectChange node="confi01" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 02" price="600">
            <objectChange node="confi02" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 03" price="600">
            <objectChange node="confi03" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 04" price="600">
            <objectChange node="confi04" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 05" price="600">
            <objectChange node="confi05" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 06" price="600">
            <objectChange node="confi06" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 07" price="600">
            <objectChange node="confi07" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 08" price="600">
            <objectChange node="confi08" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 09" price="600">
            <objectChange node="confi09" visibilityActive="true" />
        </designConfiguration>
        <designConfiguration name="Nummer 10" price="600">
            <objectChange node="confi10" visibilityActive="true" />
        </designConfiguration>		
    </designConfigurations>		
	
    <i3dMappings>
		<!-- Arm Animation -->	
        <i3dMapping id="reelArmMover" node="0>2|1|0" />	
        <i3dMapping id="reelArmMover2" node="0>2|1" />
        <i3dMapping id="reelArmHydraulic" node="0>2|3" />
        <i3dMapping id="reelArmMover2" node="0>2|1" />
        <i3dMapping id="reelArmHydraulicPunch" node="0>2|3|0" />
        <i3dMapping id="reelArmHydraulicRef" node="0>2|1|1" />

		<!-- Laser Pilonen -->		
        <i3dMapping id="laser1" node="0>2|6|3" />	
        <i3dMapping id="laser2" node="0>2|6|4" />
        <i3dMapping id="spitze1" node="0>2|4|2|0" />
        <i3dMapping id="spitze2" node="0>2|4|2|1" />
		
		<!-- effects -->		
        <i3dMapping id="effectCenter" node="0>5|0|0" />
        <i3dMapping id="effectLeft" node="0>5|0|1" />
        <i3dMapping id="effectRight" node="0>5|0|2" />
        <i3dMapping id="workAreaStrawStart" node="0>6|0" />
        <i3dMapping id="workAreaStrawWidth" node="0>6|1" />
        <i3dMapping id="workAreaStrawHeight" node="0>6|2" />		
		
        <i3dMapping id="testAreaStart1" node="0>5|1|0" />
        <i3dMapping id="testAreaWidth1" node="0>5|1|0|0" />
        <i3dMapping id="testAreaHeight1" node="0>5|1|0|1" />
        <i3dMapping id="testAreaStart2" node="0>5|1|1" />
        <i3dMapping id="testAreaWidth2" node="0>5|1|1|0" />
        <i3dMapping id="testAreaHeight2" node="0>5|1|1|1" />
        <i3dMapping id="testAreaStart3" node="0>5|1|2" />
        <i3dMapping id="testAreaWidth3" node="0>5|1|2|0" />
        <i3dMapping id="testAreaHeight3" node="0>5|1|2|1" />
        <i3dMapping id="testAreaStart4" node="0>5|1|3" />
        <i3dMapping id="testAreaWidth4" node="0>5|1|3|0" />
        <i3dMapping id="testAreaHeight4" node="0>5|1|3|1" />
        <i3dMapping id="testAreaStart5" node="0>5|1|4" />
        <i3dMapping id="testAreaWidth5" node="0>5|1|4|0" />
        <i3dMapping id="testAreaHeight5" node="0>5|1|4|1" />
        <i3dMapping id="testAreaStart6" node="0>5|1|5" />
        <i3dMapping id="testAreaWidth6" node="0>5|1|5|0" />
        <i3dMapping id="testAreaHeight6" node="0>5|1|5|1" />
        <i3dMapping id="testAreaStart7" node="0>5|1|6" />
        <i3dMapping id="testAreaWidth7" node="0>5|1|6|0" />
        <i3dMapping id="testAreaHeight7" node="0>5|1|6|1" />
        <i3dMapping id="testAreaStart8" node="0>5|1|7" />
        <i3dMapping id="testAreaWidth8" node="0>5|1|7|0" />
        <i3dMapping id="testAreaHeight8" node="0>5|1|7|1" />
        <i3dMapping id="testAreaStart9" node="0>5|1|8" />
        <i3dMapping id="testAreaWidth9" node="0>5|1|8|0" />
        <i3dMapping id="testAreaHeight9" node="0>5|1|8|1" />
        <i3dMapping id="testAreaStart10" node="0>5|1|9" />
        <i3dMapping id="testAreaWidth10" node="0>5|1|9|0" />
        <i3dMapping id="testAreaHeight10" node="0>5|1|9|1" />
        <i3dMapping id="smokeEmitter" node="0>5|2" />	
	
		<!-- Nummer Decals -->	
        <i3dMapping id="confi00" node="0>2|7|0" />	
        <i3dMapping id="confi01" node="0>2|7|1" />
        <i3dMapping id="confi02" node="0>2|7|2" />
        <i3dMapping id="confi03" node="0>2|7|3" />
        <i3dMapping id="confi04" node="0>2|7|4" />
        <i3dMapping id="confi05" node="0>2|7|5" />
        <i3dMapping id="confi06" node="0>2|7|6" />
        <i3dMapping id="confi07" node="0>2|7|7" />
        <i3dMapping id="confi08" node="0>2|7|8" />
        <i3dMapping id="confi09" node="0>2|7|9" />
        <i3dMapping id="confi10" node="0>2|7|10" />	

        <i3dMapping id="heightNode" node="0>0|0" />	
        <i3dMapping id="attacherJoint" node="0>0" />
        <i3dMapping id="ptoLeft" node="0>1" />
        <i3dMapping id="Vario" node="0>2" />
        <i3dMapping id="mainDrum" node="0>2|0" />
        <i3dMapping id="reelArm" node="0>2|1" />
        <i3dMapping id="reelMover" node="0>2|5" />
        <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="spike7" node="0>2|1|0|0|6" />
        <i3dMapping id="spike8" node="0>2|1|0|0|7" />
        <i3dMapping id="spike9" node="0>2|1|0|0|8" />
        <i3dMapping id="spike10" node="0>2|1|0|0|9" />
        <i3dMapping id="spike11" node="0>2|1|0|0|10" />
        <i3dMapping id="spike12" node="0>2|1|0|0|11" />
        <i3dMapping id="reel2" node="0>2|2" />
<!--         <i3dMapping id="spike1Ref" node="0>2|1|0|0|0|0" />
        <i3dMapping id="spike2Ref" node="0>2|1|0|0|1|0" />
        <i3dMapping id="spike3Ref" node="0>2|1|0|0|2|0" />
        <i3dMapping id="spike4Ref" node="0>2|1|0|0|3|0" />
        <i3dMapping id="spike5Ref" node="0>2|1|0|0|4|0" />
        <i3dMapping id="spike6Ref" node="0>2|1|0|0|5|0" />
		<i3dMapping id="spike7Ref" node="0>2|1|0|0|6|0" />
        <i3dMapping id="spike8Ref" node="0>2|1|0|0|7|0" />
        <i3dMapping id="spike9Ref" node="0>2|1|0|0|8|0" />
        <i3dMapping id="spike10Ref" node="0>2|1|0|0|9|0" />
        <i3dMapping id="spike11Ref" node="0>2|1|0|0|10|0" />
        <i3dMapping id="spike12Ref" node="0>2|1|0|0|11|0" /> -->
        <i3dMapping id="Vario900_main_component1" 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|5" />
        <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="wheatParts" node="0>2|4|2" />
        <i3dMapping id="varifeedRape" node="0>2|4|3" />
        <i3dMapping id="blades" node="0>2|4|4" />
        <i3dMapping id="blades1" node="0>2|4|3|0" />
        <i3dMapping id="blades2" node="0>2|4|3|3" />		
    </i3dMappings>
</vehicle>

