<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="JD8530">
	<annotation>Copyright (C) Sotillo, All Rights Reserved.</annotation>
    <name>
        <en>John Deere 8530</en>
        <de>John Deere 8530</de>		
    </name>
    <description></description>	
    <filename>JD8530.i3d</filename>
    <wheels autoRotateBackSpeed="1">
        <wheel rotSpeed="64" rotMax="30" rotMin="-30" driveMode="1" repr="2>1" driveNode="2>1|2" radius="0.8" suspTravel="0.05" spring="334" damper="20" mass="1" brakeRatio="0"/>
        <wheel rotSpeed="64" rotMax="30" rotMin="-30" driveMode="1" repr="3>1" driveNode="3>1|2" radius="0.8" suspTravel="0.05" spring="334" damper="20" mass="1" brakeRatio="0"/>
        <wheel rotSpeed="0" driveMode="2" repr="4>1" radius="1.03" suspTravel="0.1" spring="167" damper="20" mass="1" brakeRatio="1"/>
        <wheel rotSpeed="0" driveMode="2" repr="5>1" radius="1.03" suspTravel="0.1" spring="167" damper="20" mass="1" brakeRatio="1"/>
    </wheels>
	
	<accelerationSpeed maxAcceleration="1" deceleration="1" brakeSpeed="3" />
<fuelUsage>0</fuelUsage>
<downForce>0</downForce>
 
<realMaxVehicleSpeed>70</realMaxVehicleSpeed>
<realMaxReverseSpeed>20</realMaxReverseSpeed>
<realBrakeMaxMovingMass>18</realBrakeMaxMovingMass>
<realBrakingDeceleration>5</realBrakingDeceleration> <!-- deceleration in m/s2.  2 = very bad. 3 = bad. 4 = average. 5 = good. 6/7 = trucks, cars braking system  -->
 
