﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cutter_mouseControlled">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Case IH 3020 cutter</en>
        <de>Case IH 3020 Schneidwerk</de>
    </name>
    <typeDesc>$l10n_TypeDesc_Cutter</typeDesc>
    <filename>data/vehicles/cutters/caseIH/caseIH3020Cutter.i3d</filename>

    <size width="12" length="3.0" />

    <speedLimit value="10" />

    <cutterMovingDirection>-1</cutterMovingDirection>

    <turnSignals>
        <turnSignalLeft  index="0>12|0" />
        <turnSignalRight index="0>12|1" />
    </turnSignals>

    <reelspikes index="0>0|0|0|0" count="6" turnedOnRotNodeRef="2" />
    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>1"     type="cutter" rotAxis="1" rotSpeed="-800" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>0|0|0" type="cutter" rotAxis="1" rotSpeed="-200" turnOnFadeTime="2" turnOffFadeTime="2"/>
    </turnedOnRotationNodes>

    <workAreas>
        <workArea startIndex="0>2" widthIndex="0>3" heightIndex="0>4" type="cutter" />
    </workAreas>

    <inputAttacherJoints>
        <inputAttacherJoint index="0>5" jointType="cutter" topReferenceNode="0>11" lowerDistanceToGround="0.8" upperDistanceToGround="1.05" indexPTO="0>9" />
    </inputAttacherJoints>

    <mouseControls>
        <mouseControl iconFilename="$dataS2/menu/moveControls/reel_arm_movement.png" axis="AXIS_FRONTLOADER_ARM" />
        <mouseControl iconFilename="$dataS2/menu/moveControls/reel_movement.png" axis="AXIS_FRONTLOADER_TOOL" />
    </mouseControls>

    <movingTools>
        <movingTool index="0>0|0" transSpeed="0.1" transAcceleration="10" transMax="-1.02777" transMin="-1.36" translationAxis="3" axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_TOOL" invertMouseAxis="true" speedFactor="0.9">
            <dependentPart index="0>0|1" />
        </movingTool>
        <movingTool index="0>0" rotSpeed="20" rotAcceleration="50" rotMax="20" rotMin="-13.6" axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="false" speedFactor="0.9">
            <dependentPart index="0>10" />
        </movingTool>
    </movingTools>

    <movingParts>
        <movingPart index="0>0|1" referencePoint="0>0|0|1" localReferencePoint="0>0|1|0" referenceFrame="0>0|0|2">
            <dependentPart index="0>0|1|0" />
        </movingPart>
        <movingPart index="0>0|1|0" referencePoint="0>0|0|1" referenceFrame="0>0|0|1" scaleZ="true" />

        <!-- cylinder -->
        <movingPart index="0>10" referencePoint="0>0|2" referenceFrame="0>0|2">
            <translatingPart index="0>10|0" />
        </movingPart>
    </movingParts>

    <aiLeftMarker index="0>6" />
    <aiRightMarker index="0>7" />
    <aiTrafficCollisionTrigger index="0>8" />
    <forceSelectionOnAttach value="false" />

    <dynamicMount forceLimitScale="1" />

    <cutterTestAreas>
        <cutterTestArea startIndex="0>13|0" widthIndex="0>13|0|0" heightIndex="0>13|0|1" />
        <cutterTestArea startIndex="0>13|1" widthIndex="0>13|1|0" heightIndex="0>13|1|1" />
        <cutterTestArea startIndex="0>13|2" widthIndex="0>13|2|0" heightIndex="0>13|2|1" />
        <cutterTestArea startIndex="0>13|3" widthIndex="0>13|3|0" heightIndex="0>13|3|1" />
        <cutterTestArea startIndex="0>13|4" widthIndex="0>13|4|0" heightIndex="0>13|4|1" />
        <cutterTestArea startIndex="0>13|5" widthIndex="0>13|5|0" heightIndex="0>13|5|1" />
        <cutterTestArea startIndex="0>13|6" widthIndex="0>13|6|0" heightIndex="0>13|6|1" />
        <cutterTestArea startIndex="0>13|7" widthIndex="0>13|7|0" heightIndex="0>13|7|1" />
        <cutterTestArea startIndex="0>13|8" widthIndex="0>13|8|0" heightIndex="0>13|8|1" />
        <cutterTestArea startIndex="0>13|9" widthIndex="0>13|9|0" heightIndex="0>13|9|1" />
    </cutterTestAreas>

    <cutterEffects>
        <cutterEffect fruitType="wheat" effectClass="CutterEffect" >
            <effectNode node="0|0|0|0" linkNode="0>" speedScale="0.0018" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
            <effectNode node="0|0|0|1" linkNode="0>" useInterpolation="true" useMaxValue="true" minOffset="6" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
            <effectNode node="0|0|0|2" linkNode="0>" useInterpolation="true" minOffset="6" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
        </cutterEffect>
        <cutterEffect fruitType="barley" effectClass="CutterEffect" >
            <effectNode node="0|0|1|0" linkNode="0>" speedScale="0.0018" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
            <effectNode node="0|0|1|1" linkNode="0>" useInterpolation="true" useMaxValue="true" minOffset="6" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
            <effectNode node="0|0|1|2" linkNode="0>" useInterpolation="true" minOffset="6" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
        </cutterEffect>
        <cutterEffect fruitType="rape" effectClass="CutterEffect" >
            <effectNode node="0|0|2|0" linkNode="0>" speedScale="0.0018" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
            <effectNode node="0|0|2|1" linkNode="0>" useInterpolation="true" useMaxValue="true" minOffset="6" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
            <effectNode node="0|0|2|2" linkNode="0>" useInterpolation="true" minOffset="6" filename="$data/vehicles/particleAnimations/caseIH/caseIH3020Cutter.i3d" />
        </cutterEffect>
    </cutterEffects>

    <cylinderedHydraulicSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="0.8" volume="0.4" />
    <threshingParticleSystem position="0 0 -1" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/threshingCutterParticles.i3d" />
    <preferedCombineSize>3</preferedCombineSize>
    <fruitTypes fruitTypes="wheat rape barley"/>

    <washable dirtDuration="300" washDuration="1" workMultiplier="2" />

    <components count="1">
        <component1 centerOfMass="0 0 -0.4" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
