<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="MTZ80">
<annotation>Copyright (C) TLS-Mods/Spinah, All Rights Reserved.</annotation>
<name><en>MTZ 50</en><de>MTZ 50</de></name>
<description>MTZ 50</description>
<filename>mtz80.i3d</filename>
<wheels autoRotateBackSpeed="1.2">
<wheel rotSpeed="45" rotMax="34" rotMin="-34" driveMode="2" repr="2>1" forcePointRatio="0.2" driveNode="2>1|0" radius="0.51" width="0.48" initialCompression="50" suspTravel="0.05" spring="22" damper="50" mass="1.21"  fenderRotMax="20"  hasTyreTracks="true" />
<wheel rotSpeed="45" rotMax="34" rotMin="-34" driveMode="2" repr="3>1" forcePointRatio="0.2" driveNode="3>1|0" radius="0.51" width="0.48" initialCompression="50" suspTravel="0.05" spring="22" damper="50" mass="1.21"  fenderRotMax="20"  hasTyreTracks="true" />
<wheel rotSpeed="0" 	driveMode="1" repr="4>1" forcePointRatio="0.3"                       radius="0.79"  width="0.58" initialCompression="50" suspTravel="0.1" spring="22" damper="50" mass="1.39"                                         hasTyreTracks="true" />
<wheel rotSpeed="0" driveMode="1" repr="5>1" forcePointRatio="0.3"                       radius="0.79"  width="0.58" initialCompression="50" suspTravel="0.1" spring="22" damper="50" mass="1.39"                                         hasTyreTracks="true" />
</wheels>
	
      <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.6" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
    </differentials>

    <motor torqueScale="0.714" minRpm="1000" maxRpm="2200" maxBackwardSpeed="15" brakeForce="4.5" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="25" 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>130</fuelCapacity>
    <fuelUsage>33</fuelUsage>

    <exhaustEffects>
        <exhaustEffect index="0>21" 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>

<cameras count="2">
<camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="3" transMax="50" >
  <raycastNode index="0>25"/>
  <raycastNode index="0>26"/>
</camera1>
<camera2 index="5" rotatable="true" limit="false" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="50" />
</cameras>


    <lights>
        <light realLight="0>23|0" decoration="0>23" lightType="0"/>
        <light realLight="0>28|1" decoration="0>28" lightType="1"/>
    </lights>

    <brakeLights>
        <brakeLight index="0>31|2" />
    </brakeLights>

    <turnSignals>
        <turnSignalLeft index="0>31|0" />
        <turnSignalRight index="0>31|1" />
    </turnSignals>
	
<steering index="18|0" rotationSpeed="8"/>
<cuttingAreas count="0">
<cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/>
</cuttingAreas>
<enterReferenceNode index="0>" />
<exitPoint index="9" />
<size width="3.5" length="5.5" lengthOffset="-0.4"/>

<tipCamera index="11" />

<motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/vehicles/shared/attach.wav" pitchOffset="1" />
<motorStartSound file="Sound/start.wav" pitchOffset="1" volume="0.6" />
<motorSound file="Sound/idle.wav" pitchOffset="1.1" pitchScale="0.026" pitchMax="1.65" volume="0.9" radius="50" innerRadius="20" />
<motorSoundRun file="Sound/run.wav" pitchOffset="0.9" pitchScale="0.025" pitchMax="1.15" volume="0.8" />
<motorStopSound file="Sound/out.wav" pitchOffset="1" volume="0.85" />
<compressedAirSound file="Sound/brake.wav" pitchOffset="1" volume="1"/>
<aiMotorSound  file="sound/idleAi.wav" pitchOffset="1" radius="80" innerRadius="20" volume="0.85" />
    <honkSound file="$dataS2/sounds/horn.wav" volume="1" radius="80" innerRadius="35" />
	
<attacherJoints>
<attacherJoint index="14|0|0" rotationNode="14" maxRot="-12 0 0" rotationNode2="14|0" maxRot2="8 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" ptoOutputNode="0>13" ptoFilename="$data/vehicles/shared/powerTakeoff.i3d">
<bottomArm rotationNode="16" translationNode="16|0" referenceNode="16|0|1" zScale="-1" />
<topArm rotationNode="15" translationNode="15|0" referenceNode="15|1" zScale="-1" />
</attacherJoint>

		<attacherJoint index="0>10"   jointType="trailer" maxRotLimit="10 50 50" minRotRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>13" ptoFilename="$data/vehicles/shared/powerTakeoff.i3d"/>
		<attacherJoint index="0>20"   jointType="trailerLow" maxRotLimit="10 50 50" minRotRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>13" ptoFilename="$data/vehicles/shared/powerTakeoff.i3d"/>

