<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="trailer">
	<annotation>Copyright (C) TIF, All Rights Reserved.</annotation>
    <name>
        <en>Vaia NL 28</en>
        <de>Vaia NL 28</de>
    </name>
    <description></description>
	<typeDesc>by Clod</typeDesc>
    <filename>VaiaNL28blu.i3d</filename>
    <size width="3.5" length="11.5" lengthOffset="-1.8" />
    <wheels autoRotateBackSpeed="2.0">
        <wheel repr="7" radius="0.7" deltaY="0.145" suspTravel="0.23" spring="6" damper="4" mass="2.55" steeringAxleScale="0.2" steeringAxleRotMax="10" steeringAxleRotMin="-10" lateralStiffness="5" />
        <wheel repr="8" radius="0.7" deltaY="0.145" suspTravel="0.23" spring="6" damper="4" mass="2.55" steeringAxleScale="0.2" steeringAxleRotMax="10" steeringAxleRotMin="-10" lateralStiffness="5" />
        <wheel repr="9" radius="0.7" deltaY="0.145" suspTravel="0.23" spring="8" damper="8" mass="3.55" />
        <wheel repr="10" radius="0.7" deltaY="0.145" suspTravel="0.23" spring="8" damper="8" mass="3.55" />
        <wheel repr="11" radius="0.7" deltaY="0.145" suspTravel="0.23" spring="10" damper="12" mass="4.55" steeringAxleScale="-0.6" steeringAxleRotMax="20" steeringAxleRotMin="-20" lateralStiffness="5" />
        <wheel repr="12" radius="0.7" deltaY="0.145" suspTravel="0.23" spring="10" damper="12" mass="4.55" steeringAxleScale="-0.6" steeringAxleRotMax="20" steeringAxleRotMin="-20" lateralStiffness="5" />
	</wheels>  
	<brakeForce>10</brakeForce>
    <steeringAxleAngleScale startSpeed="5" endSpeed="70" />
	<downForce>20</downForce>
	
	<lightCoronas>
		<lightCorona index="14" />
	</lightCoronas>	

    <brakeLights>
		<brakeLight index="0>15|2" />
	</brakeLights>
	
	<massPerFillLevel value="0.00018" />
	<fillPlanes>
        <fillPlane type="wheat">
            <node index="0|0|1">
                <key time="0" y="-2.21536" scale="0 0 0"/>
		<key time="0.1" y="-1.94191" scale="0.4 0.06 0.8"/>
		<key time="0.25" y="-1.87752" scale="0.6 0.2 1.05"/>
		<key time="0.45" y="-1.45299" scale="0.93 0.4 1.05"/>
		<key time="0.65" y="-0.83372" scale="0.93 0.6 1.05"/>
		<key time="0.85" y="-0.0617" scale="0.93 0.8 1.075"/>
		<key time="0.90" y="0.09345" scale="0.93 0.9 1.075"/>
		<key time="0.95" y="0.09345" scale="0.93 0.95 1.075"/>
        <key time="1" y="0.09345" scale="0.93 1 1.075"/>
            </node>
        </fillPlane>
        <fillPlane type="barley">
            <node index="0|0|1">
                <key time="0" y="-2.21536" scale="0 0 0"/>
		<key time="0.1" y="-1.94191" scale="0.4 0.06 0.8"/>
		<key time="0.25" y="-1.87752" scale="0.6 0.2 1.05"/>
		<key time="0.45" y="-1.45299" scale="0.93 0.4 1.05"/>
		<key time="0.65" y="-0.83372" scale="0.93 0.6 1.05"/>
		<key time="0.85" y="-0.0617" scale="0.93 0.8 1.075"/>
		<key time="0.90" y="0.09345" scale="0.93 0.9 1.075"/>
		<key time="0.95" y="0.09345" scale="0.93 0.95 1.075"/>
        <key time="1" y="0.09345" scale="0.93 1 1.075"/>
        </node> 
        </fillPlane>
        <fillPlane type="maize">
            <node index="0|0|2">
                <key time="0" y="-2.21536" scale="0 0 0"/>
		<key time="0.1" y="-1.94191" scale="0.4 0.06 0.8"/>
		<key time="0.25" y="-1.87752" scale="0.6 0.2 1.05"/>
		<key time="0.45" y="-1.45299" scale="0.93 0.4 1.05"/>
		<key time="0.65" y="-0.83372" scale="0.93 0.6 1.05"/>
		<key time="0.85" y="-0.0617" scale="0.93 0.8 1.075"/>
		<key time="0.90" y="0.09345" scale="0.93 0.9 1.075"/>
		<key time="0.95" y="0.09345" scale="0.93 0.95 1.075"/>
        <key time="1" y="0.09345" scale="0.93 1 1.075"/>
            </node>
        </fillPlane>
        <fillPlane type="rape">
        <node index="0|0|3">
                <key time="0" y="-2.21536" scale="0 0 0"/>
		<key time="0.1" y="-1.94191" scale="0.4 0.06 0.8"/>
		<key time="0.25" y="-1.87752" scale="0.6 0.2 1.05"/>
		<key time="0.45" y="-1.45299" scale="0.93 0.4 1.05"/>
		<key time="0.65" y="-0.83372" scale="0.93 0.6 1.05"/>
		<key time="0.85" y="-0.0617" scale="0.93 0.8 1.075"/>
		<key time="0.90" y="0.09345" scale="0.93 0.9 1.075"/>
		<key time="0.95" y="0.09345" scale="0.93 0.95 1.075"/>
        <key time="1" y="0.09345" scale="0.93 1 1.075"/>
            </node>
        </fillPlane>
        <fillPlane type="chaff">
            <node index="0|0|0">
                <key time="0" y="-2.21536" scale="0 0 0"/>
		<key time="0.1" y="-1.94191" scale="0.4 0.06 0.8"/>
		<key time="0.25" y="-1.87752" scale="0.6 0.2 1.05"/>
		<key time="0.45" y="-1.45299" scale="0.93 0.4 1.05"/>
		<key time="0.65" y="-0.83372" scale="0.93 0.6 1.05"/>
		<key time="0.85" y="-0.0617" scale="0.93 0.8 1.075"/>
		<key time="0.90" y="0.09345" scale="0.93 0.9 1.075"/>
		<key time="0.95" y="0.09345" scale="0.93 0.95 1.075"/>
        <key time="1" y="0.09345" scale="0.93 1 1.075"/>
            </node>
        </fillPlane>
		<fillPlane type="potato">
            <node index="0|0|4">
                <key time="0" y="-2.21536" scale="0 0 0"/>
		<key time="0.1" y="-1.94191" scale="0.4 0.06 0.8"/>
		<key time="0.25" y="-1.87752" scale="0.6 0.2 1.05"/>
		<key time="0.45" y="-1.45299" scale="0.93 0.4 1.05"/>
		<key time="0.65" y="-0.83372" scale="0.93 0.6 1.05"/>
		<key time="0.85" y="-0.0617" scale="0.93 0.8 1.075"/>
		<key time="0.90" y="0.09345" scale="0.93 0.9 1.075"/>
		<key time="0.95" y="0.09345" scale="0.93 0.95 1.075"/>
        <key time="1" y="0.09345" scale="0.93 1 1.075"/>
            </node>
        </fillPlane>
		<fillPlane type="sugarBeet">
            <node index="0|0|5">
                <key time="0" y="-2.21536" scale="0 0 0"/>
		<key time="0.1" y="-1.94191" scale="0.4 0.06 0.8"/>
		<key time="0.25" y="-1.87752" scale="0.6 0.2 1.05"/>
		<key time="0.45" y="-1.45299" scale="0.93 0.4 1.05"/>
		<key time="0.65" y="-0.83372" scale="0.93 0.6 1.05"/>
		<key time="0.85" y="-0.0617" scale="0.93 0.8 1.075"/>
		<key time="0.90" y="0.09345" scale="0.93 0.9 1.075"/>
		<key time="0.95" y="0.09345" scale="0.93 0.95 1.075"/>
        <key time="1" y="0.09345" scale="0.93 1 1.075"/>
            </node>
        </fillPlane>
    </fillPlanes>
     

    <capacity>45000</capacity>  


    <animations>
        <!-- move support bar down/up -->
        <animation name="moveSupport">
            <part node="1|0" startTime="0" duration="1.5" startTrans="0.24335 -0.16205 2.64937" endTrans="0.24335 -0.4679 2.64937" />
        </animation>
    </animations>
    
	<support animationName="moveSupport" />   
	
    <hydraulicSound file="$data/vehicles/steerable/deutz/hydraulicUp.wav" pitchOffset="0.9" volume="1.0" />        
    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />  
	
    <attacherJoint index="2" jointType="trailerLow"/>
	
    <tipReferencePoint index="3" />
    <tipAnimation rootNode="0" speedScale="1" clip="tipClipSource" />
	   

    <dischargeParticleSystems>
		<dischargeParticleSystem type="wheat" 	node="0|0|1" position="0 -1.09142 -0.51527" rotation="45	 0 0" file="particleSystems/dischargeParticleSystemWheat.i3d" />

		<dischargeParticleSystem type="barley" 	node="0|0|1" position="0 -1.09142 -0.51527" rotation="45 0 0" file="particleSystems/dischargeParticleSystemWheat.i3d" />

		<dischargeParticleSystem type="maize" 	node="0|0|2" position="0 -1.09142 -0.51527" rotation="45 0 0" file="particleSystems/dischargeParticleSystemMaize.i3d" />

		<dischargeParticleSystem type="rape" 	node="0|0|3" position="0 -1.09142 -0.51527" rotation="45 0 0" file="particleSystems/dischargeParticleSystemRape.i3d" />

		<dischargeParticleSystem type="chaff" 	node="0|0|0" position="0 -1.09142 -0.51527" rotation="45 0 0" file="particleSystems/dischargeParticleSystemChaff.i3d" />
		
		<dischargeParticleSystem type="potato" 	node="0|0|4" position="0 -1.09142 -0.51527" rotation="45 0 0" file="$data/vehicles/particleSystems/trailerDPSBigPotato.i3d" />
		
		<dischargeParticleSystem type="sugarBeet" 	node="0|0|5" position="0 -1.09142 -0.51527" rotation="45 0 0" file="$data/vehicles/particleSystems/trailerDPSBigSugarBeet.i3d" />
	</dischargeParticleSystems>	
    
   <fillRootNode index="0>" />
    <exactFillRootNode index="13" />
    <fillAutoAimTargetNode index="5" />
    <fillMassNode index="0>" />	
    
     <fillTypes fruitTypes="wheat barley rape maize chaff potato sugarBeet"/>	
	
	<components count="2">
        <component1 centerOfMass="0 -0.1 0" solverIterationCount="4" />
        <component2 solverIterationCount="8" />
        <joint component1="0" component2="1" index="0>1|0|0" rotLimit="0 0 0" transLimit="0 0.00507 0" />
    </components>

	
	<mouseControls>
        <mouseControl iconFilename="Texture/animazione.png"  axis="AXIS_FRONTLOADER_ARM" />
    </mouseControls>
	
	
	<movingTools>
        <movingTool index="0>0|2" rotationAxis="1" anchorActor="0" rotSpeed="35" rotAcceleration="300" rotMax="90" rotMin="0" axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="false" speedFactor="0.3">
            
      </movingTool>
	  
	  
	  <!-- support -->
	  <movingTool index="1|0" componentJointIndex="0" anchorActor="0"></movingTool>
	  
    </movingTools>
    
	<powerTakeoffInput index="0>16" rotSpeed="0" filename="data/vehicles/steerable/powerTakeoff.i3d" attachOffset="0 0 0" />
		<schemaOverlay file="$data/vehicles/schemas/implementSchema.png" fileSelected="$data/vehicles/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0" />
	
</vehicle>
