<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<vehicle type="J63D302FL">
    <name>
        <en>John Deere 6330</en>
        <de>John Deere 6330</de>
    </name>
    <description></description>
    <filename>6330FL.i3d</filename>
	
	<!-- Wheels -->
    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="45" rotMax="35" rotMin="-35" driveMode="2" repr="0" driveNode="0|0|0" radius="0.77" deltaY="0.1" suspTravel="0.2" spring="180" damper="2" mass="0.2" lateralStiffness="20" />
        <wheel rotSpeed="45" rotMax="35" rotMin="-35" driveMode="2" repr="1" driveNode="1|0|0" radius="0.77" deltaY="0.1" suspTravel="0.2" spring="180" damper="2" mass="0.2" lateralStiffness="20" />
        <wheel rotSpeed="0" driveMode="1" repr="2" radius="0.92" deltaY="0.1" suspTravel="0.2" spring="180" damper="2" mass="0.3" lateralStiffness="20" />
        <wheel rotSpeed="0" driveMode="1" repr="3" radius="0.92" deltaY="0.1" suspTravel="0.2" spring="180" damper="2" mass="0.3" lateralStiffness="20" />
    </wheels>
	
	<!-- Tractor Data -->
    <motor minRpm="100" maxRpm="650 1100 2300 530" maxTorques="2.0 2.5 -1 1.5" brakeForce="7" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" accelerations="0.4 1 1 1" forwardGearRatio="11.5" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="50">
		<torque rpm="2300" torque="4.9"/>

		<backwardTorque rpm="150" torque="9"/>
		<backwardTorque rpm="400" torque="1.4"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.15" deceleration="0.25" backwardDeceleration="0.7" />
	
    <fuelCapacity>161</fuelCapacity>
    <fuelUsage>0.0016</fuelUsage>
    <downForce>4</downForce>
	
	<!-- References -->
    <steering index="20|0" rotationSpeed="6"/>
    <enterReferenceNode index="0"/>
    <exitPoint index="9"/>
    <size width="3.8" length="15" lengthOffset="-0.2"/>
	
	<!-- Cutting Area's -->
    <cuttingAreas count="0">
        <cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/>
    </cuttingAreas>
	
	<!-- Camera's -->
    <cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" 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>
    <tipCamera index="11" />


    <lights count="2">
        <light1 index="12" />
        <light2 index="13" />
    </lights>

	<lightCones>
		<lightCone index="35" />	
	</lightCones>
	
	<lightCoronas>
		<lightCorona index="36" />	
	</lightCoronas>


	
    <!-- Sounds -->
    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="sounds/JD_Start.wav" pitchOffset="1" volume="1" />
    <motorSound file="sounds/JD_Idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.35" volume="1" />
    <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" />    
    <cylinderedHydraulicSound file="$data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="0.8" volume="1" />
    <honkSound file="$dataS2/sounds/horn.wav" client="$dataS2/sounds/horn3D.wav" volume="1" radius="80" innerRadius="35" />
	
	<dynamicExhaustingSystem cap="30" maxRot="-81.5" minAlpha="0.1" maxAlpha="1.0" param="exhaustingSystem" >
		<startSequence>
			<key time="0.0"  value="0 0 0 0"/>
			<key time="0.4"  value="0 0 0 0.5"/>
			<key time="0.58" value="0 0 0 0.2"/>
			<key time="0.6"  value="0 0 0 0.2"/>
			<key time="0.75" value="0 0 0 1"/>
			<key time="0.93" value="0 0 0 1"/>
			<key time="1.0"  value="0 0 0 0.2"/>
		</startSequence>
	</dynamicExhaustingSystem>
	
	<exhaustParticleSystems count="1">
		<exhaustParticleSystem1 node="30" position="0 0 0" rotation="0 0 0"  file="Abgas/KirovetsK700A_ExhaustParticleSystem.i3d" />
    </exhaustParticleSystems>
	
	<!-- Attacher Joints -->
    <attacherJoints>
        <attacherJoint index="14|0|0" rotationNode="14" maxRot="-12 0 0" rotationNode2="14|0" maxRot2="9 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="38">
            <bottomArm rotationNode="15" translationNode="15|0" referenceNode="15|0|0" zScale="-1" />
            <topArm rotationNode="16" translationNode="16|0" referenceNode="16|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="39">
            <bottomArm rotationNode="18" translationNode="18|0" referenceNode="18|0|0" zScale="1" />
            <topArm rotationNode="19" translationNode="19|0" referenceNode="19|0|0" zScale="1" />
        </attacherJoint>
    <attacherJoint jointType="frontloader" index="40|0|0|1|0" allowsJointLimitMovement="false" allowsLowering="false" />
    </attacherJoints>


    <trailerAttacherJoints>
        <trailerAttacherJoint index="28|0" />
        <trailerAttacherJoint index="21" low="true" shaft="38" />
    </trailerAttacherJoints>
	
	<!-- Components -->
    <characterNode index="26" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="27" />    
    <components count="1">
        <component1 centerOfMass="0 -0.20 -0.05" solverIterationCount="10" />
    </components>

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

    <wheelAreas count="4">
	<wheelArea1 pointIndex="32|0" width="0.5" height="0.25"/>
	<wheelArea2 pointIndex="32|1" width="0.5" height="0.25"/>
	<wheelArea3 pointIndex="32|2" width="0.5" height="0.25"/>
	<wheelArea4 pointIndex="32|3" width="0.5" height="0.25"/>
    </wheelAreas>

   <Fenders>
       <FenderLK index="0|0"/>
       <FenderRK index="1|0"/>
       <FenderPoint index="20|0"/>
   </Fenders>

	<beaconLights>
		<beaconLight index="34|0" speed="0.016" />
	</beaconLights>

		<lightsaddon lightsStayOn="false">
			<light type="highbeam" index="37|0" real="37|0|2" beam="37|0|1" />
			<light type="work" index="37|1" real="37|1|2" beam="37|1|1" inputName="frontwork" helptext="frontwork" stayOn="false"/>
			<light type="work" index="37|2" real="37|2|2" beam="37|2|1" inputName="rearwork" helptext="rearwork" stayOn="false"/>
			<light type="dirLeft" index="37|3" />
			<light type="dirRight" index="37|4" />
			<light type="parkLeft" index="37|5" />
			<light type="parkRight" index="37|6" />
			<light type="brake" index="37|7" />
			<light type="reverse" index="37|8" />
		</lightsaddon>
	<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="40|0" attacherJointIndices="2" componentJointIndex="0" anchorActor="0" rotSpeed="30" rotAcceleration="120" rotMax="5" rotMin="-80" axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="true" speedFactor="0.4">
            <dependentPart index="0>40|0|1" />
        </movingTool>
        <movingTool index="40|0|0|1" attacherJointIndices="2" anchorActor="0" rotSpeed="100" rotAcceleration="120" rotMax="145" rotMin="5" axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_TOOL" invertMouseAxis="false" speedFactor="0.6">
            <dependentPart index="0>40|0|0|0" />
        </movingTool>
    </movingTools>

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


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

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