﻿<?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 EasyFlow 300</en>
        <de>Krone EasyFlow 300</de>
    </name>
    <typeDesc>$l10n_TypeDesc_Pickup</typeDesc>
    <filename>data/vehicles/cutters/krone/kroneEasyFlow300.i3d</filename>

    <size width="4" length="2.5" />

    <speedLimit value="20" />

    <cutterMovingDirection>1</cutterMovingDirection>

    <powerConsumer ptoRpm="540" neededPtoPower="100"/>

    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="0" restLoad="0.6"  repr="0>7|0|0|0" driveNode="0>7|0|0|0|0" radius="0.23" initialCompression="5" suspTravel="0.1" spring="30" damper="10" mass="0.005" maxLatStiffness="0" doBrakeOnLift="true" versatileYRot="true" />
        <wheel rotSpeed="0" restLoad="0.6"  repr="0>7|1|0|0" driveNode="0>7|1|0|0|0" radius="0.23" initialCompression="5" suspTravel="0.1" spring="30" damper="10" mass="0.005" maxLatStiffness="0" doBrakeOnLift="true" versatileYRot="true" />
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0|1" linkNode="0>7|0|0|0|0" filename="$data/vehicles/wheels/trelleborg/trelleborgT510_18X8_50_8.i3d" />
        <dynamicallyLoadedPart node="0|0" linkNode="0>7|1|0|0|0" filename="$data/vehicles/wheels/trelleborg/trelleborgT510_18X8_50_8.i3d" />
        <dynamicallyLoadedPart node="2|0" linkNode="0>7|8"       filename="$data/vehicles/wheels/trelleborg/trelleborgT510_15X6_00_6.i3d" />
    </dynamicallyLoadedParts>

    <brakeForce>0.2</brakeForce>

    <workAreas>
        <workArea startIndex="0>0" widthIndex="0>1" heightIndex="0>2" type="cutter" />
    </workAreas>

    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>7|6|1" type="cutter" rotAxis="1" rotSpeed="200"  turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>7|10" type="cutter"  rotAxis="1" rotSpeed="800" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>7|11" type="cutter"  rotAxis="1" rotSpeed="-600"  turnOnFadeTime="2" turnOffFadeTime="2"/>
    </turnedOnRotationNodes>

    <!--aiLeftMarker index="0>4" />
    <aiRightMarker index="0>5" />
    <aiTrafficCollisionTrigger index="0>6" /-->
    <forceSelectionOnAttach value="false" />

    <inputAttacherJoints>
        <inputAttacherJoint index="0>3" jointType="cutterHarvester" upperDistanceToGround="0.86" lowerDistanceToGround="0.78" />
    </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="grass wheat barley" useWindrowed="true" />

    <convertedFruits>
        <convertedFruit input="grass" output="chaff"/>
        <convertedFruit input="wheat" output="chaff"/>
        <convertedFruit input="barley" output="chaff"/>
    </convertedFruits>

    <foldingParts startMoveDirection="1" turnOnFoldMaxLimit="0.5" turnOnFoldMinLimit="0" turnOffOnFold="true" >
        <foldingPart animationName="rightFold" speedScale="1.2" />
        <foldingPart animationName="leftFold"  speedScale="1.2" />
    </foldingParts>

    <movingTools>
        <movingTool index="0>7|0" wheelIndices="1" />
        <movingTool index="0>7|1" wheelIndices="2" />
    </movingTools>

    <movingParts>
        <movingPart index="0>7|1|0|0|1" referencePoint="0>7|1|0|1" referenceFrame="0>7|1|0|0|2" scaleZ="true" isActiveDirty="true" playSound="false" />
        <movingPart index="0>7|0|0|0|1" referencePoint="0>7|0|0|1" referenceFrame="0>7|0|0|0|2" scaleZ="true" isActiveDirty="true" playSound="false"/>
    </movingParts>

    <animations>
        <animation name="rightFold">
            <part node="0>7|0|1" startTime="0" endTime="2" startRot="0 20 0" endRot="0 0 0"/>
            <part node="0>7|0" startTime="0" endTime="2" startRot="0 -20 0" endRot="0 0 0"/>
            <part node="0>7|0|0" startTime="0" endTime="2" startRot="0 20 0" endRot="0 0 0"/>
        </animation>
        <animation name="leftFold">
            <part node="0>7|1|1" startTime="0" endTime="2" startRot="0 -20 0" endRot="0 0 0"/>
            <part node="0>7|1" startTime="0" endTime="2" startRot="0 20 0" endRot="0 0 0"/>
            <part node="0>7|1|0" startTime="0" endTime="2" startRot="0 -20 0" endRot="0 0 0"/>
        </animation>

        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>8"     startTime="0" duration="1" startTrans="0 0.6 -0.4" endTrans="0 0.208 -0.4" />
            <part node="0>7|5|0" startTime="0" duration="1" startTrans="0 0.33686 0"        endTrans="0 0 0" />
        </animation>
    </animations>

    <lowerAnimation name="lowerAnimation" />
    <support animationName="moveSupport" />

    <cutterMovingDirection>1</cutterMovingDirection>

    <speedRotatingParts>
        <speedRotatingPart index="0>7|8" wheelIndex="1" onlyActiveWhenLowered="true" />
    </speedRotatingParts>

    <washable dirtDuration="300" washDuration="1" workMultiplier="2" />

    <components count="1">
        <component1 centerOfMass="0 0.9 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>
