<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="E517">
    <name>
        <en>Fortschritt E-516</en>
        <de>Fortschritt E-516</de>
    </name>
    <description>Fortschritt E-516</description>
    <filename>ForschrittE516.i3d</filename>
    <size width="4.0" length="7.5" />
    
	<ESLimiter posX="0.7543" posY="0.213" />	<!--nový zápis pro nastavení ESLimiteru na původní pozici-->
	
    <wheels autoRotateBackSpeed="2.0" file="particleSystems/wheelParticleSystem.i3d">
        <wheel rotSpeed="-70" rotMax="38" rotMin="-38" driveMode="1" repr="3" driveNode="3|0" radius="0.55" deltaY="0.1" suspTravel="0.2" spring="50" damper="50" mass="0.4" lateralStiffness="2" />
        <wheel rotSpeed="-70" rotMax="38" rotMin="-38" driveMode="1" repr="2" driveNode="2|0" radius="0.55" deltaY="0.1" suspTravel="0.2" spring="50" damper="50" mass="0.4" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0" radius="0.86" deltaY="0" suspTravel="0.1" spring="200" damper="50" mass="0.5" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="1" radius="0.86" deltaY="0" suspTravel="0.1" spring="200" damper="50" mass="0.5" lateralStiffness="2" />
    </wheels>
	
	<motor minRpm="400" maxRpm="600 800 2000 700" brakeForce="10" lowBrakeForceScale="0.43" forwardGearRatio="5.6" backwardGearRatio="4" differentialRatio="4" rpmFadeOutRange="200">
		<torque rpm="600" torque="2.5"/>
		<torque rpm="1000" torque="2"/>
		<torque rpm="1900" torque="1.5"/>
		<torque rpm="2000" torque="0.5"/>
		<backwardTorque rpm="400" torque="5"/>
		<backwardTorque rpm="800" torque="0.5"/>
	</motor>
	<accelerationSpeed maxAcceleration="0.18" deceleration="0.9" backwardDeceleration="0.5" />
    <fuelCapacity>500</fuelCapacity>
    <fuelUsage>0.015</fuelUsage>
    <downForce>7</downForce>
	
    <cameras count="2">
        <camera1 index="7|0" rotatable="true" rotateNode="7" limit="true" rotMinX="-1.4" rotMaxX="0.25" transMin="7" transMax="50" />
        <camera2 index="8" rotatable="true" rotateNode="8" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
    </cameras>

	<passengerCamera index="0>28" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
	<passengerNicknameRenderNode index="0>29"/>
	
	<lights>
        <light realLight="0>13|0|0" fakeLight="0>13|0|1" decoration="0>13|0|2" lightType="0"/>
        <light realLight="0>13|1|0" fakeLight="0>13|1|1" decoration="0>13|1|2" lightType="1"/>
		<light realLight="0>13|2|0" fakeLight="0>13|2|1" decoration="0>13|2|2" lightType="2"/>
    </lights>
	
    <steering index="14|0" rotationSpeed="6"/>
    <attacherJoints>
        <attacherJoint jointType="cutter" index="9|0|0" rotationNode="9" maxRot="25 0 0" rotationNode2="9|0" maxRot2="0 0 0" moveTime="2.5" />
        <attacherJoint index="26" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 50 50" maxTransLimit="0 0 0"/>
    </attacherJoints>
    <enterReferenceNode index="0>" />
    <exitPoint index="10" />
	
  <rotorFan index="22|12" speed="-0.054" />

       <beaconLights>
                <beaconLight index="25|0" speed="0.016" />
                <beaconLight index="25|1" speed="0.016" />
                <beaconLight index="25|2" speed="0" />
       </beaconLights>

        <lightsaddon lightsStayOn="false">
			<light type="dirLeft" index="27|0" />
			<light type="dirRight" index="27|1" />
			<light type="brake" index="27|2" />
			<light type="reverse" index="27|3" />
			<fillLevelWarning percent="80" />
	    </lightsaddon>
    
    <pipeSound file="$data/vehicles/steerable/fahr/old_pipe.wav" pitchOffset="1" pitchScale="0.03" pitchMax="2" />
    <threshingStartSound file="$data/vehicles/steerable/deutz/threshing_start.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1.2" volume="1.0" />
    <threshingSound file="sound/threshing_idle.ogg" pitchOffset="1" pitchScale="0.001" pitchMax="1.2" volume="1.0" />
    <threshingStopSound file="$data/vehicles/steerable/deutz/threshing_out.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1.2" volume="1.0" />   
	<attachSound file="$data/vehicles/steerable/deutz/attach_cutter.wav" pitchOffset="1" />
    <motorStartSound file="sound/E516bstart2.ogg" pitchOffset="0.9" volume="1.0" />
    <motorSound file="sound/E516bengine.ogg" pitchOffset="0.6" pitchScale="0.016" pitchMax="0.94" volume="1.0" />
    <motorSoundRun file="sound/E517run.ogg" pitchOffset="0.5" pitchScale="0.1" pitchMax="1.05" volume="0.6" />
    <motorStopSound file="sound/E516out.wav" pitchOffset="0.9" volume="1.0" />
	<reverseDriveSound file="$data/vehicles/steerable/deutz/reverseDrivingBeep.wav" volume="0.5" />
    <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="sound/E516bengineai.wav" pitchOffset="1" radius="50" innerRadius="8" volume="1.0" />  
    <aiTreshingSound file="sound/E516bcutter.ogg" pitchOffset="1" radius="50" innerRadius="8" volume="1.0" /> 
	<honkSound file="$dataS2/sounds/horn.wav" volume="1.5" radius="80" innerRadius="35" />
	
    <exhaustParticleSystems count="4">
        <exhaustParticleSystem1 position="1.26094 3.7745 -0.49914" rotation="0 0 0" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
        <exhaustParticleSystem2 position="1.26094 3.7745 -0.49914" rotation="0 0 0" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
        <exhaustParticleSystem3 position="-0.42362 3.7745 -1.59807" rotation="0 0 0" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
        <exhaustParticleSystem4 position="-0.42362 3.7745 -1.59807" rotation="0 0 0" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>


    <cuttingAreas count="0">
        <cuttingArea1 startIndex="4" widthIndex="5" heightIndex="6"/>
    </cuttingAreas>
	
	
    <chopperBlind index="11" />
	
