<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="PTS6">
	<annotation></annotation>
    <name>
        <en>PTS6</en>
        <de>PTS6</de>
    </name>
    <description></description>
    <filename>PTS6.i3d</filename>
    <size width="3.0" length="12.0" lengthOffset="2" />
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0>3" radius="0.6" deltaY="0" suspTravel="0" spring="100" damper="4" mass="0.6" />
        <wheel driveMode="0" repr="0>4" radius="0.6" deltaY="0" suspTravel="0" spring="100" damper="4" mass="0.6" />
        <wheel driveMode="0" repr="1>1" radius="0.6" deltaY="0" suspTravel="0" spring="100" damper="4" mass="0.6" />
        <wheel driveMode="0" repr="1>2" radius="0.6" deltaY="0" suspTravel="0" spring="100" damper="4" mass="0.6" />
    </wheels>
    
	<attacherJoint index="2>0" jointType="trailer" rootNode="2>"/>
    <trailerAttacherJoints>
        <trailerAttacherJoint index="0>5" low="false"/>
	</trailerAttacherJoints>
     <lights count="1">
        <light1 index="13" />
    </lights> 
    <lightsaddon lightsStayOn="false">
		<light type="dirLeft" index="14" />
		<light type="dirRight" index="15" />
		<light type="brake" index="16" />
		<light type="parkRight" index="18" />
		<light type="parkLeft" index="17" />		
	</lightsaddon>
	<massScale value="0.1" />
    <capacity>6000</capacity>

    <fillTypes fruitTypes="wheat rape maize barley chaff grass sunflower manure potato sugarbeet"/>
	
	<fillPlanes>
		<fillPlane type="chaff">
            <node index="0>1|0|0|5|0">
				<key time="0" y="0" scale="0.99 0.01 0.9"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="grass">
            <node index="0>1|0|0|5|0">
				<key time="0" y="0" scale="0.99 0.01 0.9"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="rape">
            <node index="0>1|0|0|5|3">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="maize">
            <node index="0>1|0|0|5|2">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="wheat">
            <node index="0>1|0|0|5|1">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="barley">
            <node index="0>1|0|0|5|1">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>           
        </fillPlane>	
		<fillPlane type="sunflower">
            <node index="0>1|0|0|5|4">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>           
        </fillPlane>
		<fillPlane type="manure">
            <node index="0>1|0|0|5|5">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
		</fillPlane>
		<fillPlane type="potato">
            <node index="0>1|0|0|5|7">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>           
        </fillPlane>
		<fillPlane type="sugarbeet">
			<node index="0>1|0|0|5|6">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
			</node>
        </fillPlane>
    </fillPlanes>
	
    <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" />

      
    <tipReferencePoint index="6|5" />
    <tipAnimation rootNode="1|0|0" speedScale="1" clip="Kip_Tyl" />
	
    <dischargeParticleSystems>
       <!-- <dischargeParticleSystem type="wheat" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleft.i3d" />
        <dischargeParticleSystem type="barley" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleft.i3d" />
        <dischargeParticleSystem type="rape" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftRape.i3d" />
        <dischargeParticleSystem type="maize" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftMaize.i3d" />
	    <dischargeParticleSystem type="grass" node="8" position="0 -0.2 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_chaffgrass.i3d" />
		<dischargeParticleSystem type="chaff" node="8" position="0 -0.2 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_chaffgrass.i3d" />
		<dischargeParticleSystem type="sunflower" node="8" position="0 -0.2 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Rape.i3d" />
		<dischargeParticleSystem type="manure" node="8" position="0 -0.2 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Manure.i3d" />
	    <dischargeParticleSystem type="potato" node="8" position="0 -0.2 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_chaffgrass.i3d" />
	    <dischargeParticleSystem type="sugarbeet" node="8" position="0 -0.2 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_rapegrass.i3d" />	-->
	</dischargeParticleSystems>
	
    <variableTip>
    <node tipSide="back"  tipIndex="6|5" animIndex="1|0|0" animClip="Kip_Tyl"  animSpeedScale="1" animTipDischargeEndTime="10000" >
		<dischargeParticleSystem type="wheat" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
		<dischargeParticleSystem type="rape" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Rape.i3d" />
		<dischargeParticleSystem type="maize" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
		<dischargeParticleSystem type="barley" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
		<dischargeParticleSystem type="grass" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_chaffgrass.i3d" />
		<dischargeParticleSystem type="chaff" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_chaffgrass.i3d" />
		<dischargeParticleSystem type="sunflower" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Rape.i3d" />
		<dischargeParticleSystem type="manure" node="6|2" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_Manure.i3d" />
	    <dischargeParticleSystem type="potato" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_chaffgrass.i3d" />
	    <dischargeParticleSystem type="sugarbeet" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_B_rapegrass.i3d" />
	</node>
	<node tipSide="left"  tipIndex="6|3" animIndex="1" animClip="Kip_lewo"  animSpeedScale="1" animTipDischargeEndTime="10000" >
		<dischargeParticleSystem type="wheat" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Wheat.i3d" />
		<dischargeParticleSystem type="rape" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Rape.i3d" />
		<dischargeParticleSystem type="maize" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Wheat.i3d" />
		<dischargeParticleSystem type="barley" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Wheat.i3d" />
		<dischargeParticleSystem type="chaff" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_chaffgrass.i3d" />
		<dischargeParticleSystem type="grass" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_chaffgrass.i3d" />
		<dischargeParticleSystem type="sunflower" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Rape.i3d" />
		<dischargeParticleSystem type="manure" node="6|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Manure.i3d" />
	    <dischargeParticleSystem type="potato" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_chaffgrass.i3d" />
	    <dischargeParticleSystem type="sugarbeet" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_rapegrass.i3d" />
	</node>	
	<node tipSide="right"  tipIndex="6|4" animIndex="1|0" animClip="Kip_prawo"  animSpeedScale="1" animTipDischargeEndTime="10000" >
		<dischargeParticleSystem type="wheat" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Wheat.i3d" />
		<dischargeParticleSystem type="rape" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Rape.i3d" />
		<dischargeParticleSystem type="maize" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Wheat.i3d" />
		<dischargeParticleSystem type="barley" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Wheat.i3d" />
		<dischargeParticleSystem type="grass" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_chaffgrass.i3d" />
		<dischargeParticleSystem type="chaff" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_chaffgrass.i3d" />
		<dischargeParticleSystem type="sunflower" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Rape.i3d" />
		<dischargeParticleSystem type="manure" node="6|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_Manure.i3d" />
        <dischargeParticleSystem type="potato" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_chaffgrass.i3d" />
	    <dischargeParticleSystem type="sugarbeet" node="8" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargeParticleSystem_S_rapegrass.i3d" />
	</node>	
    </variableTip>	
	
	<trigger index="14" />

    <components count="3">
        <component1 centerOfMass="0 0 0" solverIterationCount="4" />
        <component2 centerOfMass="0 0 0" solverIterationCount="4" />
        <component3 centerOfMass="0 0 0.5" solverIterationCount="2" />
        <joint component1="0" component2="1" index="0>2" rotLimit="0 40 0" transLimit="0 0 0" />
        <joint component1="1" component2="2" index="1>3" rotLimit="30 0 0" transLimit="0 0 0" />
    </components>
	
	<allowFillFromAir value="true" />
    <fillRootNode index="0>" />
    <exactFillRootNode index="0>7" />
    <fillAutoAimTargetNode index="0>8" />
    <fillMassNode index="0>" />
	
	<fillNode index="0>7"/>
	
    <variableBody activeIdx="1">
		<node name="Aufbau1" capacity="6000" fruitTypes="wheat rape maize barley grass chaff sunflower manure potato sugarbeet">
			<part index1="1|0|0|1" index2="1|0|0|2" />
		</node>
		<node name="Aufbau2" capacity="12000" fruitTypes="grass chaff">
			<part index1="1|0|0|4" index2="1|0|0|1" index3="1|0|0|2" />
			<fillPlanes>
		<fillPlane type="chaff">
            <node index="0>1|0|0|5|0">
				<key time="0" y="0" scale="0.99 0.01 0.9"/>
				<key time="1" y="0" scale="1 1 0.9"/>
            </node>
        </fillPlane>
		<fillPlane type="grass">
            <node index="0>1|0|0|5|0">
				<key time="0" y="0" scale="0.99 0.01 0.9"/>
				<key time="1" y="0" scale="1 1 0.9"/>
            </node>
        </fillPlane>
		<fillPlane type="rape">
            <node index="0>1|0|0|5|3">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="maize">
            <node index="0>1|0|0|5|2">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="wheat">
            <node index="0>1|0|0|5|1">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
        </fillPlane>
		<fillPlane type="barley">
            <node index="0>1|0|0|5|1">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>           
        </fillPlane>	
		<fillPlane type="sunflower">
            <node index="0>1|0|0|5|4">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>           
        </fillPlane>
		<fillPlane type="manure">
            <node index="0>1|0|0|5|5">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>
		</fillPlane>
		<fillPlane type="potato">
            <node index="0>1|0|0|5|7">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
            </node>           
        </fillPlane>
		<fillPlane type="sugarbeet">
			<node index="0>1|0|0|5|6">
				<key time="0" y="0" scale="1 0.01 1"/>
				<key time="1" y="0" scale="1 1 1"/>
			</node>
        </fillPlane>
    </fillPlanes>
		</node>
		<node name="bele" capacity="0" fruitTypes="wheat barley rape maize manure chaff grass">
			<part index1="1|0|0|6" allowFill="0" />
		</node>
		<node name="seeds" capacity="0" fruitTypes="wheat barley rape maize manure chaff grass">
			<part index1="1|0|0|1" index2="1|0|0|7" allowFill="0" />
		</node>
    </variableBody>
	
	<Baletrailer castPoint1="10" castPoint2="11" attacherNode="0>" highOffset="4" />
	
	
	
		
	
</vehicle>

