﻿<?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>Sampo Rosenlew C6</en>
        <de>Sampo Rosenlew C6</de>
    </name>
    <typeDesc>$l10n_TypeDesc_Cutter</typeDesc>
    <filename>data/vehicles/cutters/sampoRosenlew/sampoRosenlewC6.i3d</filename>

    <size width="5" length="2.5" />

    <speedLimit value="10" />

    <cutterMovingDirection>1</cutterMovingDirection>

    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>7|0"     type="cutter" rotSpeed="800" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1" />
        <turnedOnRotationNode index="0>7|1|0|0" type="cutter" rotSpeed="200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1" />
        <turnedOnRotationNode index="0>7|1|0|1" type="cutter" rotSpeed="200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1" />
    </turnedOnRotationNodes>

    <fruitExtraObjects>
        <fruitExtraObject fruitType="rape"   index="0>7|3|0"/>
        <fruitExtraObject fruitType="wheat"  index="0>7|3|1"/>
        <fruitExtraObject fruitType="barley" index="0>7|3|1"/>
    </fruitExtraObjects>

    <workAreas>
        <workArea startIndex="0>1" widthIndex="0>2" heightIndex="0>3" type="cutter" />
    </workAreas>

    <inputAttacherJoints>
        <inputAttacherJoint index="0>0" jointType="cutter" upperDistanceToGround="1" lowerDistanceToGround="0.76" indexPTO="0>6" />
    </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>7|1|0" rotSpeed="20" rotAcceleration="50" rotMax="0" rotMin="-15" axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_TOOL" invertMouseAxis="true" speedFactor="0.9">
            <dependentPart index="0>7|1|1" />
        </movingTool>

        <movingTool index="0>7|1" rotSpeed="20" rotAcceleration="50" rotMax="-3" rotMin="-20" startRot="-3" axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="true" speedFactor="0.9">
            <dependentPart index="0>7|1|2" />
        </movingTool>

        <movingTool index="0>7|1|0|1">
            <dependentPart index="0>7|1|0|0|0" />
            <dependentPart index="0>7|1|0|0|1" />
            <dependentPart index="0>7|1|0|0|2" />
            <dependentPart index="0>7|1|0|0|3" />
            <dependentPart index="0>7|1|0|0|4" />
            <dependentPart index="0>7|1|0|0|5" />
        </movingTool>
    </movingTools>

    <movingParts>
        <!-- spikes -->
        <movingPart index="0>7|1|0|0|0" referencePoint="0>7|1|0|1|0" referenceFrame="0>" />
        <movingPart index="0>7|1|0|0|1" referencePoint="0>7|1|0|1|1" referenceFrame="0>" />
        <movingPart index="0>7|1|0|0|2" referencePoint="0>7|1|0|1|2" referenceFrame="0>" />
        <movingPart index="0>7|1|0|0|3" referencePoint="0>7|1|0|1|3" referenceFrame="0>" />
        <movingPart index="0>7|1|0|0|4" referencePoint="0>7|1|0|1|4" referenceFrame="0>" />
        <movingPart index="0>7|1|0|0|5" referencePoint="0>7|1|0|1|5" referenceFrame="0>" />
        <!-- reel hydraulic -->
        <movingPart index="0>7|1|2" referencePoint="0>7|2" referenceFrame="0>7|2">
            <translatingPart index="0>7|1|2|0" />
        </movingPart>
        <movingPart index="0>7|1|1" referencePoint="0>7|1|0|2" referenceFrame="0>7|1|0|2">
            <translatingPart index="0>7|1|1|0" />
        </movingPart>
    </movingParts>

    <aiLeftMarker index="0>4" />
    <aiRightMarker index="0>5" />
    <aiTrafficCollisionTrigger index="0>8" />
    <forceSelectionOnAttach value="false" />

    <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>1</preferedCombineSize>
    <fruitTypes fruitTypes="wheat rape barley"/>

    <cutterTestAreas>
        <cutterTestArea startIndex="0>9|0" widthIndex="0>9|0|0" heightIndex="0>9|0|1" />
        <cutterTestArea startIndex="0>9|1" widthIndex="0>9|1|0" heightIndex="0>9|1|1" />
        <cutterTestArea startIndex="0>9|2" widthIndex="0>9|2|0" heightIndex="0>9|2|1" />
        <cutterTestArea startIndex="0>9|3" widthIndex="0>9|3|0" heightIndex="0>9|3|1" />
    </cutterTestAreas>

    <cutterEffects>
        <cutterEffect fruitType="wheat" effectClass="CutterEffect" >
            <effectNode node="0|0|0|0" linkNode="0>" speedScale="0.0018"                                                            filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
            <effectNode node="0|0|0|1" linkNode="0>" speedScale="0.0013" useInterpolation="true" minOffset="2.5" useMaxValue="true" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
            <effectNode node="0|0|0|2" linkNode="0>" speedScale="0.0013" useInterpolation="true" minOffset="2.5"                    filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
        </cutterEffect>
        <cutterEffect fruitType="barley" effectClass="CutterEffect" >
            <effectNode node="0|0|1|0" linkNode="0>" speedScale="0.0018"                                                            filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
            <effectNode node="0|0|1|1" linkNode="0>" speedScale="0.0013" useInterpolation="true" minOffset="2.5" useMaxValue="true" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
            <effectNode node="0|0|1|2" linkNode="0>" speedScale="0.0013" useInterpolation="true" minOffset="2.5"                    filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
        </cutterEffect>
        <cutterEffect fruitType="rape" effectClass="CutterEffect" >
            <effectNode node="0|0|2|0" linkNode="0>" speedScale="0.0018"                                                            filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
            <effectNode node="0|0|2|1" linkNode="0>" speedScale="0.0013" useInterpolation="true" minOffset="2.5" useMaxValue="true" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
            <effectNode node="0|0|2|2" linkNode="0>" speedScale="0.0013" useInterpolation="true" minOffset="2.5"                    filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Cutter.i3d" />
        </cutterEffect>
    </cutterEffects>

    <washable dirtDuration="300" washDuration="1" workMultiplier="2" />

    <components count="1">
        <component1 centerOfMass="0 0.15 0.25" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
