<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="woodHarvester">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Ponsse Scorpion</en>
        <de>Ponsse Scorpion</de>
    </name>
    <typeDesc>$l10n_TypeDesc_WoodHarvester</typeDesc>
    <filename>data/vehicles/steerable/ponsse/ponsseScorpion.i3d</filename>

    <size width="4.5" length="10" />

    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="1" restLoad="4.7" repr="0>0" driveNode="0>0|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" hasTyreTracks="true" tyreTrackAtlasIndex="5" tireType="crawler" />
        <wheel rotSpeed="1" restLoad="5.5" repr="0>1" driveNode="0>1|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" tireType="crawler" />
        <wheel rotSpeed="1" restLoad="4.7" repr="0>2" driveNode="0>2|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" hasTyreTracks="true" tyreTrackAtlasIndex="5" tireType="crawler" />
        <wheel rotSpeed="1" restLoad="5.5" repr="0>3" driveNode="0>3|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" tireType="crawler" />
        <wheel rotSpeed="1" restLoad="3.0" repr="1>0" driveNode="1>0|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" hasTyreTracks="true" tyreTrackAtlasIndex="5" tireType="crawler" />
        <wheel rotSpeed="1" restLoad="3.6" repr="1>1" driveNode="1>1|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" tireType="crawler" />
        <wheel rotSpeed="1" restLoad="3.0" repr="1>2" driveNode="1>2|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" hasTyreTracks="true" tyreTrackAtlasIndex="5" tireType="crawler" />
        <wheel rotSpeed="1" restLoad="3.6" repr="1>3" driveNode="1>3|0" forcePointRatio="0.7" showSteeringAngle="false" radius="0.674" width="0.71" deltaY="0.1" suspTravel="0.15" spring="60" damper="80" mass="0.3" tireType="crawler" />
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0|1" linkNode="0>0|3" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="10 0 0" />
        <dynamicallyLoadedPart node="0|1" linkNode="0>1|1" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="60 0 0" />
        <dynamicallyLoadedPart node="0|0" linkNode="0>2|3" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="115 0 0" />
        <dynamicallyLoadedPart node="0|0" linkNode="0>3|1" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="175 0 0" />
        <dynamicallyLoadedPart node="0|1" linkNode="1>0|3" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="80 0 0" />
        <dynamicallyLoadedPart node="0|1" linkNode="1>1|1" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="45 0 0" />
        <dynamicallyLoadedPart node="0|0" linkNode="1>2|3" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="-50 0 0" />
        <dynamicallyLoadedPart node="0|0" linkNode="1>3|1" filename="$data/vehicles/wheels/trelleborg/trelleborgT428SB_710_45_26_5.i3d" rotation="-70 0 0" />
    </dynamicallyLoadedParts>

    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.0" wheelIndex1="0" wheelIndex2="1" /> <!-- front right-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.0" wheelIndex1="2" wheelIndex2="3" /> <!-- front left-left -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.0" wheelIndex1="4" wheelIndex2="5" /> <!-- back left-left -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.0" wheelIndex1="6" wheelIndex2="7" /> <!-- back right-right -->

        <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="0" differentialIndex2="1" /><!-- front-left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="2" differentialIndex2="3" /><!-- back-left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" differentialIndex1="4" differentialIndex2="5" /><!-- front-back -->
    </differentials>

    <ackermannSteering rotSpeed="25" rotMax="15" rotCenter="0 -0.3" />

    <motor torqueScale="1.267" minRpm="1000" maxRpm="2200" maxBackwardSpeed="15" brakeForce="12" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="38" maxForwardGearRatio="130" minBackwardGearRatio="38" maxBackwardGearRatio="130">
        <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>320</fuelCapacity>
    <fuelUsage>64</fuelUsage>

    <cameras count="3">
        <camera1 index="0>6|0|0|0|1|0|0" rotatable="true" rotateNode="0>6|0|0|0|1|0" limit="true" rotYSteeringRotSpeed="-22.5" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="20" >
            <raycastNode index="0>4|0"/>
            <raycastNode index="0>4|1"/>
            <raycastNode index="1>4"/>
        </camera1>
        <camera2 index="0>6|0|0|0|1|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" isInside="true" />
        <camera3 index="0>6|0|0|0|1|2|0" rotatable="false" />
    </cameras>

    <crawlers>
        <crawler index="0>0|1" speedRefNode="0>0|1" scrollSpeed="0.445" shaderParameterName="offsetUV" shaderParameterComponent="1" scrollLength="7.204" >
            <rotatingPart index="0>0|3" speedScale="1.4837" />
            <rotatingPart index="0>1|1" speedScale="1.4837" />
        </crawler>
        <crawler index="0>2|1" speedRefNode="0>2|1" scrollSpeed="0.445" shaderParameterName="offsetUV" shaderParameterComponent="1" scrollLength="7.204" >
            <rotatingPart index="0>2|3" speedScale="1.4837" />
            <rotatingPart index="0>3|1" speedScale="1.4837" />
        </crawler>
        <crawler index="1>0|1" speedRefNode="1>0|1" scrollSpeed="0.445" shaderParameterName="offsetUV" shaderParameterComponent="1" scrollLength="7.204" > <!-- scrollSpeed="0.2945" -->
            <rotatingPart index="1>0|3" speedScale="1.4837" />
            <rotatingPart index="1>1|1" speedScale="1.4837" />
        </crawler>
        <crawler index="1>2|1" speedRefNode="1>2|1" scrollSpeed="0.445" shaderParameterName="offsetUV" shaderParameterComponent="1" scrollLength="7.204" >
            <rotatingPart index="1>2|3" speedScale="1.4837" />
            <rotatingPart index="1>3|1" speedScale="1.4837" />
        </crawler>
    </crawlers>

    <indoorHud>
        <cutLength numbers="0>6|0|0|0|6|0" precision="0" />
        <diameter numbers="0>6|0|0|0|6|1" precision="0" />
    </indoorHud>

    <lights>
        <light realLight="0>6|0|0|0|2|0" decoration="0>6|0|0|0|2|1" lightType="0" />
        <light decoration="1>6" lightType="0"/>
        <light realLight="0>6|0|0|0|2|5|0" decoration="0>6|0|0|0|2|4" lightType="1" />
        <light decoration="0>6|0|0|0|2|4" lightType="1" />
        <light decoration="0>6|0|0|0|0|4|0" lightType="1"/>
    </lights>

    <enterReferenceNode index="0>" />
    <exitPoint index="0>5" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/vehicles/shared/attach.wav" pitchOffset="1" />
    <motorStartSound file="$data/vehicles/steerable/ponsse/ponsseScorpion_start.wav" pitchOffset="0.9" volume="1" />
    <motorSound file="$data/vehicles/steerable/ponsse/ponsseScorpion_idle.wav" pitchOffset="0.9" pitchScale="0.015" pitchMax="1.45" volume="1" radius="35" innerRadius="15" />
    <motorSoundRun file="$data/vehicles/steerable/ponsse/ponsseBuffalo_run.wav" pitchOffset="0.885" pitchScale="0.01885" pitchMax="1.4" volume="1.075" />
	<motorSoundRun2 file="$data/vehicles/shared/transmissionScorpion.wav" pitchOffset="1.1" volume="0.6" pitchMax="1.45" volumeMax="0.6"/>
    <motorStopSound file="$data/vehicles/steerable/ponsse/ponsseBuffalo_stop.wav" pitchOffset="1" />
    <compressedAirSound file="$data/vehicles/shared/brakeBig.wav" pitchOffset="1"/>
	<compressionSound file="$data/vehicles/shared/brakeBig.wav" pitchOffset="1" volume="1"/>
    <reverseDriveSound file="$data/vehicles/shared/reverseDrivingBeep.wav" volume="0.35" />
    <cylinderedHydraulicSound file="$data/vehicles/shared/hydraulicUp.wav" pitchOffset="0.65" volume="1.2" />
    <honkSound file="$data/vehicles/shared/horn.wav" volume="1" radius="70" innerRadius="10" />

    <exhaustEffects>
        <exhaustEffect index="1>5" 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.09" maxRpmScale="0.4" forwardXRotations="60 0 0" forwardZRotations="0 0 0" steerXRotations="0 0 0" steerZRotations="50 0 -50" />
    </exhaustEffects>

    <characterNode index="0>6|0|0|0|3|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.i3d" characterMesh="1" characterGloves="2" characterSkin="0" spineNode="0|0" spineRotation="180 0 90" >
        <ikChains>
            <ikChain id="rightFoot" target="0>6|0|0|0|3|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>6|0|0|0|3|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>6|0|0|0|3|3" 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>6|0|0|0|3|4" 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>

    <aiTrafficCollisionTrigger index="0>7" />

    <mouseControls>
        <mouseControl iconFilename="$dataS2/menu/moveControls/arm1_rotX.png" mouseButton="LEFT" mouseAxis="Y" axis="AXIS_FRONTLOADER_ARM" />
        <mouseControl iconFilename="$dataS2/menu/moveControls/arm1_rotY.png" mouseButton="LEFT" mouseAxis="X" axis="AXIS_FRONTLOADER_TOOL" />
        <mouseControl iconFilename="$dataS2/menu/moveControls/arm2_rot.png" mouseButton="RIGHT" mouseAxis="Y" axis="AXIS_FRONTLOADER_ARM2" />
        <mouseControl iconFilename="$dataS2/menu/moveControls/arm2_trans.png" mouseButton="RIGHT" mouseAxis="X"  axis="AXIS_FRONTLOADER_TOOL2" />
        <mouseControl iconFilename="$dataS2/menu/moveControls/grab_rotY.png" mouseAxis="X" axis="AXIS_FRONTLOADER_TOOL3" />
    </mouseControls>

    <movingTools>
        <!-- physics -->
        <!-- cabin rot -->
        <movingTool index="0>6|0|0|1" rotSpeed="25" rotAcceleration="120" rotationAxis="2" axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_TOOL" invertMouseAxis="true" speedFactor="1">
            <dependentPart index="0>6|0|0|1|0|0|0|0" />
        </movingTool>
        <!-- main arm rot -->
        <movingTool index="0>6|0|0|1|0" rotSpeed="20" rotAcceleration="120" rotMax="40" rotMin="-40" startRot="-9" rotationAxis="1" axis="AXIS_FRONTLOADER_ARM"  invertAxis="true" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="true" speedFactor="1" rotSendNumBits="9">
            <dependentPart index="0>6|0|0|1|0|0|0|0" />
        </movingTool>
        <!-- second arm rot -->
        <movingTool index="0>6|0|0|1|0|0" rotSpeed="20" rotAcceleration="120" rotMax="115" rotMin="-20" startRot="85" rotationAxis="1" axis="AXIS_FRONTLOADER_ARM2"  invertAxis="true" mouseAxis="AXIS_FRONTLOADER_ARM2" invertMouseAxis="true" speedFactor="1" rotSendNumBits="10">
            <dependentPart index="0>6|0|0|1|0|0|0|0" />
        </movingTool>
        <!-- third arm trans -->
        <movingTool index="0>6|0|0|1|0|0|0" transSpeed="1" transAcceleration="80" transMax="3" transMin="0.3" startTrans="0.3" translationAxis="3" axis="AXIS_FRONTLOADER_TOOL2" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_TOOL2" invertMouseAxis="true" speedFactor="1" >
            <dependentPart index="0>6|0|0|1|0|0|0|0" />
        </movingTool>

        <!-- delayed meshes -->
        <!-- cabin rot -->
        <movingTool index="0>6|0|0|0" isDelayed="true" adjustAttributesToMovingToolIndex="1" rotSpeed="25" rotAcceleration="120" rotationAxis="2" axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_TOOL" invertMouseAxis="true" speedFactor="1">
        </movingTool>
        <!-- main arm rot -->
        <movingTool index="0>6|0|0|0|0" isDelayed="true" adjustAttributesToMovingToolIndex="2" rotSpeed="20" rotAcceleration="120" rotMax="40" rotMin="-40" startRot="-9" rotationAxis="1" axis="AXIS_FRONTLOADER_ARM"  invertAxis="true" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="true" speedFactor="1" rotSendNumBits="9">
            <dependentPart index="0>6|0|0|0|0|1" />
            <dependentPart index="0>6|0|0|0|5|0|0" />
            <dependentPart index="0>6|0|0|0|1|2" />
        </movingTool>
        <!-- second arm rot -->
        <movingTool index="0>6|0|0|0|0|0" isDelayed="true" adjustAttributesToMovingToolIndex="3" rotSpeed="20" rotAcceleration="120" rotMax="115" rotMin="-20" startRot="85" rotationAxis="1" axis="AXIS_FRONTLOADER_ARM2"  invertAxis="true" mouseAxis="AXIS_FRONTLOADER_ARM2" invertMouseAxis="true" speedFactor="1" rotSendNumBits="10">
            <dependentPart index="0>6|0|0|0|0|3" />
            <dependentPart index="0>6|0|0|0|5|0|0|1" />
            <dependentPart index="0>6|0|0|0|1|2" />
        </movingTool>
        <!-- third arm trans -->
        <movingTool index="0>6|0|0|0|0|0|0" isDelayed="true" adjustAttributesToMovingToolIndex="4" transSpeed="1" transAcceleration="80" transMax="3" transMin="0.3" startTrans="0.3" translationAxis="3" axis="AXIS_FRONTLOADER_TOOL2" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_TOOL2" invertMouseAxis="true" speedFactor="1" >
            <dependentPart index="0>6|0|0|0|5|0|0|1|0" />
            <dependentPart index="0>6|0|0|0|1|2" />
        </movingTool>

        <!-- cutter x rotation -->
        <movingTool index="2>0" componentJointIndex="1" anchorActor="1" rotSpeed="-80" rotAcceleration="160" rotMax="170" rotMin="-170" rotationAxis="2" axis="AXIS_FRONTLOADER_TOOL3" invertAxis="true"  mouseAxis="AXIS_FRONTLOADER_TOOL3" invertMouseAxis="true" speedFactor="1"/>

        <movingTool index="0>10|2">
            <dependentPart index="0>10|3" />
        </movingTool>

        <!-- cutter joint -->
        <movingTool index="0>6|0|0|1|0|0|0|0" componentJointIndex="1" anchorActor="0"/>

        <!-- cylinders in cutter -->
        <movingTool index="0>6|0|0|0|0|0|0|1|0|0|0|0|2">
            <dependentPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|2|2" />
            <dependentPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|3|0" />
            <dependentPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|7" />
            <dependentPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|8" />
            <dependentPart index="0>6|0|0|0|0|0|0|1|0|0|0|1" />
        </movingTool>
    </movingTools>

    <movingParts>
        <!-- pipes -->
        <movingPart index="0>6|0|0|0|5|0|0"         referenceFrame="0>6|0|0|0|0" playSound="false" />
        <movingPart index="0>6|0|0|0|5|0|0|1"       referenceFrame="0>6|0|0|0|0|0" playSound="false" />
        <movingPart index="0>6|0|0|0|5|0|0|1|0"     referenceFrame="0>6|0|0|0|0|0|0"            moveToReferenceFrame="true" playSound="false" />
        <movingPart index="0>6|0|0|0|5|0|0|1|0|0"   referenceFrame="0>6|0|0|0|0|0|0|1|0|0|0"    moveToReferenceFrame="true" isActiveDirty="true" playSound="false" />
        <movingPart index="0>6|0|0|0|5|0|0|1|0|0|0" referenceFrame="0>6|0|0|0|0|0|0|1|0|0|0|0"  moveToReferenceFrame="true" isActiveDirty="true" playSound="false" />

        <!-- camera -->
        <movingPart index="0>6|0|0|0|1|2" referencePoint="0>6|0|0|0|0|0|0|3" referenceFrame="0>" invertZ="true" isActiveDirty="true" playSound="false" />

        <!-- main arm -->
        <movingPart index="0>6|0|0|0|0|1" referencePoint="0>6|0|0|0|4" referenceFrame="0>6|0|0|0|4" playSound="true" >
            <translatingPart index="0>6|0|0|0|0|1|0" />
        </movingPart>

        <!-- second arm -->
        <movingPart index="0>6|0|0|0|0|3" localReferencePoint="0>6|0|0|0|0|3|0" referencePoint="0>6|0|0|0|0|0|1" referenceFrame="0>6|0|0|0|0|0|1" playSound="true" >
            <dependentPart index="0>6|0|0|0|0|3|0" />
            <dependentPart index="0>6|0|0|0|0|2" />
        </movingPart>
        <movingPart index="0>6|0|0|0|0|3|0" referencePoint="0>6|0|0|0|0|0|1" referenceFrame="0>6|0|0|0|0|5" scaleZ="true" playSound="true" />
        <movingPart index="0>6|0|0|0|0|2" referencePoint="0>6|0|0|0|0|3|0|0" referenceFrame="0>6|0|0|0|0|5" playSound="true" >
            <translatingPart index="0>6|0|0|0|0|2|0" />
        </movingPart>

        <!-- cutter-arm connection -->
        <movingPart index="0>6|0|0|0|0|0|0|1" referencePoint="2>3" referenceFrame="0>6|0|0|0|0|0|0|2" limitedAxis="1" isActiveDirty="true" playSound="false" >
            <dependentPart index="0>6|0|0|0|0|0|0|1|0" />
            <dependentPart index="0>6|0|0|0|5|0|0|1|0|0" />
        </movingPart>
        <movingPart index="0>6|0|0|0|0|0|0|1|0" referencePoint="2>3" referenceFrame="0>6|0|0|0|0|0|0|1|1" limitedAxis="1" playSound="false" >
            <dependentPart index="0>6|0|0|0|0|0|0|1|0|0|0" />
        </movingPart>

        <!-- cutterholder -->
        <movingPart index="0>6|0|0|0|0|0|0|1|0|0|0" referencePoint="2>2" referenceFrame="2>" limitedAxis="2" playSound="false" >
            <dependentPart index="0>6|0|0|0|0|0|0|1|0|0|0|0" />
        </movingPart>

        <!-- cutter -->
        <movingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0" referencePoint="3>7" referenceFrame="3>" limitedAxis="1" playSound="false" />

        <!-- cylinders in cutter -->
        <movingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|2|2" referencePoint="0>6|0|0|0|0|0|0|1|0|0|0|0|3|2" referenceFrame="0>6|0|0|0|0|0|0|1|0|0|0|0|3|2" playSound="false" >
            <translatingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|2|2|0" />
        </movingPart>

        <movingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|3|0" referencePoint="0>6|0|0|0|0|0|0|1|0|0|0|0|2|0" referenceFrame="0>6|0|0|0|0|0|0|1|0|0|0|0|2|0" playSound="false" >
        </movingPart>

        <movingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|7" referencePoint="0>6|0|0|0|0|0|0|1|0|0|0|0|2|3" referenceFrame="0>6|0|0|0|0|0|0|1|0|0|0|0|2|3" playSound="false" >
            <translatingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|7|0" />
        </movingPart>
        <movingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|8" referencePoint="0>6|0|0|0|0|0|0|1|0|0|0|0|3|3" referenceFrame="0>6|0|0|0|0|0|0|1|0|0|0|0|3|3" playSound="false" >
            <translatingPart index="0>6|0|0|0|0|0|0|1|0|0|0|0|8|0" />
        </movingPart>

        <movingPart index="0>6|0|0|0|0|0|0|1|0|0|0|1" referencePoint="0>6|0|0|0|0|0|0|1|0|0|0|0|9" referenceFrame="0>6|0|0|0|0|0|0|1|0|0|0|2" playSound="false" >
            <translatingPart index="0>6|0|0|0|0|0|0|1|0|0|0|1|0" />
        </movingPart>

        <!-- steering -->
        <movingPart index="0>6|2|1" referencePoint="0>6|2|0|1" referenceFrame="0>6|2|0|1" isActiveDirty="true" playSound="false">
            <translatingPart index="0>6|2|1|0" />
        </movingPart>
        <movingPart index="0>6|2|2" referencePoint="0>6|2|0|2" referenceFrame="0>6|2|0|2" isActiveDirty="true" playSound="false">
            <translatingPart index="0>6|2|2|0" />
        </movingPart>
        <movingPart index="1>7|0" referencePoint="0>6|2|0|3" referenceFrame="0>6|2|0|3" isActiveDirty="true" playSound="false">
            <translatingPart index="1>7|0|0" />
        </movingPart>
        <movingPart index="1>7|1" referencePoint="0>6|2|0|4" referenceFrame="0>6|2|0|4" isActiveDirty="true" playSound="false">
            <translatingPart index="1>7|1|0" />
        </movingPart>

        <!-- crawler -->
        <movingPart index="0>0|1" referencePoint="0>1" referenceFrame="0>" isActiveDirty="true" playSound="false" />
        <movingPart index="0>0|2" referencePoint="0>1" referenceFrame="0>" isActiveDirty="true" playSound="false" />
        <movingPart index="0>2|1" referencePoint="0>3" referenceFrame="0>" isActiveDirty="true" playSound="false" />
        <movingPart index="0>2|2" referencePoint="0>3" referenceFrame="0>" isActiveDirty="true" playSound="false" />
        <movingPart index="1>0|1" referencePoint="1>1" referenceFrame="1>" isActiveDirty="true" playSound="false" />
        <movingPart index="1>0|2" referencePoint="1>1" referenceFrame="1>" isActiveDirty="true" playSound="false" />
        <movingPart index="1>2|1" referencePoint="1>3" referenceFrame="1>" isActiveDirty="true" playSound="false" />
        <movingPart index="1>2|2" referencePoint="1>3" referenceFrame="1>" isActiveDirty="true" playSound="false" />

        <!-- cabin rot -->
        <movingPart index="0>6" referenceFrame="0>9"   limitedAxis="3" minRot="70" maxRot="110" alignToWorldY="true" isActiveDirty="true" playSound="false" >
            <dependentPart index="0>6|0"/>
            <copyLocalDirectionPart index="0>6|2|0|0" dirScale="-1 1 1" upScale="1 1 1" componentJointIndex="0" anchorActor="0" />
        </movingPart>
        <movingPart index="0>6|0" componentJointIndex="1" anchorActor="0" referenceFrame="0>6|1" limitedAxis="2" minRot="-18" maxRot="15" alignToWorldY="true" playSound="false">
        </movingPart>

        <movingPart index="0>10|0" referencePoint="0>6|0|1" referenceFrame="0>6|0|1" isActiveDirty="true" playSound="false">
            <translatingPart index="0>10|0|0" />
        </movingPart>
        <movingPart index="0>10|1" referencePoint="0>6|0|2" referenceFrame="0>6|0|2" isActiveDirty="true" playSound="false">
            <translatingPart index="0>10|1|0" />
        </movingPart>

        <!-- stairs -->
        <movingPart index="0>10|3" localReferencePoint="0>10|3|0" referencePoint="0>10|2|0" referenceFrame="0>10|5" playSound="false" >
            <dependentPart index="0>10|3|0" />
            <dependentPart index="0>10|4" />
        </movingPart>
        <movingPart index="0>10|3|0" referencePoint="0>10|2|0" referenceFrame="0>10" scaleZ="true" playSound="false" />
        <movingPart index="0>10|4" referencePoint="0>10|3|1" referenceFrame="0>10" playSound="false" >
            <translatingPart index="0>10|4|0" />
        </movingPart>

    </movingParts>

    <animations>
        <animation name="enterAnimation">
            <part node="0>10|2" startTime="0" duration="10" startRot="0 0 0" endRot="-180 0 0"/>
        </animation>
        <animation name="cutAnimation">
            <part node="0>6|0|0|0|0|0|0|1|0|0|0|0|6" startTime="0" duration="0.9" startRot="0 0 0" endRot="0 -90 0"/>
            <part node="0>6|0|0|0|0|0|0|1|0|0|0|0|6" startTime="0.9" duration="0.1" startRot="0 -90 0" endRot="0 0 0"/>
        </animation>
        <animation name="grabberAnimation">
            <part node="0>6|0|0|0|0|0|0|1|0|0|0|0|0" startTime="0" duration="1" startRot="-0.022 0.019 0.0" endRot="-0.022 -90 0.0"/>
            <part node="0>6|0|0|0|0|0|0|1|0|0|0|0|1" startTime="0" duration="1" startRot="-0.022 0.019 0.0" endRot="-0.022 90 0.0"/>
            <part node="0>6|0|0|0|0|0|0|1|0|0|0|0|2" startTime="0" duration="1" startRot="-0.022 0.019 0.0" endRot="-0.022 -90 0.0"/>
            <part node="0>6|0|0|0|0|0|0|1|0|0|0|0|3" startTime="0" duration="1" startRot="0.027 143.372 0.016" endRot="0.027 233.372 0.016"/>

            <part node="3>0" startTime="0" duration="1" startRot="-0.348 -0.07 0.217" endRot="-0.348 -90.07 0.217"/>
            <part node="3>1" startTime="0" duration="1" startRot="-0.246 0.019 0.000" endRot="-0.246 -90.019 0.000"/>

            <part node="3>2" startTime="0" duration="1" startRot="0.306 143.373 0.183" endRot="0.306 233.373 0.183"/>
            <part node="3>3" startTime="0" duration="1" startRot="-0.246 0.019 0.0" endRot="-0.246 90.019 0.0"/>

        </animation>
    </animations>

    <articulatedAxis rotNode="0>6|2|0" componentJointIndex="0" anchorActor="0" rotSpeed="-35" rotMax="35" rotMin="-35" />

    <skinnedNodes>
        <skinnedNode index="0>8|0" />
        <skinnedNode index="0>8|1" />
        <skinnedNode index="0>8|2" />
    </skinnedNodes>

    <enterAnimation name="enterAnimation" />

    <washable dirtDuration="120" washDuration="1" workMultiplier="4" />

    <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" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="5" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="6" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="7" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="8" />
    </driveGroundParticleSystems>

    <cutNode node="3>4" attachNode="3>" attachReferenceNode="3>6" sizeY="1.3" sizeZ="1.8" maxRadius="0.32" releasedComponentJointIndex="2" releasedComponentJoint2Index="1" />
    <cutLengths min="1" max="8" step="1.0" />
    <delimbNode node="3>5" sizeX="0.1" sizeY="1.3" sizeZ="1.8" delimbOnCut="true" />

    <cutParticleSystems>
        <cutParticleSystem node="0>6|0|0|0|0|0|0|1|0|0|0|0|6|1" psRootNode="0" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/ponsse/ponsseScorpionParticles.i3d" />
    </cutParticleSystems>

    <delimbParticleSystems>
        <delimbParticleSystem node="0>6|0|0|0|0|0|0|1|0|0|0|0|13" psRootNode="1" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/ponsse/ponsseScorpionParticles.i3d" />
    </delimbParticleSystems>

    <cutAnimation name="cutAnimation" speedScale="1" cutTime="0.5" />

    <grabAnimation name="grabberAnimation" speedScale="1" />
    <forwardingWheels>
        <wheel index="0>6|0|0|0|0|0|0|1|0|0|0|0|2|1|0" rotSpeed="0 0 900"/>
        <wheel index="0>6|0|0|0|0|0|0|1|0|0|0|0|3|1|0" rotSpeed="0 0 -900"/>
        <wheel index="0>6|0|0|0|0|0|0|1|0|0|0|0|4" rotSpeed="1800 0 0"/>
        <wheel index="0>6|0|0|0|0|0|0|1|0|0|0|0|5" rotSpeed="1200 0 0"/>
    </forwardingWheels>

    <treeSizeMeasure index="0>6|0|0|0|0|0|0|1|0|0|0|0|12" rotMaxRadius="0.3" />

    <harvesterSounds motorSoundPitchOffset="1.1" motorRunSoundPitchOffset="1.1" >
        <delimbSound node="0>6|0|0|0|0|0|0|1|0|0|0|0|11" file="$data/vehicles/steerable/ponsse/ponsseScorpion_delimb.wav" pitch="1.0" volume="1.0" radius="35" innerRadius="15" />
        <cutSound node="0>6|0|0|0|0|0|0|1|0|0|0|0|11" file="$data/vehicles/steerable/ponsse/ponsseScorpion_cutting.wav" pitch="1.0" volume="1.0" radius="35" innerRadius="15" />
    </harvesterSounds>


    <components count="4">
        <component1 centerOfMass="0 0.9 2.0" solverIterationCount="40" />
        <component2 centerOfMass="0 0.9 -2.0" solverIterationCount="40" />
        <component3 solverIterationCount="20" />
        <component4 centerOfMass="0 -0.04 0.15" solverIterationCount="20" />

        <joint component1="0" component2="1" index="0>6|2|0|0|0" rotLimit="0 0 0" transLimit="0 0 0" rotLimitSpring="0 0 4" rotLimitDamping="0 0 8" />

        <joint component1="0" component2="2" index="0>6|0|0|1|0|0|0|0" indexActor1="2>0|0" rotLimit="0 50 80" transLimit="0 0 0" zRotationNode="0>6|0|0|1|0|0|0|0|0"   rotDriveVelocity="0 0 0" maxRotDriveForce="1 1 1"  transLimitSpring="10 10 10" transLimitDamping="11 11 11"  />
        <joint component1="2" component2="3" index="2>1" rotLimit="0 0 0" transLimit="0 0 0" />

        <collisionPair component1="0" component2="3" enabled="false" />
    </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" />

</vehicle>
