﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="attachableCombine_mouseControlled">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Grimme SE 260</en>
        <de>Grimme SE 260</de>
    </name>
    <typeDesc>$l10n_TypeDesc_Harvester</typeDesc>
    <filename>data/vehicles/tools/grimme/grimmeSE260.i3d</filename>

    <size width="5" length="11"/>

    <powerConsumer ptoRpm="540" neededPtoPower="30"/>
    <speedLimit value="10" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel  restLoad="4.5" repr="0>0|0|0|0" driveNode="0>0|0|0|0|0|0" radius="0.666" width="0.6" initialCompression="50" suspTravel="0.1" spring="75" damper="35" mass="0.265" steeringAxleScale="-0.7" steeringAxleRotMax="25" steeringAxleRotMin="-25" hasTyreTracks="true" tyreTrackAtlasIndex="2"/>
        <wheel  restLoad="4.5" repr="0>0|0|1|0" driveNode="0>0|0|1|0|0|0" radius="0.666" width="0.6" initialCompression="50" suspTravel="0.1" spring="75" damper="35" mass="0.265" steeringAxleScale="-0.7" steeringAxleRotMax="25" steeringAxleRotMin="-25" hasTyreTracks="true" tyreTrackAtlasIndex="2"/>
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|1" linkNode="0>0|0|0|0|0|0"   filename="$data/vehicles/wheels/trelleborg/twinRadial_600_55R26_5.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="0>0|0|1|0|0|0"   filename="$data/vehicles/wheels/trelleborg/twinRadial_600_55R26_5.i3d" />
    </dynamicallyLoadedParts>

    <brakeForce>2</brakeForce>

    <lightCoronas>
        <lightCorona index="0>0|8" />
        <lightCorona index="0>0|5|0|2" />
    </lightCoronas>

    <brakeLights>
        <brakeLight index="0>0|9" />
    </brakeLights>

    <turnSignals>
        <turnSignalLeft index="0>0|10|0" />
        <turnSignalRight index="0>0|10|1" />
    </turnSignals>

    <workAreas>
        <workArea startIndex="0>1" widthIndex="0>2" heightIndex="0>3" foldMinLimit="0" foldMaxLimit="0.1" type="cutter" />
    </workAreas>

    <aiLeftMarker index="0>4" />
    <aiRightMarker index="0>5" />
    <aiBackMarker index="0>6" />

    <inputAttacherJoints>
        <inputAttacherJoint index="0>0|1|0" jointType="trailerLow" rotLimitScale="1.2 1.2 1.2" indexPTO="0>0|1|1" />
    </inputAttacherJoints>


    <fillVolumes>
        <fillVolume index="0>0|6|1|0|10" />
    </fillVolumes>

    <fillVolumeLoadInfo index="0>0|7|0|6" width="0.45" length="0.2" />
    <fillVolumeUnloadInfo index="0>0|6|1|0|11" width="1.0" length="0.7" />
    <fillVolumeDischargeInfo index="0>0|6|1|0|0|0|0|5" width="1.0" length="0.4" />


    <threshingSound file="$data/vehicles/tools/fruitPreparer.wav" pitchOffset="1" radius="50" innerRadius="25" />
    <capacity>9276</capacity>
    <overloadingCapacity>350</overloadingCapacity>
    <fillTypes fruitTypes="potato" />
    <allowFillFromAir value="false" />

    <!-- Cutter fruit type -->
    <fruitTypes fruitTypes="potato"/>
    <cutterMovingDirection>1</cutterMovingDirection>

    <speedRotatingParts>
        <speedRotatingPart index="0>0|5|0|1|0" radius="0.296" wheelIndex="0" foldMinLimit="0" foldMaxLimit="0.01" />
        <speedRotatingPart index="0>0|5|0|1|1" radius="0.322" wheelIndex="0" foldMinLimit="0" foldMaxLimit="0.01" />
        <speedRotatingPart index="0>0|5|0|1|2" radius="0.212" wheelIndex="0" foldMinLimit="0" foldMaxLimit="0.01" />
    </speedRotatingParts>

    <combineThreshingScrollers>
        <combineThreshingScroller index="0>0|13|0"    scrollSpeed="-0.12" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>0|7|0|1|0" scrollSpeed="-0.12" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>0|7|0|1|1" scrollSpeed="-0.12" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>0|7|0|1|2" scrollSpeed="-0.12" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>0|5|0|4|0" scrollSpeed="-0.12" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>0|5|0|4|1" scrollSpeed="-0.12" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>0|5|0|4|2" scrollSpeed="-0.12" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </combineThreshingScrollers>

    <combineThreshingFillScrollers toggleTime="0">
        <combineThreshingFillScroller type="potato" index="0>0|13|1|1"  scrollSpeed="-0.4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="potato" index="0>0|13|1|0"  scrollSpeed="-0.4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="false" />
        <combineThreshingFillScroller type="potato" index="0>0|7|0|2|0" scrollSpeed="-0.4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="potato" index="0>0|7|0|2|1" scrollSpeed="-0.4" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
    </combineThreshingFillScrollers>

    <combineThreshingFillParticleSystems>
        <combineThreshingFillParticleSystem type="potato" node="0>"          psRootNode="2|0" rotation="0 0 0" file="$data/vehicles/particleAnimations/grimme/grimmeSE260Particles.i3d" />
        <combineThreshingFillParticleSystem type="potato" node="0>0|5|4"     psRootNode="0|0" rotation="0 0 0" file="$data/vehicles/particleAnimations/grimme/grimmeSE260Particles.i3d" />
        <combineThreshingFillParticleSystem type="potato" node="0>0|7|0|3|0" psRootNode="0|1" rotation="0 0 0" file="$data/vehicles/particleAnimations/grimme/grimmeSE260Particles.i3d" />
    </combineThreshingFillParticleSystems>

    <pipeScrollers>
        <pipeScroller type="potato" index="0>0|6|1|0|4"         scrollSpeed="-0.15" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <pipeScroller type="potato" index="0>0|6|1|0|0|0|5|0"   scrollSpeed="-0.15" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <pipeScroller type="potato" index="0>0|6|1|0|0|0|5|1"   scrollSpeed="-0.15" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <pipeScroller type="potato" index="0>0|6|1|0|0|0|0|1|0" scrollSpeed="-0.15" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <pipeScroller type="potato" index="0>0|6|1|0|0|0|0|1|1" scrollSpeed="-0.15" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <pipeScroller type="potato" index="0>0|6|1|0|0|0|0|1|2" scrollSpeed="-0.15" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>

        <pipeScroller type="potato" index="0>0|6|1|0|8|0"       scrollSpeed="0.2" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <pipeScroller type="potato" index="0>0|6|1|0|0|0|0|2|0" scrollSpeed="0.2" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <pipeScroller type="potato" index="0>0|6|1|0|0|0|0|2|1" scrollSpeed="0.2" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </pipeScrollers>

    <pipeParticleSystems>
        <pipeParticleSystem type="potato" node="0>0|6|1|0|0|0|8"     psRootNode="1|0" forceFullLifespan="true" rotation="0 0 0" file="$data/vehicles/particleAnimations/grimme/grimmeSE260Particles.i3d" />
        <pipeParticleSystem type="potato" node="0>0|6|1|0|0|0|0|6"   psRootNode="1|1" forceFullLifespan="true" rotation="0 0 0" file="$data/vehicles/particleAnimations/grimme/grimmeSE260Particles.i3d" />
        <pipeParticleSystem type="potato" node="0>0|6|1|0|0|0|0|3|0" psRootNode="1|2"                          rotation="0 0 0" file="$data/vehicles/particleAnimations/grimme/grimmeSE260Particles.i3d" />
    </pipeParticleSystems>

    <pipe numStates="2" unloadingStates="2" raycastNodeIndex="0>7" raycastDistance="6" foldMaxLimit="0.3" foldMinLimit="0.0" foldMinState="1" foldMaxState="1" >
        <node index="0>0|6|0" rotationSpeeds="0 0 10">
            <state1 rotation="0 0 0"/>
            <state2 rotation="0 0 -50"/>
        </node>
        <node index="0>0|6|1|0|2|0" rotationSpeeds="0 0 2.4">
            <state1 rotation="0 0 0"/>
            <state2 rotation="0 0 -12"/>
        </node>
    </pipe>

    <fruitPreparerSound file="$data/vehicles/tools/fruitPreparer.wav" pitchOffset="1" volume="1" />

    <foldingParts startMoveDirection="1" foldMiddleAnimTime="0.3" turnOnFoldMaxLimit="0.301" turnOnFoldMinLimit="0" turnOffOnFold="true">
        <foldingPart componentJointIndex="0" anchorActor="0" animationName="folding" speedScale="1" />
    </foldingParts>

    <mouseControls>
        <mouseControl iconFilename="$dataS2/menu/moveControls/pipe_end.png" axis="AXIS_FRONTLOADER_ARM" />
    </mouseControls>

    <movingTools>
        <!-- drawbar -->
        <movingTool index="0>0|1" inputAttacherJoint="true">
            <dependentPart index="0>0|2" />
            <dependentPart index="0>0|3" />
        </movingTool>
        <!-- tank -->
        <movingTool index="0>0|6|0" >
            <dependentPart index="0>0|6|1" />
        </movingTool>
        <!-- tank part 1-->
        <movingTool index="0>0|6|1|0|0|0" >
            <dependentPart index="0>0|6|1|0|0|0|1" />
            <dependentPart index="0>0|6|2|0|0" />
            <dependentPart index="0>0|6|1|0|0|0|5|0" />
            <dependentPart index="0>0|6|1|0|0|0|5|1" />
        </movingTool>
        <!-- tank part 2 -->
        <movingTool index="0>0|6|1|0|0|0|0" rotSpeed="20" rotAcceleration="300" rotMax="0" rotMin="-45" rotationAxis="3" axis="AXIS_FRONTLOADER_ARM" invertAxis="true" invertMouseAxis="true" speedFactor="0.7">
            <dependentPart index="0>0|6|1|0|0|0|2" />
            <dependentPart index="0>0|6|1|0|0|0|0|1|1" />
            <dependentPart index="0>0|6|1|0|0|0|0|1|2" />
            <dependentPart index="0>0|6|1|0|0|0|0|2|0" />
            <dependentPart index="0>0|6|1|0|0|0|0|3" />
        </movingTool>
        <!-- cutter -->
        <movingTool index="0>0|5|0">
            <dependentPart index="0>0|5|1" />
            <dependentPart index="0>0|5|2" />
            <dependentPart index="0>0|5|0|4|1" />
            <dependentPart index="0>0|5|0|4|2" />
        </movingTool>
    </movingTools>

    <movingParts>
        <movingPart index="0>0|2" referencePoint="0>0|1|3" referenceFrame="0>0|1|3">
            <translatingPart index="0>0|2|0" />
        </movingPart>
        <movingPart index="0>0|3" referencePoint="0>0|1|2" referenceFrame="0>0|1|2">
            <translatingPart index="0>0|3|0" />
        </movingPart>

        <!-- tank -->
        <movingPart index="0>0|6|1" localReferencePoint="0>0|6|1|0" referencePoint="0>0|6|0|0" referenceFrame="0>">
            <dependentPart index="0>0|6|1|0" />
        </movingPart>
        <movingPart index="0>0|6|1|0" referencePoint="0>0|6|0|0" referenceFrame="0>0|6|0|0" >
            <dependentPart index="0>0|6|2" />
            <dependentPart index="0>0|6|1|0|2|0|0" />
            <dependentPart index="0>0|7|0" />
            <dependentPart index="0>0|6|1|0|0|0|0|3" />
            <dependentPart index="0>0|6|1|0|0|0|0|2|0" />
        </movingPart>
        <!-- tank hydraulic -->
        <movingPart index="0>0|6|2" referencePoint="0>0|6|1|0|1" referenceFrame="0>0|6|1|0|1">
            <translatingPart index="0>0|6|2|0" />
            <dependentPart   index="0>0|6|2|0|0" />
        </movingPart>
        <!-- rope -->
        <movingPart index="0>0|6|2|0|0" referencePoint="0>0|6|1|0|0|0|3" referenceFrame="0>" >
            <translatingPart index="0>0|6|2|0|0|0" />
            <dependentPart index="0>0|6|2|0|0|1" />
        </movingPart>
        <movingPart index="0>0|6|2|0|0|1" referencePoint="0>0|6|1|0|0|0|3" referenceFrame="0>" scaleZ="true" />



        <!-- hydraulictankPart1 -->
        <movingPart index="0>0|6|1|0|0|0|1" referencePoint="0>0|6|1|0|3" referenceFrame="0>0|6|1|0|3" >
             <translatingPart index="0>0|6|1|0|0|0|1|0" />
        </movingPart>
        <!-- hydraulicTankPart2 -->
        <movingPart index="0>0|6|1|0|0|0|2" referencePoint="0>0|6|1|0|0|0|0|0" referenceFrame="0>0|6|1|0|0|0|0|0" >
             <translatingPart index="0>0|6|1|0|0|0|2|0" />
        </movingPart>


        <!-- rampArm -->
        <movingPart index="0>0|6|1|0|2|0|0" referencePoint="0>0|7|0|0|0" referenceFrame="0>0|7|1" >
             <dependentPart index="0>0|7|0|0" />
        </movingPart>
        <!-- ramp -->
        <movingPart index="0>0|7|0" referencePoint="0>0|6|1|0|7" referenceFrame="0>" limitedAxis="1">
            <dependentPart index="0>0|7|0|1|1" />
            <dependentPart index="0>0|7|0|1|2" />
            <dependentPart index="0>0|7|0|2|1" />
            <dependentPart index="0>0|7|0|3" />
        </movingPart>
        <movingPart index="0>0|7|0|0" referencePoint="0>0|6|1|0|2|0|0|0" referenceFrame="0>0|7|1" limitedAxis="1">
            <translatingPart index="0>0|7|0|0|0" />
        </movingPart>
        <!-- cutter -->
        <movingPart index="0>0|5|1" referencePoint="0>0|5|0|0" referenceFrame="0>0|5|0|0" >
            <translatingPart index="0>0|5|1|0" />
        </movingPart>
        <movingPart index="0>0|5|2" localReferencePoint="0>0|5|2|0" referencePoint="0>0|5|0|3" referenceFrame="0>" >
            <dependentPart index="0>0|5|2|0" />
            <dependentPart index="0>0|5|2|0|0" />
            <dependentPart index="0>0|5|3" />
        </movingPart>
        <movingPart index="0>0|5|2|0" referencePoint="0>0|5|0|3" referenceFrame="0>0|5|0|3" limitedAxis="1"/>
        <movingPart index="0>0|5|3" referencePoint="0>0|5|2|1" referenceFrame="0>0|5|2|1" />
        <movingPart index="0>0|5|2|0|0" referenceFrame="0>" />


        <!-- cutter belts -->
        <movingPart index="0>0|5|0|4|1" referencePoint="0>0|13|0|0" referenceFrame="0>0|13|0|0" scaleZ="true"/>
        <movingPart index="0>0|5|0|4|2" referencePoint="0>0|13|0|1" referenceFrame="0>0|13|0|1" scaleZ="true"/>
        <!-- tank 1 belts -->
        <movingPart index="0>0|6|1|0|0|0|5|0" referencePoint="0>0|6|1|0|5" referenceFrame="0>0|6|1|0|0|0" scaleZ="true"/>
        <movingPart index="0>0|6|1|0|0|0|5|1" referencePoint="0>0|6|1|0|6" referenceFrame="0>0|6|1|0|0|0" scaleZ="true"/>
        <!-- tank 2 belts -->
        <movingPart index="0>0|6|1|0|0|0|0|1|1" referencePoint="0>0|6|1|0|0|0|5|2" referenceFrame="0>0|6|1|0|0|0|0" scaleZ="true"/>
        <movingPart index="0>0|6|1|0|0|0|0|1|2" referencePoint="0>0|6|1|0|0|0|5|3" referenceFrame="0>0|6|1|0|0|0|0" scaleZ="true"/>
        <!-- ramp belts -->
        <movingPart index="0>0|7|0|1|1" referencePoint="0>0|13|0|2" referenceFrame="0>0|13|0|2" scaleZ="true"/>
        <movingPart index="0>0|7|0|1|2" referencePoint="0>0|13|0|3" referenceFrame="0>0|13|0|3" scaleZ="true"/>
        <!-- ramp potatos -->
        <movingPart index="0>0|7|0|2|1" referencePoint="0>0|13|0|4" referenceFrame="0>0|13|0|4" scaleZ="true"/>
        <!-- tank 2 potatos -->
        <movingPart index="0>0|6|1|0|0|0|0|2|0" referencePoint="0>0|6|1|0|8|1" referenceFrame="0>0|6|1|0|0|0|0" scaleZ="true"/>
        <!-- particles tank -->
        <movingPart index="0>0|6|1|0|0|0|0|3" referenceFrame="0>" />
        <movingPart index="0>0|7|0|3" referenceFrame="0>0|7|2" />

        <!-- steering -->
        <movingPart index="0>0|0|1|0|1" referencePoint="0>0|0|0|0|1" referenceFrame="0>0|0|0|0|1" scaleZ="true" isActiveDirty="true" playSound="false" />
        <movingPart index="0>0|0|2" referencePoint="0>0|0|1|0|2" referenceFrame="0>0|0|1|0|2" isActiveDirty="true" playSound="false">
            <translatingPart index="0>0|0|2|0" />
        </movingPart>
    </movingParts>

    <animations>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>0|4|1" startTime="0" duration="0.2" startTrans="0 0 0.038" endTrans="0 -0.545 0.038" />
            <part node="0>0|4|0" startTime="0" duration="0.2" startRot="90 0 0" endRot="0 0 0" />
        </animation>

        <!-- folding -->
        <animation name="folding">
            <part node="0>0|5|0"       startTime="0"   endTime="1.5" startRot="0 0 0" endRot="-11 0 0" />
            <part node="0>0|1"         startTime="1.5" endTime="4"   startRot="0 10 0" endRot="0 -18.5 0" />
            <part node="0>0|1|0"       startTime="1.5" endTime="4"   startRot="0 80 0" endRot="0 108.5 0" />
            <part node="0>0|6|1|0|0|0" startTime="1.5" endTime="5"   startRot="0 0 0"  endRot="0 0 80" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <washable dirtDuration="90" washDuration="1" workMultiplier="20" />

    <driveGroundParticleSystems>
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
    </driveGroundParticleSystems>

    <components count="1">
        <component1 centerOfMass="0 1.2 -1" solverIterationCount="10" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
