<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="IFAL60">
    <name>
        <en>L60</en>
        <de>L60</de>
    </name>
    <description></description>
    <filename>KrAZ.lua</filename>
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="60" rotMax="34" rotMin="-34" driveMode="29" repr="29" driveNode="29" radius="0.63" deltaY="0.1" suspTravel="0.2" spring="180" damper="0" mass="0.25" />
        <wheel rotSpeed="60" rotMax="34" rotMin="-34" driveMode="35" repr="35" driveNode="35" radius="0.63" deltaY="0.1" suspTravel="0.2" spring="180" damper="0" mass="0.25" />
        <wheel driveMode="1" repr="30" radius="0.63" deltaY="0.1" suspTravel="0.2" spring="180" damper="0" mass="0.2" />
        <wheel driveMode="1" repr="31" radius="0.63" deltaY="0.1" suspTravel="0.2" spring="180" damper="0" mass="0.2" />
        <wheel driveMode="1" repr="32" radius="0.63" deltaY="0.1" suspTravel="0.2" spring="180" damper="0" mass="0.2" />
        <wheel driveMode="1" repr="33" radius="0.63" deltaY="0.1" suspTravel="0.2" spring="180" damper="0" mass="0.2" />

</wheels>
    <motor minRpm="1000" maxRpm="1200 3800 6900" brakeForce="10" forwardGearRatio="1.75" backwardGearRatio="1.0" differentialRatio="6.0" rpmFadeOutRange="20">
        <torque rpm="1200" torque="8.8"/>
        <torque rpm="2800" torque="11.0"/>
        <torque rpm="3800" torque="14.5"/>
        <torque rpm="5000" torque="16.5"/>
        <torque rpm="6900" torque="17"/>
    </motor>
	<accelerationSpeed maxAcceleration="1" deceleration="1" />
    <fuelCapacity>450</fuelCapacity>
    <fuelUsage>0.005</fuelUsage>
    <downForce>4</downForce>
	
	<cameras count="2">
        <camera1 index="34|0" rotatable="true" rotateNode="34" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="60" />
        <camera2 index="9" rotatable="true" limit="true" rotMinX="-1.25" rotMaxX="0.5" transMin="0" transMax="0" />
    </cameras>

    <lights count="1">
        <light1 index="22" />
    </lights>
    <farlights count="1" >
	<farlight1 index="23" />
    </farlights>
    <brakelights count="1">
        <brakelight1 index="24" />
    </brakelights>
    <flashlightsLeft count="1">
        <flashlightLeft1 index="25" />
    </flashlightsLeft>
    <flashlightsRight count="1">
        <flashlightRight1 index="26" />
    </flashlightsRight>
    <steering index="36|0" rotationSpeed="6"/>
    <cuttingAreas count="0">
        <cuttingArea1 startIndex="10" widthIndex="11" heightIndex="12" losing="true"/>
    </cuttingAreas>
    <exitPoint index="14" />
    <enterReferenceNode index="0>" />
    <components count="1">
        <component1 centerOfMass="0 0 0" solverIterationCount="4" />
    </components>
    <trailerAttacherJoints>
        <trailerAttacherJoint index="6" />
        <trailerAttacherJoint index="7" />
    </trailerAttacherJoints>	
    <tipCamera index="27" />    
    <attachSound file="sounds/attach.wav" pitchOffset="1" />
 <motorStartSound file="sounds/fendt936start.wav" pitchOffset="1" volume="1.2" />
 <motorSound file="sounds/fendt936idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.45" volume="1.2" />
 <motorSoundRun file="sounds/fendt936run.wav" pitchOffset="1" pitchScale="0.03" pitchMax="1.05" volume="0.5" />
 <motorStopSound file="sounds/fendt936out.wav" pitchOffset="1" />
 <aiMotorSound  file="sounds/fendt936idleAI.wav" pitchOffset="1" radius="100" innerRadius="4" volume="3" />  
 <reverseDriveSound file="sounds/reverse.wav" volume="0.7" />    
 <honkSound file="sounds/horn.wav" volume="1" radius="50" innerRadius="20" />
 <compressedAirSound file="sounds/brake.wav" pitchOffset="1" volume="1"/>
 <compressionSound file="sounds/brake.wav" pitchOffset="1" volume="2"/>
 <brakeSound file="sounds/brake.wav" pitchOffset="1" volume="1"/>        
    <exhaustParticleSystems count="1">
	<exhaustParticleSystem1 position="1.45 1 -0.9" rotation="-45 0 -90" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>
    <characterNode index="37" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="20" />
    <fillPlanes>
        
    </fillPlanes>
    <capacity>0</capacity>
   <tipAnimation rootNode="900" speedScale="1" clip="IFAL60ClipSource" />   
    <dischargeParticleSystems>
        <dischargeParticleSystem type="wheat" node="0>" position="0.7 2.6 -1.6" rotation="-40 -90 0" file="$data/vehicles/particleSystems/trailerDischargeParticleSystem.i3d" />
        <dischargeParticleSystem type="barley" node="0>" position="0.7 2.6 -1.6" rotation="-40 -90 0" file="$data/vehicles/particleSystems/trailerDischargeParticleSystem.i3d" />
        <dischargeParticleSystem type="rape" node="0>" position="0.7 2.6 -1.6" rotation="-40 -90 0" file="$data/vehicles/particleSystems/trailerDischargeParticleSystemRape.i3d" />
        <dischargeParticleSystem type="chaff" node="0>" position="0.7 2.6 -1.6" rotation="-40 -90 0" file="$data/vehicles/particleSystems/trailerDischargeParticleSystemChaff.i3d" />
        <dischargeParticleSystem type="maize" node="0>" position="0.7 2.6 -1.6" rotation="-40 -90 0" file="$data/vehicles/particleSystems/trailerDischargeParticleSystem.i3d" />
     </dischargeParticleSystems>
    <fillTypes fruitTypes="wheat barley rape maize chaff" />
    <tipReferencePoint index="8" />
	<!-- 4 Wheel Drive -->
	<Allradwelle>
        <Welle index="34" />
        <RotPoint index="1" />
    </Allradwelle>
	<kardan1 index="27|4" />
	<kardan2 index="27|4" />

	<abl1  	index="27|1" minRot="0 0 0" maxRot="0 -80 0" rotTime="2.5" touchRotLimit="10"/>
	<abl2  	index="27|2" minRot="0 0 0" maxRot="0 80 0" rotTime="2.5" touchRotLimit="10"/>
    	<abl3  	index="27|3" minRot="0 0 0" maxRot="-60 0 0" rotTime="2.5" touchRotLimit="10"/>
	<abl4  	index="27|1|0|3" minRot="0 0 0" maxRot="0 55 0" rotTime="4" touchRotLimit="10"/>
	<abl5  	index="27|2|0|4" minRot="0 0 0" maxRot="0 -55 0" rotTime="4" touchRotLimit="10"/>
        <translation1 index="5|5|0|0" minTrans="-0.15885 0.42363 -0.5011" maxTrans="-0.15885 -0.17527 -0.5011" transTime="2" touchTransLimit="20"/>
        <translation2 index="5|6|0|0" minTrans="0.15885 0.42363 -0.5011" maxTrans="0.15885 -0.17527 -0.5011" transTime="2" touchTransLimit="20"/>
    <keys>
	<input name="kezifek" key="KEY_space" />
	<input name="indexL" key="KEY_f2" />
	<input name="indexR" key="KEY_f3" />
	<input name="elakadas" key="KEY_f4" />
	<input name="tavolsagi" key="KEY_r" />
	<input name="bajto" key="KEY_5" />
	<input name="jajto" key="KEY_6" />
	<input name="bablakle" key="KEY_KP_8" />
	<input name="bablakfel" key="KEY_KP_5" />
	<input name="jablakle" key="KEY_KP_7" />
	<input name="jablakfel" key="KEY_KP_4" />
	<input name="szerszamos" key="KEY_7" />
	<input name="fulke" key="KEY_8" />
	<input name="homlokfal" key="KEY_9" />
    </keys>
</vehicle>
