 <?xml version="1.0" encoding="utf-8" standalone="no" ?>
 <vehicle type="tractor">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
      <en>GAZ 53</en>
      <de>GAZ 53</de>
      <ru>ГАЗ 53</ru>
    </name>
    <filename>GAZ53.i3d</filename>

    <size width="3.5" length="7"/>

    <wheels autoRotateBackSpeed="2.0">
        <wheel rotSpeed="1" restLoad="08.8" repr="0>0"  forcePointRatio="0.2"  radius="0.49" width="0.42" initialCompression="50" suspTravel="0.2" spring="40" damper="10"                                            maxLatStiffness="40" maxLatStiffnessLoad="3" mass="0.4"  fenderRotMin="-28" hasTyreTracks="true" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="1" restLoad="08.8" repr="0>1"  forcePointRatio="0.2"  radius="0.49" width="0.42" initialCompression="50" suspTravel="0.2" spring="40" damper="10"                                            maxLatStiffness="40" maxLatStiffnessLoad="3" mass="0.4"  fenderRotMax="28"  hasTyreTracks="true" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="0" restLoad="16.0" repr="0>2"   forcePointRatio="0.3" radius="0.49" width="0.84" initialCompression="50" suspTravel="0.1" spring="55" damper="55" maxLongStiffness="20" 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.49" width="0.84" initialCompression="50" suspTravel="0.1" spring="55" damper="55" maxLongStiffness="20" maxLatStiffness="60" maxLatStiffnessLoad="3" mass="0.8"                                       hasTyreTracks="true" tyreTrackAtlasIndex="4" tireType="street" />
 </wheels> 

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="8|1"  linkNode="0>0"      filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
        <dynamicallyLoadedPart node="8|0"  linkNode="0>1"     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="8|1"  linkNode="0>26"     filename="$data/vehicles/wheels/lizard/lizardUnsized.i3d" />
           </dynamicallyLoadedParts>


    <ackermannSteering rotSpeed="60" rotMax="37" rotCenterWheel1="2" rotCenterWheel2="3" />

    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
    </differentials>

    <motor torqueScale="0.528" minRpm="1000" maxRpm="2700" brakeForce="3.5" lowBrakeForceScale="0.07" lowBrakeForceSpeedLimit="0.07" minForwardGearRatio="19.5" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130">
        <torque normRpm="0.45" torque="0.9"/>
        <torque normRpm="0.5" torque="0.97"/>
        <torque normRpm="0.59" torque="1"/>
        <torque normRpm="0.72" torque="1"/>
        <torque normRpm="0.86" torque="0.88"/>
        <torque normRpm="1" torque="0.72"/>
    </motor>

   <fuelCapacity>90</fuelCapacity>
    <fuelUsage>20</fuelUsage>

    <cameras count="2">
        <camera1 index="10|0" rotatable="true" rotateNode="10" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35" >
		<raycastNode index="0>22"/>
		<raycastNode index="0>23"/>
		</camera1>
		<camera2 index="11" rotatable="true" limit="true"  rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
    </cameras>

     <lights>
        <light realLight="0>12|0" decoration="0>12|1" lightType="0"/>
        <light realLight="0>12|3" lightType="1"/>
    </lights>

 <brakeLights>
        <brakeLight index="0>12|4" />
    </brakeLights>

<beaconLights>
        <beaconLight index="0>29|0" speed="0.020" filename="shared/beaconLight06.i3d"/>
        <beaconLight index="0>29|1" speed="0.022" filename="shared/beaconLight06.i3d"/>
    </beaconLights>

    <turnSignals>
        <turnSignalLeft index="0>18" />
        <turnSignalRight index="0>19" />
    </turnSignals>

    <reverseLights>
        <reverseLight index="0>15" />
    </reverseLights>

 <mirrors>
        <mirror index="0>24" />
    </mirrors>

     <indoorHud>
        <speed animName="speedDisplay" />
        <rpm animName="rpmDisplay" />
        <fuel animName="fuelDisplay" />
    </indoorHud>

    <enterReferenceNode index="0>"/>
    <exitPoint index="0>13"/>

    <attacherJoints>
             <attacherJoint index="0>8|1" jointType="trailer" maxRotLimit="10 80 80" minRotRotationOffset="0" allowsJointLimitMovement="false" />
             <attacherJoint index="0>8|0" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="0 0 0" enableCollision="true" />
             <attacherJoint index="0>8|2" jointType="trailerLow" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 50" maxTransLimit="0 0 0" canTurnOnImplement="false" /> 
    </attacherJoints>
       
      <steering index="0>5|0" indoorRotation="360" outdoorRotation="47" />

   <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" />
    </schemaOverlay>
		
       <animations>
        <animation name="speedDisplay">
            <part node="0>4|0|0|11|0" startTime="0" endTime="1" startRot="0 -50 0" endRot="0 66 0" />
        </animation>
        <animation name="rpmDisplay">
            <part node="0>4|0|0|17|0|0|0" startTime="0" endTime="1" startRot="0 -10 0" endRot="0-51 0" />
        </animation>
        <animation name="fuelDisplay">
            <part node="0>4|0|0|12|0" startTime="0" endTime="1" startRot="0 -50 0" endRot="0 -130 0" />
        </animation>
      </animations>	

    <characterNode index="0>28|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>28|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>28|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>5|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="10"   maxRz="70" />
                <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>5|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="10"   maxRz="70" />
                <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>6" />

   <exhaustEffects>
        <exhaustEffect index="0>16" filename="$data/vehicles/particleAnimations/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.05" maxRpmScale="0.4" forwardXRotations="0 0 0" forwardZRotations="200 0 -80" steerXRotations="-50 0 -50" steerZRotations="-250 0 200" />
    </exhaustEffects>

    <attachSound file="$data/vehicles/shared/attach.wav" pitchOffset="1" />
    <motorStartSound file="sounds/start.wav" pitchOffset="1" volume="1" />
    <motorSound file="sounds/motor.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.6" volume="1" radius="35" innerRadius="20" />
    <motorSoundRun file="sounds/motor2.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.5" volume="0.1" />
    <motorStopSound file="sounds/stop.wav" pitchOffset="1" />   
    <honkSound file="$dataS2/sounds/horn.wav" volume="1" radius="50" innerRadius="20" />

    <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="3">
        <component1 centerOfMass="0 0.2 0" solverIterationCount="10" />
        <component2 centerOfMass="0 -0.5 0" solverIterationCount="10" />
        <component3 centerOfMass="0 -0.5 0" solverIterationCount="10" /> 
        <joint component1="0" component2="1" index="0>30|2" rotLimit="25 0 0" transLimit="0 0 0" />
        <joint component1="0" component2="2" index="0>30|3" rotLimit="25 0 0" transLimit="0 0 0" />
    </components>
</vehicle>