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

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

    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="13" radius="1" deltaY="0.2" suspTravel="0.35" spring="4" damper="20" mass="0.2" />
        <wheel driveMode="0" repr="14" radius="1" deltaY="0.2" suspTravel="0.35" spring="4" damper="20" mass="0.2" />
        <wheel driveMode="0" repr="11" radius="0.8" deltaY="0.2" suspTravel="0.35" spring="4" damper="20" mass="0.2" />
        <wheel driveMode="0" repr="12" radius="0.8" deltaY="0.2" suspTravel="0.35" spring="4" damper="20" mass="0.2" />  
        
    </wheels>
    <brakeForce>1</brakeForce>
    <lights count="1">
        <light1 index="2" />
    </lights>    
    <TrailerTrigger index="6" />
     <grainPlane>
        <node type="wheat" index="7|3|0"/>
        <node type="barley" index="7|3|0"/>
        <node type="maize" index="7|3|2"/>
        <node type="rape" index="7|3|1"/>
        <key time="0"   y="0" scale="0.5 0.1 1"/>
        <key time="0.15" y="0.509" scale="1.88 1.88 2.75"/>
	  <key time="0.35" y="0.732" scale="2.4 2.4 3.35"/>
	  <key time="0.4" y="0.796" scale="2.61 2.6 3.6"/>
        <key time="1"   y="1.65"  scale="2.61 2.6 3.6"/>
    </grainPlane>


    
    <trailerPosition index="7|6" />
     <pipeParticles>
        <pipeParticle type="wheat" node="7|5" rotation="0 0 0" file="particleSystems/wheatParticleSystem.i3d" />
        <pipeParticle type="maize" node="7|5" rotation="0 0 0" file="particleSystems/wheatParticleSystem.i3d" />
        <pipeParticle type="barley" node="7|5" rotation="0 0 0" file="particleSystems/wheatParticleSystem.i3d" />
        <pipeParticle type="rape" node="7|5" rotation="0 0 0" file="particleSystems/rapeParticleSystem.i3d" />
    </pipeParticles>


    <massScale value="0.25" />
    <capacity>25000</capacity>

    <attacherJoint index="10" jointType="trailerLow"/>

    <fillRootNode index="0>" />
    <exactFillRootNode index="3" />
    <fillAutoAimTargetNode index="4" />
    <fillMassNode index="0>" />
    
    <pipe index="7|2" minRot="90 -0 -41" maxRot="0 -0 -41" rotTime="2" />
    
    <fillTypes fruitTypes="wheat barley rape maize" />
    <pipeSound file="$data/vehicles/steerable/fendt/hydraulicUp.wav" pitchOffset="1" pitchScale="0.03" pitchMax="2" />
      <fillSound file="data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />
	
    <movingTools>
        <!-- support -->
        <movingTool index="0>5" componentJointIndex="0" anchorActor="0"></movingTool>
    </movingTools>
	
    <animations>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="5" startTime="0" duration="0.6" startTrans="0 0.8 2.57" endTrans="0 -0.08 2.57" />
        </animation>		
    </animations>
	
    <support animationName="moveSupport" />		
	
    <components count="2">
        <component1 centerOfMass="0 0 0" solverIterationCount="4" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>9|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
</vehicle>
