<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Volvo">
	<annotation>Copyright (C) siudix29, Mad Dog, All Rights Reserved.</annotation>
	<name>BM Volvo S830</name>
    <description>BM Volvo S830</description>
    <filename>Volvo.i3d</filename>

    <size width="5.0" length="9.5" />

    <wheels autoRotateBackSpeed="2.0">
        <wheel rotSpeed="-40" rotMax="35" rotMin="-35" driveMode="1" repr="1>1" radius="0.3" deltaY="0.1" suspTravel="0.15" spring="180" damper="0" mass="0.3" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="-40" rotMax="35" rotMin="-35" driveMode="1" repr="1>2" radius="0.3" deltaY="0.1" suspTravel="0.15" spring="180" damper="0" mass="0.3" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>0" radius="0.5" deltaY="0.1" suspTravel="0.15" spring="200" damper="0" mass="0.4" longitudalStiffness="0.9" lateralStiffness="2" />
        <wheel rotSpeed="0" driveMode="1" repr="0>1" radius="0.5" deltaY="0.1" suspTravel="0.15" spring="200" damper="0" mass="0.4" longitudalStiffness="0.9" lateralStiffness="2" />
    </wheels>

    <motor minRpm="300" maxRpm="320 450 800 1500" maxTorques="1.6 2.2 -1 1.4" brakeForce="8" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" forwardGearRatio="9" backwardGearRatio="8" differentialRatio="1.1" rpmFadeOutRange="50">
        <torque rpm="1800" torque="4"/>

         <backwardTorque rpm="320" torque="2.05"/>
	<backwardTorque rpm="475" torque="1"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.2" deceleration="0.6" />

   <fuelCapacity>115</fuelCapacity>
    <fuelUsage>0.00035</fuelUsage>
    <downForce>5</downForce>
    <cameras count="3">
        <camera1 index="0>3" rotatable="true" rotateNode="0>3" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
        <camera2 index="0>4" rotatable="true" rotateNode="0>4" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
        <camera3 index="0>5|0" rotatable="true" rotateNode="0>5" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="0.05" transMin="7" transMax="25" />
    </cameras>

        <passengerCamera index="0>6" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
	<passengerNicknameRenderNode index="0>2|22"/>



    <lights>
        <light realLight="0>2|14|0" decoration="0>2|14|1" lightType="0"/>
    </lights>


    <steering index="0>2|2|0" rotationSpeed="6"/>
    <attacherJoints>
        <attacherJoint jointType="cutter" index="0>2|6|0|0" rotationNode="0>2|6" maxRot="17 0 0" rotationNode2="0>2|6|0" maxRot2="0 0 0" moveTime="2.5" />
        <!--<attacherJoint index="1>5" jointType="trailerCombine" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 50 50" maxTransLimit="0 0 0"/>
    --></attacherJoints>
    <enterReferenceNode index="0>" />
    <exitPoint index="0>2|7" />
    
    <pipeSound file="sounds/rura.wav" pitchOffset="1" pitchScale="0.03" pitchMax="2" />
    <threshingStartSound file="sounds/mlocka-start.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1.2" />
    <threshingSound file="sounds/mlocka-praca.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1.2" />
    <threshingStopSound file="sounds/mlocka-stop.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1.2" />
    <attachSound file="sounds/attach.wav" pitchOffset="1" />
    <honkSound file="sounds/horn.wav" volume="1" radius="80" innerRadius="35" />

    <motorStartSound file="sounds/Odpalanie.wav" pitchOffset="1" />
    <motorSound file="sounds/Praca.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.4" />
    <motorSoundRun file="sounds/Zwolnice.wav" pitchOffset="1" pitchScale="0.03" pitchMax="1" volume="1" />
    <motorStopSound file="sounds/Gaszenie.wav" pitchOffset="1" />
    <aiMotorSound file="sounds/AI.wav" pitchOffset="1" radius="50" innerRadius="5" volume="1.5" />  
    <aiTreshingSound file="sounds/mlocka-praca.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.0" />  
    <compressedAirSound file="sounds/brake.wav" pitchOffset="1"/>
    <compressionSound file="sounds/brake2.wav" pitchOffset="1" volume="1.5"/>   

    <cuttingAreas count="1">
        <cuttingArea1 startIndex="0>2|3" widthIndex="0>2|4" heightIndex="0>2|5"/>
    </cuttingAreas>
	 
