<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="combine_animated">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <typeDesc>$l10n_typeDesc_harvester</typeDesc>
    <filename>FE281.i3d</filename>
    <size width="3" length="5" lengthOffset="-1.5"/>
    <wheels autoRotateBackSpeed="2.0">
        <wheel rotSpeed="0" repr="0>0" radius="0.6" restLoad="1.0" initialCompression="30" suspTravel="0.1" spring="45" damper="40" hasTireTracks="true" mass="0.2" width="0.6" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>1" radius="0.6" restLoad="1.0" initialCompression="30" suspTravel="0.1" spring="45" damper="40" hasTireTracks="true" mass="0.2" width="0.6" hasParticles="true"/>
        <wheel rotSpeed="-1" repr="0>2" driveNode="0>2|0" radius="0.45" restLoad="3.4" initialCompression="30" suspTravel="0.1" spring="45" damper="40" mass="0.15" width="0.4" hasParticles="true"/>
        <wheel rotSpeed="-1" repr="0>3" driveNode="0>3|0" radius="0.45" restLoad="3.4" initialCompression="30" suspTravel="0.1" spring="45" damper="40" mass="0.15" width="0.4" hasParticles="true"/>
    </wheels>
    <motor torqueScale="0.48" minRpm="900" maxRpm="1800" maxBackwardSpeed="8" brakeForce="4" lowBrakeForceScale="0.3" lowBrakeForceSpeedLimit="1" minForwardGearRatio="27.1" maxForwardGearRatio="130" backwardGearRatio="55">
        <torque normRpm="0.45" torque="0.9"/>
        <torque normRpm="0.5" torque="0.97"/>
        <torque normRpm="0.59" torque="1"/>
        <torque normRpm="0.72" torque="1"/>
        <torque normRpm="0.86" torque="0.88"/>
        <torque normRpm="1" torque="0.72"/>
    </motor>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1"/>
    </differentials>
    <ackermannSteering rotSpeed="50" rotMax="35" rotCenterWheel1="0" rotCenterWheel2="1"/>
    <fuelCapacity>380</fuelCapacity>
    <fuelUsage>76</fuelUsage>
    <cameras count="2">
        <camera1 index="4|0|0" rotatable="true" rotateNode="4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="0.05" transMin="7" transMax="30">
            <raycastNode index="0>20"/>
            <raycastNode index="0>21"/>
        </camera1>
        <camera2 index="4|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
    </cameras>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>5" decoration="0>16" lightTypes="0"/>
            <light decoration="0>27" lightTypes="1"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>5" decoration="0>16" lightTypes="0"/>
            <light decoration="0>27" lightTypes="1"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <turnLights>
        <turnLightLeft decoration="0>26|0"/>
        <turnLightRight decoration="0>26|1"/>
    </turnLights>
    <brakeLights>
        <brakeLight decoration="0>15"/>
    </brakeLights>
    <reverseLights>
        <reverseLight index="0>28"/>
    </reverseLights>
    <beaconLights>
        <beaconLight index="19" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d"/>
    </beaconLights>
    <turnOnVehicle turnOffText="Turn_off_combine" turnOnText="Turn_on_combine"/>
    <steering index="0>9" indoorRotation="540" outdoorRotation="50"/>
    <attacherJoints>
        <attacherJoint index="11|0|0" jointType="cutterHarvester" rotationNode="11" lowerRotation="0 0 0" upperRotation="-7 0 0" lowerRotLimit="0 0 5" lowerTransLimit="0 0 0" jointPositionOffset="0 0 0" moveTime="2.5">
            <schema position="0 0" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint index="0>14" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="false" lowerRotLimit="10 80 80" lowerTransLimit="0 0 0">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
    <enterReferenceNode index="0>"/>
    <exitPoint index="7"/>
    <pipeSound file="sound/hydraulicUp.wav" pitchOffset="1" pitchScale="0.03" pitchMax="2"/>
    <threshingStartSound file="sound/E-281 haeckslerstart.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1"/>
    <threshingSound file="sound/pipeunlodsound.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1"/>
    <threshingStopSound file="sound/E-281 haeckslerstop.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1"/>
    <attachSound file="sound/attach.wav" pitchOffset="1"/>
    <motorSoundRun file="sound/E-281 motorrunproba.wav" pitchOffset="0.5" pitchScale="0.025" pitchMax="1" volume="1"/>
    <motorStartSound file="sound/E-281 motor start.wav" pitchOffset="1"/>
    <motorSound file="sound/E-281 motor.wav" pitchOffset="1" pitchScale="0.018" pitchMax="1"/>
    <motorStopSound file="sound/kroneBigX1100_stop.wav" pitchOffset="1"/>
    <compressedAirSound file="sound/compressedAir.wav" pitchOffset="1" volume="1"/>
    <compressionSound file="sound/1.wav" pitchOffset="1" volume="5"/>
    <hydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.55" volume="0.8"/>
    <aiMotorSound file="sound/E-281 motorrunAI.wav" pitchOffset="1" radius="50" innerRadius="4" volume="1.0"/>
    <aiTreshingSound file="sound/E-281 haeckselnAI.wav" pitchOffset="1" radius="100" innerRadius="4" volume="1.0"/>
    <honkSound file="sound/horn.wav" volume="1" innerRadius="10" radius="70"/>
    <pipe numStates="2" unloadingStates="0 1 2" raycastNodeIndex="0>8|1|1|0" raycastDistance="12" autoAimStates="2">
        <node index="8" rotationSpeeds="0 35 0" autoAimYRotation="true" autoAimInvertZ="true">
            <state1 rotation="0 0 0"/>
            <state2 rotation="0 0 0"/>
        </node>
        <node index="8|1" rotationSpeeds="25 0 0">
            <state1 rotation="0 0 0"/>
            <state2 rotation="0 0 0"/>
        </node>
        <node index="8|1|1" rotationSpeeds="80 0 0" autoAimXRotation="true">
            <state1 rotation="150 0 0"/>
            <state2 rotation="150 0 0"/>
        </node>
    </pipe>
    <pipeEffect>
        <effectNode node="0|0|3" linkNode="0>8|1|1|0" position="0 -0.028 0.099" delay="0.3" filename="$data/vehicles/particleAnimations/krone/kroneBigX1100.i3d"/>
    </pipeEffect>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="13|0" minRpmColor="0 0 0 0.05" maxRpmColor="0.01 0.01 0.01 5" minRpmScale="0.05" maxRpmScale="0.25" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    <fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="0"/>
    </fillUnits>
    <overloadingCapacity>0</overloadingCapacity>
    <allowFillFromAir value="false"/>
    <fillVolumeDischargeInfo index="0>8|1|1|2" width="0.4" length="0.4"/>
    <combineSize>2</combineSize>
    <allowThreshingDuringRain>true</allowThreshingDuringRain>
    <movingTools>
        <movingTool index="0>8|1">
            <componentJoint index="0" anchorActor="0"/>
            <dependentPart index="0>8|0"/>
        </movingTool>
        <movingTool index="0>8">
            <dependentPart index="0>8|1"/>
        </movingTool>
    </movingTools>
    <movingParts>
        <!-- pipe cylinder -->
        <movingPart index="0>8|0" referencePoint="0>8|1|0" referenceFrame="0>8|1" invertZ="true">
            <translatingPart index="0>8|0|0"/>
        </movingPart>
        <!-- steering -->
        <movingPart index="0>3|1" referencePoint="0>2|1" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>22|0" referencePoint="0>3|2" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>22|0|0" referencePoint="0>3|2" referenceFrame="0>" scaleZ="true" playSound="true" isActiveDirty="true"/>
    </movingParts>
    <characterNode index="0>10|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 108">
        <target ikChain="rightFoot" targetNode="0>10|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>10|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>9|0" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>9|1" setDirty="true"/>
    </characterNode>
    <ai>
        <trafficCollisionTrigger index="0>17"/>
    </ai>
    <trailerTriggers>
        <trailerTrigger index="0>18" pipeState="2"/>
    </trailerTriggers>
    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>23|21" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|10" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|1" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|3" type="combine" rotSpeed="600" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|4" type="combine" rotSpeed="600" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|5" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|6" type="combine" rotSpeed="-500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|7" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|22" type="combine" rotSpeed="-500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|8" type="combine" rotSpeed="-500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|9" type="combine" rotSpeed="-500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|11" type="combine" rotSpeed="-400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|15" type="combine" rotSpeed="-400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|14" type="combine" rotSpeed="-600" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|13" type="combine" rotSpeed="-600" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|12" type="combine" rotSpeed="-600" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|31" type="combine" rotSpeed="-600" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|20" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <!--turnedOnRotationNode index="0>23|32" type="combine" rotSpeed="400"  rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/-->
        <turnedOnRotationNode index="0>23|17" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="0>23|16" type="combine" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </turnedOnRotationNodes>
    <cutterTurnedOnScrollers>
        <cutterTurnedOnScroller index="0>23|32" scrollSpeed="3" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <cutterTurnedOnScroller index="0>23|33" scrollSpeed="3" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="2" turnOffFadeTime="2"/>
    </cutterTurnedOnScrollers>
    <animations>
        <animation name="enterAnimation">
            <part node="0>23|45|0" startTime="0" duration="1" startTrans="0 0 0" endTrans="0 0 -0.69"/>
        </animation>
    </animations>
    <enterAnimation name="enterAnimation"/>
    <washable dirtDuration="50" washDuration="1" workMultiplier="2"/>
    <components count="2">
        <component1 centerOfMass="0 0.92 -0.5" solverIterationCount="10"/>
        <component2 solverIterationCount="10"/>
        <joint component1="0" component2="1" index="0>8|1|2" rotLimit="0 0 0" transLimit="0 0 0"/>
    </components>
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/vehicleSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/vehicleSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    <storeData>
        <name>
            <de>Fortschritt e281</de>
            <en>Fortschritt e281</en>
        </name>
        <functions>
            <function>$l10n_function_combine</function>
        </functions>
        <specs>
            <power>110</power>
            <combination>Fortshritt E-295E</combination>
        </specs>
        <image>store.dds</image>
        <price>10900</price>
        <dailyUpkeep>105</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>FORTSCHRITT</brand>
        <category>forageHarvesters</category>
    </storeData>
</vehicle>
