<?xml version="1.0" encoding="utf-8" standalone="no" ?>

<vehicle type="carreta">
	<name>
		<en>Carreta Randon Branca</en>
		<de>Carreta Randon Branca</de>
	</name>
	<description>Graneleira multifruit</description>
	<typeDesc> Carreta Random Branca </typeDesc>
	<filename>random.i3d</filename>
	<size width="3.1" length="14.5" lengthoffset="0" />
	
	<wheels autoRotateBackSpeed="2.0">
		<wheel driveMode="0" repr="0>2" driveNode="0>2|0" radius="0.56" deltaY="0.1" suspTravel="0.1" spring="10" damper="90" mass="1" />
		<wheel driveMode="0" repr="0>3" driveNode="0>3|0" radius="0.56" deltaY="0.1" suspTravel="0.1" spring="10" damper="90" mass="1" />
		<wheel driveMode="0" repr="2>1" driveNode="2>1|0" radius="0.56" deltaY="0.1" suspTravel="0.1" spring="10" damper="90" mass="1" />
		<wheel driveMode="0" repr="2>2" driveNode="2>2|0" radius="0.56" deltaY="0.1" suspTravel="0.1" spring="10" damper="90" mass="1" />
		<wheel driveMode="0" repr="2>3" driveNode="2>3|0" radius="0.56" deltaY="0.1" suspTravel="0.1" spring="10" damper="90" mass="1" />
		<wheel driveMode="0" repr="2>4" driveNode="2>4|0" radius="0.56" deltaY="0.1" suspTravel="0.1" spring="10" damper="90" mass="1" />
	</wheels>
	
	<brakeForce>3</brakeForce>
	
	<lights count="1">
		<light1 index="0>13"/>
	</lights>
	
	<brakeLights>
		<brakeLight index="0>15"/>
	</brakeLights>
	
	<lightsaddon lightsStayOn="true" blinkSpeed="0.5" modDirection="1">
		<light type="dirLeft" index="0>16" />
		<light type="dirRight" index="0>17" />
		<light type="reverse" index="0>14" />
		<flashers file="sound/blinker.wav" lowPitch="0.6" highPitch="0.8" volume="0.7" autoreturn="true" tolerance="0.2"/>
		<toggleSound file="$dataS2/sounds/switchFlashlight.wav" pitch="0.8" volume="0.8" />
	</lightsaddon>
	
	<massScale value="2.3" />
	<capacity>45000</capacity>
	<fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5" />
	<tipAnimation rootNode="0>12|0" speedScale="1" clip="DischargeClipSource" />
	<attacherJoint index="0>7" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="12 175 12" jointType="semitrailer" enableCollision="true" />
	<tipReferencePoint index="0>8" />
	
	<components count="3">
	
		<component1 centerOfMass="0 0 1 -1" solverIterationCount="20" />
		<component2 centerOfMass="0 0 0" solverIterationCount="4" />
		<component3 centerPfmass="0 0 0" solverIterationCount="40" />
		<joint component1="0" component2="1" index="0>10|0" rotLimit="0 0 0" transLimit="0 0 0" />
		<joint component1="0" component2="2" index="0>18|0" rotlimit="2 0 0" transLimit="0 0 0" />
	
	</components>

	 <grainPlane>
        <node type="wheat" index="0>6|0|0"/>
        <node type="barley" index="0>6|0|0"/>
		<node type="oat" index="0>6|0|0"/>
		<node type="rye" index="0>6|0|0"/>
        <node type="maize" index="0>6|0|2"/>
        <node type="rape" index="0>6|0|1"/>
        <node type="sugarBeet" index="0>6|0|9"/>
        <node type="potato" index="0>6|0|8"/>
		<node type="soybean" index="0>6|0|3"/>
		<node type="blackbean" index="0>6|0|7"/>
		<node type="sunflower" index="0>6|0|6"/>
		<node type="rice" index="0>6|0|4"/>
		<node type="sorghum" index="0>6|0|5"/>
	    
        <key time="0" y="0" scale="10.7 5 10"/>
        <key time="0.1" y="0" scale="10.7 10 10"/>
        <key time="1" y="2.34" scale="10.7 10 10"/>
    </grainPlane>
	
	<dischargeParticleSystems>
        <dischargeParticleSystem type="wheat" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
		<dischargeParticleSystem type="barley" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
		<dischargeParticleSystem type="Rye" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
		<dischargeParticleSystem type="oat" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
        <dischargeParticleSystem type="rice" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_Wheat.i3d" />
        <dischargeParticleSystem type="soybean" 	node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_soybean.i3d"  />
        <dischargeParticleSystem type="maize" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_Maize.i3d" />
        <dischargeParticleSystem type="rape" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_Rape.i3d"/>
        <dischargeParticleSystem type="sunflower" 	node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_sunflower.i3d"/>
        <dischargeParticleSystem type="sugarBeet" 	node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_sugarbeet.i3d"/>
        <dischargeParticleSystem type="potato" 		node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_potato.i3d" />
		<dischargeParticleSystem type="blackbean" 	node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_blackbean.i3d"  />
		<dischargeParticleSystem type="sorghum"     node="0>9" position="0 0 -0.2829" rotation="0 90 0" file="particleSystems/dischargeParticleSystem_B_sorghum.i3d" />
    </dischargeParticleSystems>        

    <fillTypes fruitTypes="wheat barley rape maize sugarBeet potato sunflower oat soybean rice sorghum rye blackbean" />
	
	<movingTools>
		<movingTool index="0>10"   componentJointIndex="0" anchorActor="0" />
		<movingTool index="0>18|0" componentJointIndex="1" anchorActor="0" />
	</movingTools>
	
	<playAnimations>
		<animation animName="lift" 		inputName="LOWER_IMPLEMENT"  posHelpText="lift1"   negHelpText="lift2" />
		<animation animName="fuss" 		inputName="IMPLEMENT_EXTRA2" posHelpText="fuss1"   negHelpText="fuss2" />
		<animation animName="klappen" 	inputName="IMPLEMENT_EXTRA3" posHelpText="klappe1" negHelpText="klappe2" />
	</playAnimations>
	
	<animations> 
		<animation name="fuss">
			<part node="0>10" startTime="0" duration="0.6" startTrans="0 0.35 2.6" endTrans="0 .05 2.6" />
		</animation>
		<animation name="lift">
			<part node="0>18|0" startTime="0" duration="2" startTrans="0 -1.12 0" endTrans="0 -0.92 0" />
		</animation>
		<animation name="klappen">
		<part node="0>12|8" startTime="0.0" duration="0.1" visibility="true" />
		<part node="0>12|8" startTime="0.1" duration="0.2" visibility="false" />
	</animation>
	</animations>
	
	<blends1>
	    <blend1 index="0>2|0|0" />
		<blend1 index="0>3|0|0" />
		<blend1 index="2>1|0|0" />
		<blend1 index="2>2|0|0" />
		<blend1 index="2>3|0|0" />
		<blend1 index="2>4|0|0" />
	</blends1>
	
    <blends2>
	    <blend2 index="0>2|1" />
	    <blend2 index="0>3|1" />
		<blend2 index="2>1|1" />
		<blend2 index="2>2|1" />
		<blend2 index="2>3|1" />
		<blend2 index="2>4|1" />
	</blends2>

	<wheelParticleSystems file="particleSystems/wheelParticleSystem.i3d" >
        <wheelParticleSystem node="0>2|2"  />
        <wheelParticleSystem node="0>3|2"  />
        <wheelParticleSystem node="2>1|2"  />
        <wheelParticleSystem node="2>2|2"  />
		<wheelParticleSystem node="2>3|2"  />
        <wheelParticleSystem node="2>4|2"  />
    </wheelParticleSystems>
	
	 <schemaOverlay file="$data/vehicles/schemas/implementSchema.png" fileSelected="$data/vehicles/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>