<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor_articulatedAxis">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>CaseIH Quadtrac 600</en>
        <de>CaseIH Quadtrac 600</de>
    </name>
    <filename>data/vehicles/steerable/caseIH/caseIHQuadtrac600.i3d</filename>

    <size width="4.5" length="10" />

    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="0" driveMode="1" repr="0>0" driveNode="0>0|0" isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.1625" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>1"                   isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.1625" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>2" driveNode="0>2|0" isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.1625" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>3"                   isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.1625" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="1>0" driveNode="1>0|0" isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="1>1"                   isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="1>2" driveNode="1>2|0" isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="1>3"                   isSynchronized="false" radius="0.485" deltaY="0.025" suspTravel="0.05" spring="100" damper="20" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2" />
	</wheels>	
	
    <motor minRpm="100" maxRpm="880 1360 2050 535" maxTorques="-1 -1 -1 -1" brakeForce="6" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" compensateWheelRadius="true" accelerations="1 1 1 1" forwardGearRatio="17.5" backwardGearRatio="17" differentialRatio="1" rpmFadeOutRange="20">
		<torque rpm="2050" torque="1.9"/>
		<backwardTorque rpm="100" torque="2"/>
		<backwardTorque rpm="600" torque="1.5"/>
		<backwardTorque rpm="720" torque="0"/>
    </motor>
	
	<accelerationSpeed maxAcceleration="0.25" deceleration="0.6" backwardDeceleration="0.7" />
    <fuelCapacity>1722</fuelCapacity>
    <fuelUsage>0.0172</fuelUsage>
    <downForce>7</downForce>
	
	<bunkerSiloCompacter compactingScale="5"/>

    <cameras count="2">
        <camera1 index="0>4|0|0" rotatable="true" rotateNode="0>4|0" limit="true" rotYSteeringRotSpeed="-22.5" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="18" >
			<raycastNode index="0>13|0"/>
			<raycastNode index="0>13|1"/>
			<raycastNode index="0>13|2"/>
			<raycastNode index="1>4"/>
		</camera1>
        <camera2 index="0>4|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" />
    </cameras>
	
    <crawlers>
        <crawler index="0>0|4" speedRefNode="0>0|4" scrollSpeed="0.18" shaderParameterName="offsetUV" shaderParameterComponent="1" length="1">
            <rotatingPart index="0>0|1" radius="0.6094" />
            <rotatingPart index="0>0|2" radius="0.6094" />
            <rotatingPart index="0>0|3" radius="0.6094" />
        </crawler>
        <crawler index="0>2|4" speedRefNode="0>2|4" scrollSpeed="0.18" shaderParameterName="offsetUV" shaderParameterComponent="1" length="1">
            <rotatingPart index="0>2|1" radius="0.6094" />
            <rotatingPart index="0>2|2" radius="0.6094" />
            <rotatingPart index="0>2|3" radius="0.6094" />
        </crawler>        
		
		<crawler index="1>0|4" speedRefNode="1>0|4" scrollSpeed="0.18" shaderParameterName="offsetUV" shaderParameterComponent="1" length="1">
            <rotatingPart index="1>0|1" radius="0.6094" />
            <rotatingPart index="1>0|2" radius="0.6094" />
            <rotatingPart index="1>0|3" radius="0.6094" />
        </crawler>
        <crawler index="1>2|4" speedRefNode="1>2|4" scrollSpeed="0.18" shaderParameterName="offsetUV" shaderParameterComponent="1" length="1">
            <rotatingPart index="1>2|1" radius="0.6094" />
            <rotatingPart index="1>2|2" radius="0.6094" />
            <rotatingPart index="1>2|3" radius="0.6094" />
        </crawler>
    </crawlers>

	<lights count="2">
        <light realLight="0>6" fakeLight="0>10" decoration="0>11" lightType="0"/>
		<light decoration="1>17" lightType="0"/>
        <light realLight="1>6" decoration="1>7" lightType="1"/>
		<light decoration="0>24" lightType="1"/>
    </lights>

	<brakeLights>
		<brakeLight index="1>16" />
	</brakeLights>	
	
	<beaconLights>
		<beaconLight index="0>12|0" speed="0.016" />
		<beaconLight index="0>12|1" speed="0.015" />
	</beaconLights>

    <steering index="0>7|0" rotationSpeed="11"/>
    <enterReferenceNode index="0>" />
    <exitPoint index="0>5" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="data/vehicles/steerable/caseIH/caseIHQuadtrac600_start.wav" pitchOffset="1" volume="1" />
    <motorSound file="data/vehicles/steerable/caseIH/caseIHQuadtrac600_idle.wav" pitchOffset="1" pitchScale="0.025" pitchMax="1.35" volume="1" radius="35" innerRadius="15" />
    <motorSoundRun file="data/vehicles/steerable/caseIH/case_run.wav" pitchOffset="0.5" pitchScale="0.0365" pitchMax="1" volume="0" />
    <motorStopSound file="data/vehicles/steerable/caseIH/caseIHQuadtrac600_stop.wav" pitchOffset="1" />
    <compressedAirSound file="data/vehicles/steerable/deutz/brakeBig.wav" pitchOffset="1"/>
    <reverseDriveSound file="data/vehicles/steerable/deutz/reverseDrivingBeep.wav" volume="0.5" />
	<cylinderedHydraulicSound file="data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="0.75" volume="0.6" />
	<honkSound file="dataS2/sounds/hornBig.wav" volume="1" radius="80" innerRadius="35" />
	
    <exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="0>9" file="data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>

    <characterNode index="0>8" cameraMinDistance="1.5" />

    <aiTrafficCollisionTrigger index="0>14" />

    <trailerAttacherJoints>
        <trailerAttacherJoint index="18" maxRotLimit="20 85 85" />
        <trailerAttacherJoint index="1>9" low="true" ptoOutputNode="1>10" ptoFilename="data/vehicles/steerable/powerTakeoff.i3d" rootNode="1>"/>
    </trailerAttacherJoints>
	
    <attacherJoints>
        <attacherJoint index="1>11|0|0" rotationNode="1>11" rootNode="1>" minRot="13 0 0" minRot2="-5 0 0" maxRot="-2 0 0" rotationNode2="1>11|0" maxRot2="2 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="2" ptoOutputNode="1>10" ptoFilename="data/vehicles/steerable/powerTakeoff.i3d">
            <bottomArm rotationNode="1>12" translationNode="1>12|0" referenceNode="1>12|0|0" zScale="-1" />
            <!--topArm baseNode="0>13" filename="data/vehicles/steerable/upperLinkMedium.i3d" zScale="-1" /-->
        </attacherJoint>
    </attacherJoints>
	
    <movingTools>
		<!-- attacher joint back bottom-->
        <movingTool index="1>12">
            <!-- cylinder 1 -->
            <dependentPart index="1>13" />
            <!-- cylinder 2 -->
            <dependentPart index="1>14" />           
			<!-- upper link -->
            <dependentPart index="1>15" />
        </movingTool>
    </movingTools>
	
    <movingParts>
	
		<!-- attacher joint back bottom cylinder 1 -->
        <movingPart index="1>13" referencePoint="1>14|2" referenceFrame="0>" invertZ="false">
            <translatingPart index="1>13|0" />
        </movingPart>
		
        <!-- attacher joint back bottom cylinder 2 -->
        <movingPart index="1>14" referencePoint="1>12|0|1" localReferencePoint="1>14|0" referenceFrame="1>" invertZ="true">
            <dependentPart index="1>14|0" />
        </movingPart>

        <!-- attacher joint back bottom cylinder 2b -->
        <movingPart index="1>14|0" referencePoint="1>12|0|1" referenceFrame="1>14|1" invertZ="false">
        </movingPart>	        
		
		<!-- upperlink -->
        <movingPart index="1>15" referencePoint="1>12|1" referenceFrame="1>14|1" scaleZ="true" invertZ="true">
        </movingPart>		
	
		<movingPart index="0>17" referencePoint="1>8" referenceFrame="1>" scaleZ="true" invertZ="true" isActiveDirty="true">
        </movingPart>			
		<movingPart index="1>5" referencePoint="16" referenceFrame="1>" scaleZ="true" isActiveDirty="true">
        </movingPart>
    </movingParts>	
	
	<articulatedAxis componentJointIndex="0" anchorActor="0" rotSpeed="-45" rotMax="33" rotMin="-33">
		<dependentPart index="0>17" />
		<dependentPart index="1>5" />
	</articulatedAxis>	
	
    <components count="2">
        <component1 centerOfMass="0 0.1 1.75" solverIterationCount="35" />
        <component2 centerOfMass="0 0.1 -2" solverIterationCount="35" />
		<joint component1="0" component2="1" index="0>15" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
    </components>
    
    <schemaOverlay file="data/vehicles/schemas/vehicleSchema.png" fileSelected="data/vehicles/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 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>

</vehicle>
