<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="JD7530_MS">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>John Deere 7530</en>
        <de>John Deere 7530</de>
    </name>
    <description></description>
    <filename>JohnDeere_7530P.i3d</filename>

 <wheels autoRotateBackSpeed="1">
        	<wheel rotSpeed="50" rotMax="28" rotMin="-28" 	driveMode="1" repr="2>1" driveNode="2>1|0" 	radius="0.73" deltaY="0.08" suspTravel="0.2" spring="50" damper="20" mass="1" brakeRatio="1" componentJointIndex="2" furrowDepth="0.18" realWheelComponent="1" />
	<wheel rotSpeed="50" rotMax="28" rotMin="-28" 	driveMode="1" repr="3>1" driveNode="3>1|0" 	radius="0.73" deltaY="0.08" suspTravel="0.2" spring="50" damper="20" mass="1" brakeRatio="1" componentJointIndex="3" furrowDepth="0.18" realWheelComponent="1" />
	<wheel rotSpeed="0" 				driveMode="2" repr="4>1" 			radius="0.93" deltaY="0.03" suspTravel="0.2" spring="50" damper="20" mass="1" brakeRatio="1" componentJointIndex="4" furrowDepth="0.18" realWheelComponent="1" />
	<wheel rotSpeed="0" 				driveMode="2" repr="5>1" 			radius="0.93" deltaY="0.03" suspTravel="0.2" spring="50" damper="20" mass="1" brakeRatio="1" componentJointIndex="5" furrowDepth="0.18" realWheelComponent="1" />
    </wheels>
	<accelerationSpeed maxAcceleration="1" deceleration="1" brakeSpeed="3" />
    <fuelCapacity>220</fuelCapacity>
    <fuelUsage>0</fuelUsage>
	<downForce>0</downForce>
	<bunkerSiloCompacter compactingScale="1.65"/>
	
    <realMaxVehicleSpeed>50</realMaxVehicleSpeed>
	<realMaxReverseSpeed>18</realMaxReverseSpeed>
	<realBrakeMaxMovingMass>12</realBrakeMaxMovingMass>
	<realBrakingDeceleration>5.5</realBrakingDeceleration>
	<realSCX>5.28</realSCX>
	<realPtoPowerKW>100</realPtoPowerKW>
	<realMaxFuelUsage>29</realMaxFuelUsage>
	<waitForTurnTime>1600</waitForTurnTime>
	<realDisplaySlip>true</realDisplaySlip>

