<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="JD6820_Premium">
	<annotation>820Power, All Rights Reserved.</annotation>
    <name>
        <en>John Deere 6820</en>
        <de>John Deere 6820</de>
    </name>
    <description></description>
    <filename>JD.i3d</filename>
	<wheels autoRotateBackSpeed="1.4">
		<wheel rotSpeed="45" rotMax="34" rotMin="-34" driveMode="2" repr="0" driveNode="0|0" radius="0.5" deltaY="0.20" suspTravel="0.25" spring="100" damper="20" mass="0.42" lateralStiffness="25" />
		<wheel rotSpeed="45" rotMax="34" rotMin="-34" driveMode="2" repr="1" driveNode="1|0" radius="0.5" deltaY="0.20" suspTravel="0.25" spring="100" damper="20" mass="0.42" lateralStiffness="25" />
		<wheel rotSpeed="0" driveMode="1" repr="2" radius="0.9" deltaY="0.15" suspTravel="0.2" spring="150" damper="20" mass="0.5" lateralStiffness="25" />
		<wheel rotSpeed="0" driveMode="1" repr="3" radius="0.9" deltaY="0.15" suspTravel="0.2" spring="150" damper="20" mass="0.5" lateralStiffness="25" />
	</wheels>
    <motor minRpm="100" maxRpm="840 1200 2700 620" maxTorques="3.5 3.5 -1 3.5" brakeForce="13" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" accelerations="0.4 1 1 1" forwardGearRatio="15.5" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="20">
		<torque rpm="2700" torque="7.0"/>

		<backwardTorque rpm="400" torque="8"/>
		<backwardTorque rpm="600" torque="2.5"/>
    </motor>
	
	<accelerationSpeed maxAcceleration="0.10" deceleration="0.6" />
    <fuelCapacity>385</fuelCapacity>
    <fuelUsage>0.004</fuelUsage>
    <downForce>6</downForce>
    
	<cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="false" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="40" />
        <camera2 index="5" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
    </cameras>

    <lights count="1">
        <light1 index="30" />
    </lights>
	
    <lightCoronas>
		<lightCorona index="31" />	
	</lightCoronas>
	
	<lightCones>
		<lightCone index="46" />	
	</lightCones>

	<steering index="18|0" rotationSpeed="3"/>
	
	<cuttingAreas count="1">
        <cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/>
    </cuttingAreas>

	<components count="1">
        <component1 centerOfMass="0 0 0" solverIterationCount="10" />
    </components>
	
	<enterReferenceNode index="0>" />
	<exitPoint index="9" />
	
	<size width="3.8" length="7.5" lengthOffset="-0.2"/>
	
	<trailerAttacherJoints>
        <trailerAttacherJoint index="11|0" shaft="32" />
        <trailerAttacherJoint index="42|0" low="true" shaft="32" />
    </trailerAttacherJoints>
	
    <characterNode index="28" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="29" /> 
			
	<!-- External Sounds -->
    <attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="Sounds/JD_Start.wav" pitchOffset="1" volume="1.2" />
    <motorSound file="Sounds/JD_Idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.35" volume="0.9" />
    <motorSoundRun file="Sounds/JD_Run.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.35" volume="1" />
    <motorStopSound file="Sounds/JD_Stop.wav" pitchOffset="1" />
    <compressedAirSound file="$data/vehicles/steerable/deutz/compressedAir.wav" pitchOffset="1"/>
    <compressionSound file="$data/vehicles/steerable/deutz/compressorWork.wav" pitchOffset="1" volume="1.5"/>    
    <aiMotorSound  file="Sounds/JD_IdleAI.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.0" /> 
	
	<exhaustParticleSystems count="1">
		<exhaustParticleSystem1 position="-0.77 3.4 0.5" rotation="90 27 90" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
	</exhaustParticleSystems>
    
	<attacherJoints>
        <attacherJoint index="12|0|0" rotationNode="12" maxRot="-12 0 0" rotationNode2="12|0" maxRot2="9 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="32">
            <bottomArm rotationNode="13" translationNode="13|0" referenceNode="13|0|0" zScale="-1" />
            <topArm rotationNode="14" translationNode="14|0" referenceNode="14|0|0|1|0" zScale="-1" />
        </attacherJoint>
        <attacherJoint index="15|0|0" rotationNode="15" maxRot="10 0 0" rotationNode2="15|0" maxRot2="-7 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="33">
            <bottomArm rotationNode="16" translationNode="16|0" referenceNode="16|0|0" zScale="1" />
            <topArm rotationNode="17" translationNode="17|0" referenceNode="17|0|0" zScale="1" />
        </attacherJoint>
