<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="cutter">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Clayson Header</name>
        <specs>
            <workingWidth>4.20</workingWidth>
			<combination xmlFilename="m135.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>store/store_header.dds</image>
        <price>6500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>NEWHOLLAND</brand>
        <category>cutters</category>
        <shopTranslationOffset>0 -0.02 0</shopTranslationOffset>
        <shopRotationOffset>3 0 0</shopRotationOffset>
		<year>1966</year>
        <vertexBufferMemoryUsage>2388736</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>561152</indexBufferMemoryUsage>
        <textureMemoryUsage>4194304</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>Header.i3d</filename>
        <size width="4.6" length="2.8" height="1.6"/>
        <speedLimit value="7"/>
        <components>
            <component centerOfMass="0 0.05 0"  solverIterationCount="20" mass="1200" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="COMBINE_HEADER" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>4|2" jointType="cutter">
                <heightNode node="0>4|0"/>
                <distanceToGround lower="0.15" upper="1.8"/>
				<objectchange node="0>2|0" visibilityActive="true" visibilityInactive="false"/>
				<objectchange node="0>2|3" visibilityActive="false" visibilityInactive="true"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>


    <powerConsumer ptoRpm="540" neededMaxPtoPower="10"/>
	
   <connectionHoses>
		<hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>12|0" length="2.5" diameter="0.02" straighteningFactor="0.9" outgoingAdapter="DEFAULT" adapterType="NONE"/>
	</connectionHoses>                                                                                                            

	
    <groundReferenceNodes>
        <groundReferenceNode node="0>5|3" threshold="0.4" />
    </groundReferenceNodes>

	

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea" >
            <area startNode="0>5|0" widthNode="0>5|1" heightNode="0>5|2" />
            <groundReferenceNode index="1" />
			<testAreas>
				<testArea startNode="0>7|0|0" widthNode="0>7|0|1" heightNode="0>7|0|2"/>
				<testArea startNode="0>7|1|0" widthNode="0>7|1|1" heightNode="0>7|1|2"/>
				<testArea startNode="0>7|2|0" widthNode="0>7|2|1" heightNode="0>7|2|2"/>
				<testArea startNode="0>7|3|0" widthNode="0>7|3|1" heightNode="0>7|3|2"/>
			</testAreas>
        </workArea>
    </workAreas>

    <animations>
		<animation name="turnedOnAnimation" looping="true">
            <part node="0>2|2|0|1|0" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0.1 0 0"/>
            <part node="0>2|2|0|1|0" startTime="0.5" endTime="1" startTrans="0.1 0 0" endTrans="0 0 0"/>

            <part node="0>2|2|0|2|0" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 -0.06 0"/>
            <part node="0>2|2|0|2|0" startTime="0.5" endTime="1" startTrans="0 -0.06 0" endTrans="0 0 0"/>
            <part node="0>2|2|0|3|0" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 0.06 0"/>
            <part node="0>2|2|0|3|0" startTime="0.5" endTime="1" startTrans="0 0.06 0" endTrans="0 0 0"/>


        </animation>
    </animations>

    <cylindered>
        <movingTools>

            <movingTool node="0>0|1" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_Y"/>
                <rotation rotSpeed="20" rotAcceleration="50" rotMax="8" rotMin="-7.52" startRot="0"/>
                <dependentPart node="0>0|2|0"/>
	
            </movingTool>

			
			<movingTool node="0>0|0|0" playSound="false" >
                <dependentPart node="0>0|0|1|0"/>
				<dependentPart node="0>0|0|1|1"/>
				<dependentPart node="0>0|0|1|2"/>
				<dependentPart node="0>0|0|1|3"/>
            </movingTool>
			
			<movingTool node="0>0|3|0|1" playSound="false" >
                <dependentPart node="0>0|4|0|0"/>
            </movingTool>

        </movingTools>

        <movingParts>
          

		<!--slimak-->
		<movingPart node="0>0|0|1|0" referencePoint="0>0|0|0|0" referenceFrame="0>0|0|0|0" />
		<movingPart node="0>0|0|1|1" referencePoint="0>0|0|0|1" referenceFrame="0>0|0|0|1" />
		<movingPart node="0>0|0|1|2" referencePoint="0>0|0|0|2" referenceFrame="0>0|0|0|2" />
		<movingPart node="0>0|0|1|3" referencePoint="0>0|0|0|3" referenceFrame="0>0|0|0|3" />
		<!--knifes-->
		<movingPart node="0>0|4|0|0" referencePoint="0>0|3|0|1|1" localReferencePoint="0>0|4|0|0|0|0" referenceFrame="0>0|4|0" >
                <dependentPart node="0>0|4|0|0|0|0"/>
                <dependentPart node="0>0|4|0|0|1"/>
        </movingPart>
		<movingPart node="0>0|4|0|0|0|0" referencePoint="0>0|3|0|1|1" referenceFrame="0>0|4|0|0|0"/>
		<movingPart node="0>0|4|0|0|1" referencePoint="0>0|4|1" referenceFrame="0>0|4|1" />
		
		<movingPart node="0>0|2|0" referencePoint="0>0|1|3|0" referenceFrame="0>0|1|3|0">
                <translatingPart node="0>0|2|0|0"/>
         </movingPart>
			
		
		
        </movingParts>

        <sounds>
            <hydraulic template="hydraulicOpen01"/>
        </sounds>
    </cylindered>

    <cutter fruitTypeCategories="grainHeader">


		
        <effect>

            <effectNode effectClass="CutterMotionPathEffect" effectType="CUTTER" linkNode="0>8|0">
                <motionPathEffect textureFilename="Arrays/drumArray.dds" numRows="32" rowLength="42" minFade="0.06" textureRealWidth="16"/>
            </effectNode>
            <effectNode effectClass="ParticleEffect" effectNode="0>8|1" particleType="SMOKE" materialType="smokeParticle" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
        </effect>


        <animationNodes>
		<!--old_reel-->
			<animationNode node="0>0|1|2|0|1|0|0" rotSpeed="200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|2|0|1|0|1" rotSpeed="200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			
			<animationNode node="0>0|1|2|0|1|0|0|0" rotSpeed="-200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|2|0|1|0|0|1" rotSpeed="-200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|2|0|1|0|0|2" rotSpeed="-200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|2|0|1|0|0|3" rotSpeed="-200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|2|0|1|0|0|4" rotSpeed="-200" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
		
		<!--Drum-->
			<animationNode node="0>0|0|0" rotSpeed="1050" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|0|1" rotSpeed="1050" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			
		<!--Reels-->
			<animationNode node="0>0|3|0|1" rotSpeed="900" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|3|0|3" rotSpeed="900" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|3|0|2" rotSpeed="1050" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|5|0" rotSpeed="900" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|5|1" rotSpeed="900" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|5|2" rotSpeed="900" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
			<animationNode node="0>0|1|5|3" rotSpeed="-900" rotAxis="1" turnOnFadeTime="3" turnOffFadeTime="4" />
		
	
        </animationNodes>
		<sounds>
            <cut template="cropCutting" />
        </sounds>
		
    </cutter>

    <dynamicMount forceLimitScale="1"/>

    <turnOnVehicle turnedOnByAttacherVehicle="true">

		<sounds>
            
            <work file="sounds/Cutters/cutterWork.ogg" volumeScale="2.3" fadeIn="0.9" fadeOut="0.9"/>
  
        </sounds>
		<turnedOnAnimation name="turnedOnAnimation" speedScale="6" turnOnFadeTime="2" turnOffFadeTime="2"/>
    </turnOnVehicle>

    <ai>
        <areaMarkers leftNode="0>6|0|0" rightNode="0>6|0|1" backNode="0>6|0|2"/>
        <sizeMarkers leftNode="0>6|1|0" rightNode="0>6|1|1" backNode="0>6|1|2"/>
        <collisionTrigger node="0>6|2"  width="4.3" height="2.0"/>
		<agentAttachment width="4.2" height="2.5" length="2.6" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-2.3" maxX="2.5" minZ="-0.8" maxZ="0.2" yOffset="0.2" />
    </foliageBending>
	
	<designConfigurations title="$l10n_Oslony">
		<designConfiguration name="$l10n_configuration_valueYes" price="0">
			<objectChange node="0>3|2" visibilityActive="true" />
			<objectChange node="0>3|3" visibilityActive="true" />
			<objectChange node="0>0|1|2|0|0|1" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_Lower" price="0">
			<objectChange node="0>3|2" visibilityActive="true" />
			<objectChange node="0>3|3" visibilityActive="true" />
			<objectChange node="0>0|1|2|0|0|1" visibilityActive="false" />
        </designConfiguration>
		<designConfiguration name="$l10n_Upper" price="0">
			<objectChange node="0>3|2" visibilityActive="false" />
			<objectChange node="0>3|3" visibilityActive="false" />
			<objectChange node="0>0|1|2|0|0|1" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_valueNo" price="0">
			<objectChange node="0>3|2" visibilityActive="false" />
			<objectChange node="0>3|3" visibilityActive="false" />
			<objectChange node="0>0|1|2|0|0|1" visibilityActive="false" />
        </designConfiguration>
    </designConfigurations>
	
	<designColorConfigurations price="500" useDefaultColors="false" defaultColorIndex="0">
        <designColorConfiguration materialTemplateName="NEWHOLLAND_YELLOW1"/>
        <designColorConfiguration name="$l10n_ui_colorYellow" color="0.708 0.418 0.051"/>
		
		<material materialSlotName="heder_color"/>

	</designColorConfigurations>
	
	
	

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

</vehicle>
