<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="JAN10500">
    <annotation>Copyright (C), All Rights Reserved.</annotation>	
    <filename>JAN.i3d</filename>
    <name>
        <en>JAN TANKER 10.500</en>
        <de>JAN TANKER 10.500</de>
    </name>
    <typeDesc>
        <en>JAN TANKER 10.500</en>
        <de>JAN TANKER 10.500</de>
    </typeDesc>	
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0>0" radius="1" deltaY="0.07" suspTravel="0.15" spring="20" damper="50" mass="0.15" lateralStiffness="2" />
        <wheel driveMode="0" repr="0>1" radius="1" deltaY="0.07" suspTravel="0.15" spring="20" damper="50" mass="0.15" lateralStiffness="2" />
    </wheels>
	<brakeForce>0</brakeForce>
	
    <size width="2.25" length="5.2" lengthOffset="-0.4" />
	
	<fillPlanes>
        <fillPlane type="wheat">
            <node index="0>3|2|0">
        		<key time="0" 		y="-5.58504" 	scale="0.122 0.1 0.122"/>
				<key time="0.3" 	y="-3.84372" 	scale="0.433 0.4 0.433"/>
        		<key time="0.5" 	y="-1.65338" 	scale="0.82 0.8 0.82"/>
				<key time="0.8" 	y="-0.6166"	 	scale="1 1 1"/>
        		<key time="1" 		y="0"	 		scale="1 1 1"/>
            </node>
        </fillPlane>
        <fillPlane type="barley">
            <node index="0>3|2|1">
        		<key time="0" 		y="-5.58504" 	scale="0.122 0.1 0.122"/>
				<key time="0.3" 	y="-3.84372" 	scale="0.433 0.4 0.433"/>
        		<key time="0.5" 	y="-1.65338" 	scale="0.82 0.8 0.82"/>
				<key time="0.8" 	y="-0.6166"	 	scale="1 1 1"/>
        		<key time="1" 		y="0"	 		scale="1 1 1"/>
            </node>
        </fillPlane>
        <fillPlane type="maize">
            <node index="0>3|2|2">
        		<key time="0" 		y="-5.58504" 	scale="0.122 0.1 0.122"/>
				<key time="0.3" 	y="-3.84372" 	scale="0.433 0.4 0.433"/>
        		<key time="0.5" 	y="-1.65338" 	scale="0.82 0.8 0.82"/>
				<key time="0.8" 	y="-0.6166"	 	scale="1 1 1"/>
        		<key time="1" 		y="0"	 		scale="1 1 1"/>
            </node>
        </fillPlane>
        <fillPlane type="rape">
            <node index="0>3|2|3">
        		<key time="0" 		y="-5.58504" 	scale="0.122 0.1 0.122"/>
				<key time="0.3" 	y="-3.84372" 	scale="0.433 0.4 0.433"/>
        		<key time="0.5" 	y="-1.65338" 	scale="0.82 0.8 0.82"/>
				<key time="0.8" 	y="-0.6166"	 	scale="1 1 1"/>
        		<key time="1" 		y="0"	 		scale="1 1 1"/>
            </node>
        </fillPlane>
		
		<fillPlane type="fertilizer">
			<node index="0>3|2|4">
        		<key time="0" 		y="-5.58504" 	scale="0.122 0.1 0.122"/>
				<key time="0.3" 	y="-3.84372" 	scale="0.433 0.4 0.433"/>
        		<key time="0.5" 	y="-1.65338" 	scale="0.82 0.8 0.82"/>
				<key time="0.8" 	y="-0.6166"	 	scale="1 1 1"/>
        		<key time="1" 		y="0"	 		scale="1 1 1"/>
            </node>
        </fillPlane>
    </fillPlanes>

    <massScale value="1" />
    <capacity>10500</capacity>
	
	<unloadingSounds startFile="sounds/start.ogg" loopFile="sounds/loop.ogg" />
	<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" />
	
    <attacherJoint index="0>2" jointType="trailerLow"/>
    <tipAnimations>
        <tipAnimation speedScale="1" animationName="tipAnimationPipe" dischargeStartTime="1" dischargeEndTime="10" >
			<dischargeParticleSystems>
				<dischargeParticleSystem type="wheat" 		node="0>7|0|1" position="0 0 0" rotation="0 0 0" file="particleSystems/wheatParticleSystem.i3d" />
				<dischargeParticleSystem type="maize" 		node="0>7|0|1" position="0 0 0" rotation="0 0 0" file="particleSystems/maizeParticleSystem.i3d" />
				<dischargeParticleSystem type="barley" 		node="0>7|0|1" position="0 0 0" rotation="0 0 0" file="particleSystems/wheatParticleSystem.i3d" />
				<dischargeParticleSystem type="rape" 		node="0>7|0|1" position="0 0 0" rotation="0 0 0" file="particleSystems/rapeParticleSystem.i3d" />
				<dischargeParticleSystem type="fertilizer" 	node="0>7|0|1" position="0 0 0" rotation="0 0 0" file="particleSystems/fertilizerParticleSystem.i3d" />
			</dischargeParticleSystems>
		</tipAnimation>
	</tipAnimations>

    <animations>
		<!-- backtipping -->
		<animation name="tipAnimationPipe">
			<part node="0>7|0" startTime="0" endTime="0" startRot="0 0 0" endRot="0 0 0" /> <!-- pipe -->
        </animation>
        <animation name="moveSupport">
            <part node="0>6" startTime="0" duration="1" startTrans="0.25825 0.05 4.44021" endTrans="0.25825 -0.35 4.44021" />
            <part node="0>3|5" startTime="0" duration="1" startRot="0 0 0" endRot="0 720 0" />
        </animation>
    </animations>


	<allowTipDischarge value="false"/>
    <fillRootNode index="0>" />
    <exactFillRootNode index="0>13" />
    <fillAutoAimTargetNode index="0>5" />
    <fillMassNode index="0>" />
	
	<unloadingTrigger node="0>7|0|1" maxDistance="1" />

	<fillTypes fillTypes="wheat rape maize barley fertilizer"/>
	
	<unloadingCapacity>400</unloadingCapacity>
	
	<pipe index="0>7|0|1" raycastDistance="10"/>
	
	<movingTools>
        <movingTool index="0>6" componentJointIndex="0" anchorActor="0">
		</movingTool>
    </movingTools>

    <support animationName="moveSupport" />
	
	<powerShaft index="0>8|0" part="0>8|0|0" fixPoint="0>8|0|0|0" />
	
	<hydraulics count="1">
		<hydraulic1 index="0>7|1" punch="0>7|1|0" punchFixpoint="0>7|1|0|1" fixpoint="0>3|0|1" />
	</hydraulics>
	
	<animationParts>
		<animationPart rootNode="0>7|0" clipName="clip2Source" startPosition="0" clipSpeed="0.4" loop="false" loadSave="true" numJoints="1" offSet="70" accerlation="0" deAccerlation="0" >
			<componentJoint1 index="1" />
		</animationPart>
		<animationPart rootNode="0>3|4" clipName="clip3Source" startPosition="0" clipSpeed="1" loop="false" loadSave="true" numJoints="0" offSet="40" accerlation="0" deAccerlation="0" >
		</animationPart>
	</animationParts>

 <lona  index="0>3|4"/>
 
	<components count="2">
        <component1 centerOfMass="0 -0.46206 0.3" solverIterationCount="8" />
        <component2 solverIterationCount="18" />
        <joint component1="0" component2="1" index="0>6|0" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>
	
	<schemaOverlay file="texturas/implementSchema.png" fileSelected="texturas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0">
        <attacherJoint position="0.5 0" rotation="0" invertX="false" />
    </schemaOverlay>
	
	<mooringblocks>
		<enabled>		
			<mooringblock node="0>11"/>
		</enabled>		
		<disabled>		
			<mooringblock node="0>12"/>
		</disabled>	
	</mooringblocks>
</vehicle>