﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cutter_animated">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Krone EasyCollect 1053</en>
        <de>Krone EasyCollect 1053</de>
    </name>
    <typeDesc>$l10n_TypeDesc_CornCutter</typeDesc>
    <filename>data/vehicles/cutters/krone/kroneEasyCollect1053.i3d</filename>

    <size width="5" length="3" />

    <speedLimit value="10" />

    <cutterMovingDirection>1</cutterMovingDirection>

    <powerConsumer ptoRpm="540" neededPtoPower="100"/>

    <workAreas>
        <workArea startIndex="0>0" widthIndex="0>1" heightIndex="0>2" foldMinLimit="0" foldMaxLimit="0.1" type="cutter" />
    </workAreas>

    <cutterTurnedOnScrollers>
        <cutterTurnedOnScroller index="0>8|4"   scrollSpeed="-4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <cutterTurnedOnScroller index="0>8|5"   scrollSpeed="-4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <cutterTurnedOnScroller index="0>8|6"   scrollSpeed="-4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <cutterTurnedOnScroller index="0>6|0|1" scrollSpeed="-4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <cutterTurnedOnScroller index="0>6|0|2" scrollSpeed="-4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <cutterTurnedOnScroller index="0>7|0|1" scrollSpeed="-4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <cutterTurnedOnScroller index="0>7|0|2" scrollSpeed="-4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
    </cutterTurnedOnScrollers>

    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>8|2|0|0" type="cutter" rotAxis="1" rotSpeed="800"  turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>8|2|1|0" type="cutter" rotAxis="1" rotSpeed="-800" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>8|2|2"   type="cutter" rotAxis="1" rotSpeed="800"  turnOnFadeTime="2" turnOffFadeTime="2"/>
    </turnedOnRotationNodes>

    <aiLeftMarker index="4" />
    <aiRightMarker index="5" />
    <forceSelectionOnAttach value="false" />
    <aiTrafficCollisionTrigger index="9" />

    <inputAttacherJoints>
        <inputAttacherJoint index="0>3" jointType="cutterHarvester" upperDistanceToGround="0.86" lowerDistanceToGround="0.8" />
    </inputAttacherJoints>

    <dynamicMount forceLimitScale="1" />

    <cylinderedHydraulicSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="0.8" volume="0.4" />

    <threshingParticleSystem position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/threshingCutterParticles.i3d" />
    <preferedCombineSize>2</preferedCombineSize>
    <fruitTypes fruitTypes="maize"/>

    <convertedFruits>
        <convertedFruit input="maize" output="chaff"/>
    </convertedFruits>

    <movingTools>
        <movingTool index="0>8|1">
            <dependentPart index="0>8|1|0" />
        </movingTool>

        <movingTool index="0>7|0">
            <dependentPart index="0>7|0|4|0" />
            <dependentPart index="0>7|0|4|1" />
        </movingTool>
        <movingTool index="0>6|0">
            <dependentPart index="0>6|0|4|0" />
            <dependentPart index="0>6|0|4|1" />
        </movingTool>
    </movingTools>

    <movingParts>
        <movingPart index="0>8|1|0" referencePoint="0>8|11" localReferencePoint="0>8|1|0|0" referenceFrame="0>8|1|2">
            <dependentPart index="0>8|1|0|0" />
            <dependentPart index="0>8|0" />
        </movingPart>
        <movingPart index="0>8|1|0|0" referencePoint="0>8|11" referenceFrame="0>" />
        <movingPart index="0>8|0" referencePoint="0>8|1|1" referenceFrame="0>8|1|1">
            <translatingPart index="0>8|0|0" />
        </movingPart>

        <movingPart index="0>7|0|4|0" referencePoint="0>8|7" referenceFrame="0>7|0">
            <translatingPart index="0>7|0|4|0|0" />
        </movingPart>
        <movingPart index="0>7|0|4|1" referencePoint="0>8|8" referenceFrame="0>">
            <translatingPart index="0>7|0|4|1|0" />
        </movingPart>

        <movingPart index="0>6|0|4|0" referencePoint="0>8|9" referenceFrame="0>6|0">
            <translatingPart index="0>6|0|4|0|0" />
        </movingPart>
        <movingPart index="0>6|0|4|1" referencePoint="0>8|10" referenceFrame="0>">
            <translatingPart index="0>6|0|4|1|0" />
        </movingPart>
    </movingParts>

    <foldingParts startMoveDirection="1" turnOnFoldMaxLimit="0.1" turnOnFoldMinLimit="0" turnOffOnFold="true" >
        <foldingPart animationName="rightFold" speedScale="1.2" />
        <foldingPart animationName="leftFold" speedScale="1.2" />
    </foldingParts>

    <animations>
        <animation name="rightFold">
            <part node="0>6|0|0" startTime="0" endTime="3" startRot="0 0 0" endRot="72 0 0"/>
            <part node="0>6|0|0|0" startTime="0" endTime="3" startRot="0 0 0" endRot="-72 0 0"/>
            <part node="0>8|1" startTime="0" endTime="3" startRot="0 0 0" endRot="-100 0 0" />
            <part node="0>6|0" startTime="3" endTime="13" startRot="0 0 0" endRot="0 0 -180"/>
            <part node="0>6|0|4" startTime="3" endTime="13" startRot="0 0 0" endRot="0 0 70"/>
            <part node="0>8|1" startTime="17" endTime="18" startRot="-100 0 0" endRot="-84 0 0" />
        </animation>
        <animation name="leftFold">
            <part node="0>7|0|0" startTime="0" endTime="3" startRot="0 0 0" endRot="72 0 0"/>
            <part node="0>7|0|0|0" startTime="0" endTime="3" startRot="0 0 0" endRot="-72 0 0"/>
            <part node="0>7|0" startTime="7" endTime="17" startRot="0 0 0" endRot="0 0 180"/>
            <part node="0>7|0|4" startTime="7" endTime="17" startRot="0 0 0" endRot="0 0 -70"/>
        </animation>

        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>10" startTime="0" duration="1" startTrans="0 0.59765 -0.48814" endTrans="0 0.31461 -0.48814" />
            <part node="0>8|3" startTime="0" duration="1" startRot="110 0 0" endRot="0 0 0" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <cutterMovingDirection>1</cutterMovingDirection>

    <cutterTestAreas>
        <cutterTestArea startIndex="0>11|0" widthIndex="0>11|0|0" heightIndex="0>11|0|1" />
        <cutterTestArea startIndex="0>11|1" widthIndex="0>11|1|0" heightIndex="0>11|1|1" />
        <cutterTestArea startIndex="0>11|2" widthIndex="0>11|2|0" heightIndex="0>11|2|1" />
        <cutterTestArea startIndex="0>11|3" widthIndex="0>11|3|0" heightIndex="0>11|3|1" />
        <cutterTestArea startIndex="0>11|4" widthIndex="0>11|4|0" heightIndex="0>11|4|1" />
        <cutterTestArea startIndex="0>11|5" widthIndex="0>11|5|0" heightIndex="0>11|5|1" />
        <cutterTestArea startIndex="0>11|6" widthIndex="0>11|6|0" heightIndex="0>11|6|1" />
        <cutterTestArea startIndex="0>11|7" widthIndex="0>11|7|0" heightIndex="0>11|7|1" />
        <cutterTestArea startIndex="0>11|8" widthIndex="0>11|8|0" heightIndex="0>11|8|1" />
        <cutterTestArea startIndex="0>11|9" widthIndex="0>11|9|0" heightIndex="0>11|9|1" />
    </cutterTestAreas>

    <cutterEffects>
        <cutterEffect fruitType="maize" effectClass="CutterEffect" >
            <effectNode node="0|0|0|0" linkNode="0>" inverted="true" speedScale="0.0018" filename="$data/vehicles/particleAnimations/krone/kroneEasyCollect1053.i3d" />
            <effectNode node="0|0|0|1" linkNode="0>" inverted="true" speedScale="0.003" useInterpolation="true" useMaxValue="true" minOffset="6" filename="$data/vehicles/particleAnimations/krone/kroneEasyCollect1053.i3d" />
            <effectNode node="0|0|0|2" linkNode="0>" inverted="true" speedScale="0.003" useInterpolation="true" minOffset="6" filename="$data/vehicles/particleAnimations/krone/kroneEasyCollect1053.i3d" />
        </cutterEffect>
    </cutterEffects>

    <washable dirtDuration="300" washDuration="1" workMultiplier="2" />

    <components count="1">
        <component1 centerOfMass="0 0.4 0" solverIterationCount="10" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
