<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="vlek">
    <name>
        <en>Tatra Autovlek</en>
        <de>Tatra Autovlek</de>
    </name>
    <description></description>
    <filename>Tatra_vlek1.i3d</filename>
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0>6" radius="0.65" deltaY="0.25" suspTravel="0.3" spring="160" damper="3" mass="1.6" />
        <wheel driveMode="0" repr="0>7" radius="0.65" deltaY="0.25" suspTravel="0.3" spring="160" damper="3" mass="1.6" />
        <wheel driveMode="0" repr="1>4" radius="0.65" deltaY="0.25" suspTravel="0.3" spring="160" damper="3" mass="1.6" />
        <wheel driveMode="0" repr="1>5" radius="0.65" deltaY="0.25" suspTravel="0.3" spring="160" damper="3" mass="1.6" />
    </wheels>
    <brakeForce>1.5</brakeForce>

    <lights count="2">
        <light1 index="11" />
        <light2 index="2|1|8" />
    </lights>

    <lightCones>
	<lightCone index="16" />	
    </lightCones>


   <lightsaddon lightsStayOn="false">
	<light type="work" index="2|1|10" inputName="plachta" helptext="plachta" stayOn="true"/>
		<light type="dirLeft" index="12" />
		<light type="dirRight" index="13" />
		<light type="brake" index="14" />
	</lightsaddon>


    <fillPlanes>
        <fillPlane type="wheat">
            <node index="2|1|0">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="barley">
            <node index="2|1|0">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="rape">
            <node index="2|1|2">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="maize">
            <node index="2|1|1">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="sugarbeet">
            <node index="2|1|3">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="manure">
            <node index="2|1|7">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="potato">
            <node index="2|1|4">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="oat">
            <node index="2|1|0">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="triticale">
            <node index="2|1|0">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="rye">
            <node index="2|1|0">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="soybean">
            <node index="2|1|1">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="mohn">
            <node index="2|1|2">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
        <fillPlane type="sunflower">
            <node index="2|1|2">
                <key time="0" y="0.015" scale="0.509 0.1 0.365"/>
                <key time="1" y="0.5" scale="0.509 0.5 0.365"/>
            </node>
        </fillPlane>
    </fillPlanes>

    <capacity>14000</capacity>
    <attacherJoint index="2>0" jointType="trailer" rootNode="2>"/>

    <trailerAttacherJoints>
        <trailerAttacherJoint index="8" low="false"/>
    </trailerAttacherJoints>

    <tipReferencePoint index="9" />
    <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" /> 



    <tipAnimation rootNode="2" speedScale="2" clip="KroegerTipClipSource" />
	
  <dischargeParticleSystems>
	<dischargeParticleSystem type="wheat" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeWheat.i3d" />
        <dischargeParticleSystem type="maize" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeMaize.i3d" />
        <dischargeParticleSystem type="barley" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeWheat.i3d" />
        <dischargeParticleSystem type="rape" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeRape.i3d" />
	<dischargeParticleSystem type="sunflower" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeRape.i3d" />
       	<dischargeParticleSystem type="sugarbeet" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/sugarbeet.i3d" />
	<dischargeParticleSystem type="manure" node="2|1|9" position="0 0 0" rotation="0 0 0" file="ParticleSystems/manure.i3d" />
	<dischargeParticleSystem type="potato" node="2|1|9" position="0 0 0" rotation="0 0 0" file="ParticleSystems/potato.i3d" />
	<dischargeParticleSystem type="oat" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeWheat.i3d" />
	<dischargeParticleSystem type="triticale" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeWheat.i3d" />
	<dischargeParticleSystem type="rye" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeWheat.i3d" />
        <dischargeParticleSystem type="soybean" node="2|1|9" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleSystems/trailerDischargeParticleSystem.i3d" />
        <dischargeParticleSystem type="mohn" node="2|1|9" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeRape.i3d" />
    </dischargeParticleSystems>

    <fillTypes fruitTypes="wheat barley rape maize sugarbeet potato oat triticale rye soybean mohn sunflower manure" />

    <components count="3">
        <component1 centerOfMass="0 -1.6 2.1" solverIterationCount="20" />
        <component2 centerofmass="0 -0.8 1" solverIterationCount="20" />
        <component3 solverIterationCount="20" />
        <joint component1="0" component2="1" index="0>10" rotLimit="120 0 0" transLimit="0 0 0" />
        <joint component1="1" component2="2" index="1>6" rotLimit="25 0 0" transLimit="0 0 0" />
    </components>
</vehicle>