<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="scaniaR730_Fliegl_TMK_189SC">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved. edit by SpeedySC1978</annotation>
    <name>
        <en>scaniaR730_Fliegl_TMK_189SC</en>
        <de>scaniaR730_Fliegl_TMK_189SC</de>
    </name>
    <filename>scaniaR730_Fliegl_TMK_189SC.i3d</filename>

	<size width="3.8" length="6.5"/>

    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="90" rotMax="50" rotMin="-50" driveMode="2" repr="0>0" driveNode="0>0" radius="0.53" deltaY="0.20" suspTravel="0.22" spring="50" damper="90" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2"/>
        <wheel rotSpeed="90" rotMax="50" rotMin="-50" driveMode="2" repr="0>1" driveNode="0>1" radius="0.53" deltaY="0.20" suspTravel="0.22" spring="50" damper="90" mass="0.2" longitudalStiffness="0.9" lateralStiffness="2" />

        <wheel rotSpeed="0" driveMode="1" repr="0>2" radius="0.53" deltaY="0.20" suspTravel="0.22" spring="120" damper="90" mass="0.45" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>3" radius="0.53" deltaY="0.20" suspTravel="0.22" spring="120" damper="90" mass="0.45" longitudalStiffness="0.9" lateralStiffness="2" />

    </wheels>
	<motor minRpm="300" maxRpm="800 1300 4000 700" maxTorques="2.8 2.8 -1 2.5" brakeForce="10" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" compensateWheelRadius="true" accelerations="1 1 1 1" forwardGearRatio="22.0" backwardGearRatio="17" differentialRatio="1" rpmFadeOutRange="20">
		<torque rpm="300" torque="3.4"/>
		<torque rpm="4000" torque="3.4"/>
		<backwardTorque rpm="450" torque="2.2"/>
		<backwardTorque rpm="700" torque="3.3"/>
    </motor>
    <accelerationSpeed maxAcceleration="0.3" deceleration="0.35" backwardDeceleration="0.8" />
    <fuelCapacity>600</fuelCapacity>
    <fuelUsage>0.0058</fuelUsage>
	<downForce>6</downForce>
	<bunkerSiloCompacter compactingScale="3"/>
	
    <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>16" decoration="0>17" lightType="0"/>
        <light realLight="0>27|0|1" lightType="0"/>
        <light realLight="0>10" decoration="0>18" lightType="1"/>
    </lights>
	
	<brakeLights>
		<brakeLight index="0>21" />
		<brakeLight index="0>27|0|2|4" />
	</brakeLights>
	
	<beaconLights stayOn="true">
		<beaconLight index="0>19|0|0|0|1" rotIndex="0>19|0|0|0" speed="0.012" />
		<beaconLight index="0>20|0|0|0|1" rotIndex="0>20|0|0|0" speed="0.011" />
	</beaconLights>

    <lightsaddon lightsStayOn="true">
        <light type="dirLeft" index="0>23|0" />
        <light type="dirLeft" index="0>27|0|2|0" />
        <light type="dirRight" index="0>23|1" />
        <light type="dirRight" index="0>27|0|2|1" />
        <light type="reverse" index="0>22" />
        <light type="reverse" index="0>27|0|2|5" />
        <flashers soundfile="audio/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.6" autoreturn="true" tolerance="0.9"/>
    </lightsaddon>

   <drivingParticles threshold="0.005">
        <drivingParticle position="-1.0 0 1.9" rotation="0 0 0" file="particleSystems/dustParticleSystem.i3d" wheel="1" minSpeed="10" maxSpeed="60"/>
        <drivingParticle position="1.2 0 1.9" rotation="0 0 0" file="particleSystems/dustParticleSystem.i3d" wheel="2" minSpeed="10" maxSpeed="60"/>
        <drivingParticle position="-1.0 0 -1.5" rotation="0 0 0" file="particleSystems/dustParticleSystem.i3d" wheel="3" minSpeed="10" maxSpeed="60"/>
        <drivingParticle position="1.2 0 -1.5" rotation="0 0 0" file="particleSystems/dustParticleSystem.i3d" wheel="4" minSpeed="10" maxSpeed="60"/>
    </drivingParticles>
	
    <steering index="0>11|0" rotationSpeed="8"/>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>8"/>

    <attacherJoints>
	    <attacherJoint index="0>12" jointType="trailer" maxRotLimit="0 150 10" allowsLowering="false" allowsJointLimitMovement="false"/>
    </attacherJoints>

    <characterNode index="0>13" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="0>14" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="audio/lizard2000_attach.wav" pitchOffset="1" />
    <motorStartSound file="audio/engine1_start.ogg" pitchOffset="0.7" />
    <motorSoundRun file="audio/engine1_run.ogg" pitchOffset="0.5" pitchScale="0.01" pitchMax="1.5"/>
    <motorSound file="audio/engine1_Idle.ogg" pitchOffset="0.5" pitchScale="0.01" pitchMax="1.5" volume="0.5" />
    <motorStopSound file="audio/engine1_stop.ogg" pitchOffset="1.5" />
    <reverseDriveSound file="audio/reverse1.ogg" volume="0.5" pitchOffset="1.5"/>
    <compressedAirSound file="audio/air_brake1.ogg" pitchOffset="1" volume="1"/>
    <compressionSound file="audio/air_brake2.ogg" pitchOffset="1" volume="1.9"/>

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

    <capacity>18900</capacity>
	<massPerFillLevel value="0.00005" />

	<fillTypes fruitTypes="wheat rape maize barley grass chaff manure sugarBeet potato"/>
    <tipDischargeEndTime>10000</tipDischargeEndTime>

    <tipReferencePoints>
        <tipReferencePoint index="0>29" width="2.5" />
    </tipReferencePoints>	

    <tipAnimations>
        <tipAnimation speedScale="1" clip="tipAnimationBack" rootNode="0>27" >

	<dischargeParticleSystems>
		<dischargeParticleSystem type="maize"  node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSback.i3d" />
		<dischargeParticleSystem type="barley" node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSback.i3d" />
		<dischargeParticleSystem type="wheat"  node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSback.i3d" />
	    <dischargeParticleSystem type="rape"   node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSbackRape.i3d" />	
		<dischargeParticleSystem type="chaff" node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSbackChaff.i3d" />
		<dischargeParticleSystem type="grass" node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSbackGrass.i3d" />
		<dischargeParticleSystem type="manure"  node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSbackManure.i3d" />

		<dischargeParticleSystem type="sugarBeet" node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeSugarbeet.i3d" />
		<dischargeParticleSystem type="potato" node="0>27|5" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargepotato.i3d" />

	</dischargeParticleSystems>
       </tipAnimation>
    </tipAnimations>


   	<hydraulicSound file="$data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="1.0" volume="0.85" />
	<fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />
	
	<fillRootNode index="0>" />
    <exactFillRootNode index="0>27|6" />
    <fillAutoAimTargetNode index="0>27|7" />
    <fillMassNode index="0>" />
	
    <fillPlanes>
        <fillPlane type="wheat">
            <node index="0>27|3|0">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="barley">
            <node index="0>27|3|1">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="maize">
            <node index="0>27|3|2">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="rape">
            <node index="0>27|3|3">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="chaff">
            <node index="0>27|3|4">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="grass">
            <node index="0>27|3|5">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="manure">
            <node index="0>27|3|6">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="sugarBeet">
            <node index="0>27|3|7">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="potato">
            <node index="0>27|3|8">
                <key time="0"   y="0" scale="0.99 0.1 0.89" />
                <key time="0.4" y="0" scale="0.99 0.4 1"/>
                <key time="1"   y="0" scale="0.99 1 1"/>
            </node>
        </fillPlane>
    </fillPlanes>

	

    <components count="1">
        <component1 centerOfMass="0 0 0" solverIterationCount="10" />

    </components>	

	<schemaOverlay file="schemas/scaniaSchema4.png" fileSelected="schemas/scaniaSchemaSelected4.png" width="0.5" height="0.5" attacherJointPosition="0 0">
       <attacherJoint position="1 0" rotation="0" invertX="false" />
    </schemaOverlay>

    <Beifahrer>
        <Kamera index="0>30|2" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
        <NicknameNode index="0>30|1" />
        <BeifahrerNode index="0>30|0" />
    </Beifahrer>

</vehicle>
