<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="attachableCombine">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Lanz_Schneidwerk</en>
        <de>Lanz_Schneidwerk</de>
    </name>
    <typeDesc>$l10n_TypeDesc_Harvester</typeDesc>
    <filename>Lanz_Schneidwerk.i3d</filename>

    <size width="18" length="4.0" widthOffset="1.5" />
	
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0>10" radius="0.35" deltaY="0.20" suspTravel="0.20" spring="100" damper="0" mass="1" />
        <wheel driveMode="0" repr="0>11" radius="0.35" deltaY="0.20" suspTravel="0.20" spring="100" damper="0" mass="1" />
    </wheels>
	
    <speedLimit value="8" />
	
    <threshingStartSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_startwork.wav" pitchOffset="1" />
    <threshingSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_work.wav" pitchOffset="1" pitchScale="0.001" pitchMax="1.1" radius="35" innerRadius="25" />
    <threshingStopSound file="$data/vehicles/steerable/sampoRosenlew/sampoRosenlewC6_stopwork.wav" pitchOffset="1" />
	
    <turnedOnRotationNodes>
        <turnedOnRotationNode index="0>23|4" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>13|0" type="cutter" rotAxis="1" rotSpeed="80" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>23|0" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>23|1" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>23|2" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>23|3" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>22|4" type="cutter" rotAxis="1" rotSpeed="250" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>22|8" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>22|10" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>22|11" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>
        <turnedOnRotationNode index="0>22|13" type="cutter" rotAxis="1" rotSpeed="150" turnOnFadeTime="2" turnOffFadeTime="2"/>		
    </turnedOnRotationNodes>

    <inputAttacherJoints>
        <inputAttacherJoint index="0>25|2" jointType="trailerLow" />
    </inputAttacherJoints>

    <aiLeftMarker index="0>5" />
    <aiRightMarker index="0>6" />
    <aiBackMarker index="0>4" />
	
    <aiTrafficCollisionTrigger index="0>7" />
    <forceSelectionOnAttach value="false" />

    <dynamicMount forceLimitScale="1" />

    <components count="1">
        <component1 centerOfMass="0.03 0.53 -0.20" solverIterationCount="4" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
	
    <workAreas>
        <workArea startIndex="2" widthIndex="3" heightIndex="4" foldMinLimit="0" foldMaxLimit="0.2" type="cutter" />
		<workArea startIndex="2" widthIndex="3" heightIndex="4" foldMinLimit="0" foldMaxLimit="0.1" type="fruitPreparer" />	
        <workArea startIndex="0>24|0" widthIndex="0>24|1" heightIndex="0>24|2" type="combine" />		
    </workAreas>	
	
    <pipe numStates="2" unloadingStates="2" raycastNodeIndex="0>14|0|1" raycastDistance="6" foldMinState="1" foldMaxState="1">
        <node index="0>14|0" rotationSpeeds="0 0 0">
            <state1 rotation="0 0 0"/>
            <state2 rotation="0 0 0"/>
        </node>
    </pipe>	
    <pipeEffect>
        <effectNode node="1|0|0" linkNode="0>14|0|3" position="0 0 0" materialType="unloading" materialTypeId="3" delay="0"   filename="$data/vehicles/particleAnimations/caseIH/caseIH7130.i3d" />
        <effectNode node="1|0|1" linkNode="0>14|0|3" position="0 0 0" materialType="smoke"     materialTypeId="1" delay="0.1" filename="$data/vehicles/particleAnimations/caseIH/caseIH7130.i3d" />
    </pipeEffect>
	
    <trailerTriggers>
        <trailerTrigger index="0>15" />
    </trailerTriggers>	

	<fruitPreparer fruitType="wheat rape barley" />
	
    <capacity>2000</capacity>
    <overloadingCapacity>100</overloadingCapacity>
    <fillTypes fruitTypes="wheat rape barley" />
    <allowFillFromAir value="false" />

    <!-- Cutter fruit type -->
    <fruitTypes fruitTypes="wheat rape barley"/>
    <cutterMovingDirection>1</cutterMovingDirection>	
	
    <combineThreshingFillScrollers toggleTime="0">
        <combineThreshingFillScroller type="wheat" index="0>8|0"  scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="wheat" index="0>8|1" scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="wheat" index="0>8|2" scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="barley" index="0>8|0"  scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="barley" index="0>8|1" scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="barley" index="0>8|2" scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />		
        <combineThreshingFillScroller type="rape" index="0>8|3"  scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="rape" index="0>8|4" scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />
        <combineThreshingFillScroller type="rape" index="0>8|5" scrollSpeed="-0.1" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="2" toggleVisibility="true" />		
    </combineThreshingFillScrollers>
	
    <combineThreshingScrollers>
        <combineThreshingScroller index="0>22|0" scrollSpeed="-0.2" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>22|1" scrollSpeed="-0.2" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>22|5" scrollSpeed="0.8" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <combineThreshingScroller index="0>22|6" scrollSpeed="0.8" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>	
        <combineThreshingScroller index="0>22|7" scrollSpeed="0.8" scrollLength="1" shaderParameterName="offsetUV" shaderParameterComponent="1" toggleVisibility="false" turnOnFadeTime="1" turnOffFadeTime="1"/>		
    </combineThreshingScrollers>

    <chopperSwitch available="true" />
    <strawParticleSystems toggleTime="50" />	
	
    <strawEffect>
        <effectNode node="2|0|0" linkNode="0>20|1" materialType="straw" materialTypeId="1" delay="0" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
    </strawEffect>
	
    <chopperEffect>
        <effectNode node="3|0|0" linkNode="0>20|0" materialType="straw" materialTypeId="1" delay="0" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
        <effectNode node="3|0|0" linkNode="0>20|0" materialType="straw" materialTypeId="1" delay="0" filename="$data/vehicles/particleAnimations/sampoRosenlew/sampoRosenlewC6.i3d" />
    </chopperEffect>

    <animations>
        <animation name="moveSupport">
            <part node="0>25|0" startTime="0" duration="0.6" startTrans="0.122 -0.17 0.174" endTrans="0.122 -0.804 0.174" />
        </animation>			
    </animations>
	
    <support animationName="moveSupport" />
	
    <movingTools>
        <movingTool index="0>25" inputAttacherJoint="true" />
    </movingTools>	

    <massScale value="1" />
    <fillPlanes>		
        <fillPlane type="wheat rape barley">
			<node index="0>16|0"><key time="0.04375" scale="0 0 0"/><key time="0.20500" scale="0.45 0.45 0.45"/></node>
			<node index="0>16|1"><key time="0.20500" scale="0 0 0"/><key time="0.35625" scale="0.45 0.45 0.45"/></node>
			<node index="0>16|2"><key time="0.35625" scale="0 0 0"/><key time="0.50750" scale="0.45 0.45 0.45"/></node>			
			<node index="0>16|3"><key time="0.50750" scale="0 0 0"/><key time="0.70375" scale="0.45 0.45 0.45"/></node>
			<node index="0>16|4"><key time="0.70375" scale="0 0 0"/><key time="0.87000" scale="0.45 0.45 0.45"/></node>	
			<node index="0>16|5"><key time="0.87000" scale="0 0 0"/><key time="0.95000" scale="0.5 1 0.5"/></node>			
        </fillPlane>
	</fillPlanes>
	
	<lights count="1">
        <light1 index="0>21|0" />
    </lights>
	
</vehicle>