<!-- frontloader -->
        <attacherJoint jointType="frontloader" index="45|0|0|1|0" allowsJointLimitMovement="false" allowsLowering="false" />
	</attacherJoints>

		<animParts>
			<animPart index="37|4|0" id="backwindowjd6920" showHelp="false" rotMin="0 0 0" rotMax="50 0 0" moveTime="1" />
			<animPart index="37|3|1" id="tuerlinksjd6920" showHelp="false" rotMin="0 0 0" rotMax="-6 50 0" moveTime="1" />
			<animPart index="37|3|0" id="tuerrechtsjd6920" showHelp="false" rotMin="0 0 0" rotMax="-5 -50 0" moveTime="1" />
			<animPart index="16" id="unterlenkerjd6920" showHelp="false" rtMin="-15 0 0" rotMax="25 0 0" moveTime="1" />
		</animParts>
		
	
        <lightsaddon lightsStayOn="true">
			<light type="highbeam" index="39|0" real="39|0|2" beam="39|0|1" />
			<light type="work" index="39|1" real="39|1|2" beam="39|1|1" inputName="frontwork" helptext="frontwork" stayOn="false"/>
			<light type="work" index="39|2" real="39|2|2" beam="39|2|1" inputName="rearwork" helptext="rearwork" stayOn="false"/>
			<light type="dirLeft" index="39|3" />
			<light type="dirRight" index="39|4" />
			<light type="brake" index="39|5" />
			<light type="work" index="38"  inputName="Flkonsolejd6920" helptext="Flkonsole" stayOn="true"/>
			<light type="work" index="45"  inputName="Frontloadjd6920" helptext="Frontload" stayOn="true"/>
			<light type="work" index="2|0"  inputName="Zwillingsreifenjd6920" helptext="Zwillingsreifen" stayOn="true"/>
			<light type="work" index="3|0"  inputName="Zwillingsreifenjd6920" stayOn="true"/> 
		</lightsaddon>
	

		<beaconLights>
			<beaconLight index="40|0|0|0" speed="0.020" />
		</beaconLights>

		<mouseControls>
			<mouseControl iconFilename="$dataS2/menu/mouseControlsHelp/dafs_arm1.png" mouseButton="LEFT" mouseAxis="Y" axis="AXIS_FRONTLOADER_ARM" />
			<mouseControl iconFilename="$dataS2/menu/mouseControlsHelp/dafs_tool.png" mouseButton="LEFT" mouseAxis="X" axis="AXIS_FRONTLOADER_TOOL" />
		</mouseControls>

		<movingTools>
			<movingTool index="45|0" attacherJointIndices="2" componentJointIndex="0" anchorActor="0" rotSpeed="20" rotAcceleration="80" rotMax="5" rotMin="-80" axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="true" speedFactor="0.3">
				<dependentPart index="0>45|0|1" />
			</movingTool>
			<movingTool index="45|0|0|1" attacherJointIndices="2" anchorActor="0" rotSpeed="35" rotAcceleration="300" rotMax="160" rotMin="-5" axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_TOOL" invertMouseAxis="false" speedFactor="0.3">
				<dependentPart index="0>45|0|0|0" />
			</movingTool>
		</movingTools>

		<movingParts>
			<!-- arm cylinder -->
			<movingPart index="0>45|0|1" referencePoint="0>44|0" referenceFrame="0>44|0">
            <translatingPart index="0>45|0|1|0" />
        </movingPart>


        <!-- main hinge -->
        <movingPart index="0>45|0|0|0" referencePoint="0>45|0|0|1|1" localReferencePoint="0>45|0|0|0|0" referenceFrame="0>45|0|0|1|1">
            <dependentPart index="0>45|0|0|0|0" />
            <dependentPart index="0>45|0|2" />
        </movingPart>
        <!-- front top hinge -->
        <movingPart index="0>45|0|0|0|0" referencePoint="0>45|0|0|1|1" referenceFrame="0>45|0|0|1">
        </movingPart>

        <!-- tool cylinder -->
        <movingPart index="0>45|0|2" referencePoint="0>45|0|0|0|1" referenceFrame="0>45|0|0">
            <translatingPart index="0>45|0|2|0" />
        </movingPart>
    </movingParts>


<honkSound file="$dataS2/sounds/horn.wav" client="$dataS2/sounds/horn3D.wav" volume="1" radius="50" innerRadius="20" />


<operatingHours posX="0.7543" posY="0.1715" />
<ESLimiter posX="0.7543" posY="0.1715" />

</vehicle>