<pipe index="12" raycastNodeIndex="12|0|0" raycastDistance="6"/>

    <pipeParticleSystems>
        <pipeParticleSystem type="wheat" node="12|0|0" rotation="0 90 0" file="particleSystems/csiga_ps_alltalnos.i3d" />
        <pipeParticleSystem type="barley" node="12|0|0" rotation="0 90 0" file="particleSystems/csiga_ps_alltalnos.i3d" />
        <pipeParticleSystem type="rape" node="12|0|0" rotation="0 90 0" file="particleSystems/csiga_ps_repce.i3d" />
        <pipeParticleSystem type="maize" node="12|0|0" rotation="0 90 0" file="particleSystems/csiga_ps_alltalnos.i3d" />
        <pipeParticleSystem type="sunflower" node="12|0|0" rotation="0 90 0" file="particleSystems/csiga_ps_napra.i3d" />
        <pipeParticleSystem type="oat" node="12|0|0" rotation="0 90 0" file="particleSystems/csiga_ps_alltalnos.i3d" />
		<pipeParticleSystem type="rye" node="12|0|0" rotation="0 90 0" file="particleSystems/csiga_ps_alltalnos.i3d" />
    </pipeParticleSystems>

    <chopperParticleSystems>
        <chopperParticleSystem type="wheat" position="0.27751 0.5 -5"  file="particleSystems/threshingStrawParticleSystem.i3d" />
        <chopperParticleSystem type="barley" position="0.27751 0.5 -5"  file="particleSystems/threshingStrawParticleSystem.i3d" />
        <chopperParticleSystem type="rape" position="0.27751 0.5 -5"  file="particleSystems/threshingRapeParticleSystem.i3d" />
		<chopperParticleSystem type="sunflower" position="0.27751 0.5 -5"  file="particleSystems/threshingRapeParticleSystem.i3d" />
        <chopperParticleSystem type="maize" position="0.27751 0.5 -5"  file="particleSystems/threshingMaizeParticleSystem.i3d" />
        <chopperParticleSystem type="oat" position="0.27751 0.5 -5"  file="particleSystems/threshingStrawParticleSystem.i3d" />
		<chopperParticleSystem type="rye" position="0.27751 0.5 -5"  file="particleSystems/threshingStrawParticleSystem.i3d" />
    </chopperParticleSystems>
	
	<chopperDustParticleSystems>
		<chopperDustParticleSystem type="wheat"     position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemWheat.i3d" />
		<chopperDustParticleSystem type="barley"    position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemWheat.i3d" />
		<chopperDustParticleSystem type="oat"      position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemWheat.i3d" />
		<chopperDustParticleSystem type="rye"       position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemWheat.i3d" />
		<chopperDustParticleSystem type="rape"      position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemRape.i3d" />
		<chopperDustParticleSystem type="sunflower" position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemRape.i3d" />
		<chopperDustParticleSystem type="mohn"      position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemRape.i3d" />
		<chopperDustParticleSystem type="maize"      position="0.27751 0.5 -5" file="particleSystems/threshingDustParticleSystemMaize.i3d" />
	</chopperDustParticleSystems>

    <strawParticleSystems>
		<strawParticleSystem type="wheat" position="0.27751 0.5 -5" file="$data/vehicles/particleSystems/threshingStrawParticleSystemSmall.i3d" />
		<strawParticleSystem type="barley" position="0.27751 0.5 -5" file="$data/vehicles/particleSystems/threshingStrawParticleSystemSmall.i3d" />
    </strawParticleSystems>

    <grainTankPlanes>
        <grainTankPlane type="wheat">
            <node index="15|0">
                <key time="0" translation="0.10097 2.3839 0.46939" scale="1 1 1"/>
                <key time="0.5" translation="0.10097 3.15046 0.46939" scale="1 1 1"/>
                <key time="1" translation="0.10097 3.69607 0.46939" scale="1 1 1"/>
            </node>
        </grainTankPlane>
		<grainTankPlane type="barley">
            <node index="15|0">
                <key time="0" translation="0.10097 2.3839 0.46939" scale="1 1 1"/>
                <key time="0.5" translation="0.10097 3.15046 0.46939" scale="1 1 1"/>
                <key time="1" translation="0.10097 3.69607 0.46939" scale="1 1 1"/>
            </node>
        </grainTankPlane>
        <grainTankPlane type="maize">
            <node index="15|1">
                <key time="0" translation="0.10097 2.3839 0.46939" scale="1 1 1"/>
                <key time="0.5" translation="0.10097 3.15046 0.46939" scale="1 1 1"/>
                <key time="1" translation="0.10097 3.69607 0.46939" scale="1 1 1"/>
            </node>
        </grainTankPlane>
        <grainTankPlane type="rape">
            <node index="15|2">
                <key time="0" translation="0.10097 2.3839 0.46939" scale="1 1 1"/>
                <key time="0.5" translation="0.10097 3.15046 0.46939" scale="1 1 1"/>
                <key time="1" translation="0.10097 3.69607 0.46939" scale="1 1 1"/>
            </node>
        </grainTankPlane>
        <grainTankPlane type="sunflower">
            <node index="15|2">
                <key time="0" translation="0.10097 2.3839 0.46939" scale="1 1 1"/>
                <key time="0.5" translation="0.10097 3.15046 0.46939" scale="1 1 1"/>
                <key time="1" translation="0.10097 3.69607 0.46939" scale="1 1 1"/>
            </node>
        </grainTankPlane>
           <grainTankPlane type="oat">
            <node index="15|0">
                <key time="0" translation="0.10097 2.3839 0.46939" scale="1 1 1"/>
                <key time="0.5" translation="0.10097 3.15046 0.46939" scale="1 1 1"/>
                <key time="1" translation="0.10097 3.69607 0.46939" scale="1 1 1"/>
            </node>
        </grainTankPlane>
		 <grainTankPlane type="rye">
            <node index="15|0">
                <key time="0" translation="0.10097 2.3839 0.46939" scale="1 1 1"/>
                <key time="0.5" translation="0.10097 3.15046 0.46939" scale="1 1 1"/>
                <key time="1" translation="0.10097 3.69607 0.46939" scale="1 1 1"/>
            </node>
        </grainTankPlane>
    </grainTankPlanes>

    <grainTankCapacity>7500</grainTankCapacity>
    <grainTankUnloadingCapacity>350</grainTankUnloadingCapacity>
    <grainTankFruitTypes fruitTypes="wheat rape maize barley sunflower oat rye" />

    <combineSize>2</combineSize>
    <characterNode index="16" cameraMinDistance="1.5" />
    <strawAreas count="1">
        <strawArea1 startIndex="17" widthIndex="18" heightIndex="19" />
    </strawAreas>

    <combineTrailerTriggers>
        <combineTrailerTrigger index="20" />
    </combineTrailerTriggers>
	
    <aiTrafficCollisionTrigger index="21" />
	
	<animParts>
		 <animPart index="0>22|7" id="dvere1" showHelp="true" transMin="-0.28196 0 0" transMax="-0.28196 0 0.5"  autoReturn="false" moveTime="2.5" />
	</animParts>

    <components count="1">
        <component1 centerOfMass="0 0 -0.8" solverIterationCount="10" />
    </components>
	
		   	<dirt dirtInterval="0.5" cleaningInterval="40" updateInterval="0.3">
        <dirtComponent index="0>22|16" />
		<dirtComponent index="0>12|0" />
		<dirtComponent index="0>0|0" />
		<dirtComponent index="0>0|1" />
		<dirtComponent index="0>0|2" />
		<dirtComponent index="0>1|0" />
		<dirtComponent index="0>1|1" />
		<dirtComponent index="0>1|2" />
		<dirtComponent index="0>2|0|0" />
		<dirtComponent index="0>2|0|1" />
		<dirtComponent index="0>2|0|2" />
		<dirtComponent index="0>2|0|3" />
		<dirtComponent index="0>3|0|0" />
		<dirtComponent index="0>3|0|1" />
		<dirtComponent index="0>3|0|2" />
		<dirtComponent index="0>3|0|3" />
		<dirtComponent index="0>22|15" />
		<dirtComponent index="0>9|1" />
		<dirtComponent index="0>9|1|0" />
		<dirtComponent index="0>22|17" />
		<dirtComponent index="0>22|6" />
		<dirtComponent index="0>22|7" />
		</dirt>
	
	<chopper>
		<turnOnSound file="sound/Drtic.wav" pitchOffset="1" volume="0.7" volume3D="2" innerRadius="5" radius="8" />
		<foldingSound file="sound/pipe.wav" pitchOffset="2" volume="0.6" />
	</chopper>

     <schemaOverlay file="textur/vehicleSchema.png" fileSelected="textur/vehicleSchemaSelected.png" width="0.6" height="0.4" attacherJointPosition="0.3 -2">
        <attacherJoint position="0 0" rotation="0" invertX="false" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
     </schemaOverlay>
</vehicle>
