﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor_cylindered">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Buehrer 6135 A</en>
        <de>Bührer 6135 A</de>
    </name>
    <filename>data/vehicles/steerable/buehrer/buehrer6135A.i3d</filename>

    <size width="3.5" length="6"/>

    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="70" rotMax="30" rotMin="-30" driveMode="2" repr="0>0" driveNode="0>0|0" radius="0.585" deltaY="0.20" suspTravel="0.23" spring="25" damper="50" mass="0.15" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="70" rotMax="30" rotMin="-30" driveMode="2" repr="0>1" driveNode="0>1|0" radius="0.585" deltaY="0.20" suspTravel="0.23" spring="25" damper="50" mass="0.15" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>2" radius="0.79" deltaY="0.05" suspTravel="0.09" spring="70" damper="50" mass="0.4174" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>3" radius="0.79" deltaY="0.05" suspTravel="0.09" spring="70" damper="50" mass="0.4174" longitudalStiffness="0.9" lateralStiffness="2" />
    </wheels>
    <motor minRpm="100" maxRpm="800 1220 2200 580" maxTorques="-1 -1 -1 -1" brakeForce="6.5" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" compensateWheelRadius="true" accelerations="1 1 1 1" forwardGearRatio="18.9" backwardGearRatio="17" differentialRatio="1" rpmFadeOutRange="20">
		<torque rpm="100" torque="0.83"/>
		<torque rpm="2200" torque="0.9"/>
		<backwardTorque rpm="100" torque="1"/>
		<backwardTorque rpm="570" torque="0.7"/>
		<backwardTorque rpm="700" torque="0"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.28" deceleration="0.25" backwardDeceleration="0.7" />
    <fuelCapacity>120</fuelCapacity>
    <fuelUsage>0.0012</fuelUsage>
	<downForce>6</downForce>
	<bunkerSiloCompacter compactingScale="2"/>
	
    <components count="1">
        <component1 centerOfMass="0 0.01 0.1" solverIterationCount="10" />
    </components>
    <cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="18" >
			<raycastNode index="0>6"/>
			<raycastNode index="0>7"/>
		</camera1>
        <camera2 index="5" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" />
    </cameras>
    <lights>
        <light realLight="0>9" fakeLight="0>27" decoration="0>28" lightType="0"/>
        <light realLight="0>10" decoration="0>29" lightType="1"/>
    </lights>
	
	<brakeLights>
		<brakeLight index="0>34" />
	</brakeLights>	
	
	<beaconLights>
		<beaconLight index="0>30" speed="0.016" />
	</beaconLights>
	
    <steering index="0>23|0" rotationSpeed="6"/>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>8"/>

    <trailerAttacherJoints>
        <trailerAttacherJoint index="0>19" maxRotLimit="10 80 80" ptoOutputNode="0>20" ptoFilename="data/vehicles/steerable/powerTakeoff.i3d"/>
        <trailerAttacherJoint index="0>21" low="true" ptoOutputNode="0>20" ptoFilename="data/vehicles/steerable/powerTakeoff.i3d"/>
    </trailerAttacherJoints>

    <attacherJoints>
        <attacherJoint index="0>11|0|0" rotationNode="0>11" minRot="21 0 0" minRot2="-14 0 0" maxRot="6 0 0" rotationNode2="0>11|0" maxRot2="-6 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="2.5" ptoOutputNode="0>20" ptoFilename="data/vehicles/steerable/powerTakeoff.i3d">
            <bottomArm rotationNode="0>12" translationNode="0>12|0" referenceNode="0>12|0|0" zScale="-1" />
            <topArm baseNode="0>13" filename="data/vehicles/steerable/upperLinkMedium.i3d" zScale="-1" />
        </attacherJoint>
        <attacherJoint index="0>16|0|0" rotationNode="0>16" minRot="-50 0 0" minRot2="41 0 0" maxRot="-18 0 0" rotationNode2="16|0" maxRot2="18 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 20" moveTime="2.5" ptoOutputNode="0>22" ptoFilename="data/vehicles/steerable/powerTakeoff.i3d">
            <bottomArm rotationNode="0>17" translationNode="17|0" referenceNode="17|0|0" zScale="1" />
            <topArm baseNode="0>18" filename="data/vehicles/steerable/upperLinkSmall.i3d" zScale="1" />
        </attacherJoint>
    </attacherJoints>

    <movingTools>
		<!-- attacher joint back bottom-->
        <movingTool index="0>12">
            <!-- cylinder 1 -->
            <dependentPart index="0>14" />
            <!-- cylinder 2 -->
            <dependentPart index="0>15" />            
			<!-- lowerlink -->
            <dependentPart index="0>33" />
        </movingTool>

		<!-- attacher joint front bottom-->
        <movingTool index="0>17">
            <!-- cylinder -->
            <dependentPart index="0>31" />
        </movingTool>
    </movingTools>

    <movingParts>
		<!-- attacher joint back bottom cylinder 1 -->
        <movingPart index="0>14" referencePoint="0>15|1" referenceFrame="0>" invertZ="true">
            <translatingPart index="0>14|0" />
        </movingPart>

        <!-- attacher joint back bottom cylinder 2 -->
        <movingPart index="0>15" referencePoint="0>12|0|1" localReferencePoint="0>15|2" referenceFrame="0>" invertZ="true">
            <dependentPart index="0>15|2" />
        </movingPart>
        <!-- attacher joint back bottom cylinder 2b -->
        <movingPart index="0>15|2" referencePoint="0>12|0|1" referenceFrame="0>15|0" invertZ="true">
        </movingPart>
		<!-- attacher joint front bottom cylinder -->
		<movingPart index="0>31" referencePoint="0>17|0|1" referenceFrame="0>">
            <dependentPart index="0>31|0" />
        </movingPart>
        <!-- lowerlink -->
        <movingPart index="0>33" referencePoint="0>12|0|2" referenceFrame="0>" invertZ="true" scaleZ="true">
        </movingPart>
		<!-- steering -->
		<movingPart index="0>0|1" referencePoint="0>1|1" referenceFrame="0>" scaleZ="true" playSound="false" isActiveDirty="true">
        </movingPart>
    </movingParts>

    <characterNode index="0>24" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="0>25" />
	<exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="0>26" file="data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="data/vehicles/steerable/buehrer/buehrer6135_start.wav" pitchOffset="1" volume="1.5" />
    <motorSound file="data/vehicles/steerable/buehrer/buehrer6135_idle.wav" pitchOffset="1" pitchScale="0.026" pitchMax="1.43" volume="1.5" radius="50" innerRadius="20" />
    <motorSoundRun file="data/vehicles/steerable/buehrer/buehrer6135_run.wav" pitchOffset="0.45" pitchScale="0.0265" pitchMax="1.25" volume="1.25" />
    <motorStopSound file="data/vehicles/steerable/buehrer/buehrer6135_stop.wav" pitchOffset="1" volume="1.5" />
    <compressedAirSound file="data/vehicles/steerable/deutz/brakeOld.wav" pitchOffset="1" volume="2"/>
    <compressionSound file="data/vehicles/steerable/deutz/compressorWork.wav" pitchOffset="1" volume="1.5"/>
 
    <honkSound file="dataS2/sounds/horn.wav" volume="1" radius="80" innerRadius="35" />

    <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>
