<?xml version="1.0" encoding="utf-8" standalone="no"?>

<vehicle type="MTZ_82">
  
  <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	

    <storeData>
   
     <name>
     
     <en>MTZ-82</en>
    
      <de>MTZ-82</de>
	
       <ru>МТЗ-82</ru>
	
	</name>
  
      <specs>
     
       <power>81</power>
     
       <maxSpeed>34</maxSpeed>
   
      </specs>
   
      <functions>
      
      <function>$l10n_function_tractor</function>
    
      </functions>
   
      <image>store_Belarus.dds</image>
    
      <price>15500</price>
   
      <dailyUpkeep>20</dailyUpkeep>
   
      <lifetime>600</lifetime>
   
      <rotation>0</rotation>
   
      <brand>BELARUS</brand>
   
      <category>tractors</category>
    
      <vertexBufferMemoryUsage>1728608</vertexBufferMemoryUsage>
    
      <indexBufferMemoryUsage>295512</indexBufferMemoryUsage>
    
      <textureMemoryUsage>4700088</textureMemoryUsage>
   
      <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
   
      <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
 
   </storeData>

 
   <typeDesc>$l10n_typeDesc_tractor</typeDesc>
 
   <filename>mtz82.i3d</filename>
	

   <size width="2" length="4"/>
	
 
   <filename>mtz82.i3d</filename>

 
   <wheels autoRotateBackSpeed="2">
   
     <wheel rotSpeed="1" repr="1>1" driveNode="1>1|1|0" filename="wheels/wheelsFront.xml" configIndex="kolesa2" isLeft="true" restLoad="1.0" initialCompression="30" suspTravel="0.051" spring="32" damper="50" hasTireTracks="true" hasParticles="true"/>
   
     <wheel rotSpeed="1" repr="1>2" driveNode="1>2|1|0" filename="wheels/wheelsFront.xml" configIndex="kolesa2" isLeft="false" restLoad="1.0" initialCompression="30" suspTravel="0.051" spring="32" damper="50" hasTireTracks="true" hasParticles="true"/>
    
     <wheel rotSpeed="0" repr="0>0"                   filename="wheels/wheels.xml"      configIndex="kolesa1" isLeft="true" restLoad="1.1" initialCompression="30" suspTravel="0.05" spring="85" damper="65" hasTireTracks="true"        hasParticles="true"/>
   
     <wheel rotSpeed="0" repr="0>1"                   filename="wheels/wheels.xml"      configIndex="kolesa1" isLeft="false" restLoad="1.1" initialCompression="30" suspTravel="0.05" spring="85" damper="65" hasTireTracks="true"        hasParticles="true"/>
 
   </wheels>
  
   <ackermannSteering rotSpeed="70" rotMax="39" rotCenterWheel1="2" rotCenterWheel2="3"/>
  
   <differentials>
    
    <differential torqueRatio="0.5" maxSpeedRatio="1.2" wheelIndex1="0" wheelIndex2="1"/>
    
    <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="2" wheelIndex2="3"/>
   
    <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="0" differentialIndex2="1"/>
   
    <!-- front-back -->
  
   </differentials>
	

	<motorConfigurations>
	
   <motorConfiguration name="MMZ D 243" hp="81" price="0">
   
     <motor torqueScale="0.356" minRpm="1000" maxRpm="2200" maxForwardSpeed="34" maxBackwardSpeed="11" brakeForce="2.5" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" minForwardGearRatio="24.39" 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>
   
   </motorConfiguration>
	
   </motorConfigurations>
  
   <fuelCapacity>120</fuelCapacity>
    <fuelUsage>19</fuelUsage>
  
   <cameras count="2">
    
   <camera1 index="3|0" rotatable="true" rotateNode="3" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35">
            <raycastNode index="0>5"/>
      
      <raycastNode index="0>6"/>
    
    </camera1>
   
     <camera2 index="4" rotatable="true" limit="true" useWorldXZRotation="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
 
   </cameras>
  
   <lights>
    
    <low>
       
     <light realLight="0>19|0|1" decoration="0>19|0|0" lightTypes="0"/>
      
      <light realLight="0>19|0|3" decoration="0>19|0|2" lightTypes="1"/>
    
    </low>
		
   
     <high>
        
    <light realLight="0>19|1|0"   decoration="0>19|0|0"   lightTypes="0"/>
       
     <light realLight="0>19|1|1"   decoration="0>19|0|2"   lightTypes="1"/>
      
      <light realLight="0>19|1|2"                           lightTypes="0"/>			
   
        <light realLight="0>19|1|3"                           lightTypes="0"/>			
   
     </high>
		
 
       <states>
        
       <state lightTypes="0"/>
      
       <state lightTypes="0 1"/>
   
       </states>
 
       </lights>

    <brakeLights>
        <brakeLight realLight="0>19|2|0" decoration="0>19|2|1" />
  
       </brakeLights>

    <turnLights>
        <turnLightLeft realLight="0>19|3|0|0" decoration="0>19|3|0|1"/>
   
       <turnLightRight realLight="0>19|3|1|0" decoration="0>19|3|1|1"/>
 
       </turnLights>
	
    <steering index="0>8|0" indoorRotation="540" outdoorRotation="40"/>
	
 
       <characterNode index="0>11|0" cameraMinDistance="1.5" ffilename="$dataS2/character/player/player.xml" spineRotation="180 0 108">
        <target ikChain="rightFoot" targetNode="0>11|1" setDirty="true"/>
     
       <target ikChain="leftFoot" targetNode="0>11|2" setDirty="true"/>
    
       <target ikChain="rightArm" targetNode="0>8|0|0" setDirty="true"/>
    
       <target ikChain="leftArm" targetNode="0>8|0|1" setDirty="true"/>
  
       </characterNode>
	
    <enterReferenceNode index="0>"/>
	

    <exitPoint index="0>7"/>
	

    <ai>
    
    <trafficCollisionTrigger index="0>9"/>
  
    </ai>
	
 
   <exhaustEffects>
    
     <exhaustEffect index="0>10" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0 0 0.5 0.1" maxRpmColor="0 0 0 2" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="0 0" xzRotationsForward="-40 0" xzRotationsBackward="180 0" xzRotationsLeft="0 -160" xzRotationsRight="0 160" />
  
   </exhaustEffects>
    

    <attacherJoints>
     
    <attacherJoint index="0>12|0|0" rotationNode="0>12" rotationNode2="0>12|0" lowerRotation="-30 0 0" upperRotation="25 0 0"  upperDistanceToGround="0.95" lowerDistanceToGround="0.247" upperRotationOffset="-0.16"  moveTime="2.5" ptoOutputNode="0>17" comboTime="1">
      
      <bottomArm rotationNode="0>13" translationNode="0>13|0" referenceNode="0>13|0|0" zScale="-0.1" startRotation="16 0 0"/>
      
      <topArm rotationNode="0>14" translationNode="0>14|0" referenceNode="0>14|0|0" zScale="-0.1" startRotation="56 0 0"/>
     
       <schema position="1 0" rotation="0" invertX="false"/>
		
	<objectChange node="0>13|0|2|0" visibilityActive="false" visibilityInactive="true" />
   
     </attacherJoint>
    
     <attacherJoint index="0>13|0|2|0|0" jointType="trailer" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 50 50" ptoOutputNode="0>17" comboTime="1">
	 	    <objectChange node="0>13|0|2|1" visibilityActive="false" visibilityInactive="true" />
            <schema position="0 0" rotation="0" invertX="true"/>
  
     </attacherJoint>
   
     <attacherJoint index="0>13|0|2|0|0" jointType="trailerLow" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 50 50" ptoOutputNode="0>17" comboTime="1">
	 	    <objectChange node="0>13|0|2|1" visibilityActive="false" visibilityInactive="true" />
            <schema position="1 0" rotation="0" invertX="false"/>
   
     </attacherJoint>

     </attacherJoints>
	

     <speedRotatingParts>
  
      <speedRotatingPart index="0>2|0|0|1|31|0" wheelIndex="2" wheelScale="2"/>
  
      <speedRotatingPart index="0>2|0|0|1|32|0" wheelIndex="2" wheelScale="2"/>
  
      <speedRotatingPart index="0>2|0|0|1|33|0" wheelIndex="2" wheelScale="-2"/>
  
      <speedRotatingPart index="0>2|0|0|1|34|0" wheelIndex="2" wheelScale="2"/>
  
      <speedRotatingPart index="0>2|0|0|1|35|0" wheelIndex="2" wheelScale="2"/>
  
      <speedRotatingPart index="1>0|0|1|0"      wheelIndex="2" wheelScale="-2"/>
 
     </speedRotatingParts>
	

     <animParts>
   
      <animPart autorun="true" index="0>2|0|1" id="LeftDoor"  autoReturn="false" rotMin="0 0 0" rotMax="0 -180 0" moveTime="1"/>
   
      <animPart autorun="true" index="0>2|0|2" id="RightDoor" autoReturn="false" rotMin="0 0 0" rotMax="0 180 0" moveTime="1"/> 
	
      <animPart autorun="true" index="0>2|0|3" id="BackWindow" autoReturn="false" rotMin="0 0 0" rotMax="30 0 0" moveTime="1"/>
 
     </animParts>
	

     <movingTools>
   
     <movingTool index="0>13">
            <dependentPart index="0>15"/>
     
       <dependentPart index="0>16"/>
    
     </movingTool>
  
     </movingTools>
	
    <movingParts>
        <!-- attacher joint back bottom cylinder 1 -->
        <movingPart index="0>15" referencePoint="0>16|1" referenceFrame="0>" invertZ="true">
            <translatingPart index="0>15|0"/>
    
     </movingPart>
        <!-- attacher joint back bottom cylinder 2 -->
        <movingPart index="0>16" referencePoint="0>13|0|1" localReferencePoint="0>16|2" referenceFrame="0>" invertZ="true">
            <dependentPart index="0>16|2"/>
   
     </movingPart>
        <!-- attacher joint back bottom cylinder 2b -->
        <movingPart index="0>16|2" referencePoint="0>13|0|1" referenceFrame="0>16|0" invertZ="true"/>
        <!-- steering -->
        <movingPart index="1>1|2" referencePoint="1>2|2|0" referenceFrame="1>" isActiveDirty="true" playSound="false" scaleZ="false"/>
  
     </movingParts>
  
    <motorStartDuration>9000</motorStartDuration>
    <motorStartSound file="sounds/start_pd10.wav" pitchOffset="0.9" volume="0.9" indoorVolumeFactor="0.6" indoorLowpassGain="0.9" />
    <motorSound file="sounds/idle.wav" pitchOffset="0.9" volume="0.9" indoorVolumeFactor="0.6" indoorLowpassGain="0.9" volumeMin="0.6" volumeMinSpeed="15" pitchMax="1.48" />
    <motorSoundLoad file="sounds/Load.wav" pitchOffset="0.44" volume="1.35" indoorVolumeFactor="0.6" indoorLowpassGain="0.9" pitchMax="1.34" minimalVolumeFactor="0.06" />
    <motorSoundRun file="sounds/run.wav" pitchOffset="0.5" volume="0.95" indoorVolumeFactor="0.6" indoorLowpassGain="0.9" pitchMax="1.0" />
    <motorStopSound file="sounds/stop.wav" pitchOffset="0.9" volume="0.8" indoorVolumeFactor="0.7" indoorLowpassGain="0.9" />
    
    <gearboxSound file="$data/sounds/transmission/transmissionCVT_X.wav" pitchOffset="0.65" volume="0.25" indoorVolumeFactor="0.80" indoorLowpassGain="0.9" pitchMax="1" volumeMax="0.50" />
    <retarderSound file="$data/sounds/transmission/retarderET2015.wav" pitchOffset="0.65" volume="0.17" indoorVolumeFactor="0.93" indoorLowpassGain="0.9" minSpeed="1" pitchMax="1.47" volumeMax="0.30" />
    
    <attachSound file="$data/sounds/attach.wav" pitchOffset="1.0" volume="1.0" indoorVolumeFactor="0.70"  indoorLowpassGain="0.9" />
    <hydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.55" volume="0.90" indoorVolumeFactor="0.70" indoorLowpassGain="0.95" />

    <honkSound file="$data/sounds/horn.wav" pitchOffset="1.0" volume="1.0" indoorVolumeFactor="0.70"  indoorLowpassGain="0.9" radius="70" innerRadius="10" />
    
    <compressedAirSound file="sounds/brake_old.wav" pitchOffset="1.0" volume="0.80" indoorVolumeFactor="0.60" indoorLowpassGain="0.9" />
 
   <components count="2">
   
     <component1 centerOfMass="0.00 1.00 0.0" solverIterationCount="4"/>
    
      <component2 centerOfMass="0.00 0.70 0.00" solverIterationCount="4"/>
    
       <joint component1="0" component2="1" index="0>18" rotLimit="0 0 15" transLimit="0 0 0" breakable="false"/>
  
        </components>
	

	<washable dirtDuration="50" washDuration="1" workMultiplier="4"/>

	
    
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0" />
  
        
</vehicle>
