<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="6135A">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Buehrer 6135 A</en>
        <de>Bührer 6135 A</de>
    </name>
	<description></description>
    <filename>buehrer6135A.i3d</filename>
    <wheels autoRotateBackSpeed="2.5">
        <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>
	
	<Radsturz multiplicator="30" linksRechtsDifferenz="0.5">
    	<Rechts index="1>1|0" />
	<Links index="2>1|0" />
    </Radsturz>
	
    <motor minRpm="100" maxRpm="1000 1500 2500 575" maxTorques="-1 -1 -1 -1" brakeForce="8" 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="1.2"/>
		<torque rpm="2500" torque="1.4"/>
		<backwardTorque rpm="570" torque="0.7"/>
		<backwardTorque rpm="700" torque="0"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.4" deceleration="0.25" backwardDeceleration="0.7" />
    <fuelCapacity>150</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="35" >
			<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>
	
	<lightsaddon lightsStayOn="true">
		<light type="work" index="0>2|0" inputName="twinHL" helptext="Doppelräder H" stayOn="true"/>
		<light type="work" index="0>3|0" inputName="twinHR" stayOn="true"/>
		<light type="work" index="0>0|0|0" inputName="twinVR" helptext="Doppelräder V" stayOn="true"/>
		<light type="work" index="0>1|0|0" inputName="twinVL" stayOn="true"/>
	</lightsaddon>
    
	<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="2 0 0" rotationNode2="0>11|0" maxRot2="-2 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="-12 0 0" rotationNode2="16|0" maxRot2="12 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>