<realSCX>6.4</realSCX>
<realPtoPowerKW>247</realPtoPowerKW>
<realMaxFuelUsage>73.1</realMaxFuelUsage>

    <fuelCapacity>392</fuelCapacity>

	<bunkerSiloCompacter compactingScale="3"/>

	<waitForTurnTime>2000</waitForTurnTime>

	<realDisplaySlip>true</realDisplaySlip>

    <cameras count="2">
        <camera1 index="2|0" rotatable="true" rotateNode="2" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="80" useWorldXZRotation="true"/>
        <camera2 index="3" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
    </cameras>

    <tipCamera index="8" />
	
    <size width="3.8" length="13" lengthOffset="-0.2"/>

    <exitPoint index="7" />
    <steering index="0>15|2|0" rotationSpeed="6"/>

    <enterReferenceNode index="0>" />

	<trailerAttacherJoints>
        <trailerAttacherJoint index="0>22|0|0" maxRotLimit="10 80 80" ptoOutputNode="0>22|3" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"/>
        <trailerAttacherJoint index="0>22|1" low="true" ptoOutputNode="0>22|3" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"/>
        <trailerAttacherJoint index="0>22|2" maxRotLimit="10 80 80" ptoOutputNode="0>22|4" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"/>
	</trailerAttacherJoints>

    <attachSound file="Sound/attach.wav" pitchOffset="1" />
    <motorStartSound file="Sound/JD_start.wav" pitchOffset="1" volume="1.4" />
    <motorSound file="Sound/JD_idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.25" volume="˝0.4" />
    <motorSoundRun file="Sound/JD_Run.ogg" pitchOffset="1" pitchScale="0.02" pitchMax="1.25" volume="0.8" />
    <motorStopSound file="Sound/JD_stop.wav" pitchOffset="1" volume="1.4" />
    <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"/>
    <honkSound file="$dataS2/sounds/hornBig.wav" client="$dataS2/sounds/hornBig.wav" volume="1" radius="80" innerRadius="35" />
    <aiMotorSound  file="Sound/JD_TD_IdleAI.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.0" />      

	<indoorSounds camIndex="2" ><!-- Indoor Sound-->
		<sound id="attachSound" percent="0.3" />
		<sound id="motorSound" percent="0.4" />
		<sound id="motorStartSound" percent="0.3" />
		<sound id="motorStopSound" percent="0.3" />
		<sound id="motorSoundRun" percent="0.3"  />
	</indoorSounds>
	
     <attacherJoints>
        <attacherJoint index="9|0|0" rotationNode="9" minRot="13 0 0" maxRot="-32 0 0" rotationNode2="9|0" maxRot2="35 0 0" maxTransLimit="0 0.8 0" maxRotLimit="8 0 20" moveTime="1.5" ptoOutputNode="0>22|3" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d">
            <bottomArm rotationNode="10" translationNode="10|0" referenceNode="10|0|0" zScale="-1" />
            <topArm rotationNode="11" translationNode="0>11|0|0" referenceNode="0>11|0|0|0" zScale="-1"/>
        </attacherJoint>
       <attacherJoint index="34|0|0|0" rotationNode="34|0" maxRot="10 0 0" rotationNode2="34|0|0" maxRot2="-15 0 0" maxTransLimit="0 0.4 0" maxRotLimit="8 0 20" moveTime="1.5">
    <bottomArm rotationNode="34|1" translationNode="34|1|0" referenceNode="34|1|0|0" zScale="1" />
    <topArm rotationNode="34|2" translationNode="34|2|0" referenceNode="34|2|0|0" zScale="1" />
        </attacherJoint>
    </attacherJoints>	

        <exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="0>31" file="PS/realParticles.i3d" />
        </exhaustParticleSystems>
	<realExhaustParticleSystem parameter="exhaustingSystem" minAlpha="0.1" maxAlpha="1" />

        <movingParts>
                <movingPart index="0>26|7" referencePoint="0>13|3" referenceFrame="0>">
                <translatingPart index="0>26|7|0" />
       		</movingPart>
		<movingPart index="0>26|0|0|0|1" referencePoint="0>10|0|1" referenceFrame="0>" scaleZ="true"/>
		<movingPart index="0>26|1" referencePoint="0>26|0|0|0|0" referenceFrame="0>" >
		<translatingPart index="0>26|1|0" />
                </movingPart>
        </movingParts>
	
	<lamps count="25">
    <lamp1 index="23|11|0" />
    <lamp2 index="23|11|1" />
    <lamp3 index="23|11|2" />
    <lamp4 index="23|11|3" />
    <lamp5 index="23|11|4" />
    <lamp6 index="23|11|5" />
    <lamp7 index="23|11|6" />
    <lamp8 index="23|11|7" />
    <lamp9 index="23|11|8" />
    <lamp10 index="23|11|9" />
    <lamp11 index="23|11|10" />
    <lamp12 index="23|11|11" />
    <lamp13 index="23|11|12" />
    <lamp14 index="23|11|13" />
    <lamp15 index="23|11|14" />
    <lamp16 index="23|11|15" />
    <lamp17 index="23|11|16" />
    <lamp18 index="23|11|17" />
    <lamp19 index="23|11|18" />
    <lamp20 index="23|11|19" />
    <lamp21 index="23|11|20" />
    <lamp22 index="23|11|21" />
    <lamp23 index="23|11|22" />
    <lamp24 index="23|11|23" />
    <lamp25 index="23|11|24" />
  </lamps>

	<beaconLights>
		<beaconLight index="0>26|8|0|2" speed="0.016" />
		<beaconLight index="0>26|19|0|2" speed="0.016" />
	</beaconLights>	
	
	<movingTools>
	<movingTool index="0>22|0" componentJointIndex="0" anchorActor="0" transSpeed="0.3" transAcceleration="40" transMax="0.94364" transMin="0.61191" translationAxis="2" axis="AXIS_FRONTLOADER_ARM" invertAxis="false"/>
	</movingTools>


	<backHydraulic rootArm="0>26|0" bottomArm="0>10" />
    <characterNode index="20" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="21" />
    <ZylinderV2> 
	<Zylinder count="1" >
	<Zylinder1 dir1="0>34|3|0"   dir2="0>34|1|0|1|0" />
	</Zylinder>
	</ZylinderV2>

	
	<animParts>
        <animPart index="0>34|1|0|2" id="Fronthydraulig" showHelp="true" rotMin="0 0 0" rotMax="-73 0 0" moveTime="3" />
		<animPart index="0>26|4|1" id="Heckfenster" showHelp="true" rotMin="0 0 0" rotMax="54 0 0" moveTime="1" />
		<animPart index="0>26|4|2" id="Tuer" showHelp="true" rotMin="2.87983 -0.21095 4.18606" rotMax="-0.97589 45.20517 3.70128" moveTime="3" />
		<animPart index="0>15" id="Motor" rotMin="35 0 0" rotMax="4.5 0 0" moveTime="2" />
		<animPart index="0>15|1" id="Motor" rotMin="170 0 0 " rotMax="210 0 0"  moveTime="1" />
		<animPart index="0>34|1|0|2" id="Arms_H8410"    showHelp="true"  rotMin="0 0 0"    rotMax="-73 0 0"            autoReturn="false" moveTime="2" />
	</animParts>
	
	<speedDisplayEntries><!--Supports Floats until 999.99 -->
		<displayEntry displayEntry="second" control_0="33|0|3|0" control_1="33|0|3|1" control_2="33|0|3|2" control_3="33|0|3|3" control_4="33|0|3|4" control_5="33|0|3|5" control_6="33|0|3|6" control_7="33|0|3|7" control_8="33|0|3|8" control_9="33|0|3|9" />
		<displayEntry displayEntry="first" control_0="33|0|2|0" control_1="33|0|2|1" control_2="33|0|2|2" control_3="33|0|2|3" control_4="33|0|2|4" control_5="33|0|2|5" control_6="33|0|2|6" control_7="33|0|2|7" control_8="33|0|2|8" control_9="33|0|2|9" />
		<displayEntry displayEntry="comma_first" control_0="33|0|0|0" control_1="33|0|0|1" control_2="33|0|0|2" control_3="33|0|0|3" control_4="33|0|0|4" control_5="33|0|0|5" control_6="33|0|0|6" control_7="33|0|0|7" control_8="33|0|0|8" control_9="33|0|0|9" />
	</speedDisplayEntries>
	<RPMDisplayEntries><!-- 9999 -->
		<displayEntry displayEntry="first" control_0="33|1|0|0" control_1="33|1|0|1" control_2="33|1|0|2" control_3="33|1|0|3" control_4="33|1|0|4" control_5="33|1|0|5" control_6="33|1|0|6" control_7="33|1|0|7" control_8="33|1|0|8" control_9="33|1|0|9" />
		<displayEntry displayEntry="second" control_0="33|1|1|0" control_1="33|1|1|1" control_2="33|1|1|2" control_3="33|1|1|3" control_4="33|1|1|4" control_5="33|1|1|5" control_6="33|1|1|6" control_7="33|1|1|7" control_8="33|1|1|8" control_9="33|1|1|9" />
		<displayEntry displayEntry="third" control_0="33|1|2|0" control_1="33|1|2|1" control_2="33|1|2|2" control_3="33|1|2|3" control_4="33|1|2|4" control_5="33|1|2|5" control_6="33|1|2|6" control_7="33|1|2|7" control_8="33|1|2|8" control_9="33|1|2|9" />
		<displayEntry displayEntry="fourth" control_0="33|1|3|0" control_1="33|1|3|1" control_2="33|1|3|2" control_3="33|1|3|3" control_4="33|1|3|4" control_5="33|1|3|5" control_6="33|1|3|6" control_7="33|1|3|7" control_8="33|1|3|8" control_9="33|1|3|9" />
	</RPMDisplayEntries>

	<lights count="1">
         <light1 index="0>23|0|0" />
	
         </lights>
    <lightCoronas>
        <lightCorona index="0>23|0|2" />
    </lightCoronas>
	<lightCones> 
	<lightCone index="0>23|0|1" /> 
	</lightCones>
	
	<wiper rootNode="0>26|4|0" speedScale="2" clip="wiperSource" />

	<lightsaddon lightsStayOn="true">
			<light type="work" index="23|2" real="23|2|0" beam="23|2|1" inputName="frontwork" helptext="frontwork" stayOn="true"/>
			<light type="work" index="23|3" real="23|3|0" beam="23|3|1" inputName="rearwork"  helptext="rearwork"  stayOn="true"/>
			<light type="brake" index="23|4" />
			<!--light type="reverse" index="" /-->
			<light type="dirLeft" index="23|6" />
			<light type="dirRight" index="23|5" />
			<light type="parkLeft" index="23|8" />
			<light type="parkRight" index="23|7" />
	</lightsaddon>

        <components count="6">
        <component1 centerOfMass="0.00 0.00 -1" solverIterationCount="190" realMassWanted="4.50" />
		<component2 centerOfMass="0 -1 0" solverIterationCount="190" realMassWanted="2.50" />
		<component3 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1.00" />
		<component4 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1.00" />
		<component5 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1.00" />
		<component6 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1.00" />
			
		<joint component1="0" component2="1" index="1>0" rotLimit="0 0 10" 	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>
		
		
         <dirt dirtInterval="2" cleaningInterval="15" updateInterval="0.01">
         <dirtComponent index="0>" />
         <dirtComponent index="0>10|0|2" />
         <dirtComponent index="0>11|0" />
         <dirtComponent index="0>11|0|0|1" />
         <dirtComponent index="0>13|4|0" />
         <dirtComponent index="0>13|4|0|0|0" />
		 <dirtComponent index="0>13|4|0|0|1" />
         <dirtComponent index="0>14|0" />
         <dirtComponent index="0>14|0|0" />
         <dirtComponent index="0>15|0" />
         <dirtComponent index="0>15|1|0" />
         <dirtComponent index="0>15|2|0" />
		 <dirtComponent index="0>16" />
         <dirtComponent index="0>17" />
         <dirtComponent index="0>18" />
         <dirtComponent index="0>19" />
         <dirtComponent index="0>20" />
         <dirtComponent index="0>20|1" />
		 <dirtComponent index="0>21" />
         <dirtComponent index="0>22|0" />
         <dirtComponent index="0>26|0|0|0" />
         <dirtComponent index="0>26|0|0|0|1" />
         <dirtComponent index="0>26|1" />
		 <dirtComponent index="0>26|1|0" />
         <dirtComponent index="0>26|3" />
         <dirtComponent index="0>26|3|0" />
         <dirtComponent index="0>26|4|0" />
         <dirtComponent index="0>26|4|1" />
         <dirtComponent index="0>26|4|1|0" />
		 <dirtComponent index="0>26|4|2" />
         <dirtComponent index="0>26|4|1|1" />
         <dirtComponent index="0>26|8|0|0" />
         <dirtComponent index="0>26|12" />
         <dirtComponent index="0>26|18" />
         <dirtComponent index="0>26|19|0|0" />
		 <dirtComponent index="0>34|1|0" />
         <dirtComponent index="0>34|1|0|1|0" />
         <dirtComponent index="0>34|1|0|2" />
         <dirtComponent index="0>34|2|0|0|0" />
         <dirtComponent index="0>34|2|1" />
         <dirtComponent index="0>34|3|0" />
		 <dirtComponent index="0>35|0" />
         <dirtComponent index="0>35|1|0|0" />
         <dirtComponent index="0>35|1|0|1" />
         <dirtComponent index="0>35|1|0|2" />
         <dirtComponent index="0>35|1|0|3" />
         <dirtComponent index="0>35|1|0|4" />
		 <dirtComponent index="0>35|1|0|5" />
         <dirtComponent index="0>35|1|0|6" />
         <dirtComponent index="0>35|1|0|7" />
         <dirtComponent index="0>35|1|0|8" />
         <dirtComponent index="0>35|1|0|9" />
		 <dirtComponent index="0>35|1|0|10" />
         <dirtComponent index="0>35|1|0|11" />
         <dirtComponent index="0>35|1|0|12" />
         <dirtComponent index="0>35|1|1|0" />
         <dirtComponent index="0>35|1|2" />
		 <dirtComponent index="0>35|1|3" />
         <dirtComponent index="0>35|1|4" />
         <dirtComponent index="0>35|1|5" />
         <dirtComponent index="0>35|1|6" />
         <dirtComponent index="0>35|1|7" />
		 <dirtComponent index="0>35|1|8|0" />
         <dirtComponent index="0>35|1|9" />
         <dirtComponent index="0>35|2" />
         <dirtComponent index="0>35|3|0" />
         <dirtComponent index="0>35|3|0|0" />
		 <dirtComponent index="0>35|3|0|0|0" />
         <dirtComponent index="0>35|4|0" />
         <dirtComponent index="0>35|4|0|0" />
		 <dirtComponent index="0>35|4|0|0|0" />
         <dirtComponent index="0>35|5" />
         <dirtComponent index="0>36|0" />
		 <dirtComponent index="0>36|1|0" />
         <dirtComponent index="0>36|1|0|0|0" />
         <dirtComponent index="0>36|1|0|0|0|0" />
		 <dirtComponent index="0>36|1|1" />
         <dirtComponent index="0>36|2|0" />
         <dirtComponent index="0>36|2|0|0|0" />
		 <dirtComponent index="0>36|2|0|0|0|0" />
         <dirtComponent index="0>36|2|1" />
         <dirtComponent index="0>36|5|0" />
		 <dirtComponent index="0>36|5|0|0" />
         <dirtComponent index="0>36|5|0|0|0" />
         <dirtComponent index="0>36|6" />
		 <dirtComponent index="0>36|7" />
         <dirtComponent index="0>36|8" />
         <dirtComponent index="0>36|9" />
		 <dirtComponent index="0>36|10|0" />
         <dirtComponent index="0>36|10|0|0" />
         <dirtComponent index="0>36|10|0|0|0" />
		 <dirtComponent index="0>37" />
		 <dirtComponent index="1>" />
		 <dirtComponent index="1>3|0|0" />
		 <dirtComponent index="1>3|0|0|0|0" />
		 <dirtComponent index="1>3|0|0|0|0|0" />
		 <dirtComponent index="1>3|0|0|1|0" />
		 <dirtComponent index="1>3|0|0|1|0|0" />
		 <dirtComponent index="2>" />
		 <dirtComponent index="2>1" />
		 <dirtComponent index="2>1|0" />
		 <dirtComponent index="2>1|0|0" />
		 <dirtComponent index="2>1|2" />
		 <dirtComponent index="2>1|2|0" />
		 <dirtComponent index="3>" />
		 <dirtComponent index="3>1" />
		 <dirtComponent index="3>1|0" />
		 <dirtComponent index="3>1|0|0" />
		 <dirtComponent index="3>1|2" />
		 <dirtComponent index="3>1|2|0" />
		 <dirtComponent index="4>" />
		 <dirtComponent index="4>1|0|0|0" />
		 <dirtComponent index="4>1|0|0|0|0" />
		 <dirtComponent index="4>1|0|0|0|1" />
		 <dirtComponent index="4>1|0|0|0|2" />
		 <dirtComponent index="4>1|0|0|1" />
		 <dirtComponent index="5>" />
		 <dirtComponent index="5>1|0|0|0" />
		 <dirtComponent index="5>1|0|0|0|0" />
		 <dirtComponent index="5>1|0|0|0|1" />
		 <dirtComponent index="5>1|0|0|0|2" />
		 <dirtComponent index="5>1|0|0|1" />
         </dirt>
		 
        <frontRightWheel wheelIndex="1" componentJointIndex="2" furrowDepth="0.16" fallSpeed="0.4" tireWidth="0.35" />
	<frontLeftWheel wheelIndex="2" componentJointIndex="3" furrowDepth="0.16" fallSpeed="0.4" tireWidth="0.35" />
	<backRightWheel wheelIndex="3" componentJointIndex="4" furrowDepth="0.26" fallSpeed="0.4" tireWidth="0.4" />
	<backLeftWheel wheelIndex="4" componentJointIndex="5" furrowDepth="0.26" fallSpeed="0.4" tireWidth="0.4" />
	
        <workExhaustParticleSystems count="1">
        <workExhaustParticleSystem1 node="31" file="$data/vehicles/particleSystems/exhaustParticleSystemBig.i3d" />
        </workExhaustParticleSystems>
	
	<increaseRpmDuringPloughing value="true" />

	<schemaOverlay file="texture/vehicleSchema.png" fileSelected="texture/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 -0.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" />
        </schemaOverlay>

        <moveableAttacher index="0>22|0" maxY="0.93" minY="0.63" /> 
		
	 <lamps count="25">
       <lamp1 index="21|5|0" />
       <lamp2 index="21|5|1" />
       <lamp3 index="21|5|2" />
       <lamp4 index="21|5|3" />
       <lamp5 index="21|5|4" />
       <lamp6 index="21|5|5" />
       <lamp7 index="21|5|6" />
       <lamp8 index="21|5|7" />
       <lamp9 index="21|5|8" />
       <lamp10 index="21|5|9" />
       <lamp11 index="21|5|10" />
       <lamp12 index="21|5|11" />
       <lamp13 index="21|5|12" />
       <lamp14 index="21|5|13" />
       <lamp15 index="21|5|14" />
       <lamp16 index="21|5|15" />
       <lamp17 index="21|5|16" />
       <lamp18 index="21|5|17" />
       <lamp19 index="21|5|18" />
       <lamp20 index="21|5|19" />
       <lamp21 index="21|5|20" />
       <lamp22 index="21|5|21" />
       <lamp23 index="21|5|22" />
       <lamp24 index="21|5|23" />
       <lamp25 index="21|5|24" />
    </lamps>

        <wheelParticleSystems file="PS/wheelParticleSystem.i3d" >
	<wheelParticleSystem node="0>32|0"  />
	<wheelParticleSystem node="0>32|1"  />
	<wheelParticleSystem node="0>32|2"  />
	<wheelParticleSystem node="0>32|3"  />
        </wheelParticleSystems>

</vehicle>
