﻿<?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>MAJOR CL</name>
        <specs>
            <power>75</power>
            <maxSpeed>30</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
        </functions>
        <image>$data/vehicles/zetor/majorCL80/store_majorCL80.png</image>
        <price>42500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ZETOR</brand>
        <category>tractorsS</category>
        <shopTranslationOffset>0 -0.07 0</shopTranslationOffset>
        <shopRotationOffset>0.2 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>5060352</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1367040</indexBufferMemoryUsage>
        <textureMemoryUsage>4325376</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>426973</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tractor</typeDesc>
        <filename>$data/vehicles/zetor/majorCL80/majorCL80.i3d</filename>
        <sounds filename="$data/vehicles/zetor/majorCL80/sounds/majorCL80.xml"/>
        <size width="3" length="4.5" height="2.8" lengthOffset="-0.15"/>
        <components>
            <component centerOfMass="0 0.8 -0.6" solverIterationCount="20" mass="1530" />
            <component centerOfMass="0 0 0"  solverIterationCount="28" mass="1500" />
            <joint component1="1" component2="2" node="frontAxisJoint" rotLimit="0 0 5" rotLimitSpring="0 0 4000" rotLimitDamping="0 0 15" maxRotDriveForce="0 0 7" rotDriveRotation="0 0 0" rotDriveSpring="0 0 15" rotDriveDamping="0 0 15" breakable="false"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="VEHICLE" />
        <mapHotspot type="TRACTOR" />
    </base>

    <designConfigurations title="$l10n_configuration_frontweight">
        <designConfiguration name="$l10n_configuration_valueDefault" params="0">
            <objectChange node="baseWeight" visibilityActive="false" />
            <objectChange node="weightCol" compoundChildActive="false"/>
            <objectChange node="trailerAttacherJointFront" translationActive="0 0 0"/>
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="400" params="300">
            <objectChange node="majorCL80_main_component1" massActive="1830" centerOfMassActive="0 0.8 -0.33"/>
            <objectChange node="baseWeight" visibilityActive="true" />
            <objectChange node="weightCol" compoundChildActive="true"/>
            <objectChange node="trailerAttacherJointFront" translationActive="0.303 0 0"/>
        </designConfiguration>
    </designConfigurations>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels autoRotateBackSpeed="2.3">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/360_70R20.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.0" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  forcePointRatio="0.4" initialCompression="25" suspTravel="0.12" spring="30" damper="25" yOffset="0.02"/>
                        <steering node="steeringBar" nodeMinTransX="0.1" nodeMaxTransX="-0.1"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/360_70R20.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.0" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.4" initialCompression="25" suspTravel="0.12" spring="30" damper="25" yOffset="0.02"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/420_70R30.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.8" repr="wheelBackLeft"  forcePointRatio="0.4" initialCompression="25" suspTravel="0.12" spring="21" damper="25" yOffset="0.02"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/420_70R30.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.8" repr="wheelBackRight" forcePointRatio="0.4" initialCompression="25" suspTravel="0.12" spring="21" damper="25" yOffset="0.02"/>
                    </wheel>
                </wheels>
                <foliageBendingModifier index="1" minX="-1" maxX="1"/>
                <foliageBendingModifier index="2" minX="-1.03" maxX="1.03"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="500" brand="TRELLEBORG" saveId="TRELLEBORG_BROAD">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel/>
                    <wheel/>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/480_70R28.xml">
                        <physics yOffset="0.028"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/480_70R28.xml">
                        <physics yOffset="0.028"/>
                    </wheel>
                </wheels>
                <foliageBendingModifier index="1" minX="-1" maxX="1"/>
                <foliageBendingModifier index="2" minX="-1.05" maxX="1.05"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelNarrow" price="250" brand="TRELLEBORG" saveId="TRELLEBORG_NARROW">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM600/250_85R24.xml" configId="rim1">
                        <physics yOffset="0.018"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM600/250_85R24.xml" configId="rim1">
                        <physics yOffset="0.018"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM600/380_85R30.xml">
                        <physics yOffset="0.024"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM600/380_85R30.xml">
                        <physics yOffset="0.024"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="500" brand="MICHELIN" saveId="MICHELIN_BROAD">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml">
                        <physics yOffset="0.029"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/420_65R20.xml">
                        <physics yOffset="0.029"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/540_65R28.xml">
                        <physics restLoad="0.85" yOffset="0.026"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/multibib/540_65R28.xml">
                        <physics restLoad="0.85" yOffset="0.026"/>
                    </wheel>
                </wheels>
                <foliageBendingModifier index="1" minX="-1.03" maxX="1.03"/>
                <foliageBendingModifier index="2" minX="-1.08" maxX="1.08"/>
                <objectChange node="wheelFrontLeft" translationActive="0.02 0 0" translationInactive="0 0 0"/>
                <objectChange node="wheelFrontRight" translationActive="-0.02 0 0" translationInactive="0 0 0"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="500" brand="MITAS" saveId="MITAS_BROAD">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/mitas/AC70G/375_70R20.xml">
                        <physics yOffset="0.018"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/mitas/AC70G/375_70R20.xml">
                        <physics yOffset="0.018"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/mitas/AC65/540_65R28.xml">
                        <physics yOffset="0.02"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/mitas/AC65/540_65R28.xml">
                        <physics yOffset="0.02"/>
                    </wheel>
                </wheels>
                <foliageBendingModifier index="1" minX="-1.03" maxX="1.03"/>
                <foliageBendingModifier index="2" minX="-1.09" maxX="1.09"/>
                <objectChange node="wheelFrontLeft" translationActive="0.01 0 0" translationInactive="0 0 0"/>
                <objectChange node="wheelFrontRight" translationActive="-0.01 0 0" translationInactive="0 0 0"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="VREDESTEIN" saveId="VREDESTEIN_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion70/360_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion70/360_70R20.xml"/>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion85/420_85R28.xml">
                        <physics yOffset="0.032"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion85/420_85R28.xml">
                        <physics yOffset="0.032"/>
                    </wheel>
                </wheels>
                <foliageBendingModifier index="1" minX="-1" maxX="1"/>
                <foliageBendingModifier index="2" minX="-1.03" maxX="1.03"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="500" brand="VREDESTEIN" saveId="VREDESTEIN_BROAD">
                <wheels baseConfig="VREDESTEIN_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion65/420_65R20.xml">
                        <physics yOffset="0.021"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion65/420_65R20.xml">
                        <physics yOffset="0.021"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion70/480_70R28.xml">
                        <physics yOffset="0.028"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/traxion70/480_70R28.xml">
                        <physics yOffset="0.028"/>
                    </wheel>
                </wheels>
                <foliageBendingModifier index="1" minX="-1" maxX="1"/>
                <foliageBendingModifier index="2" minX="-1.05" maxX="1.05"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelCommunal" price="1000" brand="NOKIAN" saveId="NOKIAN_COMMUNAL">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/nokian/TRI2/360_70R20.xml">
                        <physics yOffset="0.015"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/nokian/TRI2/360_70R20.xml">
                        <physics yOffset="0.015"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/nokian/TRI2/540_65R28.xml">
                        <physics yOffset="0.026"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/nokian/TRI2/540_65R28.xml">
                        <physics yOffset="0.026"/>
                    </wheel>
                </wheels>
                <foliageBendingModifier index="1" minX="-1" maxX="1"/>
                <foliageBendingModifier index="2" minX="-1.09" maxX="1.09"/>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimColor>ZETOR_RED1</rimColor>

        <hubs>
            <color0>SHARED_DA_METAL_BLACK</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="wheelFrontLeft"  filename="$data/shared/wheels/hubs/hub_n8_5.xml" isLeft="true"  scale="0.15 0.25 0.25" offset="0.015"/>
            <hub linkNode="wheelFrontRight" filename="$data/shared/wheels/hubs/hub_n8_5.xml" isLeft="false" scale="0.15 0.25 0.25" offset="0.015"/>
            <hub linkNode="wheelBackLeft"   filename="$data/shared/wheels/hubs/hub_n8_2.xml" isLeft="true"  scale="0.28 0.23 0.23" />
            <hub linkNode="wheelBackRight"  filename="$data/shared/wheels/hubs/hub_n8_2.xml" isLeft="false" scale="0.28 0.23 0.23" />
        </hubs>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="35" rotCenterWheel1="3" rotCenterWheel2="4" />
        </ackermannSteeringConfigurations>
    </wheels>

    <lights>
        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
        </states>

        <sharedLight linkNode="redRound_03"  filename="$data/shared/assets/reflectors/lizard/redRound_03.xml" />
        <sharedLight linkNode="redRound_03"  filename="$data/shared/assets/reflectors/lizard/redRound_03.xml" />
        <sharedLight linkNode="plateNumberLight01"  filename="$data/shared/assets/lights/lizard/plateNumberLight01.xml" />
        <sharedLight linkNode="plateNumberLight02"  filename="$data/shared/assets/lights/lizard/plateNumberLight01.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="licensePlateLightHigh" lightTypes="0"/>
                <light node="backLightsHigh1"       lightTypes="0"/>
                <light node="workLightBackHigh1"    lightTypes="1"/>
                <light node="workLightFrontHigh1"   lightTypes="2"/>
                <light node="highBeamHigh"          lightTypes="3"/>
                <brakeLight node="backLightsHigh1" />
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightRight node="turnLightRightFront" />
                <interiorLight node="interiorScreenLight" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStatic01"        lightTypes="0 3" />
            <defaultLight shaderNode="frontlightStatic02"        lightTypes="0" />
            <defaultLight shaderNode="breakLightsStatic"         lightTypes="0" intensity="45"/>
            <defaultLight shaderNode="rearWorkingLightsStatic"   lightTypes="1" intensity="45" />
            <defaultLight shaderNode="frontWorkingLightsStatic"  lightTypes="2" intensity="45" />
        </defaultLights>

        <turnLights>
            <turnLightLeft  shaderNode="frontTurnLightLeftStatic"/>
            <turnLightRight shaderNode="frontTurnLightRightStatic"/>
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="breakLightsStatic" />
        </brakeLights>

         <beaconLights>
             <beaconLight node="beaconLight03" filename="$data/shared/assets/beaconLights/lizard/beaconLight03.xml" />
         </beaconLights>

        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState"      node="interiorDecalsTranslucent_decal" intensity="0.5" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="lightOn01_decal" baseColor="SHARED_BLACK4" emitColor="GREEN" intensity="0.5" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="worklightFront_decal" intensity="0.5" lightTypes="2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="worklightBack_decal" intensity="0.5" lightTypes="1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="highbeam_decal" baseColor="SHARED_BLACK4" emitColor="BLUE" intensity="0.5" lightTypes="3" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightHazard" node="hazardlight_decal" intensity="0.2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightLeft"   node="turnlightLeft01_decal" baseColor="SHARED_BLACK4" emitColor="GREEN" intensity="0.5" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightRight"  node="turnlightRight01_decal" baseColor="SHARED_BLACK4" emitColor="GREEN" intensity="0.5" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightAny"    node="turnlightFront_decal" baseColor="SHARED_BLACK4" emitColor="GREEN" intensity="0.5" groups="FRONT_ATTACHMENT"/>
            <dashboard displayType="EMITTER" valueType="turnLightAny"    node="turnlightBack_decal" baseColor="SHARED_BLACK4" emitColor="GREEN" intensity="0.5" groups="BACK_ATTACHMENT"/>
            <dashboard displayType="EMITTER" valueType="beaconLight"     node="beaconLight_decal" intensity="0.5" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </lights>

    <licensePlates>
        <licensePlate node="licensePlateFront" position="FRONT" preferedType="SQUARISH" />
        <licensePlate node="licensePlateBack"  position="BACK" preferedType="ELONGATED" placementArea="0.07 0.25 0.07 0.25" />
    </licensePlates>

    <attacherJoints comboDuration="2">
        <attacherJoint node="attacherJointBack" upperRotationOffset="-0.64" lowerRotationOffset="-0.64" moveTime="2.5" comboTime="1">
            <distanceToGround lower="0.25" upper="1.08" />
            <rotationNode node="attacherJointBackRot" lowerRotation="-13 0 0" upperRotation="35 0 0" />
            <rotationNode2 node="attacherJointBackRot2" />
            <bottomArm rotationNode="attacherJointBackArmBottom" translationNode="bottomLink" referenceNode="referencePointBackBottom" zScale="-1" startRotation="-12 0 0" />
            <topArm baseNode="attacherJointBackArmTop" filename="$data/shared/assets/upperLinks/walterscheid02.i3d" zScale="-1" color="SHARED_DA_METAL_BLACK" secondPartUseMainColor="false"/>
            <schema position="1 0" rotation="0" invertX="false" />
            <visuals hide="trailerLowNode trailerAttacherNode"/>
        </attacherJoint>

        <attacherJoint node="trailerAttacherJointBack" jointType="trailer" lowerRotLimit="25 60 50" allowsJointLimitMovement="false" comboTime="1">
            <distanceToGround lower="0.44" upper="0.88" />
            <transNode node="trailerAttacherNode" minY="0.506" maxY="0.945" height="0.25">
                <dependentBottomArm node="attacherJointBackArmBottom" threshold="0.7" rotation="35 0 0"/>
            </transNode>
            <schema position="1 0" rotation="0" invertX="false" />
            <visuals nodes="trailerAttacherNode" hide="trailerLowNode"/>
        </attacherJoint>

        <attacherJoint node="trailerAttacherJointBackLow" jointType="trailerLow" lowerRotLimit="25 65 50" lowerTransLimit="0 0 0" allowsJointLimitMovement="false" comboTime="1">
            <distanceToGround lower="0.50" upper="0.87" />
            <transNode node="trailerLowNode" minY="0.573" maxY="0.94">
                <dependentBottomArm node="attacherJointBackArmBottom" rotation="35 0 0"/>
            </transNode>
            <schema position="1 0" rotation="0" invertX="false" />
            <steeringBars leftNode="trailerSteeringLeftRef" rightNode="trailerSteeringRightRef" />
            <visuals nodes="trailerLowNode" hide="trailerAttacherNode"/>
        </attacherJoint>

        <attacherJoint node="trailerAttacherJointFront" jointType="trailer" lowerRotLimit="25 60 50" lowerTransLimit="0 0 0" allowsJointLimitMovement="false" comboTime="0">
            <schema position="1 0" rotation="0" invertX="true" />
        </attacherJoint>
    </attacherJoints>

    <powerTakeOffs>
        <output attacherJointIndices="1 2 3" outputNode="ptoBack" />
    </powerTakeOffs>

    <enterable isTabbable="true" >
        <enterReferenceNode node="majorCL80_main_component1" />
        <exitPoint node="exitPoint" />

        <cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3" transMax="40" translation="0 0 5.3" rotation="-17.5 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" suspensionNodeIndex="1"/>
        </cameras>

        <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" />
            <target ikChain="leftArm"   targetNode="playerLeftHandTarget" />
        </characterNode>

        <characterTargetNodeModifier node="playerRightFootTarget" transitionTime="0.1" >
            <state node="playerRightFootTargetGas"   referenceNode="pedalGas" directionReferenceNode="playerRightFootTargetGasRef" />
            <state node="playerRightFootTargetBrake" referenceNode="pedalBrake" />
        </characterTargetNodeModifier>

        <characterTargetNodeModifier node="playerLeftFootTarget" transitionTime="0.1" >
            <state node="playerLeftFootTargetClutch"   referenceNode="pedalClutch"  />
        </characterTargetNodeModifier>

        <characterTargetNodeModifier node="playerRightHandTarget" transitionTime="0.05" >
            <state node="playerRightHandTargetGearStick"   referenceNode="gearLever" poseId="wideFingers" />
        </characterTargetNodeModifier>

        <mirrors>
            <mirror node="mirrorDecal01" prio="1" />
            <mirror node="mirrorDecal02" prio="1" />
        </mirrors>

        <dashboards>
            <dashboard displayType="TEXT" valueType="operatingTime" node="numbersOperatingTime" textColor="0 0 0 1" textSize="0.005" textMask="0000000.0h" font="DIGIT" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </enterable>

    <motorized>
      <consumerConfigurations>
          <consumerConfiguration>
              <consumer fillUnitIndex="1" usage="22"  fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
              <consumer fillUnitIndex="2" usage="250" fillType="air" permanentConsumption="false" refillLitersPerSecond="350" refillCapacityPercentage="0.5" /> <!-- usage per second at full brake power -->
          </consumerConfiguration>
      </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="1" wheelIndex2="2" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="3" wheelIndex2="4" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" differentialIndex1="1" differentialIndex2="2" />
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="MAJOR CL 80" hp="75" price="0">
                <motor torqueScale="0.319" minRpm="850" maxRpm="2200" maxForwardSpeed="31" maxBackwardSpeed="20" brakeForce="2.3" lowBrakeForceScale="0.2" dampingRateScale="0.22">
                    <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>

                <!-- 4 gears, 3 groups, mechanical direction change -->
                <transmission autoGearChangeTime="0.5" gearChangeTime="0.4" name="$l10n_info_transmission_manual">
                    <directionChange useGroup="false" changeTime="0"/>
                    <groups type="DEFAULT" changeTime="0.5">
                        <group ratio="0.149"  name="L" />
                        <group ratio="0.377"  name="M" />
                        <group ratio="1.000"  name="H" />
                    </groups>

                    <forwardGear maxSpeed="9.65"  name="1"/>
                    <forwardGear maxSpeed="14.29" name="2"/>
                    <forwardGear maxSpeed="20.91" name="3"/>
                    <forwardGear maxSpeed="35.00" name="4"/>
                </transmission>
            </motorConfiguration>
        </motorConfigurations>

        <gearLevers>
            <gearLever node="gearLever" centerAxis="3" changeTime="0.3" handsOnDelay="0.25">
                <state gear="0" xRot="0" zRot="0" />
                <state gear="1" xRot="4" zRot="-4" />
                <state gear="2" xRot="-4" zRot="-4" />
                <state gear="3" xRot="4" zRot="4" />
                <state gear="4" xRot="-4" zRot="4" />
            </gearLever>
        </gearLevers>

        <exhaustEffects>
            <exhaustEffect node="exhaustParticle" 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>3000</motorStartDuration>

        <dashboards>
            <dashboard displayType="TEXT"        valueType="rpm" node="numbersRpm" textColor="0 0 0 1" textSize="0.007" textMask="0000" font="DIGIT" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="clutchPedal" node="pedalClutch"   minRot="0 0 0" maxRot="-15 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="loadingBarTemperature" minValueAnim="10" maxValueAnim="120" 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>

    <drivable>
        <steeringWheel node="steeringWheel" indoorRotation="540" outdoorRotation="25" />

        <dashboards>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="pedalGas"   minRot="0 0 0" maxRot="-15 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="pedalBrake" minRot="0 0 0" maxRot="-25 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>

    <animations>
        <animation name="wiperFrontAnimation">
            <part node="wiperFront"  startTime="0.0" endTime="0.5" startRot="0 0 0" endRot="-2.181 2.891 52.947" />
            <part node="wiperFront"  startTime="0.5" endTime="1.0" startRot="-2.181 2.891 52.947" endRot="0 0 100" />

            <sound template="wiper1" startTime="0"   endTime="1.0" direction="1"  volumeScale="1.3" pitchScale="0.4" fadeOut="0.1" linkNode="wiperFront"/>
            <sound template="wiper2" startTime="0.0" endTime="1.0" direction="-1" volumeScale="1.3" pitchScale="0.4" fadeOut="0.1" linkNode="wiperFront"/>
        </animation>
        <animation name="wiperBackAnimation">
            <part node="wiperBack"  startTime="0" endTime="1" startRot="0 0 0" endRot="-4.843 0 -120" />

            <sound template="wiper1" startTime="0"   endTime="1.0" direction="1"  volumeScale="0.7" pitchScale="1.0" fadeOut="0.1" linkNode="wiperBack"/>
            <sound template="wiper2" startTime="0"   endTime="1.0" direction="-1" volumeScale="0.7" pitchScale="1.0" fadeOut="0.1" linkNode="wiperBack"/>
         </animation>
        <animation name="loadingBarTemperature">
            <part node="tempNeedle" startTime="0.0" endTime="1.0" startRot="0 0 0" endRot="-80 0 0"/>
        </animation>
        <animation name="loadingBarFuel">
            <part node="fuelNeedle" startTime="0.0" endTime="1.0" startRot="0 0 0" endRot="-80 0 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="attacherJointBackArmBottom">
                <dependentPart node="mainArm" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="steeringBarFrontLeft" referencePoint="steeringBarFrontLeftRef" referenceFrame="steeringBarFrontLeftRef" isActiveDirty="true" maxUpdateDistance="40" scaleZ="true"/>
            <movingPart node="steeringBarFrontRight" referencePoint="steeringBarFrontRightRef" referenceFrame="steeringBarFrontRightRef" isActiveDirty="true" maxUpdateDistance="40" scaleZ="true"/>
            <movingPart node="mainArm" localReferencePoint="mainArmPart" referencePoint="mainArmRef" referenceFrame="mainArmRefFrame" >
                <dependentPart node="mainArmPart" />
            </movingPart>
            <movingPart node="mainArmPart" referencePoint="mainArmRef" referenceFrame="mainArmRef" />
        </movingParts>
    </cylindered>

    <wipers>
        <wiper animName="wiperFrontAnimation" >
            <state animSpeed="0.4" animPause="2.0" />
            <state animSpeed="0.4" animPause="1.0" />
            <state animSpeed="0.7" animPause="0.0" />
        </wiper>
        <wiper animName="wiperBackAnimation" >
            <state animSpeed="1.0" animPause="2.0" />
        </wiper>
    </wipers>

    <connectionHoses>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulicIn01">
            <objectChange node="hydraulicIn01_cover" rotationActive="0 0 -90" rotationInactive="0 0 0"/>
        </target>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="hydraulicOut01">
            <objectChange node="hydraulicOut01_cover" rotationActive="0 0 -90" rotationInactive="0 0 0"/>
        </target>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulicIn02">
            <objectChange node="hydraulicIn02_cover" rotationActive="0 0 -90" rotationInactive="0 0 0"/>
        </target>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="hydraulicOut02">
            <objectChange node="hydraulicOut02_cover" rotationActive="0 0 -90" rotationInactive="0 0 0"/>
        </target>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulicIn03">
            <objectChange node="hydraulicIn03_cover" rotationActive="0 0 -90" rotationInactive="0 0 0"/>
        </target>

        <target attacherJointIndices="1 2 3" type="electric" node="electricBack" socket="electric"/>
        <target attacherJointIndices="1 2 3" type="airDoubleRed" node="airDoubleStorage" socket="air_red"/>
        <target attacherJointIndices="1 2 3" type="airDoubleYellow" node="airDoubleControl" socket="air_yellow"/>
    </connectionHoses>

    <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="80" >
                      <dashboard displayType="ANIMATION" valueType="fillLevel" animName="loadingBarFuel" groups="MOTOR_ACTIVE"/>
                      <dashboard displayType="EMITTER"   valueType="fillLevelWarning" node="warningFuel_decal" emitColor="YELLOW" intensity="0.5" warningThresholdMax="15" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" showOnInfoHud="false" fillTypes="air" capacity="3000" />
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
            <group name="FRONT_ATTACHMENT" attacherJointIndices="1 2 3"/>
            <group name="BACK_ATTACHMENT"  attacherJointIndices="4"/>
        </groups>
        <default>
            <dashboard displayType="EMITTER"    node="dashboardMonitorDisplay01" idleValue="-1" intensity="0.1" groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="displayNumbers_decals" idleValue="-1" intensity="0.1" groups="MOTOR_ACTIVE" />
            <dashboard displayType="VISIBILITY" node="displaySymbols_decals" baseColor="SHARED_BLACK4" emitColor="RED" idleValue="-1" intensity="0.1" groups="MOTOR_ACTIVE" />
            <dashboard displayType="EMITTER"    node="startingRed_decal"     baseColor="SHARED_BLACK4" emitColor="RED" intensity="0.5" groups="MOTOR_STARTING" />
            <dashboard displayType="EMITTER"    node="startingYellow_decal"  baseColor="SHARED_BLACK4" emitColor="ORANGE" intensity="0.5" groups="MOTOR_STARTING" />
        </default>
    </dashboard>

    <ai>
        <agent width="2.08" length="4.4" height="2.75" lengthOffset="1" frontOffset="2.22" />
        <collisionTrigger node="aiCollisionNode" width="2.5" height="2.7"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.95" maxX="0.95" minZ="-0.3" maxZ="1.73" yOffset="0.5" />
        <bendingNode minX="-1.02" maxX="1.02" minZ="-1.77" maxZ="-0.3" yOffset="0.5" />
    </foliageBending>

    <baseMaterial>
        <material name="majorCL80_mat" baseNode="majorCL80_vis">
            <shaderParameter name="colorMat0" value="ZETOR_RED1" material="40"/>
        </material>
        <material name="grid_mat" baseNode="gridShared4">
            <shaderParameter name="colorMat3" value="ZETOR_RED1" material="40"/>
            <shaderParameter name="colorMat4" value="ZETOR_RED1" material="40"/>
            <shaderParameter name="colorMat5" value="ZETOR_RED1" material="40"/>
            <shaderParameter name="colorMat6" value="ZETOR_RED1" material="40"/>
            <shaderParameter name="colorMat7" value="ZETOR_RED1" material="40"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="majorCL80_main_component1" node="0>" />
        <i3dMapping id="wheelBackLeft" node="0>0|0|0" />
        <i3dMapping id="wheelBackRight" node="0>0|0|1" />
        <i3dMapping id="outdoorCameraTarget" node="0>0|1|0" />
        <i3dMapping id="outdoorCamera1" node="0>0|1|0|0" />
        <i3dMapping id="indoorCamera1" node="0>0|1|1" />
        <i3dMapping id="cameraRaycastNode1" node="0>0|1|2" />
        <i3dMapping id="cameraRaycastNode2" node="0>0|1|3" />
        <i3dMapping id="cameraRaycastNode3" node="0>0|1|4" />
        <i3dMapping id="shadowFocusBox" node="0>0|1|5" />
        <i3dMapping id="redRound_03" node="0>0|2|0|0" />
        <i3dMapping id="redRound_04" node="0>0|2|0|1" />
        <i3dMapping id="plateNumberLight01" node="0>0|2|0|2" />
        <i3dMapping id="plateNumberLight02" node="0>0|2|0|3" />
        <i3dMapping id="beaconLight03" node="0>0|2|0|4" />
        <i3dMapping id="frontTurnLightLeftStatic" node="0>0|2|1|0" />
        <i3dMapping id="frontTurnLightRightStatic" node="0>0|2|1|1" />
        <i3dMapping id="breakLightsStatic" node="0>0|2|1|2" />
        <i3dMapping id="rearWorkingLightsStatic" node="0>0|2|1|3" />
        <i3dMapping id="frontWorkingLightsStatic" node="0>0|2|1|4" />
        <i3dMapping id="frontlightStatic01" node="0>0|2|1|5" />
        <i3dMapping id="frontlightStatic02" node="0>0|2|1|6" />
        <i3dMapping id="frontLightLow" node="0>0|2|2|0" />
        <i3dMapping id="highBeamLow" node="0>0|2|2|1" />
        <i3dMapping id="frontLightHigh" node="0>0|2|2|2" />
        <i3dMapping id="highBeamHigh" node="0>0|2|2|3" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|2|2|4" />
        <i3dMapping id="workLightFrontLow" node="0>0|2|3|0" />
        <i3dMapping id="workLightBackLow" node="0>0|2|3|1" />
        <i3dMapping id="workLightFrontHigh1" node="0>0|2|3|2" />
        <i3dMapping id="workLightBackHigh1" node="0>0|2|3|3" />
        <i3dMapping id="backLightsHigh1" node="0>0|2|4|0" />
        <i3dMapping id="turnLightLeftFront" node="0>0|2|5|0" />
        <i3dMapping id="turnLightRightFront" node="0>0|2|5|1" />
        <i3dMapping id="exhaustParticle" node="0>0|3" />
        <i3dMapping id="frontAxisJoint" node="0>0|4" />
        <i3dMapping id="exitPoint" node="0>0|5" />
        <i3dMapping id="attacherJointBackRot" node="0>0|6|0|0" />
        <i3dMapping id="attacherJointBackRot2" node="0>0|6|0|0|0" />
        <i3dMapping id="attacherJointBack" node="0>0|6|0|0|0|0" />
        <i3dMapping id="attacherJointBackArmBottom" node="0>0|6|0|1" />
        <i3dMapping id="bottomLink" node="0>0|6|0|1|0" />
        <i3dMapping id="referencePointBackBottom" node="0>0|6|0|1|0|0" />
        <i3dMapping id="mainArmRef" node="0>0|6|0|1|0|1" />
        <i3dMapping id="attacherJointBackArmTop" node="0>0|6|0|2" />
        <i3dMapping id="trailerAttacherNode" node="0>0|6|1|0" />
        <i3dMapping id="trailerAttacherJointBack" node="0>0|6|1|0|0" />
        <i3dMapping id="trailerLowNode" node="0>0|6|1|1" />
        <i3dMapping id="trailerAttacherJointBackLow" node="0>0|6|1|1|0" />
        <i3dMapping id="trailerSteeringLeftRef" node="0>0|6|1|1|1" />
        <i3dMapping id="trailerSteeringRightRef" node="0>0|6|1|1|2" />
        <i3dMapping id="trailerAttacherJointFront" node="0>0|6|1|2|0" />
        <i3dMapping id="ptoBack" node="0>0|6|2|0" />
        <i3dMapping id="hydraulicIn03_cover" node="0>0|6|3|0|0" />
        <i3dMapping id="hydraulicOut02_cover" node="0>0|6|3|1|0" />
        <i3dMapping id="hydraulicIn02_cover" node="0>0|6|3|2|0" />
        <i3dMapping id="hydraulicOut01_cover" node="0>0|6|3|3|0" />
        <i3dMapping id="hydraulicIn01_cover" node="0>0|6|3|4|0" />
        <i3dMapping id="hydraulicIn03" node="0>0|6|3|5" />
        <i3dMapping id="hydraulicIn02" node="0>0|6|3|6" />
        <i3dMapping id="hydraulicOut01" node="0>0|6|3|7" />
        <i3dMapping id="hydraulicOut02" node="0>0|6|3|8" />
        <i3dMapping id="hydraulicIn01" node="0>0|6|3|9" />
        <i3dMapping id="electricBack" node="0>0|6|3|10" />
        <i3dMapping id="airDoubleStorage" node="0>0|6|3|11" />
        <i3dMapping id="airDoubleControl" node="0>0|6|3|12" />
        <i3dMapping id="seat" node="0>0|7|0" />
        <i3dMapping id="playerSkin" node="0>0|7|0|0" />
        <i3dMapping id="playerRightFootTarget" node="0>0|7|1|0" />
        <i3dMapping id="playerLeftFootTarget" node="0>0|7|1|1" />
        <i3dMapping id="playerRightFootTargetGas" node="0>0|7|1|2" />
        <i3dMapping id="steeringWheel" node="0>0|7|2|0" />
        <i3dMapping id="playerRightHandTarget" node="0>0|7|2|0|0" />
        <i3dMapping id="playerLeftHandTarget" node="0>0|7|2|0|1" />
        <i3dMapping id="mirrorDecal01" node="0>0|7|3|0" />
        <i3dMapping id="mirrorDecal02" node="0>0|7|3|1" />
        <i3dMapping id="dashboardMonitorDisplay01" node="0>0|7|4|0" />
        <i3dMapping id="dashboardDisplay" node="0>0|7|4|1" />
        <i3dMapping id="startingYellow_decal" node="0>0|7|4|2" />
        <i3dMapping id="startingRed_decal" node="0>0|7|4|3" />
        <i3dMapping id="fuelNeedle" node="0>0|7|4|5|0" />
        <i3dMapping id="tempNeedle" node="0>0|7|4|6|0" />
        <i3dMapping id="turnlightLeft01_decal" node="0>0|7|4|7" />
        <i3dMapping id="turnlightRight01_decal" node="0>0|7|4|8" />
        <i3dMapping id="turnlightFront_decal" node="0>0|7|4|9" />
        <i3dMapping id="turnlightBack_decal" node="0>0|7|4|10" />
        <i3dMapping id="lightOn01_decal" node="0>0|7|4|11" />
        <i3dMapping id="hazardlight_decal" node="0>0|7|4|12" />
        <i3dMapping id="worklightBack_decal" node="0>0|7|4|13" />
        <i3dMapping id="worklightFront_decal" node="0>0|7|4|14" />
        <i3dMapping id="highbeam_decal" node="0>0|7|4|15" />
        <i3dMapping id="beaconLight_decal" node="0>0|7|4|16" />
        <i3dMapping id="ignitionKey" node="0>0|7|4|17|0" />
        <i3dMapping id="interiorScreenLight" node="0>0|7|4|19" />
        <i3dMapping id="displayNumbers_decals" node="0>0|7|4|20" />
        <i3dMapping id="displaySymbols_decals" node="0>0|7|4|21" />
        <i3dMapping id="warningFuel_decal" node="0>0|7|4|22" />
        <i3dMapping id="numbersRpm" node="0>0|7|4|23" />
        <i3dMapping id="numbersOperatingTime" node="0>0|7|4|24" />
        <i3dMapping id="gearLever" node="0>0|7|5|0" />
        <i3dMapping id="playerRightHandTargetGearStick" node="0>0|7|5|0|1" />
        <i3dMapping id="pedalClutch" node="0>0|7|5|1" />
        <i3dMapping id="playerLeftFootTargetClutch" node="0>0|7|5|1|0" />
        <i3dMapping id="pedalBrake" node="0>0|7|5|2" />
        <i3dMapping id="interiorDecalsTranslucent_decal1" node="0>0|7|5|2|0" />
        <i3dMapping id="playerRightFootTargetBrake" node="0>0|7|5|2|1" />
        <i3dMapping id="pedalGas" node="0>0|7|5|3" />
        <i3dMapping id="playerRightFootTargetGasRef" node="0>0|7|5|3|0" />
        <i3dMapping id="wiperFront" node="0>0|7|6|0" />
        <i3dMapping id="wiperBack" node="0>0|7|6|1" />
        <i3dMapping id="interiorDecalsTranslucent_decal" node="0>0|7|8|1" />
        <i3dMapping id="mainArmRefFrame" node="0>0|8|0" />
        <i3dMapping id="mainArm" node="0>0|8|0|0" />
        <i3dMapping id="mainArmPart" node="0>0|8|0|0|0" />
        <i3dMapping id="aiCollisionNode" node="0>0|9|0" />
        <i3dMapping id="baseWeight" node="0>0|10|0" />
        <i3dMapping id="weightCol" node="0>0|10|1" />
        <i3dMapping id="licensePlateFront" node="0>0|10|2" />
        <i3dMapping id="licensePlateBack" node="0>0|10|3" />
        <i3dMapping id="gridShared4" node="0>0|11|3|0" />
        <i3dMapping id="majorCL80_vis" node="0>0|11|7|0" />
        <i3dMapping id="axis" node="1>0" />
        <i3dMapping id="axisFrontLeft" node="1>0|0|0" />
        <i3dMapping id="wheelFrontLeft" node="1>0|0|0|0|0" />
        <i3dMapping id="steeringBarFrontLeft" node="1>0|0|0|1" />
        <i3dMapping id="axisFrontRight" node="1>0|1|0" />
        <i3dMapping id="wheelFrontRight" node="1>0|1|0|0|0" />
        <i3dMapping id="steeringBarFrontRight" node="1>0|1|0|1" />
        <i3dMapping id="steeringBar" node="1>0|2" />
        <i3dMapping id="steeringBarFrontLeftRef" node="1>0|2|0" />
        <i3dMapping id="steeringBarFrontRightRef" node="1>0|2|1" />
    </i3dMappings>
</vehicle>