<pipe index="0>2|50" />
    

<!--pipe numStates="2" unloadingStates="2" raycastNodeIndex="0>2|50|0|0">
        <node index="0>2|50" rotationSpeeds="3 12 0">
            <state1 rotation="0 0 16.79962" />
            <state2 rotation="-2 -90 16.79962"/>
        </node>
    </pipe-->



    <pipeParticleSystems>
        <pipeParticleSystem type="wheat" node="0>2|50|0|0" rotation="0 90 0" file="PS/Pipe_wheat.i3d" />
        <pipeParticleSystem type="barley" node="0>2|50|0|0" rotation="0 90 0" file="PS/Pipe_wheat.i3d" />
        <pipeParticleSystem type="rape" node="0>2|50|0|0" rotation="0 90 0" file="PS/Pipe_rape.i3d" />
        <pipeParticleSystem type="maize" node="0>2|50|0|0" rotation="0 90 0" file="PS/Pipe_maize.i3d" />
    </pipeParticleSystems>

    <chopperParticleSystems>
        <chopperParticleSystem type="rape" node="0>2|20" rotation="73 0 0" file="$data/vehicles/particleSystems/threshingChopperPSRapeSmall.i3d" />
        <chopperParticleSystem type="maize" node="0>2|20" rotation="73 0 0" file="$data/vehicles/particleSystems/threshingChopperPSMaizeSmall.i3d" />
	<chopperParticleSystem type="wheat" node="0>2|20" rotation="73 0 0" file="$data/vehicles/particleSystems/threshingChopperPSMaizeSmall.i3d" />
        <chopperParticleSystem type="barley" node="0>2|20" rotation="73 0 0" file="$data/vehicles/particleSystems/threshingChopperPSMaizeSmall.i3d" />
    </chopperParticleSystems>

    <strawParticleSystems>
        <strawParticleSystem type="wheat" node="0>2|21" rotation="5 0 0" file="$data/vehicles/particleSystems/threshingStrawParticleSystemSmall.i3d" />
        <strawParticleSystem type="barley" node="0>2|21" rotation="5 0 0" file="$data/vehicles/particleSystems/threshingStrawParticleSystemSmall.i3d" />
    </strawParticleSystems>

    <grainTankCapacity>2000</grainTankCapacity>
    <grainTankUnloadingCapacity>100</grainTankUnloadingCapacity>



	
	<grainTankPlanes>
        <grainTankPlane type="wheat">
            <node index="0>2|8|0|0">
				<key time="0" translation="0 0 0" scale="0.8 0.8 0.8"/>
				<key time="1" translation="0 0.91901 0" scale="0.8 0.8 0.8"/>
            </node>
        </grainTankPlane>
        <grainTankPlane type="barley">
            <node index="0>2|8|0|0">
				
				<key time="0" translation="0 0 0" scale="0.8 0.8 0.8"/>
				<key time="1" translation="0 0.91901 0" scale="0.8 0.8 0.8"/>
            </node>
        </grainTankPlane>
        <grainTankPlane type="maize">
            <node index="0>2|8|0|0">
				
				<key time="0" translation="0 0 0" scale="0.8 0.8 0.8"/>
				<key time="1" translation="0 0.91901 0" scale="0.8 0.8 0.8"/>
            </node>
        </grainTankPlane>
        <grainTankPlane type="rape">
            <node index="0>2|8|1|0">
				
				<key time="0" translation="0 0 0" scale="0.8 0.8 0.8"/>
				<key time="1" translation="0 0.91901 0" scale="0.8 0.8 0.8"/>
            </node>
        </grainTankPlane>
    </grainTankPlanes>
	
	
    <grainTankFruitTypes fruitTypes="wheat rape maize barley" />

    <exhaustParticleSystems count="1">
		<exhaustParticleSystem1 node="0>2|43" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>
    

    <workExhaustParticleSystems count="1">
        <workExhaustParticleSystem1 node="0>2|43" file="$data/vehicles/particleSystems/exhaustParticleSystemBig.i3d" />
    </workExhaustParticleSystems>

    <combineSize>2</combineSize>
    <characterNode index="0>2|15" cameraMinDistance="1.5" />
    <strawAreas count="1">
        <strawArea1 startIndex="0>2|9" widthIndex="0>2|10" heightIndex="0>2|11" />
    </strawAreas>


    <combineTrailerTriggers>
        <combineTrailerTrigger index="0>2|12" />
    </combineTrailerTriggers>
    <aiTrafficCollisionTrigger index="0>2|13" />


    <components count="3">
        <component1 centerOfMass="0 -1 1.84441" solverIterationCount="190" />
        <component2 centerOfMass="0 -0.8 0" solverIterationCount="190" />
        <component3 solverIterationCount="190" />
        <joint component1="0" component2="1" index="1>3" rotLimit="0 0 10" transLimit="0 0 0" breakable="false"/>'
        <joint component1="0" component2="2" index="0>2|50|0|1" rotLimit="0 0 0" transLimit="0 0 0" />
        <collisionPair component1="0" component2="1" enabled="false"/>
    </components>

    <beaconLights>
		<beaconLight index="0>2|48" speed="0.016" />
    </beaconLights>