</attacherJoints>
	 
<characterNode index="19" cameraMinDistance="1.5" />
<aiTrafficCollisionTrigger index="0>22" />
	
<components count="6">
                <component1 centerOfMass="0 0.96 -0.3" solverIterationCount="180" />
<!---xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--->
		<component2 centerOfMass="0 0.02 0" solverIterationCount="180" />
		<component3 centerOfMass="0 0.11 0" solverIterationCount="180" />
		<component4 centerOfMass="0 0.11 0" solverIterationCount="180" />
		<component5 centerOfMass="0 0.31 0" solverIterationCount="180" />
		<component6 centerOfMass="0 0.31 0" solverIterationCount="180" />
		
<joint component1="0" component2="1" index="1>0" rotLimit="0 0 7" transLimit="0 0 0" breakable="false"/>
<joint component1="1" component2="2" index="2>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<joint component1="1" component2="3" index="3>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<joint component1="0" component2="5" index="5>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		
<collisionPair component1="0" component2="1" enabled="false"/>
<collisionPair component1="1" component2="2" enabled="false"/>
<collisionPair component1="1" component2="3" enabled="false"/>
<collisionPair component1="1" component2="4" enabled="false"/>
<collisionPair component1="1" component2="5" enabled="false"/>
<collisionPair component1="0" component2="2" enabled="false"/>
<collisionPair component1="0" component2="3" enabled="false"/>
<collisionPair component1="0" component2="4" enabled="false"/>
<collisionPair component1="0" component2="5" enabled="false"/>
</components>

<ventilator index="27|0|0"/>

<animParts>
<animPart index="0>27|2" id="TuerVL" showHelp="false" autoReturn="false" rotMin="0 0 0" rotMax="0 -175 0" moveTime="1" />
<animPart index="0>27|3" id="TuerVR" showHelp="false" autoReturn="false" rotMin="0 0 0" rotMax="0 175 0" moveTime="1" />
<animPart index="0>27|1" id="Heck" showHelp="false" autoReturn="false" rotMin="0 0 0" rotMax="20 0 0" moveTime="2" />
<animPart index="0>27|4" id="Teto" showHelp="false" autoReturn="false" rotMin="0 0 0" rotMax="-8 0 0" moveTime="2" />
</animParts>
<rotationPartTahometr index="0>3|1|0" minRot="0 0 0" maxRot="0 70 0" rotTime="5" touchRotLimit="10" />
<lightsaddon lightsStayOn="false" strobesAreBeacons="false">
<light type="dirLeft" index="0>31|0" />
<light type="dirRight" index="0>31|1" />
<light type="brake" index="0>31|2" />
<flashers soundfile="blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.8" autoreturn="true"/>
</lightsaddon>
	
<frontRightWheel wheelIndex="1" componentJointIndex="2" furrowDepth="0.2" fallSpeed="0.4" tireWidth="0.08" />
<frontLeftWheel wheelIndex="2" componentJointIndex="3" furrowDepth="0.2" fallSpeed="0.4" tireWidth="0.08" />
<backRightWheel wheelIndex="3" componentJointIndex="4" furrowDepth="0.2" fallSpeed="0.4" tireWidth="0.2" />
<backLeftWheel wheelIndex="4" componentJointIndex="5" furrowDepth="0.2" fallSpeed="0.4" tireWidth="0.2" />

    <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" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="0 0" rotation="0" invertX="true" />
    </schemaOverlay>

<wheelParticleSystems file="wheelParticleSystem.i3d" > 
<wheelParticleSystem node="1|0" /> 
<wheelParticleSystem node="1|1" /> 
<wheelParticleSystem node="1|2" /> 
<wheelParticleSystem node="1|3" /> 
</wheelParticleSystems>
	
<increaseRpmDuringPloughing value="true" />
	
</vehicle>
