<?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>Deutz Agrotron M620</en>
        <de>Deutz Agrotron M620</de>
    </name>
    <description></description>
    <filename>JohnDeere_7530P.i3d</filename>
	<wheels autoRotateBackSpeed="2.5">
		 <wheel rotSpeed="80" rotMax="30" rotMin="-30" driveMode="2" repr="0" driveNode="0|1" radius="0.80" deltaY="0.35" suspTravel="0.35" spring="100" damper="25" mass="0.45" lateralStiffness="25" />
        <wheel rotSpeed="80" rotMax="30" rotMin="-30" driveMode="2" repr="1" driveNode="1|1" radius="0.80" deltaY="0.35" suspTravel="0.35" spring="100" damper="25" mass="0.45" lateralStiffness="25" />
		<wheel rotSpeed="0" driveMode="1" repr="2" radius="0.98" deltaY="0.17" suspTravel="0.2" spring="100" damper="20" mass="0.6" lateralStiffness="25" />
		<wheel rotSpeed="0" driveMode="1" repr="3" radius="0.98" deltaY="0.17" suspTravel="0.2" spring="100" damper="20" mass="0.6" lateralStiffness="25" />
	</wheels>
	
	<cab rotNode="0>36" />
	
	<fender leftIndex="1|0" rightIndex="0|0" leftRotMax="20" rightRotMax="-20"/>
	
	<downForce>4</downForce>
	<motor minRpm="100" maxRpm="1000 1350 2450 850" maxTorques="4.0 6.5 -1 4.7" brakeForce="10" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" forwardGearRatio="11.5" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="5">
		<torque rpm="2450" torque="14"/>
		<backwardTorque rpm="550" torque="10"/>
		<backwardTorque rpm="750" torque="2.2"/>
    </motor>

    <accelerationSpeed maxAcceleration="0.22" deceleration="0.6" />
	
	<passengerCamera index="0>36|0|6" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
	<passengerNicknameRenderNode index="0>36|0|7"/>

    <exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="25" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>
	
    <fuelCapacity>385</fuelCapacity>
    <fuelUsage>0.004</fuelUsage>
    <cameras count="2">
        <camera1 index="0>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="0>11" 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>	
	<beaconLights>
		<beaconLight index="0>36|0|7|0|2" speed="0.016" />
                <beaconLight index="0>36|0|6|0|2" speed="0.016" />
	</beaconLights>
	
    <steering index="36|0|3|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="36|0|2" 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_idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.25" volume="1.4" />
    <motorSoundRun file="sounds/JD_Run.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.35" volume="1.0" />
    <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"/>
    <aiMotorSound  file="$data/vehicles/steerable/deutz/agro620_idleAI.wav" pitchOffset="1" radius="50" innerRadius="20" volume="1.25" />
	
	<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"/>

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

    <components count="1">
        <component1 centerOfMass="0 0 0" solverIterationCount="50" />
    </components>
    <attacherJoints>
        <attacherJoint index="14|0|0" rotationNode="14" maxRot="-14 0 0" rotationNode2="14|0" maxRot2="9 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" 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" maxRot="10 0 0" rotationNode2="17|0" maxRot2="-7 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 20" moveTime="1.5" 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>
          <attacherJoint index="38|0" jointType="quickeFrontloaderCoupling" />
    </attacherJoints>	
    <trailerAttacherJoints>
        <trailerAttacherJoint index="10" shaft="32|5"/>
        <trailerAttacherJoint index="23" low="true"  shaft="32|5"/>
        <trailerAttacherJoint index="33|3" shaft="33|2"/>
    </trailerAttacherJoints>
	
	<operatingHours posX="0.7543" posY="0.1715" />
	<ESLimiter posX="0.7543" posY="0.1715" />

	<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>
	<lightsaddon lightsStayOn="true" strobesAreBeacons="false">
		<light type="brake" index="36|0|0|3" />
		<light type="dirLeft" index="36|0|0|1" />
		<light type="dirRight" index="36|0|0|2" />
		<light type="work" index="36|0|0|0|0" real="36|0|0|0|0|1" beam="36|0|0|0|0|0" helptext="BELWORKLIGHT" inputName="BELWORKLIGHT" />
		<light type="highbeam" index="37|0" real="37|0|1" beam="37|0|0" />
		<light type="strobe" index="36|0|4|0|0" inputName="strobelights" sequence="20 20 200 20 20" helptext="strobelights" stayOn="true"/>
		<light type="strobe" index="36|0|4|0|1" inputName="strobelights" sequence="20 20 200 20 20" invert="true" stayOn="true"/>
		<flashers soundfile="blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.6" autoreturn="true" tolerance="0.9"/>
		<toggleSound pitch="0.5"/>
	</lightsaddon>
    <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>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> 
        <!-- lenk cylinder left -->
        <movingPart index="0>1|3|0|0|0" referencePoint="0>1|2" referenceFrame="0>39">
            <translatingPart index="0>1|3|0|0|0|0" />
        </movingPart>
        <!-- lenk cylinder right -->
        <movingPart index="0>1|3|0|0|1" referencePoint="0>0|2" referenceFrame="0>40">
            <translatingPart index="0>1|3|0|0|1|0" />
        </movingPart>
	 <!-- achs cylinder left -->
        <movingPart index="0>41" referencePoint="0>1|3|1" referenceFrame="0>43">
            <translatingPart index="0>41|0" />
        </movingPart>
	 <!-- achs cylinder right -->
        <movingPart index="0>42" referencePoint="0>1|3|2" referenceFrame="0>44">
            <translatingPart index="0>42|0" />
        </movingPart>
    </movingParts>
	
	    <steeringWheels count="2" >
        <wheel1 wheelNumber="1" maxFallRotation="6" />
        <wheel2 wheelNumber="2" maxFallRotation="6" />
    </steeringWheels>
	<suspensionAxis activeRotationAxis="true" index="1|3" fixPoint="0" scaleZ="true" axisWheel1="2" axisWheel2="1" axisAngleFactor="-1"/>
	
     <wheelParticleSystems file="PSystem/wheelParticleSystem.i3d" >
        <wheelParticleSystem node="45|0" />
        <wheelParticleSystem node="45|1" />
        <wheelParticleSystem node="45|2" />
	  <wheelParticleSystem node="45|3" />
    </wheelParticleSystems>
	
	<lamps count="25">
		<lamp1 index="0>36|0|6|0" />
		<lamp2 index="0>36|0|6|1" />
		<lamp3 index="0>36|0|6|2" />
		<lamp4 index="0>36|0|6|3" />
		<lamp5 index="0>36|0|6|4" />
		<lamp6 index="0>36|0|6|5" />
		<lamp7 index="0>36|0|6|6" />
		<lamp8 index="0>36|0|6|7" />
		<lamp9 index="0>36|0|6|8" />
		<lamp10 index="0>36|0|6|9" />
		<lamp11 index="0>36|0|6|10" />
		<lamp12 index="0>36|0|6|11" />
		<lamp13 index="0>36|0|6|12" />
		<lamp14 index="0>36|0|6|13" />
		<lamp15 index="0>36|0|6|14" />
		<lamp16 index="0>36|0|6|15" />
		<lamp17 index="0>36|0|6|16" />
		<lamp18 index="0>36|0|6|17" />
		<lamp19 index="0>36|0|6|18" />
		<lamp20 index="0>36|0|6|19" />
		<lamp21 index="0>36|0|6|20" />
		<lamp22 index="0>36|0|6|21" />
		<lamp23 index="0>36|0|6|22" />
		<lamp24 index="0>36|0|6|23" />
		<lamp25 index="0>36|0|6|24" />
	</lamps>
</vehicle>
