ï»¿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <de>MAN TGS 18.440</de>
        <en>MAN TGS 18.440</en>
    </name>
    <filename>data/vehicles/steerable/man/man22s.i3d</filename>

    <size width="3.5" length="7"/>

    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="1" restLoad="08.8" repr="0>0|0" forcePointRatio="0.2" driveNode="0>0|0|0|0" radius="0.559" width="0.42" initialCompression="50" suspTravel="0.2" spring="30" damper="20" maxLatStiffness="40" maxLatStiffnessLoad="3" mass="0.4" fenderNode="0>0|0|1" fenderRotMin="-28" hasTyreTracks="true" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="1" restLoad="08.8" repr="0>1|0" forcePointRatio="0.2" driveNode="0>1|0|0|0" radius="0.559" width="0.42" initialCompression="50" suspTravel="0.2" spring="30" damper="20" maxLatStiffness="40" maxLatStiffnessLoad="3" mass="0.4" fenderNode="0>1|0|1" fenderRotMax="28"  hasTyreTracks="true" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="0" restLoad="16.0" repr="0>2"   forcePointRatio="0.3"                       radius="0.559" width="0.84" initialCompression="50" suspTravel="0.1" spring="85" damper="65" maxLatStiffness="60" maxLatStiffnessLoad="3" mass="0.8"                                         hasTyreTracks="true" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="0" restLoad="16.0" repr="0>3"   forcePointRatio="0.3"                       radius="0.559" width="0.84" initialCompression="50" suspTravel="0.1" spring="85" damper="65" maxLatStiffness="60" maxLatStiffnessLoad="3" mass="0.8"                                         hasTyreTracks="true" tyreTrackAtlasIndex="4" tireType="street" />
    </wheels>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="8|0"  linkNode="0>0|0|0|0" filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
        <dynamicallyLoadedPart node="8|1"  linkNode="0>1|0|0|0" filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
        <dynamicallyLoadedPart node="9|1"  linkNode="0>2"       filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
        <dynamicallyLoadedPart node="9|0"  linkNode="0>3"       filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
        <dynamicallyLoadedPart node="10|0" linkNode="0>15"      filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
        <dynamicallyLoadedPart node="0"    linkNode="0>17|2"     filename="$data/vehicles/shared/wheelChock01.i3d" />
    </dynamicallyLoadedParts>

    <ackermannSteering rotSpeed="50" rotMax="47" rotCenterWheel1="2" rotCenterWheel2="3" />

    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
    </differentials>

    <!--motor torqueScale="1.949" minRpm="1000" maxRpm="2200" maxBackwardSpeed="15" brakeForce="10" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="13.5" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130"-->
    <motor torqueScale="2.349" minRpm="1000" maxRpm="2200" maxBackwardSpeed="15" brakeForce="10" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="13.5" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130">
        <torque normRpm="0.45" torque="0.5"/>
        <torque normRpm="0.5" torque="0.6"/>
        <torque normRpm="0.59" torque="0.7"/>
        <torque normRpm="0.72" torque="1"/>
        <torque normRpm="0.86" torque="0.88"/>
        <torque normRpm="1" torque="0.7"/>
    </motor>

    <fuelCapacity>1210</fuelCapacity>
    <fuelUsage>242</fuelUsage>

    <cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="35">
            <raycastNode index="0>6"/>
            <raycastNode index="0>7"/>
            <raycastNode index="0>8"/>
        </camera1>
        <camera2 index="5" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
    </cameras>

    <lights>
        <light realLight="0>14|0|0" decoration="0>14|0|1" lightType="0"/>
    </lights>

    <brakeLights>
        <brakeLight index="0>14|1" />
    </brakeLights>

    <turnSignals>
        <turnSignalLeft index="0>14|2|0" />
        <turnSignalRight index="0>14|2|1" />
    </turnSignals>

    <reverseLights>
        <reverseLight index="0>14|3" />
    </reverseLights>

    <mirrors>
        <mirror index="0>17|0" />
    </mirrors>

    <indoorHud>
        <speed animName="speedDisplay" />
        <rpm animName="rpmDisplay" />
        <fuel animName="fuelDisplay" />
    </indoorHud>

    <enterReferenceNode index="0>"/>
    <exitPoint index="0>9"/>

    <attacherJoints>
        <attacherJoint index="0>11" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="12 175 12" enableCollision="true" />
        <attacherJoint index="0>18" jointType="trailer" maxRotLimit="10 65 65" minRotRotationOffset="0" allowsJointLimitMovement="false" />
    </attacherJoints>

    <movingParts>
        <!-- steering -->
        <movingPart index="0>1|0|1" referencePoint="0>0|0|1" referenceFrame="0>" isActiveDirty="true" playSound="false" scaleZ="true" />
    </movingParts>

    <animations>
        <animation name="speedDisplay">
            <part node="0>17|1|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -154" />
        </animation>
        <animation name="rpmDisplay">
            <part node="0>17|1|1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -175" />
        </animation>
        <animation name="fuelDisplay">
            <part node="0>17|1|2" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -66" />
        </animation>
    </animations>

    <steering index="0>10|0" indoorRotation="360" outdoorRotation="37" />

    <characterNode index="0>12|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.i3d" characterMesh="1" characterGloves="2" characterSkin="0" spineNode="0|0" leftArmIKChainId="leftArm" rightArmIKChainId="rightArm" spineRotation="180 0 100" >
        <ikChains>
            <ikChain id="rightFoot" target="0>12|1" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true" >
                <node index="0|1" />
                <node index="0|1|0"     minRx="0" maxRx="0" minRy="-30" maxRy="30" minRz="0"   maxRz="90" />
                <node index="0|1|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="-100" maxRz="-7" />
                <node index="0|1|0|0|0" />
            </ikChain>
            <ikChain id="leftFoot" target="0>12|2" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|2"     />
                <node index="0|2|0"     minRx="0" maxRx="0" minRy="-30" maxRy="30" minRz="0"   maxRz="90" />
                <node index="0|2|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="-100" maxRz="-7" />
                <node index="0|2|0|0|0" />
            </ikChain>
            <ikChain id="rightArm" target="0>10|0|0" targetOffset="0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|1" />
                <node index="0|0|0|1|0" minRx="-20" maxRx="20" minRy="-20" maxRy="20" minRz="-80" maxRz="80" />
                <node index="0|0|0|1|0|0" minRx="-10" maxRx="10" minRy="0" maxRy="0" minRz="7"   maxRz="130" />
                <node index="0|0|0|1|0|0|0" />
                <rotationNode index="0|0|0|1|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|1|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
            <ikChain id="leftArm" target="0>10|0|1" targetOffset="-0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|2" />
                <node index="0|0|0|2|0" minRx="-20" maxRx="20" minRy="-20" maxRy="20" minRz="-80" maxRz="80" />
                <node index="0|0|0|2|0|0" minRx="-10" maxRx="10" minRy="0" maxRy="0" minRz="7"   maxRz="130" />
                <node index="0|0|0|2|0|0|0" />
                <rotationNode index="0|0|0|2|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|2|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
        </ikChains>
    </characterNode>

    <aiTrafficCollisionTrigger index="0>13" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/vehicles/shared/truck_attach.wav" pitchOffset="1" />
    <motorStartSound file="$data/vehicles/steerable/man/man22S_start.wav" pitchOffset="1" volume="1" />
    <motorSound file="$data/vehicles/steerable/man/man22S_idle.wav" pitchOffset="1" pitchScale="0.011" pitchMax="1.7" volume="1" radius="50" innerRadius="20" />
    <motorSoundRun file="$data/vehicles/steerable/man/man22S_run.wav" pitchOffset="0.75" pitchScale="0.012" pitchMax="1.6" volume="0.85" />
	<motorSoundRun2 file="$data/vehicles/shared/transmission22S.wav" pitchOffset="0.7" volume="0.1" pitchMax="1.65" volumeMax="1"/>
    <motorStopSound file="$data/vehicles/steerable/man/man22S_stop.wav" pitchOffset="1" volume="1.5" />
    <compressedAirSound file="$data/vehicles/shared/brakeBig.wav" pitchOffset="1" volume="1.25"/>
    <compressionSound file="$data/vehicles/shared/brakeBig.wav" pitchOffset="1" volume="1.5"/>
    <honkSound file="$data/vehicles/shared/hornBig.wav" volume="1" radius="70" innerRadius="10" />

    <driveGroundParticleSystems>
        <driveGroundParticleSystem node="0>" position="-0.906 0 -2.192" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="3"/>
        <driveGroundParticleSystem node="0>" position="0.906 0 -2.192"  rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="4"/>
        <driveGroundParticleSystem node="0>" position="-1.07 0 1.437" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem node="0>" position="1.074 0 1.437"  rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
    </driveGroundParticleSystems>

    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />

    <components count="1">
        <component1 centerOfMass="0 0.65 0" solverIterationCount="10" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0">
        <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="0 0" rotation="0" invertX="true" />
    </schemaOverlay>

š§«dÆ[øH