﻿<?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>TGS 18.500 4x4</name>
        <specs>
            <power>500</power>
            <maxSpeed>80</maxSpeed>
            <combination xmlFilename="$data/vehicles/demco/sideDump/sideDump.xml"/>
            <combination xmlFilename="$data/vehicles/wilsonTrailer/pacesetter/pacesetter.xml"/>
            <combination xmlFilename="$data/vehicles/lodeKing/distinctionTripleHopper/distinctionTripleHopper.xml"/>
            <combination xmlFilename="$data/vehicles/krampe/sks30_150/sks30_150.xml"/>
            <combination xmlFilename="$data/vehicles/lodeKing/distinctionSuperB/distinctionSuperB.xml"/>
            <combination xmlFilename="$data/vehicles/meridian/conveyAllCST1550/conveyAllCST1550.xml"/>
            <combination xmlFilename="$data/vehicles/lizard/moduleX/moduleX.xml"/>
            <combination xmlFilename="$data/vehicles/kotte/tsa/tsa.xml"/>
            <combination xmlFilename="$data/vehicles/fliegl/timberRunner/timberRunner.xml"/>
            <combination xmlFilename="$data/vehicles/lizard/mks32/mks32.xml"/>
            <combination xmlFilename="$data/vehicles/wilsonTrailer/silverstar/silverstar.xml"/>
            <combination xmlFilename="$data/vehicles/demco/steelDropDeck/steelDropDeck.xml"/>
            <combination xmlFilename="$data/vehicles/lodeKing/renownTriAxleBeavertailLowDrop/renownTriAxleBeavertailLowDrop.xml"/>
            <combination xmlFilename="$data/vehicles/krone/profiLiner/profiLiner.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_truck</function>
        </functions>
        <image>$data/vehicles/man/tgs18500/store_tgs18500.png</image>
        <price>130000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MAN</brand>
        <category>trucks</category>
        <shopTranslationOffset>0 0.022 0</shopTranslationOffset>
        <shopRotationOffset>-0.316 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>4287232</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>776960</indexBufferMemoryUsage>
        <textureMemoryUsage>4718592</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>467580</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_truck</typeDesc>
        <filename>$data/vehicles/man/tgs18500/tgs18500.i3d</filename>
        <sounds filename="$data/vehicles/man/tgs18500/sounds/tgs18500.xml"/>
        <size width="3.5" length="7" lengthOffset="-0.2"/>
        <components>
            <component centerOfMass="0 0.25 0" solverIterationCount="10" mass="3905"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="TRUCK" />
        <mapHotspot type="TRUCK" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels autoRotateBackSpeed="2.1">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/500_60R22_5.xml" configId="truckFront02" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1"  restLoad="2.3" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  mass="1" forcePointRatio="0.4" initialCompression="25" suspTravel="0.15" spring="35" damper="150" yOffset="0.03" frictionScale="1.75" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/500_60R22_5.xml" configId="truckFront02" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1"  restLoad="2.3" repr="axisFrontRight" driveNode="wheelFrontRight" mass="1" forcePointRatio="0.4" initialCompression="25" suspTravel="0.15" spring="35" damper="150" yOffset="0.03" frictionScale="1.75" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/600_50R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0"  restLoad="1.9" repr="wheelBackLeft"  mass="1" forcePointRatio="0.25" initialCompression="5" suspTravel="0.1" spring="200" damper="250" yOffset="0.03" frictionScale="2.4" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/600_50R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0"  restLoad="1.9" repr="wheelBackRight" mass="1" forcePointRatio="0.25" initialCompression="5" suspTravel="0.1" spring="200" damper="250" yOffset="0.03" frictionScale="2.4" />
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="1000" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT2">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinForestry428SB/600_50R22_5.xml" configId="truckFront02">
                        <physics yOffset="0.019"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinForestry428SB/600_50R22_5.xml" configId="truckFront02">
                        <physics yOffset="0.019"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinForestry428SB/710_40R22_5.xml"/>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinForestry428SB/710_40R22_5.xml"/>
                </wheels>
                <objectChange node="wheelBackLeft"  translationActive="0.91 0.525 -2.192" />
                <objectChange node="wheelBackRight" translationActive="-0.91 0.525 -2.192" />
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="1000" brand="CONTINENTAL" saveId="CONTINENTAL_BROAD">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/continental/offRoadHCS/445_65R22_5.xml" configId="man">
                        <physics yOffset="0.007"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/offRoadHCS/445_65R22_5.xml" configId="man">
                        <physics yOffset="0.007"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/offRoadHCS/445_65R22_5.xml">
                        <physics yOffset="0.018"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/offRoadHCS/445_65R22_5.xml">
                        <physics yOffset="0.018"/>
                    </wheel>
                </wheels>
                <objectChange node="wheelFrontLeft"  translationActive="0.18 0 0" />
                <objectChange node="wheelFrontRight" translationActive="-0.18 0 0" />
                <objectChange node="wheelBackLeft"   translationActive="0.95 0.525 -2.192" scaleActive="1.3 1 1"/>
                <objectChange node="wheelBackRight"  translationActive="-0.95 0.525 -2.192" scaleActive="1.3 1 1"/>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="1000" brand="BKT" saveId="BKT_BROAD">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/500_60R22_5.xml" configId="truckFront02">
                        <physics yOffset="0.017"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/500_60R22_5.xml" configId="truckFront02">
                        <physics yOffset="0.017"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/600_50R22_5.xml"/>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/600_50R22_5.xml"/>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="35" rotMax="30" rotCenterWheel1="3" rotCenterWheel2="4" />
        </ackermannSteeringConfigurations>

        <hubs>
            <color0>SHARED_DA_METAL_BLACK</color0>
            <color1>SHARED_GREY1</color1>
            <hub linkNode="wheelBackLeft"   filename="$data/shared/wheels/hubs/hub_n10_13.xml" isLeft="true"  scale="0.22 0.35 0.35" />
            <hub linkNode="wheelBackRight"  filename="$data/shared/wheels/hubs/hub_n10_13.xml" isLeft="false" scale="0.22 0.35 0.35" />
        </hubs>
    </wheels>

    <rimColorConfigurations useDefaultColors="true" price="300" >
        <rimColorConfiguration name="$l10n_ui_colorBeige"  color="MAN_BEIGECLASSIC" />
        <rimColorConfiguration name="$l10n_ui_colorChrome" color="SHARED_WHITE2" uiColor="SHARED_GREY2" material="3" price="5000"/>
    </rimColorConfigurations>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="wheelChock01" filename="$data/shared/assets/wheelChocks/wheelChock01.i3d"/>
    </dynamicallyLoadedParts>

    <lights>
        <sharedLight linkNode="workingLightSquare_01" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLight08.xml" >
            <rotationNode name="rotationNode1" rotation="10 0 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightSquare_02" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLight08.xml" >
            <rotationNode name="rotationNode1" rotation="10 0 0" />
        </sharedLight>
        <sharedLight linkNode="frontLightCone_01_01" filename="$data/shared/assets/lights/lizard/frontLight02.xml" />
        <sharedLight linkNode="frontLightCone_01_02" filename="$data/shared/assets/lights/lizard/frontLight02.xml" />

        <sharedLight linkNode="workingLightOval_02_01" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight04.xml" >
            <rotationNode name="rotationNode1" rotation="10 0 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightOval_02_02" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight04.xml" >
            <rotationNode name="rotationNode1" rotation="10 0 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightOval_02_03" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight04.xml" >
            <rotationNode name="rotationNode1" rotation="30 0 0" />
        </sharedLight>
        <sharedLight linkNode="workingLightOval_02_04" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight04.xml" >
            <rotationNode name="rotationNode1" rotation="30 0 0" />
        </sharedLight>

        <sharedLight linkNode="yellowRound_02" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="yellowRound_03" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="yellowRound_04" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="yellowRound_05" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />

        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
        </states>

        <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" />
                <turnLightRight node="turnLightRightFront" />
                <reverseLight node="reverseLightHigh1" />
                <interiorLight node="interiorScreenLight"/>
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStatic"      lightTypes="0" intensity="20" />
            <defaultLight shaderNode="frontlightGlassStatic" lightTypes="0" intensity="0.01" />
            <defaultLight shaderNode="frontlightStatic01"    lightTypes="0"/>
            <defaultLight shaderNode="frontlightStatic02"    lightTypes="0"/>
            <defaultLight shaderNode="backlightStatic"       lightTypes="0" intensity="20" />
            <defaultLight shaderNode="backlightGlassStatic"  lightTypes="0" intensity="0.03" />
            <defaultLight shaderNode="worklight02Static"     lightTypes="2"/>
            <defaultLight shaderNode="highbeamStatic"        lightTypes="3"/>
        </defaultLights>

        <turnLights>
            <turnLightLeft shaderNode="turnlightLeftStatic" />
            <turnLightLeft shaderNode="turnlightLeft2Static" />
            <turnLightRight shaderNode="turnlightRightStatic" />
            <turnLightRight shaderNode="turnlightRight2Static" />
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="brakelightstatic" />
            <brakeLight shaderNode="backlightStatic" />
        </brakeLights>

        <reverseLights>
            <reverseLight shaderNode="reverselightStatic" />
        </reverseLights>

        <beaconLights>
            <beaconLight node="beaconLightLeft" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml" />
            <beaconLight node="beaconLightRight" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml" />
        </beaconLights>

        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState"      node="decalsIntLightUp" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="steeringWheel_decals" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="dashboardGaugesDecal" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="rpmNeedle" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="tempNeedle" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="speedNeedle" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="needlesInterior" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState"      node="fuelNeedle" intensity="0.1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightLeft"   node="turnlightLeftDecal"  baseColor="BLACK" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightRight"  node="turnlightRightDecal" baseColor="BLACK" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightHazard" node="iconHazard_decals" intensity="0.1" emitColor="RED" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT"     valueType="turnLight"       node="leverTurnlight" minRot="0 10 0" maxRot="0 -10 0" doInterpolation="true" />

        </dashboards>
    </lights>

    <licensePlates defaultPlacement="BOTH">
        <licensePlate node="licensePlateFront" position="FRONT" preferedType="ELONGATED" placementArea="0.1 0.3 0.08 0.3"/>
        <licensePlate node="licensePlateBack"  position="BACK"  preferedType="ELONGATED" placementArea="0.08 0.28 0.15 0.28">
            <objectChange node="logo_decals" visibilityActive="false" visibilityInactive="true" />
        </licensePlate>
    </licensePlates>

    <speedRotatingParts>
        <speedRotatingPart node="pto1" radius="0.1" />
        <speedRotatingPart node="pto2" radius="0.1" />
        <speedRotatingPart node="pto3" radius="0.1" />
        <speedRotatingPart node="pto4" radius="0.1" />
        <speedRotatingPart node="pto5" radius="0.1" />
        <speedRotatingPart node="pto6" radius="0.1" />
        <speedRotatingPart node="pto7" radius="0.1" />
        <speedRotatingPart node="pto8" radius="0.1" />
    </speedRotatingParts>

    <connectionHoses>
        <target attacherJointIndices="1" type="airDoubleRed" node="airDoubleStorage02" socket="air_red"/>
        <target attacherJointIndices="1" type="airDoubleYellow" node="airDoubleControl02" socket="air_yellow"/>
        <target attacherJointIndices="1" type="hydraulicIn" node="hydraulic04_in"/>
        <target attacherJointIndices="1" type="hydraulicOut" node="hydraulic04_out"/>
        <target attacherJointIndices="2 3" type="hydraulicIn" node="hydraulic02_in"/>
        <target attacherJointIndices="2 3" type="hydraulicOut" node="hydraulic02_out"/>
        <target attacherJointIndices="2 3" type="hydraulicIn" node="hydraulic03_in"/>
        <target attacherJointIndices="2 3" type="hydraulicOut" node="hydraulic03_out"/>
        <target attacherJointIndices="2 3" type="electric" node="backElectric" socket="electric"/>
        <target attacherJointIndices="1"   type="electric" node="semiElectric" socket="electric"/>
        <target attacherJointIndices="2 3" type="airDoubleRed" node="airDoubleStorage"/>
        <target attacherJointIndices="2 3" type="airDoubleYellow" node="airDoubleControl"/>
    </connectionHoses>

    <enterable isTabbable="true" >
        <enterReferenceNode node="tgs18500_main_component1" />
        <exitPoint node="exitPoint" />

        <cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="40" translation="0 0 9" rotation="-20 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" positionSmoothingParameter="0.4" shadowFocusBox="shadowFocusBox" suspensionNodeIndex="2"/>
        </cameras>

        <characterNode node="playerSkin" cameraMinDistance="0.5" spineRotation="-90 0 90" >
            <target ikChain="rightFoot" targetNode="playerRightFootTargetGas" />
            <target ikChain="leftFoot"  targetNode="playerLeftFootTarget" />
            <target ikChain="rightArm"  targetNode="playerRightHandTarget" />
            <target ikChain="leftArm"   targetNode="playerLeftHandTarget" />
        </characterNode>

        <characterTargetNodeModifier node="playerRightFootTargetGas" transitionTime="0.1">
            <state node="playerRightFootTargetGas"   referenceNode="gasPedal" directionReferenceNode="playerRightFootTargetGasRef"/>
            <state node="playerRightFootTargetBrake"   referenceNode="brakePedal" directionReferenceNode="playerRightFootTargetBrakeRef"/>
        </characterTargetNodeModifier>

        <passengerSeats>
            <passengerSeat node="passengerSeat01" exitPoint="passengerSeat01ExitPoint" outdoorCameraIndex="1">
                <camera node="passengerSeat01Camera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0" shadowFocusBox="shadowFocusBox"/>
                <characterNode node="passengerSeat01PlayerSkin" cameraMinDistance="0.5" spineRotation="-90 0 90">
                    <target ikChain="leftArm"   targetNode="passengerSeat01PlayerLeftHand" poseId="flatFingers"/>
                    <target ikChain="rightArm"  targetNode="passengerSeat01PlayerRightHand" poseId="flatFingers"/>
                    <target ikChain="leftFoot"  targetNode="passengerSeat01PlayerLeftFoot" />
                    <target ikChain="rightFoot" targetNode="passengerSeat01PlayerRightFoot" />
                </characterNode>
            </passengerSeat>
        </passengerSeats>

        <mirrors>
            <mirror node="mirrorSmallLeftDecal" prio="1" />
            <mirror node="mirrorSmallRightDecal" prio="1" />
            <mirror node="mirrorSmallFrontDecal" prio="2" />
            <mirror node="mirrorSmallSideDownDecal" prio="2" />
        </mirrors>
    </enterable>

    <motorized statsType="truck">
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="150" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="20" fillType="def" /> <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="3" usage="300" 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" /> <!-- front 1-2 -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.7" wheelIndex1="3" wheelIndex2="4" /> <!-- back 3-4 -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="1" differentialIndex2="2" /> <!-- front-back -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="TGS 18.500 4x4" hp="500" price="0">
                <motor torqueScale="2.394" minRpm="850" maxRpm="2200" maxForwardSpeed="83" maxBackwardSpeed="15" brakeForce="7" lowBrakeForceScale="0.22" rotInertia="0.004788">
                    <torque rpm="850" torque="0.9"/>
                    <torque rpm="1000" torque="1"/>
                    <torque rpm="1450" torque="1"/>
                    <torque rpm="1900" torque="0.75"/>
                    <torque rpm="2200" torque="0.63"/>
                    <torque rpm="2500" torque="0.2"/>
                </motor>

                <transmission autoGearChangeTime="0.2" gearChangeTime="0.1" axleRatio="10" startGearThreshold="1.0" name="$l10n_info_transmission_manual">
                    <directionChange useGear="true" useGroup="false" changeTime="0.5"/>

                    <forwardGear gearRatio="12.92" actionName="SHIFT_GEAR_SELECT_1"/>
                    <forwardGear gearRatio="9.98" actionName="-"/>
                    <forwardGear gearRatio="7.69" actionName="SHIFT_GEAR_SELECT_2"/>
                    <forwardGear gearRatio="5.94" actionName="-"/>
                    <forwardGear gearRatio="4.57" actionName="SHIFT_GEAR_SELECT_3"/>
                    <forwardGear gearRatio="3.53" actionName="-"/>
                    <forwardGear gearRatio="2.83" actionName="SHIFT_GEAR_SELECT_4"/>
                    <forwardGear gearRatio="2.19" actionName="-"/>
                    <forwardGear gearRatio="1.68" actionName="SHIFT_GEAR_SELECT_5"/>
                    <forwardGear gearRatio="1.30" actionName="SHIFT_GEAR_SELECT_6"/>
                    <forwardGear gearRatio="1.00" actionName="SHIFT_GEAR_SELECT_7"/>
                    <forwardGear gearRatio="0.77" actionName="SHIFT_GEAR_SELECT_8"/>
                    <backwardGear gearRatio="12.03" name="R1"/>
                    <backwardGear gearRatio="9.29" name="R2"/>
                    <backwardGear gearRatio="6.64" name="R3"/>
                    <backwardGear gearRatio="4.04" name="R4"/>
                </transmission>
            </motorConfiguration>
        </motorConfigurations>

        <motorStartDuration>3300</motorStartDuration>

        <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>

        <dashboards>
            <dashboard displayType="ANIMATION" valueType="speed"            animName="speedDisplay"  minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="tempDisplay"  minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="rpm"              animName="rpmDisplay"  minValueAnim="500" maxValueAnim="3000" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="TEXT"      valueType="gear"             node="gearDisplay" textMask="00" textSize="0.008" textAlignment="LEFT" font="GENERIC" 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="360" outdoorRotation="25" />

        <dashboards>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedal" minRot="0 0 0" maxRot="-15 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="gasPedal" minRot="0 0 0" maxRot="-15 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="400">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" showOnInfoHud="false" fillTypes="def" capacity="60"/>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" showOnInfoHud="false" fillTypes="air" capacity="4000"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <attacherJoints comboDuration="2">
        <attacherJointConfigurations>
            <attacherJointConfiguration>
                <attacherJoint node="semitrailerAttacherJoint" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0.8 125 15">
                    <schema position="1 0" rotation="0" invertX="false" />
                    <visuals hide="trailerAttacherNode"/>
                </attacherJoint>
                <attacherJoint node="trailerAttacherJointBack" jointType="trailer" lowerRotLimit="25 65 50" allowsJointLimitMovement="false" comboTime="1">
                    <distanceToGround lower="0.57" upper="1.03" />
                    <transNode node="trailerAttacherNode" minY="0.523" maxY="0.98" height="0.25"/>
                    <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="1.01" />
                    <transNode node="trailerLowNode" minY="0.474" maxY="0.974" />
                    <schema position="1 0" rotation="0" invertX="false" />
                    <visuals nodes="trailerLowNode" hide="trailerAttacherNode"/>
                    <steeringBars leftNode="trailerSteeringLeftRef" rightNode="trailerSteeringRightRef" />
                </attacherJoint>
                <attacherJoint node="trailerAttacherJointFront" jointType="trailer" lowerRotLimit="25 55 50" lowerTransLimit="0 0 0" allowsJointLimitMovement="false" comboTime="0">
                    <schema position="1 0" rotation="0" invertX="true" />
                    <objectChange node="licensePlateFront" visibilityActive="false" visibilityInactive="true"/>
                </attacherJoint>
            </attacherJointConfiguration>
        </attacherJointConfigurations>
    </attacherJoints>

    <powerTakeOffs>
        <output attacherJointIndices="2 3" outputNode="ptoBack" />
    </powerTakeOffs>

    <animations>
        <animation name="tempDisplay">
            <part node="tempNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -50" />
        </animation>
        <animation name="fuelDisplay">
            <part node="fuelNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -50" />
        </animation>
        <animation name="rpmDisplay">
            <part node="rpmNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -197" />
        </animation>
        <animation name="speedDisplay">
            <part node="speedNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -216" />
        </animation>
        <animation name="wiperFrontAnimation">
            <part node="wiperFront01" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -12 -90"/>
            <part node="wiperFront01" startTime="1" endTime="2" startRot="0 -12 -90" endRot="0 0 0"/>
            <part node="wiperFront02" startTime="0" endTime="1" startRot="0 1.5 0" endRot="0 3 -90"/>
            <part node="wiperFront02" startTime="1" endTime="2" startRot="0 3 -90" endRot="0 1.5 0"/>

            <sound template="wiper1" startTime="0" endTime="1" direction="1"   volumeScale="1.2" pitchScale="0.7" fadeOut="0.1" linkNode="wiperFront01" />
            <sound template="wiper2" startTime="1" endTime="2" direction="1"   volumeScale="1.2" pitchScale="0.7" fadeOut="0.1" linkNode="wiperFront01" />
            <sound template="wiper1" startTime="1" endTime="2" direction="-1"  volumeScale="1.2" pitchScale="0.7" fadeOut="0.1" linkNode="wiperFront01" />
            <sound template="wiper2" startTime="0" endTime="1" direction="-1"  volumeScale="1.2" pitchScale="0.7" fadeOut="0.1" linkNode="wiperFront01" />
        </animation>
    </animations>

    <wipers>
        <wiper animName="wiperFrontAnimation" >
            <state animSpeed="0.75" animPause="2.0" />
            <state animSpeed="0.75" animPause="0.0" />
            <state animSpeed="1.10" animPause="0.0" />
        </wiper>
    </wipers>

    <cylindered>
        <movingParts>
            <movingPart node="steeringBar" referencePoint="steeringBarRef" referenceFrame="steeringBarRef" isActiveDirty="true" maxUpdateDistance="40"/>
        </movingParts>
    </cylindered>

    <suspensions>
        <suspension node="cabin"             weight="400" minRotation="-6 0 -6" maxRotation="6 0 6" suspensionParametersX="120 10" suspensionParametersZ="120 10" />
        <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>

    <ai>
        <agent width="2.65" length="6.65" height="3.55" lengthOffset="2.15" frontOffset="3.915" />
        <collisionTrigger node="aiCollisionNode" width="3.1" height="3.5"/>
    </ai>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
        <default>
            <dashboard displayType="EMITTER" node="dashboardDisplayDecal" idleValue="-1" intensity="0.3" groups="MOTOR_ACTIVE" />
        </default>
    </dashboard>

    <foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-3.15" maxZ="3.1" yOffset="0.5" />
        <bendingNode minX="-0.3" maxX="0.3" minZ="-3.5" maxZ="-3.05" yOffset="0.4" />
    </foliageBending>

    <baseMaterial>
        <material name="tgs18500_mat" baseNode="tgs_vis">
            <shaderParameter name="colorMat0" value="MAN_OLDGREEN"/>
            <shaderParameter name="colorMat2" value="MAN_BLUE6"/>
        </material>
        <material name="additionalParts_mat" baseNode="additionalParts">
            <shaderParameter name="colorMat0" value="MAN_OLDGREEN"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="3000" useDefaultColors="true" defaultColorIndex="0">
        <baseMaterialConfiguration color="MAN_OLDGREEN" name="$l10n_ui_colorGreen"/>
        <material name="tgs18500_mat" shaderParameter="colorMat0" />
        <material name="additionalParts_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="tgs18500_main_component1" node="0>" />
        <i3dMapping id="axisFrontLeft" node="0>0|0|0|0" />
        <i3dMapping id="wheelFrontLeft" node="0>0|0|0|0|0|0" />
        <i3dMapping id="steeringBarRef" node="0>0|0|0|0|1" />
        <i3dMapping id="axisFrontRight" node="0>0|0|1|0" />
        <i3dMapping id="wheelFrontRight" node="0>0|0|1|0|0|0" />
        <i3dMapping id="steeringBar" node="0>0|0|1|0|1" />
        <i3dMapping id="wheelBackLeft" node="0>0|0|2" />
        <i3dMapping id="wheelBackRight" node="0>0|0|3" />
        <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="yellowRound_02" node="0>0|2|0|0" />
        <i3dMapping id="yellowRound_03" node="0>0|2|0|1" />
        <i3dMapping id="yellowRound_04" node="0>0|2|0|2" />
        <i3dMapping id="yellowRound_05" node="0>0|2|0|3" />
        <i3dMapping id="frontlightStatic" node="0>0|2|1|0" />
        <i3dMapping id="highbeamStatic" node="0>0|2|1|1" />
        <i3dMapping id="backlightGlassStatic" node="0>0|2|1|2" />
        <i3dMapping id="frontlightGlassStatic" node="0>0|2|1|3" />
        <i3dMapping id="backlightStatic" node="0>0|2|1|4" />
        <i3dMapping id="brakelightstatic" node="0>0|2|1|5" />
        <i3dMapping id="turnlightLeftStatic" node="0>0|2|1|6" />
        <i3dMapping id="turnlightRightStatic" node="0>0|2|1|7" />
        <i3dMapping id="reverselightStatic" node="0>0|2|1|8" />
        <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="backLightsHigh1" node="0>0|2|3|0" />
        <i3dMapping id="workLightFrontLow" node="0>0|2|4|0" />
        <i3dMapping id="workLightBackLow" node="0>0|2|4|1" />
        <i3dMapping id="workLightFrontHigh1" node="0>0|2|4|2" />
        <i3dMapping id="workLightBackHigh1" node="0>0|2|4|3" />
        <i3dMapping id="turnLightLeftFront" node="0>0|2|5|0" />
        <i3dMapping id="turnLightRightFront" node="0>0|2|5|1" />
        <i3dMapping id="reverseLightHigh1" node="0>0|2|6|0" />
        <i3dMapping id="exitPoint" node="0>0|3" />
        <i3dMapping id="exhaustParticle" node="0>0|4" />
        <i3dMapping id="semitrailerAttacherJoint" node="0>0|5|0" />
        <i3dMapping id="trailerLowNode" node="0>0|5|1" />
        <i3dMapping id="trailerAttacherJointBackLow" node="0>0|5|1|0" />
        <i3dMapping id="trailerSteeringLeftRef" node="0>0|5|1|1" />
        <i3dMapping id="trailerSteeringRightRef" node="0>0|5|1|2" />
        <i3dMapping id="trailerAttacherNode" node="0>0|5|2" />
        <i3dMapping id="trailerAttacherJointBack" node="0>0|5|2|0" />
        <i3dMapping id="trailerAttacherJointFront" node="0>0|5|3" />
        <i3dMapping id="ptoBack" node="0>0|5|4" />
        <i3dMapping id="wheelChock01" node="0>0|5|5" />
        <i3dMapping id="airDoubleStorage" node="0>0|5|6|0" />
        <i3dMapping id="airDoubleControl" node="0>0|5|6|1" />
        <i3dMapping id="backElectric" node="0>0|5|6|2" />
        <i3dMapping id="semiElectric" node="0>0|5|6|3" />
        <i3dMapping id="hydraulic03_out" node="0>0|5|6|4" />
        <i3dMapping id="hydraulic03_in" node="0>0|5|6|5" />
        <i3dMapping id="hydraulic02_out" node="0>0|5|6|6" />
        <i3dMapping id="hydraulic02_in" node="0>0|5|6|7" />
        <i3dMapping id="airDoubleControl02" node="0>0|5|6|8" />
        <i3dMapping id="airDoubleStorage02" node="0>0|5|6|9" />
        <i3dMapping id="hydraulic04_in" node="0>0|5|6|10" />
        <i3dMapping id="hydraulic04_out" node="0>0|5|6|11" />
        <i3dMapping id="cabin" node="0>0|6|0" />
        <i3dMapping id="seat" node="0>0|6|0|0" />
        <i3dMapping id="playerSkin" node="0>0|6|0|0|0" />
        <i3dMapping id="playerTargets" node="0>0|6|0|1" />
        <i3dMapping id="playerRightFootTargetGas" node="0>0|6|0|1|0" />
        <i3dMapping id="playerRightFootTargetBrake" node="0>0|6|0|1|1" />
        <i3dMapping id="playerLeftFootTarget" node="0>0|6|0|1|2" />
        <i3dMapping id="playerRightFootTarget" node="0>0|6|0|1|3" />
        <i3dMapping id="steeringWheel" node="0>0|6|0|2|0" />
        <i3dMapping id="playerRightHandTarget" node="0>0|6|0|2|0|0" />
        <i3dMapping id="playerLeftHandTarget" node="0>0|6|0|2|0|1" />
        <i3dMapping id="steeringWheel_decals" node="0>0|6|0|2|0|2" />
        <i3dMapping id="frontLightCone_01_01" node="0>0|6|0|3|0|0" />
        <i3dMapping id="frontLightCone_01_02" node="0>0|6|0|3|0|1" />
        <i3dMapping id="workingLightSquare_01" node="0>0|6|0|3|0|2" />
        <i3dMapping id="workingLightSquare_02" node="0>0|6|0|3|0|3" />
        <i3dMapping id="beaconLightLeft" node="0>0|6|0|3|0|4" />
        <i3dMapping id="beaconLightRight" node="0>0|6|0|3|0|5" />
        <i3dMapping id="workingLightOval_02_01" node="0>0|6|0|3|0|6" />
        <i3dMapping id="workingLightOval_02_02" node="0>0|6|0|3|0|7" />
        <i3dMapping id="workingLightOval_02_03" node="0>0|6|0|3|0|8" />
        <i3dMapping id="workingLightOval_02_04" node="0>0|6|0|3|0|9" />
        <i3dMapping id="turnlightRight2Static" node="0>0|6|0|3|1|0" />
        <i3dMapping id="turnlightLeft2Static" node="0>0|6|0|3|1|1" />
        <i3dMapping id="worklight02Static" node="0>0|6|0|3|1|2" />
        <i3dMapping id="frontlightStatic01" node="0>0|6|0|3|1|3" />
        <i3dMapping id="frontlightStatic02" node="0>0|6|0|3|1|4" />
        <i3dMapping id="gasPedal" node="0>0|6|0|4|0" />
        <i3dMapping id="playerRightFootTargetGasRef" node="0>0|6|0|4|0|0" />
        <i3dMapping id="brakePedal" node="0>0|6|0|4|1" />
        <i3dMapping id="playerRightFootTargetBrakeRef" node="0>0|6|0|4|1|0" />
        <i3dMapping id="tempNeedle" node="0>0|6|0|5|0|0" />
        <i3dMapping id="rpmNeedle" node="0>0|6|0|5|1|0" />
        <i3dMapping id="speedNeedle" node="0>0|6|0|5|2|0" />
        <i3dMapping id="fuelNeedle" node="0>0|6|0|5|3|0" />
        <i3dMapping id="needlesInterior" node="0>0|6|0|5|4" />
        <i3dMapping id="turnlightLeftDecal" node="0>0|6|0|5|5" />
        <i3dMapping id="turnlightRightDecal" node="0>0|6|0|5|6" />
        <i3dMapping id="decalsIntLightUp" node="0>0|6|0|5|7" />
        <i3dMapping id="dashboardGaugesDecal" node="0>0|6|0|5|8" />
        <i3dMapping id="dashboardDisplayDecal" node="0>0|6|0|5|9" />
        <i3dMapping id="interiorScreenLight" node="0>0|6|0|5|10" />
        <i3dMapping id="gearDisplay" node="0>0|6|0|5|11" />
        <i3dMapping id="ignitionKey" node="0>0|6|0|5|12|0" />
        <i3dMapping id="iconHazard_decals" node="0>0|6|0|5|13" />
        <i3dMapping id="leverTurnlight" node="0>0|6|0|5|14|0" />
        <i3dMapping id="wiperFront01" node="0>0|6|0|6|0" />
        <i3dMapping id="wiperFront02" node="0>0|6|0|6|1|0" />
        <i3dMapping id="mirrorSmallLeftDecal" node="0>0|6|0|7|0" />
        <i3dMapping id="mirrorSmallRightDecal" node="0>0|6|0|7|1" />
        <i3dMapping id="mirrorSmallFrontDecal" node="0>0|6|0|7|2" />
        <i3dMapping id="mirrorSmallSideDownDecal" node="0>0|6|0|7|3" />
        <i3dMapping id="passengerSeat01" node="0>0|6|0|10|0" />
        <i3dMapping id="passengerSeat01Camera" node="0>0|6|0|10|0|0" />
        <i3dMapping id="passengerSeat01PlayerSkin" node="0>0|6|0|10|0|1" />
        <i3dMapping id="passengerSeat01PlayerLeftFoot" node="0>0|6|0|10|0|2" />
        <i3dMapping id="passengerSeat01PlayerRightFoot" node="0>0|6|0|10|0|3" />
        <i3dMapping id="passengerSeat01ExitPoint" node="0>0|6|0|10|0|4" />
        <i3dMapping id="passengerSeat01PlayerLeftHand" node="0>0|6|0|10|0|5" />
        <i3dMapping id="passengerSeat01PlayerRightHand" node="0>0|6|0|10|0|6" />
        <i3dMapping id="pto1" node="0>0|7|0|0" />
        <i3dMapping id="pto2" node="0>0|7|1|0" />
        <i3dMapping id="pto3" node="0>0|7|2" />
        <i3dMapping id="pto4" node="0>0|7|3|0" />
        <i3dMapping id="pto5" node="0>0|7|4" />
        <i3dMapping id="pto6" node="0>0|7|5" />
        <i3dMapping id="pto7" node="0>0|7|6|0" />
        <i3dMapping id="pto8" node="0>0|7|7" />
        <i3dMapping id="licensePlateFront" node="0>0|8|0" />
        <i3dMapping id="licensePlateBack" node="0>0|8|1" />
        <i3dMapping id="logo_decals" node="0>0|8|2" />
        <i3dMapping id="aiCollisionNode" node="0>0|9|0" />
        <i3dMapping id="additionalParts" node="0>0|10|3" />
        <i3dMapping id="ptoBack_tgs18500RearHith_mat_tgs18500RearHith_mat" node="0>0|10|5" />
        <i3dMapping id="tgs_vis" node="0>0|10|8|0" />
    </i3dMappings>
</vehicle>
