<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="MB_Trac_1800_intercooler_210hpMR">
	<annotation>MB_Trac_1800_intercooler</annotation>
    <name>
    <en>MB Trac 1800 intercooler</en>
    <de>MB Trac 1800 intercooler</de>
    </name>
    <description></description>
    <filename>MB_Trac_1800_intercooler.i3d</filename>
	<numWheels>4</numWheels>
    <wheels autoRotateBackSpeed="1">
		<wheel rotSpeed="45" rotMax="20" rotMin="-25" driveMode="1" repr="2>1" driveNode="2>1|0|0" radius="0.8" suspTravel="0.12" deltaY="0.07"  spring="70" mass="1" damper="20" brakeRatio="1"/>
		<wheel rotSpeed="45" rotMax="25" rotMin="-20" driveMode="1" repr="3>1" driveNode="3>1|0|0" radius="0.8" suspTravel="0.12" deltaY="0.07"  spring="70" mass="1" damper="20" brakeRatio="1"/>
		<wheel rotSpeed="0" driveMode="2" repr="4>1" radius="0.78" suspTravel="0.2" deltaY="0.12" spring="80" mass="1" damper="20" brakeRatio="1"/>
		<wheel rotSpeed="0" driveMode="2" repr="5>1" radius="0.78" suspTravel="0.2" deltaY="0.12" spring="80" mass="1" damper="20" brakeRatio="1"/>
    </wheels>
	
	<!-- additional settings -->
	<realVehicleFlotationFx>1.04</realVehicleFlotationFx>
	<realLateralStiffDecreaseFunctionOfSteeringAngle>1</realLateralStiffDecreaseFunctionOfSteeringAngle> <!-- since we have realistic "Ackermann" Steering we don't need that (value is by default 0.1 if not defined)-->
	<!-- /additional settings -->
	
	<realTransmissionEfficiency>0.9</realTransmissionEfficiency>
	
	
	
	<!-- -->
	<accelerationSpeed maxAcceleration="1" deceleration="1" brakeSpeed="3" />
	<fuelUsage>0</fuelUsage>
	<downForce>0</downForce>
	<bunkerSiloCompacter compactingScale="1.6"/>
 
	<realMaxVehicleSpeed>43.6</realMaxVehicleSpeed>
	<realMaxReverseSpeed>32</realMaxReverseSpeed>
	<realBrakeMaxMovingMass>14</realBrakeMaxMovingMass>
	<realBrakingDeceleration>3.4</realBrakingDeceleration> <!-- deceleration in m/s2.  2 = very bad. 3 = bad. 4 = average. 5 = good. 6/7 = trucks, cars braking system  -->  
 
	<realSCX>5</realSCX>
	<realPtoPowerKW>144</realPtoPowerKW> <!-- about 212hp by tuning-->
	<realMaxFuelUsage>44.37</realMaxFuelUsage> <!-- 42.4 would be normal for 144kw, but since the engine is tuned by turning up the fuel and not proper set through factory anymore its a bit more) -->
	
	<fuelCapacity>240</fuelCapacity>

	<!-- -->
	
	<Radsturz multiplicator="45" linksRechtsDifferenz="0.4">
	<Rechts index="2>1|0" />
	<Links index="3>1|0" />
	</Radsturz>
	<tracFrontAchse> <!-- Alle Indexe und Angaben zur Animation der Achse sind hier drin-->
		<Lenkzylinder linksZylIndex="1>1|1|0|1" linksStempelIndex="3>1|2" rechtsZylIndex="1>1|1|0|0" rechtsStempelIndex="2>1|2" />
		<Spurstange index="2>1|1" scaleRefPunkt="2>1|1|1" directionRefPunkt="3>1|1" doScaleBool="true" />
		<Querstrebe index="1>1|1|1" scaleRefPunkt="1>1|1|1|1" directionRefPunkt="0>12|0" doScaleBool="true" />
		<Stossdaempfer linksZylIndex="0>22|0|5|0" linksStempelIndex="1>1|1|2|0" rechtsZylIndex="0>22|0|5|1" rechtsStempelIndex="1>1|1|2|1" />
		<Federn>
		<Links index="1>1|1|3|0" scaleRefPunkt="1>1|1|3|0|1" directionRefPunkt="0>12|1" />		
		<Rechts index="1>1|1|3|1" scaleRefPunkt="1>1|1|3|1|1" directionRefPunkt="0>12|2"/>
		</Federn>
	</tracFrontAchse>

	<!-- Ruefa -->
	<ruefa name="Ruefa" upSpeedScale="1" downSpeedScale="-1" characterTransform="0>22|1|0|5" characterTransformArm="22|1|0|4|0|1" />
	<animations>
        <!-- move from transform to ruefa position -->
        <animation name="Ruefa">
			<part node="0>22|1" startTime="0" duration="4" startRot="0 0 0" endRot="0 180 0"/>
        </animation>
	</animations>
	<!-- -->
	<!-- dirtywheels-->
	<dirtyWheels index1="5>1|0" index2="4>1|0" index3="3>1|0|0" index4="2>1|0|0" />
	<!-- -->
    <cameras count="2">
		<camera1 index="4|0|0" rotatable="true" rotateNode="4|0" limit="false" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="300" />
		<camera2 index="22|1|1|0|0|0" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />		
    </cameras>
	<realisticIndoorCam directionPart="22|1|1|0" rotationPart="22|1|1|0|0" />

	
    <!-- Lights -->
    <lights>
    <light realLight="26|0|0"  fakeLight="26|0|1" decoration="26|0|2"  lightType="0"/>
	<light realLight="26|1|0" fakeLight="26|1|1" decoration="26|1|2" lightType="1"/>
    </lights>
    <lightsaddon lightsStayOn="true">
	<light type="work" index="26|2" real="26|2|0" beam="26|2|1" inputName="frontworkTracF" helptext="frontworkTracF" stayOn="true"/>
	<light type="work" index="26|3" real="26|3|0" beam="26|3|1" inputName="rearworkTracF"  helptext="rearworkTracF"  stayOn="true"/>
	<light type="brake" index="26|4" />
	<light type="dirLeft" index="26|6" />
	<light type="dirRight" index="26|5" />
	<light type="work" index="26|7" real="26|7|0" beam="26|7|1" inputName="StoppellichtTracF"  helptext="StoppellichtTracF"  stayOn="true"/>
	</lightsaddon>
	
	<beaconLights>
    <beaconLight index="22|2|0|0" speed="0.016" />
	</beaconLights>
	
	<visByAttObj reverseAttacherNum="true" >
    <Fronthydraulik Zugmaul="0>22|0|0|0|2" Stossstange="0>17|0|1|0" Oberlenker="0>18" />
    <Heckhydraulik Zugmaul="0>22|0|0|0|1" Ackerschiene="0>14|0|2" Oberlenker="0>15" />
    </visByAttObj>
	
    <steering index="22|1|0|4|0" rotationSpeed="6"/>
    <cuttingAreas count="0">
    <cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/>
    </cuttingAreas>
    <enterReferenceNode index="0>" />
    <exitPoint index="9" />
    <size width="2.5" length="4.8" lengthOffset="-0.2"/>

    <trailerAttacherJoints>
    <trailerAttacherJoint index="10" ptoOutputNode="23" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 80" maxTransLimit="0 0 0"/>
    <trailerAttacherJoint index="19" low="true" ptoOutputNode="23" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 80" maxTransLimit="0 0 0"/>
	<trailerAttacherJoint index="25" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 80" maxTransLimit="0 0 0"/>
    </trailerAttacherJoints>
    <tipCamera index="11" />

    <attachSound file="$data/vehicles/steerable/deutz/attach_cutter.wav" pitchOffset="1" />
    <motorStartSound file="Sounds/start.wav" pitchOffset="1" volume="0.35" />
    <motorSound file="Sounds/Trac_1800_intercooleridle.wav" pitchOffset="1" pitchScale="1" pitchMax="1" volume="0.6" />
    <motorSoundRun file="Sounds/Trac_1800_intercoolerrun.wav" pitchOffset="0.4" pitchScale="0.02" pitchMax="1.1" volume="0.7" />
    <motorStopSound file="Sounds/aus.wav" pitchOffset="1" />    
    <aiMotorSound  file="Sounds/soundai.wav" pitchOffset="1" radius="75" innerRadius="4" volume="0.8" />
	<honkSound file="$dataS2/sounds/hornBig.wav" volume="1" radius="80" innerRadius="35" />
	
	<exhaustParticleSystems count="1">
    <exhaustParticleSystem1 node="21" file="realParticles/realParticles.i3d" />
    </exhaustParticleSystems>
	<realExhaustParticleSystem parameter="exhaustingSystem" minAlpha="0.1" maxAlpha="1"/> 
	
	<schemaOverlay file="$data/vehicles/schemas/vehicleSchema.dds" fileSelected="$data/vehicles/schemas/vehicleSchemaSelected.dds" 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" />
        <attacherJoint position="0 0" rotation="0" invertX="true" />		
    </schemaOverlay>
	
    <attacherJoints>
    <attacherJoint index="13|0|0" rotationNode="13" maxRot="-15.6 0 0" rotationNode2="13|0" maxRot2="15.6 0 0" moveTime="1" ptoOutputNode="23" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d">
    <bottomArm rotationNode="14" translationNode="14|0" referenceNode="14|0|0" zScale="-1" />
    <topArm rotationNode="15" translationNode="15|0" referenceNode="15|0|0" zScale="-1" />
    </attacherJoint>
    <attacherJoint index="16|0|0" rotationNode="16" maxRot="19.55 0 0" rotationNode2="16|0" maxRot2="-19.55 0 0" moveTime="1" ptoOutputNode="24" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d">
    <bottomArm rotationNode="17" translationNode="17|0" referenceNode="17|0|0" zScale="1" />
    <topArm rotationNode="18" translationNode="18|0" referenceNode="18|0|0" zScale="1" />
    </attacherJoint>
    </attacherJoints>
	
	<hydraulicAnimation>
	<backArm index="27|1" getRotRef="14" />
	<streben index="27|1|0" refPoint="14|0|1" doScaleBool="true" scaleRefPoint="27|1|0|1" />
	<zylinder index="27|0" stempelIndex="27|1|1" />
	</hydraulicAnimation>
	
	<Zylinder count="3" >
	<Zylinder1 dir1="28|0" dir2="17|0|2|0" />
	<Zylinder2 dir1="22|0|3|0|0|0" dir2="22|0|3|2|0|0" />
	</Zylinder>
		
    <characterNode index="0>22|1|0|5|0" armIndex="22|1|0|4|0|1|0" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="20" />
	
	<movingParts>
		<movingPart index="0>22|1|0|4|0|1|0" referencePoint="0>22|1|0|5|0|1|2" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false" invertZ="true"/>
	</movingParts>
	
    <components count="6">
		<component1 centerOfMass="0 1.21 -1.58" solverIterationCount="190" realMassWanted="1.32"/>
		<component2 centerOfMass="0 -1 0" solverIterationCount="190" realMassWanted="1"/>
		<component3 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1"/>
		<component4 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1"/>
		<component5 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1"/>
		<component6 centerOfMass="0 -0.8 0" solverIterationCount="190" realMassWanted="1"/>

		<joint component1="0" component2="1" index="1>0" rotLimit="0 0 10" transLimit="0 0 0" breakable="false"/>
		<joint component1="1" component2="2" index="2>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="1" component2="3" index="3>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="5" index="5>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>

		<collisionPair component1="1" component2="2" enabled="false"/>
		<collisionPair component1="1" component2="3" enabled="false"/>
		<collisionPair component1="1" component2="4" enabled="false"/>
		<collisionPair component1="1" component2="5" enabled="false"/>
		<collisionPair component1="0" component2="2" enabled="false"/>
		<collisionPair component1="0" component2="3" enabled="false"/>
		<collisionPair component1="0" component2="4" enabled="false"/>
		<collisionPair component1="0" component2="5" enabled="false"/>
    </components>

	<increaseRpmDuringPloughing value="false" />
	
	<frontRightWheel wheelIndex="1" componentJointIndex="2" furrowDepth="0.18" fallSpeed="0.4" tireWidth="0.4" />
	<frontLeftWheel wheelIndex="2" componentJointIndex="3" furrowDepth="0.18" fallSpeed="0.4" tireWidth="0.4" />
	<backRightWheel wheelIndex="3" componentJointIndex="4" furrowDepth="0.18" fallSpeed="0.4" tireWidth="0.4" />
	<backLeftWheel wheelIndex="4" componentJointIndex="5" furrowDepth="0.18" fallSpeed="0.4" tireWidth="0.4" />
		   			
	<animParts>
	<animPart index="0>17|0|1"     id="FH_ARMETrac_1800_intercoolerF"       showHelp="true" scaleMin="1 1 1"     scaleMax="0 0 0"                 moveTime="0" />
	<animPart index="0>22|0|2|0"   id="DOOR_LTrac_1800_intercoolerF"        showHelp="true" rotMin="0 0 0"       rotMax="0 -80 0"                 moveTime="1" />
	<animPart index="0>22|0|2|1"   id="DOOR_RTrac_1800_intercoolerF"        showHelp="true" rotMin="0 0 0"       rotMax="0 80 0"                  moveTime="1" />
	<animPart index="0>22|0|3|0"   id="SCHEIBE_HTrac_1800_intercoolerF"     showHelp="true" rotMin="0 0 0"       rotMax="65 0 0"                  moveTime="1" />
	<animPart index="0>22|0|0|0|0" id="DachLukeTrac_1800_intercoolerF"      showHelp="true" rotMin="0 0 0"       rotMax="15 0 0"                  moveTime="1" />
    </animParts>

</vehicle>
