﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>TORION 639</name>
        <specs>
            <power>68</power>
            <maxSpeed>20</maxSpeed>
            <combination filterCategory="frontLoaderTools" />
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>$data/vehicles/claas/torion639/store_torion639.png</image>
        <price>64500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CLAAS</brand>
        <category>frontLoaderVehicles</category>
        <shopTranslationOffset>0 0.065 0</shopTranslationOffset>
        <shopRotationOffset>-0.018 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2842624</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>581120</indexBufferMemoryUsage>
        <textureMemoryUsage>5505024</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>296710</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>$data/vehicles/claas/torion639/torion639.i3d</filename>
        <sounds filename="$data/vehicles/claas/torion639/sounds/torion639.xml"/>
        <size width="3" length="5" height="2.8" lengthOffset="-0.1"/>
        <components>
            <component centerOfMass="0 0.6 0" solverIterationCount="25" mass="2635" />
            <component centerOfMass="0 -0.576 -0.5" solverIterationCount="10" mass="2635" />
            <joint component1="1" component2="2" node="componentJoint1" rotLimit="0 0 0" transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="LOADER" />
        <mapHotspot type="WHEELLOADER" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels autoRotateBackSpeed="2.2" >
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TH400/400_70R20.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.7" repr="wheelFrontLeft"  forcePointRatio="0.25" initialCompression="5" suspTravel="0.11" spring="95" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TH400/400_70R20.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.7" repr="wheelFrontRight" forcePointRatio="0.25" initialCompression="5" suspTravel="0.11" spring="95" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TH400/400_70R20.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.2" repr="wheelBackLeft"   forcePointRatio="0.35" initialCompression="50" suspTravel="0.15" spring="27" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TH400/400_70R20.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="2.2" repr="wheelBackRight"  forcePointRatio="0.35" initialCompression="50" suspTravel="0.15" spring="27" damper="50" />
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueTwinWheelsFront" price="1500" brand="TRELLEBORG" saveId="TRELLEBORG_TWIN_FRONT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/trelleborg/TH400/400_70R20.xml" configId="dual" offset="0.13" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/trelleborg/TH400/400_70R20.xml" configId="dual" offset="0.13" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel/>
                    <wheel/>
                </wheels>
                <foliageBendingModifier index="1" minX="-1.38" maxX="1.38" />
                <aiAgent width="2.8"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="MICHELIN" saveId="MICHELIN_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml">
                        <physics yOffset="-0.004"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml">
                        <physics yOffset="-0.004"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml">
                        <physics yOffset="-0.004"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml">
                        <physics yOffset="-0.004"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueTwinWheelsFront" price="1500" brand="MICHELIN" saveId="MICHELIN_TWIN_FRONT">
                <wheels baseConfig="MICHELIN_DEFAULT">
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml" configId="dual" offset="0.19" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml" configId="dual" offset="0.19" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel/>
                    <wheel/>
                </wheels>
                <foliageBendingModifier index="1" minX="-1.38" maxX="1.38" />
                <aiAgent width="2.8"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="MITAS" saveId="MITAS_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/mitas/AC70G/405_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/mitas/AC70G/405_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/mitas/AC70G/405_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/mitas/AC70G/405_70R20.xml"/>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueTwinWheelsFront" price="1500" brand="MITAS" saveId="MITAS_TWIN_FRONT">
                <wheels baseConfig="MITAS_DEFAULT">
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/mitas/AC70G/405_70R20.xml" configId="dual" offset="0.205" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/mitas/AC70G/405_70R20.xml" configId="dual" offset="0.205" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel/>
                    <wheel/>
                </wheels>
                <foliageBendingModifier index="1" minX="-1.4" maxX="1.4" />
                <aiAgent width="2.85"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="BKT" saveId="BKT_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/bkt/multimaxMP522/400_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/bkt/multimaxMP522/400_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/bkt/multimaxMP522/400_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/bkt/multimaxMP522/400_70R20.xml"/>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueTwinWheelsFront" price="1500" brand="BKT" saveId="BKT_TWIN_FRONT">
                <wheels baseConfig="BKT_DEFAULT">
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/bkt/multimaxMP522/400_70R20.xml" configId="dual" offset="0.15" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/bkt/multimaxMP522/400_70R20.xml" configId="dual" offset="0.15" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel/>
                    <wheel/>
                </wheels>
                <foliageBendingModifier index="1" minX="-1.38" maxX="1.38" />
                <aiAgent width="2.8"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="VREDESTEIN" saveId="VREDESTEIN_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxionVersa/400_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxionVersa/400_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxionVersa/400_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxionVersa/400_70R20.xml"/>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueTwinWheelsFront" price="1500" brand="VREDESTEIN" saveId="VREDESTEIN_TWIN_FRONT">
                <wheels baseConfig="VREDESTEIN_DEFAULT">
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/vredestein/traxionVersa/400_70R20.xml" configId="dual" offset="0.15" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel>
                        <physics/>
                        <additionalWheel filename="$data/shared/wheels/tires/vredestein/traxionVersa/400_70R20.xml" configId="dual" offset="0.15" hasTireTracks="true" hasParticles="true" >
                            <connector filename="$data/shared/wheels/rims/dual001_2.xml" />
                        </additionalWheel>
                    </wheel>
                    <wheel/>
                    <wheel/>
                </wheels>
                <foliageBendingModifier index="1" minX="-1.4" maxX="1.4" />
                <aiAgent width="2.8"/>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimColor>CLAAS_RED1</rimColor>

        <hubs>
            <color0>CLAAS_DARKGREY2</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="wheelFrontLeft"  filename="$data/shared/wheels/hubs/hub_n8_5.xml" isLeft="true"  scale="0.22 0.28 0.28" offset="0.02"/>
            <hub linkNode="wheelFrontRight" filename="$data/shared/wheels/hubs/hub_n8_5.xml" isLeft="false" scale="0.22 0.28 0.28" offset="0.02"/>
            <hub linkNode="wheelBackLeft"   filename="$data/shared/wheels/hubs/hub_n8_5.xml" isLeft="true"  scale="0.22 0.28 0.28" offset="0.02"/>
            <hub linkNode="wheelBackRight"  filename="$data/shared/wheels/hubs/hub_n8_5.xml" isLeft="false" scale="0.22 0.28 0.28" offset="0.02"/>
        </hubs>
    </wheels>

    <articulatedAxis componentJointIndex="1" anchorActor="0" rotSpeed="-34" rotMax="44" rotMin="-44" aiRevereserNode="articulatedAxisAiReverserNode" />

    <speedRotatingParts>
        <speedRotatingPart node="ptoOrientation" radius="-0.1" />
    </speedRotatingParts>

    <connectionHoses>
        <target attacherJointIndices="2" type="electric" node="backElectric" socket="electric"/>
        <target attacherJointIndices="1" type="hydraulicIn" node="hydraulic01_in" straighteningFactor="2" straighteningDirection="0 -0.6 1">
            <objectChange node="hydraulic01_in_cover" visibilityActive="false" visibilityInactive="true"/>
        </target>
        <target attacherJointIndices="1" type="hydraulicOut" node="hydraulic01_out" straighteningFactor="2" straighteningDirection="0 -0.6 1">
            <objectChange node="hydraulic01_out_cover" visibilityActive="false" visibilityInactive="true"/>
        </target>
    </connectionHoses>

    <enterable isTabbable="true" >
        <enterReferenceNode node="torion639_back_component2" />
        <exitPoint node="exitPoint" />

        <cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="40" translation="0 0 5.4" rotation="-18 180 0" >
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
                <raycastNode node="cameraRaycastNode3"/>
            </camera>
            <camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox" positionSmoothingParameter="0.45" suspensionNodeIndex="1"/>
        </cameras>

        <mirrors>
            <mirror node="leftMirror_decal" prio="1" />
            <mirror node="rightMirror_decal" prio="1" />
            <mirror node="interiorMirror_decal" prio="2" />
        </mirrors>

        <characterNode node="playerSkin" cameraMinDistance="0.5" spineRotation="-90 0 90" >
            <target ikChain="rightFoot" targetNode="playerRightFootTarget" />
            <target ikChain="leftFoot"  targetNode="playerLeftFootTarget" />
            <target ikChain="rightArm"  targetNode="playerRightHandTarget" poseId="wideFingers"/>
            <target ikChain="leftArm"   targetNode="playerLeftHandTarget" poseId="flatFingers"/>
        </characterNode>

        <characterTargetNodeModifier node="playerRightFootTarget" transitionTime="0.1" >
            <state node="playerRightFootTargetGas"   referenceNode="gasPedal" directionReferenceNode="playerRightFootTargetGasRef" />
        </characterTargetNodeModifier>

        <characterTargetNodeModifier node="playerLeftFootTarget" transitionTime="0.1" >
            <state node="playerLeftFootTargetBrake"   referenceNode="brakePedal" directionReferenceNode="playerLeftFootTargetBrakeRef" />
        </characterTargetNodeModifier>
    </enterable>

    <lights>
        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
        </states>

        <sharedLight linkNode="workingLightCircle_02_06" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLight02.xml" >
            <rotationNode name="rotationNode1" rotation="-20 20 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightCircle_02_05" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLight02.xml" >
            <rotationNode name="rotationNode1" rotation="-20 -20 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightCircle_02_04" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight02.xml" >
            <rotationNode name="rotationNode1" rotation="-10 10 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightCircle_02_03" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight02.xml" >
            <rotationNode name="rotationNode1" rotation="-10 20 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightCircle_02_02" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight02.xml" >
            <rotationNode name="rotationNode1" rotation="-10 -20 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightCircle_02_01" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight02.xml" >
            <rotationNode name="rotationNode1" rotation="-10 -10 0" />
        </sharedLight>
        <sharedLight linkNode="yellowRectangle_01_01" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle_01_02" filename="$data/shared/assets/reflectors/lizard/redRectangle_01.xml" />

        <realLights>
            <low>
                <light node="frontLightLow"       lightTypes="0" excludedLightTypes="2 3" />
                <light node="workLightBackLow"    lightTypes="1"/>
                <light node="workLightFrontLow"   lightTypes="2"/>
                <light node="highBeamLow"         lightTypes="3" />
            </low>
            <high>
                <light node="frontLightHigh"        lightTypes="0" excludedLightTypes="2 3" />
                <light node="backLightsHigh1"       lightTypes="0"/>
                <light node="licensePlateLightHigh" lightTypes="0"/>
                <light node="workLightBackHigh1"    lightTypes="1"/>
                <light node="workLightFrontHigh1"   lightTypes="2"/>
                <light node="highBeamHigh"          lightTypes="3"/>
                <brakeLight node="backLightsHigh1" />
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightFront" />
                <turnLightRight node="turnLightRightBack" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStatic" lightTypes="0 3" />
            <defaultLight shaderNode="breakLightStatic" lightTypes="0" />
            <defaultLight shaderNode="licensePlateLight_static" lightTypes="0" intensity="5" />
        </defaultLights>

        <turnLights>
            <turnLightLeft  shaderNode="turnLightGlassLeftStatic" />
            <turnLightLeft  shaderNode="turnlightLeftStatic02" />
            <turnLightRight shaderNode="turnLightGlassRightStatic" />
            <turnLightRight shaderNode="turnlightRightStatic02" />
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="breakLightStatic" />
        </brakeLights>

        <beaconLights>
            <beaconLight node="beaconLight01" filename="$data/shared/assets/beaconLights/lizard/beaconLight07.xml" />
        </beaconLights>

        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState" node="interiorDecalsLight" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="interiorDecalsLight02" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="interiorDecalsLight03" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="worklightBackDecal" intensity="0.1" lightTypes="1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="worklightFrontDecal" intensity="0.1" lightTypes="2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="defaultLightDecal" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="beaconLight" node="beaconLightDecal" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightHazard" node="hazardLightDecal" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </lights>

    <licensePlates>
        <licensePlate node="licensePlateFront" position="FRONT" preferedType="SQUARISH"  placementArea="0.15 0.18 0.15 0.18" />
        <licensePlate node="licensePlateBack"  position="BACK"  preferedType="ELONGATED" placementArea="0.05 0.26 0.06 0.26" />
    </licensePlates>

    <drivable>
        <steeringWheel node="steeringWheel" indoorRotation="540" outdoorRotation="20" />

        <dashboards>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="gasPedal"   minRot="0 0 0" maxRot="0 13 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedal" minRot="0 0 0" maxRot="0 0 -13" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="24" fillType="diesel" />   <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="2.2" wheelIndex1="1" wheelIndex2="2" /> <!-- middle left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4" /> <!-- back left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" differentialIndex1="1" differentialIndex2="2" /> <!-- front-'back' -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="TORION 639" hp="68" price="0">
                <motor torqueScale="0.288" minRpm="850" maxRpm="2200" maxForwardSpeed="23" maxBackwardSpeed="20" brakeForce="2" lowBrakeForceScale="0.5" dampingRateScale="0.3">
                    <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>
                <transmission minForwardGearRatio="36" maxForwardGearRatio="300" minBackwardGearRatio="41" maxBackwardGearRatio="250" name="$l10n_info_transmission_cvt"/>
            </motorConfiguration>
        </motorConfigurations>

        <exhaustEffects>
            <exhaustEffect node="exhaustParticle1" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" />
        </exhaustEffects>

        <motorStartDuration>3700</motorStartDuration>

        <dashboards>
            <dashboard displayType="NUMBER" valueType="rpm"   numbers="numbersRpm"    precision="0" numberColor="0.9 0.9 0.9 1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="NUMBER" valueType="speed" numbers="numbersSpeed"  precision="1" numberColor="0.9 0.9 0.9 1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="MULTI_STATE" valueType="ignitionState" node="ignitionKey" doInterpolation="true" groups="MOTOR_ACTIVE">
                <state value="0" rotation="0 0 0"/>
                <state value="1" rotation="0 0 -90"/>
                <state value="2" rotation="0 0 -30"/>
            </dashboard>
        </dashboards>
    </motorized>

    <attacherJoints comboDuration="2">
        <attacherJoint node="attacherJointDummy" jointType="frontloader" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5" >
            <schema position="1 0" rotation="0" invertX="true" />
            <objectChange node="frontloaderAdapter" visibilityActive="true" visibilityInactive="false"/>
        </attacherJoint>
        <attacherJoint node="trailerAttacherJointBack" jointType="trailer" rootNode="torion639_back_component2" lowerRotLimit="25 60 50" allowsJointLimitMovement="false" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
    </attacherJoints>

    <animations>
        <animation name="loadingBarFuel">
            <part node="loadBarFuel"   startTime="0" endTime="1" startRot="0 0 0" endRot="-113 0 0" />
        </animation>
        <animation name="wiperFrontAnimation">
            <part node="wiperArm01" startTime="0.0" endTime="0.5"  startRot="0 0 0" endRot="-10 0 -57" />
            <part node="wiperArm01" startTime="0.5" endTime="1.0"  startRot="-10 0 -57" endRot="0 0 -100" />
            <part node="wiperArm02" startTime="0.0" endTime="0.5"  startRot="0 0 0" endRot="-10 0 -57" />
            <part node="wiperArm02" startTime="0.5" endTime="1.0"  startRot="-10 0 -57" endRot="0 0 -100" />
            <part node="wiper" startTime="0.0" endTime="0.5"  startRot="0 0 0" endRot="-5 0 57" />
            <part node="wiper" startTime="0.5" endTime="1.0"  startRot="-5 0 57" endRot="0 0 100" />

            <sound template="wiper1" startTime="0" endTime="1" direction="1"   volumeScale="1" pitchScale="0.5" fadeOut="0.1" linkNode="wiperArm01"/>
            <sound template="wiper2" startTime="0" endTime="1" direction="-1"  volumeScale="1" pitchScale="0.5" fadeOut="0.1" linkNode="wiperArm01"/>
        </animation>
        <animation name="wiperBackAnimation">
            <part node="wiperBack" startTime="0.0" endTime="0.5"  startRot="0 0 0" endRot="-1 3 -94" />
            <part node="wiperBack" startTime="0.5" endTime="1.0"  startRot="-1 3 -94" endRot="0 0 0" />

            <sound template="wiper1" startTime="0" endTime="0.5" direction="1"   volumeScale="0.6" pitchScale="0.9" fadeOut="0.1" linkNode="wiperBack"/>
            <sound template="wiper2" startTime="0.5" endTime="1" direction="1"   volumeScale="0.6" pitchScale="0.9" fadeOut="0.1" linkNode="wiperBack"/>
            <sound template="wiper1" startTime="0.5" endTime="1" direction="-1"  volumeScale="0.6" pitchScale="0.9" fadeOut="0.1" linkNode="wiperBack"/>
            <sound template="wiper2" startTime="0" endTime="0.5" direction="-1"  volumeScale="0.6" pitchScale="0.9" fadeOut="0.1" linkNode="wiperBack"/>
        </animation>
    </animations>

    <wipers>
        <wiper animName="wiperFrontAnimation" >
            <state animSpeed="0.5" animPause="2.0" />
            <state animSpeed="0.5" animPause="0.0" />
            <state animSpeed="1.0" animPause="0.0" />
        </wiper>
        <wiper animName="wiperBackAnimation" >
            <state animSpeed="0.5" animPause="2.0" />
        </wiper>
    </wipers>

    <cylindered>
        <movingTools>
            <movingTool node="mainArmDummy" delayedNode="mainArm" playSound="false">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.25" iconName="CRANE_ARM2_ROTATE_X" />
                <attacherJoint jointIndices="1" />
                <rotation rotSpeed="25" rotationAxis="1" rotAcceleration="120" rotMax="0" rotMin="-85" startRot="0" />
                <dependentPart node="attacherDummyRot" />
                <dependentMovingTool node="attacherDummy" minRotLimits="-35 -65" maxRotLimits="70 50"/>
            </movingTool>
            <movingTool node="mainArm" playSound="false">
                <dependentPart node="attacherRot" />
                <dependentPart node="mainArmHydraulic" />
                <dependentPart node="secondArmHydraulic" />
                <dependentPart node="attacher" />
                <dependentPart node="attacherHoseHolder" />
                <dependentPart node="attacherPart" />
                <dependentPart node="secondArmPart" />
            </movingTool>
            <movingTool node="attacherDummy" delayedNode="attacher" playSound="false">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.3" iconName="CRANE_ARM2_ROTATE_TOOL" />
                <attacherJoint jointIndices="1" />
                <rotation rotSpeed="65" rotAcceleration="300" rotMax="50" rotMin="-30" startRot="0" />
            </movingTool>
            <movingTool node="attacher" playSound="true">
                <dependentPart node="secondArmPart" />
                <dependentPart node="secondArmHydraulic" />
                <dependentPart node="attacherHoseHolder" />
                <dependentPart node="attacherPart" />
                <dependentPart node="secondArmPart" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="ptoOrientationRot" referencePoint="ptoOrientationRef" referenceFrame="ptoOrientationRef" isActiveDirty="true" scaleZ="true" maxUpdateDistance="40"/>
            <movingPart node="attacherHoseHolder" referenceFrame="mainArm" limitedAxis="1" minRot="-80" maxRot="80"/>
            <movingPart node="steeringHydraulic" referencePoint="steeringHydraulicRef" referenceFrame="steeringHydraulicRef" isActiveDirty="true" maxUpdateDistance="40">
                <translatingPart node="steeringHydraulicPunch"/>
            </movingPart>
            <movingPart node="attacherDummyRot" referenceFrame="torion639_front_component1">
                <attacherJoint jointIndices="1" />
            </movingPart>
            <movingPart node="attacherRot" referenceFrame="torion639_front_component1"/>
            <movingPart node="mainArmHydraulic" referencePoint="mainArmHydraulicRef" referenceFrame="mainArmHydraulicRef">
                <translatingPart node="mainArmHydraulicPunch"/>
            </movingPart>
            <movingPart node="secondArmHydraulic" referencePoint="secondArmHydraulicRef" referenceFrame="secondArmHydraulicRef">
                <translatingPart node="secondArmHydraulicPunch"/>
            </movingPart>
            <movingPart node="attacherPart" referencePoint="attacherPartRef" referenceFrame="attacherPartRefFrame"/>
            <movingPart node="secondArmPart" referencePoint="secondArmPartRef" referenceFrame="secondArmPartRefFrame"/>
        </movingParts>

        <sounds>
            <actionSound template="hydraulicLayerTone2"   pitchScale="1.5" volumeScale="1.2" linkNode="mainArmHydraulic"   actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="mainArmHydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicLayerTone"    pitchScale="0.7" volumeScale="1.2" linkNode="mainArmHydraulic"   actionNames="TRANSLATING_POS" nodes="mainArmHydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicLayerTone2"   pitchScale="2.5" volumeScale="0.4" linkNode="secondArmHydraulic" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="secondArmHydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="defaultHydraulicSound" pitchScale="1.1" volumeScale="0.8" linkNode="secondArmHydraulic" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="secondArmHydraulic" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="metalLowVar2"  pitchScale="1.0" volumeScale="3"   linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.4" linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="metalClose"    pitchScale="2.5" volumeScale="0.2" linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="clackVar6"     pitchScale="1.0" volumeScale="1.0" linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>

            <actionSound template="metalLowVar2"  pitchScale="1.3" volumeScale="2.0"   linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="cylinderPunch" pitchScale="1.8" volumeScale="0.2" linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="metalClose"    pitchScale="2.8" volumeScale="0.1" linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="clackVar6"     pitchScale="1.8" volumeScale="0.5" linkNode="mainArmDummy"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
        </sounds>

        <dashboards>
            <dashboard displayType="ROT" valueType="movingTool" node="frontloaderJoystick02" rotAxis="1" minRot="-15" maxRot="15" axis="AXIS_FRONTLOADER_ARM"  doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="movingTool" node="frontloaderJoystick02" rotAxis="3" minRot="-15" maxRot="15" axis="AXIS_FRONTLOADER_TOOL" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </cylindered>

    <suspensions>
        <suspension node="seat"              weight="150" minTranslation="-0.05 -0.15 0.0" maxTranslation="0.05 0.15 0.0" suspensionParametersX="20 4" suspensionParametersY="5 1" suspensionParametersZ="20 4" />
        <suspension useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1" />
    </suspensions>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="50" >
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="loadingBarFuel" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <ai>
        <agent width="1.9" length="4.7" height="2.8" lengthOffset="-0.05" frontOffset="1.07" />
        <collisionTrigger node="aiCollisionNode" width="2.4" height="2.7"/>
    </ai>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>

    <foliageBending>
        <bendingNode minX="-0.95" maxX="0.95" minZ="0.25" maxZ="1.65" yOffset="0.4" node="front_vis"/>
        <bendingNode minX="-0.95" maxX="0.95" minZ="1" maxZ="-1.7" yOffset="-0.8" node="back_vis"/>
        <bendingNode minX="-0.5" maxX="0.5" minZ="-0.3" maxZ="0" yOffset="0" node="attacher"/>
    </foliageBending>

    <baseMaterial>
        <material name="torion956Sinus_mat" baseNode="back_vis">
            <shaderParameter name="colorMat0" value="CLAAS_DARKGREY2"/>
            <shaderParameter name="colorMat2" value="CLAAS_RED1"/>
            <shaderParameter name="colorMat4" value="CLAAS_GREEN1"/>
            <shaderParameter name="colorMat5" value="CLAAS_WHITE1"/>
        </material>
        <material name="scorpion1033Adapter_mat" baseNode="frontloaderAdapter">
            <shaderParameter name="colorMat0" value="CLAAS_DARKGREY2"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="torion639_front_component1" node="0>" />
        <i3dMapping id="front_vis" node="0>0" />
        <i3dMapping id="wheelFrontLeft" node="0>0|0|0" />
        <i3dMapping id="wheelFrontRight" node="0>0|0|1" />
        <i3dMapping id="turnlightLeftStatic02" node="0>0|1|0|0" />
        <i3dMapping id="frontlightStatic" node="0>0|1|0|1" />
        <i3dMapping id="turnlightRightStatic02" node="0>0|1|0|2" />
        <i3dMapping id="frontLightLow" node="0>0|1|1|0" />
        <i3dMapping id="highBeamLow" node="0>0|1|1|1" />
        <i3dMapping id="frontLightHigh" node="0>0|1|1|2" />
        <i3dMapping id="highBeamHigh" node="0>0|1|1|3" />
        <i3dMapping id="turnLightLeftFront" node="0>0|1|2|0" />
        <i3dMapping id="turnLightRightFront" node="0>0|1|2|1" />
        <i3dMapping id="outdoorCameraTarget" node="0>0|2|0" />
        <i3dMapping id="outdoorCamera1" node="0>0|2|0|0" />
        <i3dMapping id="cameraRaycastNode1" node="0>0|2|1" />
        <i3dMapping id="aiCollisionNode" node="0>0|3|0" />
        <i3dMapping id="mainArmDummy" node="0>0|4|0" />
        <i3dMapping id="attacherDummyRot" node="0>0|4|0|0" />
        <i3dMapping id="attacherDummy" node="0>0|4|0|0|0" />
        <i3dMapping id="attacherJointDummyRot" node="0>0|4|0|0|0|0" />
        <i3dMapping id="attacherJointDummy" node="0>0|4|0|0|0|0|0" />
        <i3dMapping id="mainArm" node="0>0|4|1" />
        <i3dMapping id="secondArmPart" node="0>0|4|1|0" />
        <i3dMapping id="attacherPartRef" node="0>0|4|1|0|0" />
        <i3dMapping id="secondArmHydraulicRef" node="0>0|4|1|0|2" />
        <i3dMapping id="attacherRot" node="0>0|4|1|1" />
        <i3dMapping id="attacher" node="0>0|4|1|1|0" />
        <i3dMapping id="attacherPart" node="0>0|4|1|1|0|0" />
        <i3dMapping id="secondArmPartRef" node="0>0|4|1|1|0|0|0" />
        <i3dMapping id="hydraulic01_in" node="0>0|4|1|1|0|0|2|0" />
        <i3dMapping id="hydraulic01_out" node="0>0|4|1|1|0|0|2|1" />
        <i3dMapping id="hydraulic01_in_cover" node="0>0|4|1|1|0|0|2|2" />
        <i3dMapping id="hydraulic01_out_cover" node="0>0|4|1|1|0|0|2|3" />
        <i3dMapping id="attacherHoseHolder" node="0>0|4|1|1|0|1" />
        <i3dMapping id="attacherPartRefFrame" node="0>0|4|1|1|0|2" />
        <i3dMapping id="attcherJointRot" node="0>0|4|1|1|0|3" />
        <i3dMapping id="attcherJoint" node="0>0|4|1|1|0|3|0" />
        <i3dMapping id="frontloaderAdapter" node="0>0|4|1|1|0|5" />
        <i3dMapping id="mainArmHydraulicRef" node="0>0|4|1|2" />
        <i3dMapping id="attacherRefFrame" node="0>0|4|1|5" />
        <i3dMapping id="secondArmPartRefFrame" node="0>0|4|1|6" />
        <i3dMapping id="mainArmHydraulic" node="0>0|4|2" />
        <i3dMapping id="mainArmHydraulicPunch" node="0>0|4|2|0" />
        <i3dMapping id="secondArmHydraulic" node="0>0|4|3" />
        <i3dMapping id="secondArmHydraulicPunch" node="0>0|4|3|0" />
        <i3dMapping id="steeringHydraulicRef" node="0>0|5|0" />
        <i3dMapping id="ptoOrientationRef" node="0>0|5|1" />
        <i3dMapping id="frontLights_static" node="0>0|6|4|0" />
        <i3dMapping id="componentJoint1" node="0>0|7" />
        <i3dMapping id="torion639_back_component2" node="1>" />
        <i3dMapping id="back_vis" node="1>0" />
        <i3dMapping id="wheelBackLeft" node="1>0|0|0" />
        <i3dMapping id="wheelBackRight" node="1>0|0|1" />
        <i3dMapping id="workingLightCircle_02_06" node="1>0|1|0|0" />
        <i3dMapping id="workingLightCircle_02_05" node="1>0|1|0|1" />
        <i3dMapping id="workingLightCircle_02_04" node="1>0|1|0|2" />
        <i3dMapping id="workingLightCircle_02_03" node="1>0|1|0|3" />
        <i3dMapping id="workingLightCircle_02_02" node="1>0|1|0|4" />
        <i3dMapping id="workingLightCircle_02_01" node="1>0|1|0|5" />
        <i3dMapping id="beaconLight03_01" node="1>0|1|0|6" />
        <i3dMapping id="yellowRectangle_01_02" node="1>0|1|0|7" />
        <i3dMapping id="yellowRectangle_01_01" node="1>0|1|0|8" />
        <i3dMapping id="breakLightStatic" node="1>0|1|1|0" />
        <i3dMapping id="turnLightGlassLeftStatic" node="1>0|1|1|1" />
        <i3dMapping id="turnLightGlassRightStatic" node="1>0|1|1|2" />
        <i3dMapping id="licensePlateLight_static" node="1>0|1|1|3" />
        <i3dMapping id="turnLightLeftBack" node="1>0|1|2|0" />
        <i3dMapping id="turnLightRightBack" node="1>0|1|2|1" />
        <i3dMapping id="workLightFrontLow" node="1>0|1|3|0" />
        <i3dMapping id="workLightBackLow" node="1>0|1|3|1" />
        <i3dMapping id="workLightFrontHigh1" node="1>0|1|3|2" />
        <i3dMapping id="workLightBackHigh1" node="1>0|1|3|3" />
        <i3dMapping id="backLightsHigh1" node="1>0|1|4|0" />
        <i3dMapping id="licensePlateLightHigh" node="1>0|1|4|1" />
        <i3dMapping id="beaconLight01" node="1>0|1|5|0" />
        <i3dMapping id="indoorCamera1" node="1>0|2|0" />
        <i3dMapping id="cameraRaycastNode2" node="1>0|2|1" />
        <i3dMapping id="cameraRaycastNode3" node="1>0|2|2" />
        <i3dMapping id="shadowFocusBox" node="1>0|2|3" />
        <i3dMapping id="exitPoint" node="1>0|3" />
        <i3dMapping id="articulatedAxisAiReverserNode" node="1>0|4" />
        <i3dMapping id="licensePlateFront" node="1>0|5" />
        <i3dMapping id="licensePlateBack" node="1>0|6" />
        <i3dMapping id="steeringHydraulic" node="1>0|7|0" />
        <i3dMapping id="steeringHydraulicPunch" node="1>0|7|0|0" />
        <i3dMapping id="ptoOrientationRot" node="1>0|7|1" />
        <i3dMapping id="ptoOrientation" node="1>0|7|1|0|0" />
        <i3dMapping id="steeringWheel" node="1>0|8|0|0" />
        <i3dMapping id="playerLeftHandTarget" node="1>0|8|0|0|0" />
        <i3dMapping id="seat" node="1>0|8|1" />
        <i3dMapping id="playerSkin" node="1>0|8|1|0" />
        <i3dMapping id="loadBarFuel" node="1>0|8|2|0|0" />
        <i3dMapping id="interiorDecalsLight" node="1>0|8|2|1" />
        <i3dMapping id="hazardLightDecal" node="1>0|8|2|2" />
        <i3dMapping id="worklightFrontDecal" node="1>0|8|2|3" />
        <i3dMapping id="worklightBackDecal" node="1>0|8|2|4" />
        <i3dMapping id="beaconLightDecal" node="1>0|8|2|5" />
        <i3dMapping id="defaultLightDecal" node="1>0|8|2|6" />
        <i3dMapping id="numbersRpm" node="1>0|8|2|7" />
        <i3dMapping id="numbersSpeed" node="1>0|8|2|8" />
        <i3dMapping id="interiorDecalsLight02" node="1>0|8|2|9" />
        <i3dMapping id="interiorDecalsLight03" node="1>0|8|2|10" />
        <i3dMapping id="ignitionKey" node="1>0|8|2|11|0" />
        <i3dMapping id="gasPedal" node="1>0|8|3|0|0" />
        <i3dMapping id="playerRightFootTargetGasRef" node="1>0|8|3|0|0|1" />
        <i3dMapping id="brakePedal" node="1>0|8|3|1|0" />
        <i3dMapping id="playerLeftFootTargetBrakeRef" node="1>0|8|3|1|0|0" />
        <i3dMapping id="playerRightFootTarget" node="1>0|8|4|0" />
        <i3dMapping id="playerLeftFootTarget" node="1>0|8|4|1" />
        <i3dMapping id="playerRightFootTargetGas" node="1>0|8|4|2" />
        <i3dMapping id="playerLeftFootTargetBrake" node="1>0|8|4|3" />
        <i3dMapping id="leftMirror_decal" node="1>0|8|5|0|0" />
        <i3dMapping id="rightMirror_decal" node="1>0|8|5|1|0" />
        <i3dMapping id="interiorMirror_decal" node="1>0|8|5|2" />
        <i3dMapping id="frontloaderJoystick02" node="1>0|8|6" />
        <i3dMapping id="playerRightHandTarget" node="1>0|8|6|1" />
        <i3dMapping id="wiperArm01" node="1>0|8|7|0" />
        <i3dMapping id="wiper" node="1>0|8|7|0|0" />
        <i3dMapping id="wiperArm02" node="1>0|8|7|1" />
        <i3dMapping id="wiperBack" node="1>0|8|7|2" />
        <i3dMapping id="exhaustParticle1" node="1>0|9|0" />
        <i3dMapping id="trailerAttacherJointBack" node="1>0|10|0|0" />
        <i3dMapping id="backElectric" node="1>0|10|1|0" />
    </i3dMappings>
</vehicle>
