<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="RM815">
    <name>
        <en>RM815</en>
        <de>RM815</de>
    </name>
    <description></description>
    <typeDesc>
        <en>RM815</en>
        <de>RM815</de>
    </typeDesc>
    <description>RM815</description>
    <filename>RM815.i3d</filename>

    <needsLowering value="false" />
    <allowsLowering value="false" />

    <capacity>18000</capacity>
    <startFillLevel>0</startFillLevel>
    <massScale value="1" />
    <fillRootNode index="0>" />
    <fillMassNode index="0>" />

    <cuttingAreas count="1">
        <cuttingArea1 startIndex="4|0" widthIndex="4|1" heightIndex="4|2"/> 
    </cuttingAreas>

    <spraySound file="$data/vehicles/trailers/manureSpreader.wav" pitchOffset="1" volume="1"/>

    <attacherJoint index="0" jointType="implement" topReferenceNode="1"/>

    <fillPlanes>
	<fillPlane type="manure">
            <node index="0>2|2">
		<key time="0" y="1" scale="0.8 0.1 0.9"/>
		<key time="1" y="-0.1" scale="1.2 1.3 1.3"/>
	    </node>
	</fillPlane>
    </fillPlanes>

    <sprayParticleSystem file="$data/vehicles/particleSystems/manureSprayParticleSystem.i3d" />  

    <rotatingParts>
	<rotatingPart node="2|1|0|0" speed="-0.05" />
	<rotatingPart node="2|1|0|1" speed="0.05" />
	<rotatingPart node="2|1|1|0" speed="0.005" />
	<rotatingPart node="2|1|1|1" speed="0.005" />
	<rotatingPart node="2|1|1|2" speed="0.005" />
    </rotatingParts>


    <fillTypes fruitTypes="manure" />

    <sprayUsages>
        <sprayUsage fillType="manure" litersPerSecond="125" />
    </sprayUsages>

    <sprayValves>
        <sprayValve index="0>3|0" />
        <sprayValve index="0>3|1" />
        <sprayValve index="0>3|2" />
        <sprayValve index="0>3|3" />
    </sprayValves>

    <stu1 index="0>7|0" minTrans="-1.43 0.8 1.75" maxTrans="-1.15 0.8 1.75" minRot="0 180 0" maxRot="-87 180 0" rotTime="2"/>
    <stu2 index="0>7|1" minTrans="-1.43 0.8 -1.75" maxTrans="-1.15 0.8 -1.75" minRot="0 180 0" maxRot="87 180 0" rotTime="2"/>
    <stu3 index="0>7|2" minTrans="1.43 0.8 1.75" maxTrans="1.15 0.8 1.75" minRot="0 0 0" maxRot="87 0 0" rotTime="2"/>
    <stu4 index="0>7|3" minTrans="1.43 0.8 -1.75" maxTrans="1.15 0.8 -1.75" minRot="0 0 0" maxRot="-87 0 0 0" rotTime="2"/>

    <components count="5">
	<component1 centerOfMass="0 -2.5 0" solverIterationCount="20" />
	<component2 centerOfMass="0 0 0" solverIterationCount="20" />
	<component3 centerOfMass="0 0 0" solverIterationCount="20" />
	<component4 centerOfMass="0 0 0" solverIterationCount="20" />
	<component5 centerOfMass="0 0 0" solverIterationCount="20" />
	<joint component1="0"   component2="1"  index="0>7|2|0|0"     rotLimit="0 0 0" transLimit="0 0 0" />
	<joint component1="0"   component2="2"  index="0>7|3|0|0"     rotLimit="0 0 0" transLimit="0 0 0" />
	<joint component1="0"   component2="3"  index="0>7|0|0|0"     rotLimit="0 0 0" transLimit="0 0 0" />
	<joint component1="0"   component2="4"  index="0>7|1|0|0"     rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

<lightCoronas>
		<lightCorona index="0>10" />
</lightCoronas>

<lightsaddon lightsStayOn="false">
	<light type="brake" index="0>9|0" />
	<light type="reverse" index="0>9|1" />
</lightsaddon>

</vehicle>
