<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Wielton_PRC_2BW14">
	<annotation>Copyright (C) Lipa, All Rights Reserved.</annotation>
    <name>
        <en>Wielton PRC-2B/W14</en>
        <de>Wielton PRC-2B/W14</de>
    </name>
    <description></description>
    <typeDesc>
        <en>Wielton</en>
        <de>Wielton</de>
    </typeDesc>
    <filename>Wielton_PRC_2BW14.i3d</filename>
    <size width="3.0" length="12.0" lengthOffset="2" />
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="2" radius="0.55" deltaY="0.25" suspTravel="0.3" spring="80" damper="0" mass="1.6" />
        <wheel driveMode="0" repr="3" radius="0.55" deltaY="0.25" suspTravel="0.3" spring="80" damper="0" mass="1.6" />
        <wheel driveMode="0" repr="4" radius="0.55" deltaY="0.25" suspTravel="0.3" spring="80" damper="0" mass="1.6" />
        <wheel driveMode="0" repr="5" radius="0.55" deltaY="0.25" suspTravel="0.3" spring="80" damper="0" mass="1.6" />
    </wheels>
    <brakeForce>1</brakeForce>
    <downForce>5</downForce>
	
    <lightCoronas>
		<lightCorona index="8|0" />
    </lightCoronas>	
    
    <attacherJoint index="6" jointType="trailerLow"/>
    <trailerAttacherJoints>
		<trailerAttacherJoint index="7" low="true"/>
    </trailerAttacherJoints>
    
    <massScale value="0.1" />
    <capacity>14000</capacity>

    <fillTypes fruitTypes="wheat rape maize barley chaff grass"/>
	
    <fillPlanes>
		<fillPlane type="chaff">
    		<node index="0>1|0|0|4|4">
				<key time="0" y="0.12572" scale="1 0.01 1"/>
				<key time="1" y="0.13947" scale="1 0.75 1"/>
           	</node>
        </fillPlane>
		<fillPlane type="grass">
            <node index="0>1|0|0|4|3">
				<key time="0" y="0.12572" scale="1 0.01 1"/>
				<key time="1" y="0.13947" scale="1 0.75 1"/>
            </node>
        </fillPlane>
		<fillPlane type="rape">
       		<node index="0>1|0|0|4|1">
				<key time="0" y="0.12572" scale="1 0.01 1"/>
				<key time="1" y="0.13947" scale="1 0.75 1"/>
           	</node>
        </fillPlane>
		<fillPlane type="maize">
            <node index="0>1|0|0|4|2">
				<key time="0" y="0.12572" scale="1 0.01 1"/>
				<key time="1" y="0.13947" scale="1 0.75 1"/>
            </node>
        </fillPlane>
		<fillPlane type="wheat">
       		<node index="0>1|0|0|4|0">
				<key time="0" y="0.12572" scale="1 0.01 1"/>
				<key time="1" y="0.13947" scale="1 0.75 1"/>
       		</node>
        </fillPlane>
		<fillPlane type="barley">
            <node index="0>1|0|0|4|0">
				<key time="0" y="0.12572" scale="1 0.01 1"/>
				<key time="1" y="0.13947" scale="1 0.75 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="9|0" />
    <tipAnimation rootNode="1|0" speedScale="1" clip="kipp_prawo" />
	
    <dischargeparticleSystems>
        <dischargeParticleSystem type="wheat" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleft.i3d" />
        <dischargeParticleSystem type="rape" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftRape.i3d" />
        <dischargeParticleSystem type="maize" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftMaize.i3d" />
        <dischargeParticleSystem type="barley" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleft.i3d" />
        <dischargeParticleSystem type="grass" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftGrass.i3d" />
        <dischargeParticleSystem type="chaff" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftChaff.i3d" />
    </dischargeparticleSystems>
	
    <fillRootNode index="0>" />
    <exactFillRootNode index="1|0|0|5" />
    <fillAutoAimTargetNode index="1|0|0|6" />
    <fillMassNode index="0>" />
    <fillNode index="0>1|0|0|6"/>

    <variableTip>
		<node tipSide="left"  tipIndex="9|0" animIndex="1|0" animClip="kipp_prawo"  animSpeedScale="1" animTipDischargeEndTime="16000" >
			<dischargeParticleSystem type="wheat" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleft.i3d" />
			<dischargeParticleSystem type="rape" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftRape.i3d" />
			<dischargeParticleSystem type="maize" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftMaize.i3d" />
			<dischargeParticleSystem type="barley" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleft.i3d" />
			<dischargeParticleSystem type="chaff" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftChaff.i3d" />
			<dischargeParticleSystem type="grass" node="1|0|0|7|0" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSleftGrass.i3d" />
		</node>	
		<node tipSide="right"  tipIndex="9|1" animIndex="1" animClip="kipp_lewo"  animSpeedScale="1" animTipDischargeEndTime="16000" >
			<dischargeParticleSystem type="wheat" node="1|0|0|7|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSright.i3d" />
			<dischargeParticleSystem type="rape" node="1|0|0|7|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSrightRape.i3d" />
			<dischargeParticleSystem type="maize" node="1|0|0|7|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSrightMaize.i3d" />
			<dischargeParticleSystem type="barley" node="1|0|0|7|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSright.i3d" />
			<dischargeParticleSystem type="grass" node="1|0|0|7|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSrightGrass.i3d" />
			<dischargeParticleSystem type="chaff" node="1|0|0|7|1" position="0 0 0" rotation="0 0 0" file="particleSystems/dischargePSrightChaff.i3d" />
		</node>	
    </variableTip>	

    <variableBody activeIdx="1">
		<node name="normalnie" capacity="14000" fruitTypes="wheat rape maize barley grass chaff" />
		<node name="nadzwyczajnie" capacity="19000" fruitTypes="grass chaff">
		<part index1="1|0|0|8" />
			<fillPlanes>
				<fillPlane type="chaff">
					<node index="0>1|0|0|4|4">
						<key time="0" y="0.12572" scale="1 0.01 1"/>
						<key time="1" y="0.13816" scale="1 1 1"/>
					</node>
				</fillPlane>
				<fillPlane type="grass">
            		<node index="0>1|0|0|4|3">
						<key time="0" y="0.12572" scale="1 0.01 1"/>
						<key time="1" y="0.13816" scale="1 1 1"/>
					</node>
        		</fillPlane>
			</fillPlanes>
		</node>
    </variableBody>

    <movingTools>
        <!-- support -->
        <movingTool index="0>0|0" componentJointIndex="0" anchorActor="0"></movingTool>
    </movingTools>

    <animations>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0|0" startTime="0" duration="0.8" startTrans="0.17207 -0.36621 2.02814" endTrans="0.17207 -0.71475 2.02814" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <lightsaddon lightsStayOn="false">
		<light type="brake" index="8|1" />
		<light type="reverse" index="8|2" />
		<light type="dirLeft" index="8|3" />
		<light type="dirRight" index="8|4" />
    </lightsaddon>

    <components count="2">
        <component1 centerOfMass="0 -2 -1.2" solverIterationCount="30" />
		<component2 solverIterationCount="30" />
        <joint component1="0" component2="1" index="0>0|0|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
</vehicle>