<!--<fuelCapacity>220</fuelCapacity>
    <fuelUsage>0</fuelUsage>-->

	<realTransmissionEfficiency>0.89</realTransmissionEfficiency>

		<!-- manual gearbox -->
	<realEngine idleRpm="700" ratedRpm="2100" accelerationSpeed="0.4" decelerationSpeed="1.2" engineRevUpTimeMs="5000" engineRevDownTimeMs="10000" speedLimiter="50">
	
		<torque rpm="500"  ptoTorque="0"   fuelUsageRatio="1.092" /> <!-- 260g/kWh => 260/238 = 1.092 fuel ratio factor -->
		<torque rpm="800" ptoTorque="710" fuelUsageRatio="0.987" /> <!-- 235g/kWh => 235/238 = 0.987 fuel ratio factor -->
		<torque rpm="900" ptoTorque="730" fuelUsageRatio="0.987" /> <!-- 235g/kWh => 235/238 = 0.987 fuel ratio factor -->
		<torque rpm="1000" ptoTorque="745" fuelUsageRatio="0.987" /> <!-- 235g/kWh => 235/238 = 0.987 fuel ratio factor -->
		<torque rpm="1100" ptoTorque="750" fuelUsageRatio="0.987" /> <!-- 235g/kWh => 235/238 = 0.987 fuel ratio factor -->
		<torque rpm="1200" ptoTorque="760" fuelUsageRatio="0.907" /> <!-- max torque (216g/kWh => 238/216 = 0.907 fuel ratio factor) -->
		<torque rpm="1300" ptoTorque="770" fuelUsageRatio="0.945" /> <!-- 225g/kWh => 225/238 = 0.945 fuel ratio factor -->
		<torque rpm="1400" ptoTorque="775" fuelUsageRatio="0.945"     /> <!-- max power = 120KW @2400rpm  (238g/kWh => 1 fuel ratio factor) -->
		<torque rpm="1500" ptoTorque="780" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->
		<torque rpm="1600" ptoTorque="775" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->
		<torque rpm="1700" ptoTorque="750" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->
		<torque rpm="1800" ptoTorque="700" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->
		<torque rpm="1900" ptoTorque="660" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->
		<torque rpm="2000" ptoTorque="600" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->			
		<torque rpm="2100" ptoTorque="550" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->
		<torque rpm="2300" ptoTorque="0" fuelUsageRatio="0.945" /> <!-- 245g/kWh => 245/238 = 1.029 fuel ratio factor -->
		

		<pitch rpm="500"  motorSoundPitch="0.8" motorSoundRunPitch="0.3" />
		<pitch rpm="800"  motorSoundPitch="1.3"   motorSoundRunPitch="0.5" />
		<pitch rpm="1200"  motorSoundPitch="1.65"   motorSoundRunPitch="0.8" />
		<pitch rpm="2400" motorSoundPitch="2"   motorSoundRunPitch="1.15" />
		<pitch rpm="15000" motorSoundPitch="1.13"   motorSoundRunPitch="2" /> <!-- max pitch possible in game = 2. And so, we set at which theorical "rpm" we should hear that -->
		
	</realEngine>
	<realManualTransmission isActive="true" transmissionEfficiency="0.95" clutchReleaseTimeMs="500" >
		<groups defaultGroup="2" quickAccesGroup="3">
			<group multi="0.874" isReverseGroup="true" name="R" />
			<group multi="1" name="S" />
			<group multi="0.84" name="M" />
			<group multi="0.691" name="L" />
	</groups>
		<gears speedInGroup="2" defaultGear="0" >
			<gear speed="7,40" name="1"  />
			<gear speed="11,90" name="2"  />
			<gear speed="18,80" name="3"  />
			<gear speed="23,90" name="4"  />
			<gear speed="29,40" name="5"  />
			<gear speed="45,20" name="6"  />
			
</gears>
	</realManualTransmission>
	
	<!-- /manual gearbox -->
	
	<!-- -->

	


	<exhaustParticleSystems count="1">
		<exhaustParticleSystem1 node="0>25" position="0 0 0" rotation="0 0 0"  file="particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>
	<realExhaustParticleSystem hasSecondPS="true" parameter="exhaustingSystem" minAlpha="0.1" maxAlpha="1" >
		<SecondParticleSystem node="0>56" position="0 0.05 0.05" rotation="0 0 0" file="particleSystems/exhaustParticleSystemBig.i3d" />
	</realExhaustParticleSystem>
    

    <cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="50"  >
			<raycastNode index="0>29"/>
			<raycastNode index="0>30"/>
		</camera1>
        <camera2 index="5" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
    </cameras>
    <lights count="2">
        <light1 index="12" />
        <light2 index="13" />
    </lights>	
	<lightCones>
		<lightCone index="26" />	
	</lightCones>	
	<lightCoronas>
		<lightCorona index="27" />	
	</lightCoronas>	