<lightsaddon lightsStayOn="true">
		<light type="brake" index="0>2|17" />
</lightsaddon>


<combineThreshingFillParticleSystems count="4">
<combineThreshingFillParticleSystem type="wheat" node="0>2|44" rotation="0 0 0" file="PS/particlesystem.i3d" />
<combineThreshingFillParticleSystem type="maize" node="0>2|44" rotation="0 0 0" file="PS/particlesystem.i3d" />
<combineThreshingFillParticleSystem type="rape" node="0>2|44" rotation="0 0 0" file="PS/particlesystem.i3d" />
<combineThreshingFillParticleSystem type="barley" node="0>2|44" rotation="0 0 0" file="PS/particlesystem.i3d" />
</combineThreshingFillParticleSystems>

<Kierownica invertAxis="false" activated="true" steeringSpeed="1000" inputBinding="Kierownica" />
<KierownicaHud released="tex/Tak.png" locked="tex/Nie.png" posX="0.92" posY="0.75" />

<klapa1 index="0>2|46" />
<klapa2 index="0>2|47" />


<!--movingTools>
       
        <movingTool index="0>2|50" componentJointIndex="0" anchorActor="0">
			<dependentPart index="0>2|51" />
		</movingTool>
    </movingTools-->


<!--movingParts>
<movingPart index="0>2|51" referencePoint="0>2|50|0|2" referenceFrame="0>" scaleZ="true">
        </movingPart>
    </movingParts-->


<animationParts>
                <animationPart rootNode="0>2" clipName="bujanie" clipSpeed="1" loop="true" accerlation="0.09" deAccerlation="0.02" loadSave="true" numJoints="0" offSet="40" ></animationPart> 
		<animationPart rootNode="0>2|18|0|0" clipName="klapa1" loadSave="false" numJoints="0" offSet="40" > </animationPart>
                <animationPart rootNode="0>2|19" clipName="klapa2" loadSave="false" numJoints="0" offSet="40" > </animationPart>
                <animationPart rootNode="0>2|6|2" clipName="koszenie" clipSpeed="2" loop="true" accerlation="0.09" deAccerlation="0.02" loadSave="true" numJoints="0" offSet="40" ></animationPart> 
                <animationPart rootNode="0>2|37" clipName="praca" clipSpeed="1" loop="true" accerlation="0.09" deAccerlation="0.02" loadSave="true" numJoints="0" offSet="40" ></animationPart> 
                <animationPart rootNode="0>2|15|0" clipName="farmer" loadSave="false" numJoints="0" offSet="40" > </animationPart>
                <animationPart rootNode="0>2|42" clipName="kontrolka" loadSave="false" numJoints="0" offSet="40" > </animationPart>
                <animationPart rootNode="0>2|50" clipName="rura" loadSave="false" numJoints="0" offSet="40" > </animationPart>
</animationParts>


<schemaOverlay file="$data/vehicles/schemas/vehicleSchema.png" fileSelected="$data/vehicles/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 -0.5">
        <attacherJoint position="0 0" rotation="0" invertX="false" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
    </schemaOverlay>

</vehicle>
