<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Fendt311lsa">
	<annotation>Stefan</annotation>
        <name>
        <en>Fendt 311 Lsa</en>
        <de>Fendt 311 Lsa</de>
        </name>
        <description></description>
        <filename>Fendt311lsa.i3d</filename>
        <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="38" rotMax="26" rotMin="-26" driveMode="2" repr="1>1" driveNode="1>1|0" radius="0.7" mass="0.35" lateralStiffness="50" />
        <wheel rotSpeed="38" rotMax="26" rotMin="-26" driveMode="2" repr="1>2" driveNode="1>2|0" radius="0.7" mass="0.35" lateralStiffness="50" />
        <wheel rotSpeed="0" driveMode="2" repr="0" radius="0.94" mass="1.3" lateralStiffness="50" />
        <wheel rotSpeed="0" driveMode="2" repr="1" radius="0.94" mass="1.3" lateralStiffness="50" />
        </wheels>
       
        <!-- Motor -->
        <motor minRpm="200" maxRpm="750 1050 3850 520" maxTorques="1.4 2.2 -1 1.2" brakeForce="20" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" accelerations="0.4 1 1 1" forwardGearRatio="11.5" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="50">
        <torque rpm="3850" torque="8.0"/>		
        <backwardTorque rpm="200" torque="6"/>
	<backwardTorque rpm="400" torque="1.2"/>
        </motor>
	<accelerationSpeed maxAcceleration="0.17" deceleration="0.25" backwardDeceleration="0.7" />
        
        <fuelCapacity>560</fuelCapacity>
        <fuelUsage>0.0055</fuelUsage>
        <downForce>25</downForce>
        <cameras count="3">
        <camera1 index="2|0" rotatable="true" rotateNode="2" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="80" >
        <raycastNode index="0>22"/>
	<raycastNode index="0>23"/>
        </camera1>
        <camera2 index="3" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
        <camera3 index="0>26|0|0|0" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />		
        </cameras>
	<realisticIndoorCam directionPart="26|0" rotationPart="26|0|0" />



        <!-- Lights -->
        <lights count="1">
        <light1 index="20|0|0" />
        </lights>

        <lightCoronas>
        <lightCorona index="20|0|2" />
        </lightCoronas>
 
        <beaconLights>
     	<beaconLight index="22|0|2" speed="0.018" />
        <beaconLight index="23|0|2" speed="0.018" />
        </beaconLights>
 
        <lightCones> 
	<lightCone index="20|0|1" /> 
        </lightCones>
        <lightsaddon lightsStayOn="true">
	<light type="work" index="20|2" real="20|2|0" beam="20|2|1" inputName="frontwork" helptext="frontwork" stayOn="true"/>
	<light type="work" index="20|3" real="20|3|0" beam="20|3|1" inputName="rearwork"  helptext="rearwork"  stayOn="true"/>
	<light type="brake" index="20|4" />
	<!--light type="reverse" index="" /-->
	<light type="highbeam" index="20|1" real="20|1|0" beam="20|1|1" />
	<light type="dirLeft" index="20|6" />
	<light type="dirRight" index="20|5" />
        <flashers soundfile="sounds/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.6" autoreturn="true" tolerance="0.9"/>
        <light type="work" index="1>1|0|1" inputName="Zwillinge1" stayOn="true"/>
	<light type="work" index="1>2|0|1" inputName="Zwillinge2" stayOn="true"/>
	<light type="work" index="0|1" inputName="Zwillinge3" stayOn="true"/>
	<light type="work" index="1|1" inputName="Zwillinge4" stayOn="true"/>

        </lightsaddon>
	
        <steering index="11|0" rotationSpeed="6"/>
        <enterReferenceNode index="0>" />
        <exitPoint index="7" />
        <size width="3" length="5" lengthOffset="-0.1"/>
        <cuttingAreas count="0">
        <!--cuttingArea1 startIndex="4" widthIndex="5" heightIndex="6" losing="true"/-->
        </cuttingAreas>
        <trailerAttacherJoints>
        <trailerAttacherJoint index="8|0" shaft="33" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 80" maxTransLimit="0 0 0"/>
        <trailerAttacherJoint index="13" low="true" shaft="33" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 80" maxTransLimit="0 0 0"/>
         <trailerAttacherJoint index="32" low="true" shaft="33" />
        </trailerAttacherJoints>
        <tipCamera index="9" />
    
        <motorStartDuration>2500</motorStartDuration>
        <attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
        <motorStartSound file="Sounds/Fendt311start.wav" pitchOffset="1" volume="1.0" />
        <motorSound file="Sounds/Fendt311idle.wav" pitchOffset="1" pitchScale="0.03" pitchMax="1.65" volume="1.2" />
        <motorSoundRun file="Sounds/Fendt311run.wav" pitchOffset="0.5" pitchScale="0.02" pitchMax="1.05" volume="0.3" />
        <motorStopSound file="$data/vehicles/steerable/deutz/agro620_out.wav" pitchOffset="1" />
        <compressedAirSound file="$data/vehicles/steerable/deutz/compressedAir.wav" pitchOffset="1" volume="1.0"/>
        <compressionSound file="$data/vehicles/steerable/deutz/compressorWork.wav" pitchOffset="1" volume="1.5"/>
        <aiMotorSound  file="sounds/Fendt311idleAI.wav" pitchOffset="1" radius="50" innerRadius="20" volume="1.25" />
        <honkSound file="$dataS2/sounds/horn.wav" client="$dataS2/sounds/horn3D.wav" volume="1" radius="50" innerRadius="20" />
   
        <dynamicExhaustingSystem cap="15" maxRot="-81.5" minAlpha="0.1" maxAlpha="1.0" param="exhaustingSystem" >
        <startSequence>
        <key time="0.0"  value="0 0 0 0"/>
	<key time="0.4"  value="0 0 0 0.5"/>
	<key time="0.58" value="0 0 0 0.2"/>
	<key time="0.6"  value="0 0 0 0.2"/>
	<key time="0.75" value="0 0 0 1"/>
	<key time="0.93" value="0 0 0 1"/>
	<key time="1.0"  value="0 0 0 0.2"/>
	</startSequence>
	</dynamicExhaustingSystem>
	
	<exhaustParticleSystems count="1">
	<exhaustParticleSystem1 node="15" position="0 0 0" rotation="0 0 0"  file="PS/smoke.i3d" />
        </exhaustParticleSystems>
	
	
        <attacherJoints>
        <attacherJoint index="10|0|0|0" rotationNode="10|0" maxRot="-14 0 0" rotationNode2="10|0|0" maxRot2="9 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="33">
        <bottomArm rotationNode="10|1" translationNode="10|1|0" referenceNode="10|1|0|0" zScale="-1" />
        <topArm rotationNode="10|2" translationNode="10|2|0" referenceNode="10|2|0|0" zScale="-1" />
        </attacherJoint>
        <attacherJoint index="27|0|0|0" rotationNode="27|0" maxRot="10 0 0" rotationNode2="27|0|0" maxRot2="-8 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 16" moveTime="1.5" shaft="33">
        <bottomArm rotationNode="27|1" translationNode="27|1|0" referenceNode="27|1|0|0" zScale="1" />
        <topArm rotationNode="27|2" translationNode="27|2|0" referenceNode="27|2|0|0" zScale="1" />
        </attacherJoint>
        </attacherJoints>
        
        <hydraulicAnimation>
	<backArm index="10|3|1" getRotRef="10|1" />
	<streben index="10|3|1|0" refPoint="10|1|0|1" doScaleBool="true" scaleRefPoint="10|3|1|0|1" />
	<zylinder index="10|3|0" stempelIndex="10|3|1|1" />
	</hydraulicAnimation>
      

        <Zylinder count="1" >
	<Zylinder1 dir1="0>29|0" dir2="0>27|1|0|1" />
	</Zylinder>

        <characterNode index="12" cameraMinDistance="1.5" />
        <aiTrafficCollisionTrigger index="14" />    
        <components count="2">
        <component1 centerOfMass="0.0 0.0 -1.40" solverIterationCount="190" />
        <component2 centerOfMass="0 -1.2 0" solverIterationCount="190" />
        <joint component1="0" component2="1" index="1>0" rotLimit="0 0 10" transLimit="0 0 0" breakable="false"/>
        </components>
	

</vehicle>