<lightsaddon lightsStayOn="true">
		<light type="brake" index="49|5" />
		<light type="dirLeft" index="49|3" />
		<light type="dirRight" index="49|4" />
		<light type="work" index="49|1" real="49|1|2" beam="49|1|1" helptext="ALHinten" inputName="ALHinten" stayOn="true" />
		<light type="work" index="49|2" real="49|2|2" beam="49|2|1" helptext="ALVorne" inputName="ALVorne" stayOn="true" />
		<flashers soundfile="sounds/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.6" autoreturn="true" tolerance="0.9"/>
	</lightsaddon>


	<beaconLights stayOn="true">
		<beaconLight index="0>45|1|1" rotIndex="0>45|1" speed="0.017" />
		<beaconLight index="0>46|1|1" rotIndex="0>46|1" speed="0.017" />
	</beaconLights>


	
    <steering index="20|0" rotationSpeed="6"/>
	
    <cuttingAreas count="0">
        <cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/>
    </cuttingAreas>
    <enterReferenceNode index="0>" />
    <exitPoint index="9" />
    <size width="3.8" length="7.5" lengthOffset="-0.2"/>
    <characterNode index="22" armIndex="0>20|0|0" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="24" />
    <tipCamera index="11" />	

    <motorStartDuration>2500</motorStartDuration>
    <motorStartSound file="sounds/JD_start.wav" pitchOffset="1" volume="1.4" />
    <motorSound file="sounds/jd_rpm_idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.25" volume="1" />
    <motorSoundRun file="sounds/JD_Run.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.35" volume="1.1" />
    <motorStopSound file="sounds/JD_stop.wav" pitchOffset="1" volume="1.4" />
	
	<attachSound file="$data/vehicles/steerable/deutz/attach.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"/>
   

	
	<powerIn file="sounds/jd_rpm_start.wav" pitchOffset="1" volume="1.6"/>
	<powerIdle file="sounds/jd_rpm_idle.wav" pitchOffset="1" volume="1.6"/>
	<powerOut file="sounds/jd_rpm_out.wav" pitchOffset="1" volume="1.6"/>

	<indoorSounds camIndex="2" >
		<sound id="attachSound" percent="0.4" volume="motorSoundVolume" />
		<sound id="motorSound" percent="0.4" volume="motorSoundVolume" />
		<sound id="motorStartSound" percent="0.4" />
		<sound id="motorStopSound" percent="0.4" />
		<sound id="motorSoundRun" percent="0.1" volume="motorSoundVolume" />
	</indoorSounds>
	

    <components count="6">
		<!-- komponent główny -->
        <component1 centerOfMass="0.000 0.000 -1.31445" solverIterationCount="190" realMassWanted="0.3" />
		<!-- komponent osi -->
		<component2 centerOfMass="0 -1 0" solverIterationCount="190" realMassWanted="0.2" />
		<!-- komponent prawego przedniego koła -->
		<component3 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1" />
		<!-- komponent lewego przedniego koła -->
		<component4 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1" />
		<!-- komponent prawego tylnego koła -->
		<component5 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="2" />
		<!-- komponent lewego tylnego koła -->
		<component6 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="2" />
		
		<!-- joint osi (componentJointIndex = 1) -->
		<joint component1="0" component2="1" index="1>0" rotLimit="0 0 8" 	transLimit="0 0 0" breakable="false"/>
		<!-- joint prawego przedniego koła (componentJointIndex = 2) -->
		<joint component1="1" component2="2" index="2>0" rotLimit="0 0 0" 	transLimit="0 0 0" breakable="false"/>
		<!-- joint lewego przedniego koła (componentJointIndex = 3) -->
		<joint component1="1" component2="3" index="3>0" rotLimit="0 0 0" 	transLimit="0 0 0" breakable="false"/>
		<!-- joint prawego tylnego koła (componentJointIndex = 4) -->
		<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" 	transLimit="0 0 0" breakable="false"/>
		<!-- joint lewego tylnego koła (componentJointIndex = 5) -->
		<joint component1="0" component2="5" index="5>0" rotLimit="0 0 0" 	transLimit="0 0 0" breakable="false"/>
		
		<!-- wyłączenie kolizji pomiędzy wszystkimi istniejącymi komponentami -->
		<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>

     <!-- główny kod modu orki -->
	<frontRightWheel wheelIndex="1" componentJointIndex="2" furrowDepth="0.24" fallSpeed="0.4" tireWidth="0.35" />
	<frontLeftWheel wheelIndex="2" componentJointIndex="3" furrowDepth="0.24" fallSpeed="0.4" tireWidth="0.35" />
	<backRightWheel wheelIndex="3" componentJointIndex="4" furrowDepth="0.24" fallSpeed="0.4" tireWidth="0.4" />
	<backLeftWheel wheelIndex="4" componentJointIndex="5" furrowDepth="0.24" fallSpeed="0.4" tireWidth="0.4" />
	<!-- koniec główego kodu modu orki -->
	
	<!-- opcjonalny kod modu orki -->
    <workExhaustParticleSystems count="1">
        <workExhaustParticleSystem1 node="25" file="$data/vehicles/particleSystems/exhaustParticleSystemBig.i3d" />
    </workExhaustParticleSystems>
	
	<increaseRpmDuringPloughing value="true" />
	<!-- koniec opcjonalnego kodu modu orki -->

    	

    <attacherJoints>
        <attacherJoint index="14|0|0" rotationNode="14" minRot="25 0 0" maxRot="-13.557 0 0" rotationNode2="14|0" maxRot2="13.557 0 0" maxRotDistanceToGround="0.459" minRotDistanceToGround="0.2429" shaft="32|5">
            <bottomArm rotationNode="15" referenceNode="15|0|0" zScale="-1" />
            <topArm rotationNode="16" translationNode="16|0|0" referenceNode="16|0|0|0" zScale="-1" />
        </attacherJoint>
        <attacherJoint index="17|0|0" rotationNode="17" minRot="35 0 0" maxRot="-34.23 0 0" rotationNode2="17|0" maxRot2="34.23 0 0" maxRotDistanceToGround="0.999" minRotDistanceToGround="0.264" shaft="33|2">
            <bottomArm rotationNode="18" referenceNode="18|0|0" zScale="1" />
            <topArm rotationNode="19" translationNode="19|0|0" referenceNode="19|0|0|0" zScale="1" />
        </attacherJoint>
		
    </attacherJoints>	
    <trailerAttacherJoints>
        <trailerAttacherJoint index="10" shaft="32|5"/>
        <trailerAttacherJoint index="10" low="true"  shaft="32|5"/>
        <trailerAttacherJoint index="33|3" shaft="33|2"/>
    </trailerAttacherJoints>


        <animParts>
	<animPart index="52" id="heckfenster818" showHelp="false" rotMin="0 0 0" rotMax="62 0 0" moveTime="2" />
	<animPart index="50" id="tuerLinks818" showHelp="false" rotMin="0 0 0" rotMax="-3 48 0" moveTime="1" />
	<animPart index="51" id="tuerRechts818" showHelp="false" rotMin="0 0 0" rotMax="-3 -47 0" moveTime="1" />                                  
	</animParts>

	<hydraulics count="2">
	        <hydraulic1 index="0>53" punch="0>53|0" punchFixpoint="0>53|0|0" fixpoint="0>52|3" />
		<hydraulic2 index="0>54" punch="0>54|0" punchFixpoint="0>54|0|0" fixpoint="0>52|4" />
	</hydraulics>

	<clutchPedal index="0>41|4|1|1" minRot="0" maxRot="-40" movementSpeed="5"/>
	<brakePedalLeft index="0>41|4|1|2" minRot="0" maxRot="-15" movementSpeed="5"/>
	<brakePedalRight index="0>41|4|1|3" minRot="0" maxRot="-15" movementSpeed="5"/>
	<footThrottle index="0>41|4|1|0"/>

	<RPMIndicator index="0>41|4|0|1|0" startRot="0" idleRot="-37" maxRot="-125"/>
	<speedoMeter index="0>41|4|0|2|0" startRot="0" maxRot="-275" middleRot="-187" firstRot="-110" maxSpeed="60" middleSpeed="20" firstSpeed="10"/>
	<fuelMeter index="0>41|4|0|3|0" fullRot="-150" modifier="-1"/>
	<tempMeter index="0>41|4|0|4|0" maxRot="75" normalTemp="60" heatingUpModifier="10" modifier="-1"/>
	<shuttleLever index="0>41|4|0|0|0" forwardRot="-18" reverseRot="18" neutralRot="0" />
	<gearLever index="0>2" speed3Rot="2 -28 0" speed2Rot="0 -28 0" speed1Rot="-2 -28 0" />

	
	<moveableAttacher index="10" maxY="1.43861" minY="0.5" /> 

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


  	<blends1>
	<blend1 index="2>1|0|0|2" />
	<blend1 index="3>1|0|0|2" />	
	</blends1>
    	<blends2>
	<blend2 index="4>1|0|1" />
	<blend2 index="5>1|0|1" />
	</blends2>


	<AKBack jointIndexes="5 4" blockedIndexes="4 5 1" moveNode="31" Heigh5="0 0.629 -2.168" Heigh4="0 1.052 -2.168"/>
	<AKFront blockedIndexes="2 6 3" />
	<backHydro attacherIndices="0"/>
	<frontHydro attacherIndices="1" FoldOutAnim="foldOutFrontHydro"/>

    <movingTools>    
		<movingTool index="14|0|0" verify="true"> 
            <dependentPart index="0>32|1" />
        </movingTool>	
		<movingTool index="18" verify="true"> 
            <dependentPart index="0>33|0" /> 
        </movingTool>		
    </movingTools>
	
    <animations>
        <animation name="foldOutFrontHydro">
            <part node="0>18|0|2" startTime="0" endTime="0.1" startRot="-74.916 23.544 0" endRot="0 23.544 0"/>
            <part node="0>18|0|3" startTime="0" endTime="0.1" startRot="-74.916 -23.544 0" endRot="0 -23.544 0"/>
        </animation>
    </animations>
    <movingParts>
	<movingPart index="0>20|0|0|0" referencePoint="0>22|1|2" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false" invertZ="true"/>
        <movingPart index="0>33|0" referencePoint="0>18|0|1" referenceFrame="0>18|0|1">
			<translatingPart index="0>33|0|0" />
        </movingPart>
		
		<movingPart index="0>32|1" referencePoint="0>15|0|1" localReferencePoint="0>32|1|2" referenceFrame="0>32|4" invertZ="false">
            <dependentPart index="0>32|1|0" />
            <dependentPart index="0>32|3" />
            <dependentPart index="0>32|2" />
            <dependentPart index="0>32|0" />
        </movingPart>
		<movingPart index="0>32|1|0" referencePoint="0>15|0|1" referenceFrame="0>15|0|1">
        </movingPart>		
		<movingPart index="0>32|3" referencePoint="0>15|0|3" referenceFrame="0>15|0|3">
            <translatingPart index="0>32|3|0" />
        </movingPart> 
        <movingPart index="0>32|2" referencePoint="0>15|0|2" referenceFrame="0>15|0|2">
            <translatingPart index="0>32|2|0" />
        </movingPart>          
		<movingPart index="0>32|0" referencePoint="0>32|1|1" referenceFrame="0>32|1|1">
            <translatingPart index="0>32|0|0" />
        </movingPart> 
    </movingParts>

	<warningSigns>
		<sign index="0>55|0" trigger="0>55|2" isVisible="false"/>
		<sign index="0>55|1" trigger="0>55|3" isVisible="false"/>
	</warningSigns>


	<dirt dirtInterval="0.6" cleaningInterval="10" updateInterval="0.74">
		<dirtComponent index="0>15|0" />
		<dirtComponent index="0>16|0" />
		<dirtComponent index="0>18|0" />
		<dirtComponent index="0>18|0|2" />
		<dirtComponent index="0>18|0|3" />
		<dirtComponent index="0>19|0" />
		<dirtComponent index="0>32|0" />
		<dirtComponent index="0>32|1" />
		<dirtComponent index="0>32|1|0" />
		<dirtComponent index="0>32|2" />
		<dirtComponent index="0>32|2|0" />
		<dirtComponent index="0>32|3" />
		<dirtComponent index="0>32|3|0" />
		<dirtComponent index="0>33|0" />
		<dirtComponent index="0>41" />
		<dirtComponent index="0>42" />
		<dirtComponent index="0>45|0" />
		<dirtComponent index="0>46|0" />
		<dirtComponent index="0>55|0" />
		<dirtComponent index="0>55|0|0" />
		<dirtComponent index="0>55|1" />
		<dirtComponent index="0>55|1|0" />
		<dirtComponent index="1>3" />
		<dirtComponent index="2>1" />
		<dirtComponent index="2>1|0|0" />
		<dirtComponent index="2>1|0|0|0" />
		<dirtComponent index="3>1" />
		<dirtComponent index="3>1|0|0" />
		<dirtComponent index="3>1|0|0|0" />
		<dirtComponent index="4>1|0" />
		<dirtComponent index="4>1|0|0" />
		<dirtComponent index="5>1|0" />
		<dirtComponent index="5>1|0|0" />
	<dirtComponent index="2>1|0|0|2" />
	<dirtComponent index="2>1|0|0|2|0" />
	<dirtComponent index="3>1|0|0|2" />
	<dirtComponent index="3>1|0|0|2|0" />
	<dirtComponent index="4>1|0|1" />
	<dirtComponent index="4>1|0|1|0" />
	<dirtComponent index="5>1|0|1" />
	<dirtComponent index="5>1|0|1|0" />
	</dirt>

</vehicle>
