<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="NeptunZ413">
    <annotation>Copyright (C), MATINHO</annotation>	
    <filename>StollV202.i3d</filename>
    <name>
        <en>Stoll V202</en>
        <de>Stoll V202</de>
    </name>
    <typeDesc>
        <en>Stoll V202</en>
        <de>Stoll V202</de>
    </typeDesc>	
    <wheels autoRotateBackSpeed="2.0">
		<wheel driveMode="0" repr="0>0" radius="0.68" deltaY="0.2" suspTravel="0.2" spring="125" damper="15" mass="0.55" />
		<wheel driveMode="0" repr="0>1" radius="0.68" deltaY="0.2" suspTravel="0.2" spring="125" damper="15" mass="0.55" />
	</wheels>
	<brakeForce>2</brakeForce>
    <size width="2.25" length="5.2" lengthOffset="-0.4" />
	<fillPlanes>
        <fillPlane type="sugarbeet">
            <node index="7|0|2">
				<key time="0" y="-1.13579" scale="0.1 0.1 0.7"/>
				<key time="0.5" y="-0.42959" scale="0.8 0.6 0.8"/>
				<key time="1" y="0.11982" scale="1 1 0.95"/>
            </node>
        </fillPlane>
		<fillPlane type="potato">
            <node index="7|0|8">
				<key time="0" y="-1.13579" scale="0.1 0.1 0.7"/>
				<key time="0.5" y="-0.42959" scale="0.8 0.6 0.8"/>
				<key time="1" y="0.11982" scale="1 1 0.95"/>
            </node>
        </fillPlane>
    </fillPlanes>
    <massScale value="1" />
    <capacity>5000</capacity>
	<leafsTankCapacity>600</leafsTankCapacity>
	
	<fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />
    <attacherJoint index="0>15|1" jointType="trailer"/>
	
	<dischargeParticleSystems>
		<dischargeParticleSystem type="sugarbeet" node="0>7|0|3" position="0 0 0" rotation="0 90 0" file="particleSystems/sugarbeet_discharge.i3d" />
		<dischargeParticleSystem type="potato" node="0>7|0|7" position="0 0 0" rotation="0 90 0" file="particleSystems/potato_discharge.i3d" />
    </dischargeParticleSystems>

	<allowTipDischarge value="true"/>
    <fillRootNode index="0>" />
    <exactFillRootNode index="0>4" />
    <fillAutoAimTargetNode index="0>5" />
    <fillMassNode index="0>" />
	
	<fillScale value="0.5" />
	
    <cuttingAreas count="1">
        <cuttingArea1 startIndex="9" widthIndex="10" heightIndex="11" />
    </cuttingAreas>	
	
	<unloadingTrigger node="0>13" maxDistance="3" />
	<pipe index="0>14" raycastDistance="10"/>
	
	<fillTypes fillTypes="sugarbeet potato"/>
	
	<unloadingCapacity>300</unloadingCapacity>
	
	<movingTools>
        <movingTool index="0>6" componentJointIndex="0" anchorActor="0">
		</movingTool>
    </movingTools>

    <animations>
        <animation name="moveSupport">
            <part node="6" startTime="0" duration="1" startTrans="0.0296672 0.53043 2.5732" endTrans="0.0296672 0.25 2.5732" />
        </animation>
        <animation name="transport">
            <part node="0>15" startTime="0" endTime="3" startRot="0 0 0" endRot="0 -20 0"/>
			<part node="0>16" startTime="0" endTime="3" startRot="0 0 0" endRot="0 0 125"/>
        </animation>
		<animation name="leafsDischarge">
            <part node="0>19" startTime="0" endTime="0.8" startRot="0 0 0" endRot="0 0 -70"/>
        </animation>
    </animations>

    <support animationName="moveSupport" />
	<transport animationName="transport" />
	<leafsDischarge animationName="leafsDischarge" />
	
	<animationParts>
		<animationPart rootNode="0>7" clipName="tankAnim" startPosition="0" clipSpeed="1" loop="false" loadSave="false" numJoints="0" offSet="70" accerlation="0" deAccerlation="0" >
		</animationPart>
		<animationPart rootNode="0>7|0|0" clipName="flapAnim" startPosition="0" clipSpeed="3" loop="false" loadSave="false" numJoints="0" offSet="70" accerlation="0" deAccerlation="0" >
		</animationPart>
	</animationParts>
	
	<components count="2">
        <component1 centerOfMass="0 0 0" solverIterationCount="8" />
        <component2 solverIterationCount="18" />
        <joint component1="0" component2="1" index="0>6|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
	<!--
	<drum index="12"/>
	<pto index="15|2|0"/>
	<cleaner index="20|0"/>
	-->
	<backMarker index="18|0"/>
	
	<!-- work anim -->
	<animation animationClip="WorkClipSource" rootNode="12" speedScale="1" offsetTime="3" />
	
	<sugarbeetParticleSystems>
		<sugarbeetParticleSystem index="21" rotation="-37.93551 0 0" position="0 0 0" file="particleSystems/sugarbeet.i3d" />
		<sugarbeetParticleSystem index="24" rotation="174.43266 0 " position="0 0 0" file="particleSystems/sugarbeet2.i3d" /> 
		<sugarbeetParticleSystem index="33" rotation="90 0 0" position="0 0 0" file="particleSystems/sugarbeet.i3d" />
		<sugarbeetParticleSystem index="34" rotation="142.32114 6 0" position="0 0 0" file="particleSystems/sugarbeet.i3d" />
	</sugarbeetParticleSystems>
	<potatoParticleSystems>
		<sugarbeetParticleSystem index="35" rotation="-37.93551 0 0" position="0 0 0" file="particleSystems/potato_1.i3d" />
		<sugarbeetParticleSystem index="36" rotation="174.43266 0 " position="0 0 0" file="particleSystems/potato_2.i3d" /> 
		<sugarbeetParticleSystem index="37" rotation="90 0 0" position="0 0 0" file="particleSystems/potato_1.i3d" />
		<sugarbeetParticleSystem index="38" rotation="142.32114 6 0" position="0 0 0" file="particleSystems/potato_1.i3d" />
	</potatoParticleSystems>
    <leafsParticleSystems>
		<leafsParticleSystem index="23" rotation="-90.17372 2.09793 -44.18595" position="0 0 0" file="particleSystems/leafs.i3d" />
		<leafsParticleSystem index="26" rotation="-90.17372 2.09793 -44.18595" position="0 0 0" file="particleSystems/leafs.i3d" /> 
	</leafsParticleSystems>
    <cleanerParticleSystems>
		<cleanerParticleSystem index="22" rotation="0 32 0" position="0 0 0" file="particleSystems/dust.i3d" /> 
	</cleanerParticleSystems>
    <leafsDischargeParticleSystems duration="1000">
		<leafsDischargeParticleSystem index="25" rotation="-24 90 0" position="0 0 0" file="particleSystems/trailerDischargeParticleSystemGrass.i3d" /> 
	</leafsDischargeParticleSystems>
	
	<leafsFillLevelHUD posX="0.7543" posY="0.8415" />

     <animParts>
         <animPart index="0>27" id="Cutter" showHelp="true" rotMin="0 0 13" rotMax="0 0 -1" moveTime="3" />
         <animPart index="0>30|4" id="Podstawka" showHelp="true" rotMin="0 0 0" rotMax="70 0 0" moveTime="1" />
     </animParts>

    <lightsaddon lightsStayOn="false">
		<light type="dirLeft" index="31|1" />
		<light type="dirRight" index="31|2" />
		<light type="brake" index="31|0" />
    </lightsaddon>

    <lightCoronas>
		<lightCorona index="32" />
    </lightCoronas>	
    

</vehicle>