﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="combine_animated">
    <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_Harvester</typeDesc>
    <filename>data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6.i3d</filename>

    <size width="6" length="12" lengthOffset="-1.5"/>

    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="0"   restLoad="1.0" repr="0>0"                         radius="0.822" width="0.6"  initialCompression="50" suspTravel="0.1" spring="40" damper="40" mass="0.29" hasTyreTracks="true" />
        <wheel rotSpeed="0"   restLoad="1.0" repr="0>1"                         radius="0.822" width="0.6"  initialCompression="50" suspTravel="0.1" spring="40" damper="40" mass="0.29" hasTyreTracks="true" />
        <wheel rotSpeed="-1"  restLoad="3.4" repr="0>2|0" driveNode="0>2|0|0|0" radius="0.64"  width="0.44" initialCompression="30" suspTravel="0.2" spring="25" damper="40" mass="0.17" hasTyreTracks="true" />
        <wheel rotSpeed="-1"  restLoad="3.4" repr="0>3|0" driveNode="0>3|0|0|0" radius="0.64"  width="0.44" initialCompression="30" suspTravel="0.2" spring="25" damper="40" mass="0.17" hasTyreTracks="true" />
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0|0" linkNode="0>0"       filename="$data/vehicles/wheels/trelleborg/trelleborgTM800_600_65R34.i3d" />
        <dynamicallyLoadedPart node="0|1" linkNode="0>1"       filename="$data/vehicles/wheels/trelleborg/trelleborgTM800_600_65R34.i3d" />
        <dynamicallyLoadedPart node="0|0" linkNode="0>2|0|0|0" filename="$data/vehicles/wheels/trelleborg/trelleborgTM800_540_65R24.i3d" />
        <dynamicallyLoadedPart node="0|1" linkNode="0>3|0|0|0" filename="$data/vehicles/wheels/trelleborg/trelleborgTM800_540_65R24.i3d" />
    </dynamicallyLoadedParts>

    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.65" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.45" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
    </differentials>

    <ackermannSteering rotSpeed="58" rotMax="35" rotCenterWheel1="0" rotCenterWheel2="1" />

    <motor torqueScale="0.819" minRpm="1000" maxRpm="2200" maxBackwardSpeed="15" brakeForce="7" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="32" 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>

    <fuelCapacity>380</fuelCapacity>
    <fuelUsage>76</fuelUsage>

    <aiTurnThreshWidthScale value="0.98" />

    <cameras count="2">
        <camera1 index="0>4|0|0" rotatable="true" rotateNode="0>4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="7" transMax="20" >
            <raycastNode index="0>5|0"/>
            <raycastNode index="0>5|1"/>
        </camera1>
        <camera2 index="0>4|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
    </cameras>

    <lights>
        <light realLight="0>16|0|0" decoration="0>16|0|1" lightType="0"/>
        <light realLight="0>16|1|0" decoration="0>16|1|1" lightType="1"/>
    </lights>

    <brakeLights>
        <brakeLight index="0>16|3" />
    </brakeLights>

    <beaconLights>
        <beaconLight index="0>16|4|0" speed="0.015" filename="$data/vehicles/shared/beaconLight02.i3d"/>
        <beaconLight index="0>16|4|1" speed="0.015" filename="$data/vehicles/shared/beaconLight02.i3d"/>
    </beaconLights>

    <turnSignals>
        <turnSignalLeft index="0>16|2|0" />
        <turnSignalRight index="0>16|2|1" />
    </turnSignals>

    <turnOnSettings turnOffText="Turn_off_combine" turnOnText="Turn_on_combine" />

    <mirrors>
        <mirror index="0>23|0" />
    </mirrors>

    <indoorHud>
        <speed numbers="0>23|1|0" precision="1" />
        <fillLevel numbers="0>23|1|1" precision="0" />
        <operatingTime numbers="0>23|1|2" precision="2" />
        <workedHectars numbers="0>23|1|3" precision="1" />
    </indoorHud>

    <attacherJoints>
        <attacherJoint jointType="cutter" index="0>11|0|0" jointPositionOffset="0 0 -1.498" rotationNode="0>11|0" minRot="-10 0 0" maxRot="12 0 0" maxTransLimit="0 0 0" maxRotLimit="0 0 15" moveTime="2.5" >
            <bottomArm rotationNode="0>11|1" />
        </attacherJoint>
        <attacherJoint index="0>11|3" jointType="trailerLow" maxRotLimit="10 80 50" minRotRotationOffset="0" allowsJointLimitMovement="false" />
    </attacherJoints>

    <enterReferenceNode index="0>" />

    <exitPoint index="0>6" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/vehicles/shared/attach.wav" pitchOffset="1" />
    <threshingStartSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_startwork.wav" pitchOffset="1" />
    <threshingSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_work.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1.1" radius="35" innerRadius="25" />
    <threshingStopSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_stopwork.wav" pitchOffset="1" />
    <motorStartSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_start.wav" pitchOffset="0.9" volume="1" />
    <motorSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_idle.wav" pitchOffset="0.9" pitchScale="0.009125" pitchMax="1.2" volume="1" radius="50" innerRadius="20" />
    <motorSoundRun file="$data/vehicles/steerable/krone/hydraulic_run.wav" pitchOffset="0.6" pitchScale="0.0091" pitchMax="1.05" volume="0.55" />
    <motorSoundRun2 file="$data/vehicles/shared/transmissionScorpion.wav" pitchOffset="1" volume="0.15" pitchMax="1.35" volumeMax="0.18"/>
    <motorStopSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_stop.wav" pitchOffset="1" />
    <reverseDriveSound file="$data/vehicles/shared/reverseDrivingBeep.wav" volume="0.5" />
    <compressedAirSound file="$data/vehicles/shared/brakeBig.wav" pitchOffset="1" volume="1.0"/>
    <compressionSound file="$data/vehicles/shared/compressorWork.wav" pitchOffset="1" volume="1.5"/>
    <honkSound file="$data/vehicles/shared/horn.wav" volume="1" radius="70" innerRadius="10" />
    <cylinderedHydraulicSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="0.65" volume="0.72" />
    <hydraulicSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="0.55" volume="0.8" />
    <pipeSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="1" />

    <pipe numStates="2" unloadingStates="2" raycastNodeIndex="0>7|0|0" raycastDistance="6" animName="pipeAnimation" animSpeedScale="1.7" />

    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>19|0"   type="combine" rotSpeed="500"  rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3" />
        <turnedOnRotationNode index="0>19|1"   type="combine" rotSpeed="700"  rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3" />
        <turnedOnRotationNode index="0>19|2|0" type="combine" rotSpeed="400"  rotAxis="3" turnOnFadeTime="4" turnOffFadeTime="3" />
        <turnedOnRotationNode index="0>19|3|0" type="combine" rotSpeed="400"  rotAxis="3" turnOnFadeTime="4" turnOffFadeTime="3" />
        <turnedOnRotationNode index="0>19|4|0" type="combine" rotSpeed="400"  rotAxis="3" turnOnFadeTime="4" turnOffFadeTime="3" />
    </turnedOnRotationNodes>

    <foldingParts startMoveDirection="1" turnOnFoldMinLimit="0" turnOnFoldMaxLimit="0.02" >
        <foldingPart animationName="foldGrainTank" speedScale="1.1" />
    </foldingParts>

    <animations>
        <animation name="foldGrainTank">
            <part node="0>17|0" startTime="0.35" endTime="0.6" startRot="0 0 0" endRot="0 0 3" />
            <part node="0>17|0" startTime="1.4" endTime="3" startRot="0 0 3" endRot="0 0 -21.3" />
            <part node="0>17|1" startTime="0" endTime="0.3" startRot="0 0 0" endRot="0 0 -6" />
            <part node="0>17|1" startTime="0.8" endTime="2.8" startRot="0 0 -6" endRot="0 0 70" />
        </animation>
        <animation name="enterAnimation">
            <part node="0>21" startTime="0" duration="1" startRot="0 0 0" endRot="0 -90 0" />
        </animation>
        <animation name="pipeAnimation">
            <part node="0>7|0"   startTime="0" endTime="10" startRot="0 0 0" endRot="0 0 -98.5" />
            <part node="0>7|1|0" startTime="0" endTime="2" startRot="0 0 0" endRot="0 0 8.038" />
            <part node="0>7|1|0" startTime="2" endTime="3" startRot="0 0 8.038" endRot="0 0 26.071" />
            <part node="0>7|1|0" startTime="3" endTime="5.7" startRot="0 0 26.071" endRot="0 0 65.355" />
            <part node="0>7|1|0" startTime="5.7" endTime="9.7" startRot="0 0 65.355" endRot="0 0 75.094" />
        </animation>
    </animations>

    <movingTools>
        <!-- graintank -->
        <movingTool index="0>17|0" >
            <dependentPart index="0>17|0|0" />
            <dependentPart index="0>17|0|1" />
        </movingTool>
        <!-- attacher -->
        <movingTool index="0>11|1">
            <dependentPart index="0>11|2" />
        </movingTool>
        <!-- pipe -->
        <movingTool index="0>7|0" >
            <dependentPart index="0>20|0" />
        </movingTool>
    </movingTools>

    <movingParts>
        <!-- pipe hydraulic -->
        <movingPart index="0>20|0" referencePoint="0>7|0|2" referenceFrame="0>">
            <translatingPart index="0>20|0|0" />
        </movingPart>
        <!-- graintank -->
        <movingPart index="0>17|0|0" referencePoint="0>17|3" referenceFrame="0>" playSound="false" />
        <movingPart index="0>17|0|1" referencePoint="0>17|2" referenceFrame="0>" playSound="false" />
        <!-- attacher -->
        <movingPart index="0>11|2" referencePoint="0>11|1|1" referenceFrame="0>" playSound="false">
            <translatingPart index="0>11|2|0" />
        </movingPart>

        <!-- steeringbars -->
        <movingPart index="0>2|0|1" referencePoint="0>3|0|1" referenceFrame="0>" scaleZ="true" playSound="false" isActiveDirty="true" >
            <dependentPart index="0>20|1" />
            <dependentPart index="0>20|2" />
        </movingPart>
        <movingPart index="0>20|1" referencePoint="0>2|0|2" referenceFrame="0>" playSound="false">
            <translatingPart index="0>20|1|0" />
        </movingPart>
        <movingPart index="0>20|2" referencePoint="0>3|0|2" referenceFrame="0>" playSound="false">
            <translatingPart index="0>20|2|0" />
        </movingPart>
    </movingParts>

    <fillEffect>
        <effectNode node="0|0|0" linkNode="0>13|0" position="0 0 0" materialType="unloading" materialTypeId="3" delay="0"   filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
        <effectNode node="0|0|1" linkNode="0>13|0" position="0 0 0" materialType="smoke"     materialTypeId="1" delay="0.1" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
    </fillEffect>

    <pipeEffect>
        <effectNode node="1|0|0" linkNode="0>7|0|1" position="0 0 0" materialType="unloading" materialTypeId="3" delay="0"   filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
        <effectNode node="1|0|1" linkNode="0>7|0|1" position="0 0 0" materialType="smoke"     materialTypeId="1" delay="0.1" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
    </pipeEffect>

    <strawEffect>
        <effectNode node="2|0|0" linkNode="0>13|2" materialType="straw" materialTypeId="1" delay="0" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
    </strawEffect>

    <chopperEffect>
        <effectNode node="3|0|0" linkNode="0>13|1" materialType="chopper" materialTypeId="1" delay="0" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
        <effectNode node="3|0|1" linkNode="0>13|1" materialType="chopper" materialTypeId="1" delay="0" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
    </chopperEffect>

    <strawParticleSystems toggleTime="3500" />

    <chopperParticleSystems toggleTime="3500" >
        <chopperParticleSystem type="wheat"  node="0>13|1" psRootNode="0|0" file="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Particles.i3d" />
        <chopperParticleSystem type="barley" node="0>13|1" psRootNode="0|0" file="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Particles.i3d" />
        <chopperParticleSystem type="rape"   node="0>13|1" psRootNode="0|0" file="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Particles.i3d" />
        <chopperParticleSystem type="maize"  node="0>13|1" psRootNode="0|1" file="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6Particles.i3d" />
    </chopperParticleSystems>

    <exhaustEffects>
        <exhaustEffect index="0>22" filename="$data/vehicles/particleAnimations/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.08" maxRpmScale="0.6" forwardXRotations="105 0 220" steerZRotations="180 0 -180" />
    </exhaustEffects>

    <fillVolumes>
        <fillVolume index="0>9|0" maxAllowedHeapAngle="20" maxDelta="0.28" />
    </fillVolumes>

    <fillVolumeUnloadInfo index="0>28" width="0.3" length="0.3" />
    <fillVolumeLoadInfo index="0>27" width="0.2" length="0.2" />
    <fillVolumeDischargeInfo index="0>7|0|5" width="0.4" length="0.4" />

    <capacity>4200</capacity>
    <overloadingCapacity>150</overloadingCapacity>
    <fillTypes fillTypes="wheat rape maize barley" />
    <allowFillFromAir value="false" />

    <combineSize>2</combineSize>

    <steering index="0>8|0" indoorRotation="540" outdoorRotation="50" />

    <characterNode index="0>10|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.i3d" characterMesh="1" characterGloves="2" characterSkin="0" spineNode="0|0" leftArmIKChainId="leftArm" rightArmIKChainId="rightArm" spineRotation="180 0 108" >
        <ikChains>
            <ikChain id="rightFoot" target="0>10|1" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true" >
                <node index="0|1" />
                <node index="0|1|0"     minRx="0" maxRx="0" minRy="-30" maxRy="30" minRz="0"   maxRz="90" />
                <node index="0|1|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="-100" maxRz="-7" />
                <node index="0|1|0|0|0" />
            </ikChain>
            <ikChain id="leftFoot" target="0>10|2" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|2"     />
                <node index="0|2|0"     minRx="0" maxRx="0" minRy="-30" maxRy="30" minRz="0"   maxRz="90" />
                <node index="0|2|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="-100" maxRz="-7" />
                <node index="0|2|0|0|0" />
            </ikChain>
            <ikChain id="rightArm" target="0>8|0|0" targetOffset="0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|1" />
                <node index="0|0|0|1|0" minRx="-20" maxRx="20" minRy="-20" maxRy="20" minRz="-80" maxRz="80" />
                <node index="0|0|0|1|0|0" minRx="-10" maxRx="10" minRy="0" maxRy="0" minRz="7"   maxRz="130" />
                <node index="0|0|0|1|0|0|0" />
                <rotationNode index="0|0|0|1|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|1|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
            <ikChain id="leftArm" target="0>8|0|1" targetOffset="-0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|2" />
                <node index="0|0|0|2|0" minRx="-20" maxRx="20" minRy="-20" maxRy="20" minRz="-80" maxRz="80" />
                <node index="0|0|0|2|0|0" minRx="-10" maxRx="10" minRy="0" maxRy="0" minRz="7"   maxRz="130" />
                <node index="0|0|0|2|0|0|0" />
                <rotationNode index="0|0|0|2|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|2|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
        </ikChains>
    </characterNode>

    <enterAnimation name="enterAnimation" />

    <workAreas>
        <workArea startIndex="0>12|0" widthIndex="0>12|1" heightIndex="0>12|2" type="combine" />
    </workAreas>

    <trailerTriggers>
        <trailerTrigger index="0>14" />
    </trailerTriggers>
    <aiTrafficCollisionTrigger index="0>15" />

    <chopperSwitch available="true" />

    <washable dirtDuration="300" washDuration="1" workMultiplier="2" />

    <driveGroundParticleSystems>
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="3" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="4" />
    </driveGroundParticleSystems>

    <components count="1">
        <component1 centerOfMass="0 0.92 -0.5" solverIterationCount="10" />
    </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">
        <attacherJoint position="0 0" rotation="0" invertX="true" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
    </schemaOverlay>
</vehicle>
