<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="schlueter2500VL">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Schlueter Super Trac 2500 VL</en>
        <de>Schlüter Super Trac 2500 VL</de>
    </name>
    <filename>schlueter2500VL.i3d</filename>

    <size width="3.5" length="7"/>

    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="70" rotMax="26" rotMin="-26" driveMode="2" repr="1>1" driveNode="1>1|0" radius="0.88" deltaY="0.12" suspTravel="0.24" spring="120" damper="10" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2"/>
        <wheel rotSpeed="70" rotMax="26" rotMin="-26" driveMode="2" repr="2>1" driveNode="2>1|0" radius="0.88" deltaY="0.12" suspTravel="0.24" spring="120" damper="10" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="3>1" radius="0.88" deltaY="0.08" suspTravel="0.14" spring="180" damper="10" mass="0.1039" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="4>1" radius="0.88" deltaY="0.08" suspTravel="0.14" spring="180" damper="10" mass="0.1039" longitudalStiffness="0.9" lateralStiffness="2" />
    </wheels>
    <motor minRpm="100" maxRpm="900 1350 2250 580" maxTorques="-1 -1 -1 -1" brakeForce="3" accelerations="1 1 1 1" lowBrakeForceScale="0.3" compensateWheelRadius="true" lowBrakeForceSpeedLimit="0.7" forwardGearRatio="19" backwardGearRatio="17" differentialRatio="1" rpmFadeOutRange="20">
		<torque rpm="2250" torque="0.29"/>
		<backwardTorque rpm="580" torque="0.30"/>
		<backwardTorque rpm="650" torque="0"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.19" deceleration="0.9" backwardDeceleration="0.7" />
    <fuelCapacity>560</fuelCapacity>
    <fuelUsage>0.0056</fuelUsage>
	<downForce>6</downForce>
	<bunkerSiloCompacter compactingScale="36"/>

    <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>23" decoration="0>24" lightType="0"/>
        <light realLight="0>10" decoration="0>25" lightType="1"/>
    </lights>

    <brakeLights>
		<brakeLight index="0>27" />
	</brakeLights>

	<beaconLights>
		<beaconLight index="0>26|0" speed="0.015" />
		<beaconLight index="0>26|1" speed="0.016" />
	</beaconLights>

    <steering index="0>19|0" rotationSpeed="6"/>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>8"/>

    <trailerAttacherJoints>
        <trailerAttacherJoint index="0>15" maxRotLimit="10 80 80" ptoOutputNode="0>16" ptoFilename="PS/powerTakeoff.i3d"/>
        <trailerAttacherJoint index="0>17" low="true" ptoOutputNode="0>16" ptoFilename="PS/powerTakeoff.i3d"/>
        <trailerAttacherJoint index="18" maxRotLimit="20 85 85" />   
	</trailerAttacherJoints>

    <attacherJoints>
        <attacherJoint index="0>11|0|0" rotationNode="0>11" minRot="18 0 0" minRot2="-10 0 0" maxRot="2 0 0" rotationNode2="0>11|0" maxRot2="-2 0 0" maxTransLimit="0 0.5 0" maxRotLimit="8 0 20" moveTime="2" ptoOutputNode="0>16" ptoFilename="PS/powerTakeoff.i3d">
            <bottomArm rotationNode="0>12" translationNode="0>12|0" referenceNode="0>12|0|0" zScale="-1" />
            <topArm baseNode="0>13" filename="PS/upperLinkMedium.i3d" zScale="-1" />
        </attacherJoint>
		
		<attacherJoint index="0>37|0|0" rotationNode="0>37" maxRot="6.5 0 0" rotationNode2="0>37|0" maxRot2="-7 0 0" maxTransLimit="0 0.34 0" maxRotLimit="8 0 20" moveTime="1.5" ptoOutputNode="0>44" ptoFilename="PS/powerTakeoff.i3d">
            <bottomArm rotationNode="0>38" translationNode="0>38|0" referenceNode="0>38|0|0" zScale="1" />
            <topArm baseNode="0>40" referenceNode="0>40|0" filename="PS/upperLinkSmall.i3d" zScale="1" />			
        </attacherJoint>
    </attacherJoints>

    <movingTools>
		<!-- attacher joint back bottom-->
        <movingTool index="0>12">
            <!-- cylinder 2 -->
            <dependentPart index="0>14" />
        </movingTool>
    </movingTools>

    <movingParts>
        <!-- attacher joint back bottom cylinder 2 -->
        <movingPart index="0>14" referencePoint="0>12|0|1" localReferencePoint="0>14|0" referenceFrame="0>" invertZ="true">
            <dependentPart index="0>14|0" />
        </movingPart>
        <!-- attacher joint back bottom cylinder 2b -->
        <movingPart index="0>14|0" referencePoint="0>12|0|1" referenceFrame="0>14|1" invertZ="true">
        </movingPart>

		<movingPart index="0>28|0" referencePoint="0>0|1" referenceFrame="0>" isActiveDirty="true" playSound="false" >
			<translatingPart index="0>28|0|0" />
        </movingPart>
		<movingPart index="0>28|1" referencePoint="0>1|1" referenceFrame="0>" isActiveDirty="true" playSound="false" >
			<translatingPart index="0>28|1|0" />
        </movingPart>
    </movingParts>

    <characterNode index="0>20" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="0>21" />
	<exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="0>22" file="PS/realParticles.i3d" />
    </exhaustParticleSystems>
	<realExhaustParticleSystem parameter="exhaustingSystem" minAlpha="0.1" maxAlpha="1" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="sounds/attach.wav" pitchOffset="1" />
    <motorStartSound file="sounds/schlueter2500_start.wav" pitchOffset="1" volume="1" />
    <motorSound file="sounds/schlueter2500_idle.wav" pitchOffset="1" pitchScale="0.024" pitchMax="1.65" volume="1" radius="50" innerRadius="20" />
    <motorSoundRun file="sounds/schlueter2500_run.wav" pitchOffset="0.45" pitchScale="0.025" pitchMax="1.25" volume="1" />
    <motorStopSound file="sounds/schlueter2500_stop.wav" pitchOffset="1" volume="1" />
    <compressedAirSound file="sounds/brakeOld.wav" pitchOffset="1" volume="2"/>
    <compressionSound file="sounds/compressorWork.wav" pitchOffset="1" volume="1.5"/>

	<honkSound file="sounds/horn.wav" volume="1" radius="80" innerRadius="35" />

    <components count="5">
	<!-- main component -->
    <component1 centerOfMass="0 0.01 0.1" solverIterationCount="10" />
	<!-- front right wheel component -->
	<component2 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	<!-- front left wheel component -->
	<component3 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	<!-- back right wheel component -->
	<component4 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	<!-- back left wheel component -->
	<component5 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	
	<!-- front right wheel joint (componentJointIndex = 1) -->
	<joint component1="0" component2="1" index="1>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	<!-- front left wheel joint (componentJointIndex = 2) -->
	<joint component1="0" component2="2" index="2>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	<!-- back right wheel joint (componentJointIndex = 3) -->
	<joint component1="0" component2="3" index="3>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	<!-- back left wheel joint (componentJointIndex = 4) -->
	<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
			
	<!-- disable collisions between existing components -->
	<collisionPair component1="0" component2="1" enabled="false"/>
	<collisionPair component1="0" component2="2" enabled="false"/>
	<collisionPair component1="0" component2="3" enabled="false"/>
	<collisionPair component1="0" component2="4" enabled="false"/>
    </components>
	
	<!-- front right wheel joint (componentJointIndex = 1) -->
	<joint component1="0" component2="1" index="1>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	<!-- front left wheel joint (componentJointIndex = 2) -->
	<joint component1="0" component2="2" index="2>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	<!-- back right wheel joint (componentJointIndex = 3) -->
	<joint component1="0" component2="3" index="3>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	<!-- back left wheel joint (componentJointIndex = 4) -->
	<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
	
	<!-- main ploughing mod code -->
	<frontRightWheel wheelIndex="1" componentJointIndex="1" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.35" />
	<frontLeftWheel wheelIndex="2" componentJointIndex="2" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.35" />
	<backRightWheel wheelIndex="3" componentJointIndex="3" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.40" />
	<backLeftWheel wheelIndex="4" componentJointIndex="4" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.40" />
	<!-- end main ploughing mod code -->
	
	<!-- optional ploughing mod code -->
	<workExhaustParticleSystems count="1">
        <workExhaustParticleSystem1 node="0>22" file="$data/vehicles/particleSystems/exhaustParticleSystemBig.i3d" />
	</workExhaustParticleSystems>
	
	<increaseRpmDuringPloughing value="true" />
	<!-- end optional ploughing mod code -->

    <schemaOverlay file="PS/vehicleSchema.png" fileSelected="PS/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>
	
	<blends1>
	    <blend1 index="1>1|0|1" />
	    <blend1 index="2>1|0|1" />	
	</blends1>
    	<blends2>
	    <blend2 index="3>1|1" />
	    <blend2 index="4>1|1" />
	</blends2>
	
	<wheelParticleSystems file="PS/wheelParticleSystem.i3d" >
        <wheelParticleSystem node="0>33|0" />
        <wheelParticleSystem node="0>33|1" />
        <wheelParticleSystem node="0>33|2" />
	    <wheelParticleSystem node="0>33|3" />
    </wheelParticleSystems>
	
	<dirt dirtInterval="2" cleaningInterval="15" updateInterval="0.01">
		<dirtComponent index="0>12" />
		<dirtComponent index="0>12|0" />
		<dirtComponent index="0>14" />
		<dirtComponent index="0>14|0" />
		<dirtComponent index="0>28" />
		<dirtComponent index="0>28|0" />
		<dirtComponent index="0>28|0|0" />
		<dirtComponent index="0>28|1" />
		<dirtComponent index="0>28|1|0" />
		<dirtComponent index="0>34" />
		<dirtComponent index="0>34|0" />
		<dirtComponent index="0>35" />
		<dirtComponent index="0>38" />
		<dirtComponent index="0>38|0" />
		<dirtComponent index="0>39" />
		<dirtComponent index="0>39|0" />
		<dirtComponent index="0>39|0|0" />
		<dirtComponent index="0>41" />
		<dirtComponent index="0>42" />
		<dirtComponent index="0>43" />
		<dirtComponent index="1>1" />
		<dirtComponent index="1>1|0" />
		<dirtComponent index="1>1|0|0" />
		<dirtComponent index="1>1|0|1" />
		<dirtComponent index="1>1|0|1|0" />
		<dirtComponent index="2>1" />
		<dirtComponent index="2>1|0" />
		<dirtComponent index="2>1|0|0" />
		<dirtComponent index="2>1|0|1" />
		<dirtComponent index="2>1|0|1|0" />
		<dirtComponent index="3>1" />
		<dirtComponent index="3>1|0" />
		<dirtComponent index="3>1|1" />
		<dirtComponent index="3>1|1|0" />
		<dirtComponent index="4>1" />
		<dirtComponent index="4>1|0" />
		<dirtComponent index="4>1|1" />
		<dirtComponent index="4>1|1|0" />
	</dirt>
	
	<lightsaddon lightsStayOn="true">
	   <light type="dirLeft" index="0>46|1|0" />
	   <light type="dirLeft" index="0>46|1|1" />
	   <light type="dirRight" index="0>46|0|0" />
	   <light type="dirRight" index="0>46|0|1" />
	   <light type="reverse" index="0>46|2|0" />
	   <light type="reverse" index="0>46|2|1" />
    </lightsaddon>
	
	<drivingParticles threshold="0.005">
        <drivingParticle position="-1.0 0 1.9" rotation="0 0 0" file="PS/dustParticleSystem.i3d" wheel="1" minSpeed="10" maxSpeed="60"/>
        <drivingParticle position="1.2 0 1.9" rotation="0 0 0" file="PS/dustParticleSystem.i3d" wheel="2" minSpeed="10" maxSpeed="60"/>
        <drivingParticle position="-1.0 0 -1.5" rotation="0 0 0" file="PS/dustParticleSystem.i3d" wheel="3" minSpeed="10" maxSpeed="60"/>
        <drivingParticle position="1.2 0 -1.5" rotation="0 0 0" file="PS/dustParticleSystem.i3d" wheel="4" minSpeed="10" maxSpeed="60"/>
    </drivingParticles>

</vehicle>
