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

    <storeData>
        <name>Z056H</name>
        <specs>
            <workingWidth>4.20</workingWidth>
            <combination>Z056</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>$data/vehicles/bizon/z056Header/store_z056Header.png</image>
        <price>3000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>FMZ</brand>
        <category>cutters</category>
        <shopTranslationOffset>0 -0.02 0</shopTranslationOffset>
        <shopRotationOffset>3 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1499668</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>207828</indexBufferMemoryUsage>
        <textureMemoryUsage>23986616</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>vechicle/BizonZ056/z056Header.i3d</filename>
        <size width="5.5" length="2.5"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 0.2 0" mass="1200" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attachable" jointType="cutter">
                <heightNode node="heightNode"/>
                <distanceToGround lower="0.15" upper="1.8"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <powerConsumer ptoRpm="540" neededMaxPtoPower="20"/>

    <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" threshold="0.4" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>

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

            <part node="canolaExtension_sideKnifesRight01" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 -0.06 0"/>
            <part node="canolaExtension_sideKnifesRight01" startTime="0.5" endTime="1" startTrans="0 -0.06 0" endTrans="0 0 0"/>
            <part node="canolaExtension_sideKnifesRight02" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 0.06 0"/>
            <part node="canolaExtension_sideKnifesRight02" startTime="0.5" endTime="1" startTrans="0 0.06 0" endTrans="0 0 0"/>

            <part node="canolaExtension_sideKnifesLeft01" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 -0.06 0"/>
            <part node="canolaExtension_sideKnifesLeft01" startTime="0.5" endTime="1" startTrans="0 -0.06 0" endTrans="0 0 0"/>
            <part node="canolaExtension_sideKnifesLeft02" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 0.06 0"/>
            <part node="canolaExtension_sideKnifesLeft02" startTime="0.5" endTime="1" startTrans="0 0.06 0" endTrans="0 0 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="reelMover" playSound="true" >
                <controls axis="AXIS_CUTTER_REEL" invertAxis="false" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_X" />
                <translation transSpeed="0.1" transAcceleration="10" transMax="0.32" transMin="0" translationAxis="3" startTrans="0.05"/>
                <dependentPart node="reelMoverArm"/>
            </movingTool>
            <movingTool node="reelArm" playSound="true">
                <controls axis="AXIS_CUTTER_REEL2" invertAxis="true" mouseSpeedFactor="0.9" iconName="REEL_TRANSLATE_Y"/>
                <rotation rotSpeed="20" rotAcceleration="50" rotMax="-7.5" rotMin="-25" startRot="-25"/>
                <dependentPart node="reelArmHydraulic"/>
            </movingTool>
            <movingTool node="knifeRotationPart">
                <dependentPart node="knifeConn"/>
            </movingTool>
            <movingTool node="reel">
                <dependentPart node="spike1"/>
                <dependentPart node="spike2"/>
                <dependentPart node="spike3"/>
                <dependentPart node="spike4"/>
                <dependentPart node="spike5"/>
                <dependentPart node="spike6"/>
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="reelMoverArm" referencePoint="reelMoverArmRef" localReferencePoint="reelMoverArmPart" referenceFrame="reelMoverHydraulicRefFrame">
                <dependentPart node="reelMoverArmPart"/>
                <dependentPart node="reelMoverHydraulic"/>
            </movingPart>
            <movingPart node="reelMoverArmPart" referencePoint="reelMoverArmRef" referenceFrame="reelMoverArmRef" />
            <movingPart node="reelMoverHydraulic" referencePoint="reelMoverHydraulicRef" referenceFrame="reelArm">
                <translatingPart node="reelMoverHydraulicPunch"/>
            </movingPart>

            <movingPart node="reelArmHydraulic" referencePoint="reelArmHydraulicRef" referenceFrame="z056Header_main_component1">
                <translatingPart node="reelArmHydraulicPunch"/>
            </movingPart>

            <movingPart node="knifeConn" referencePoint="knifeConnArmRef" localReferencePoint="knifeConnArm" referenceFrame="knifeConnRot">
                <dependentPart node="knifeConnArm"/>
                <dependentPart node="knife"/>
            </movingPart>
            <movingPart node="belt" referencePoint="beltRef" referenceFrame="beltRef" isActiveDirty="true" scaleZ="true"/>
            <movingPart node="knifeConnArm" referencePoint="knifeConnArmRef" referenceFrame="knifeConnArmRot" />
            <movingPart node="knife" referencePoint="knifeRef" referenceFrame="knifeRef" />

            <movingPart node="spike1" referenceFrame="z056Header_main_component1"/>
            <movingPart node="spike2" referenceFrame="z056Header_main_component1"/>
            <movingPart node="spike3" referenceFrame="z056Header_main_component1"/>
            <movingPart node="spike4" referenceFrame="z056Header_main_component1"/>
            <movingPart node="spike5" referenceFrame="z056Header_main_component1"/>
            <movingPart node="spike6" referenceFrame="z056Header_main_component1"/>
        </movingParts>

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

    <cutter fruitTypeCategories="grainHeader">
        <testAreas>
            <testArea startNode="testAreaStart1" widthNode="testAreaWidth1" heightNode="testAreaHeight1"/>
            <testArea startNode="testAreaStart2" widthNode="testAreaWidth2" heightNode="testAreaHeight2"/>
            <testArea startNode="testAreaStart3" widthNode="testAreaWidth3" heightNode="testAreaHeight3"/>
            <testArea startNode="testAreaStart4" widthNode="testAreaWidth4" heightNode="testAreaHeight4"/>
        </testAreas>
        <effect>
            <effectNode linkNode="effectCenter" speedScale="0.0018" effectType="CENTER" changeSpeedScale="0.01"/>
            <effectNode linkNode="effectLeft" speedScale="0.0013" lengthAndRadius="0.7 1 1 2.1" effectType="LEFT" useInterpolation="true" minOffset="3"/>
            <effectNode linkNode="effectRight" speedScale="0.0013" lengthAndRadius="0.7 1 1 2.1" effectType="RIGHT" useInterpolation="true" minOffset="3" useMaxValue="true"/>
        </effect>
        <fillEffect>
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
        </fillEffect>
         <animationNodes>
            <animationNode node="reel" rotSpeed="200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="4"/>
            <animationNode node="rotatingPart01" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="rotatingPart02" rotSpeed="200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="mainDrum" rotSpeed="1300" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="4"/>
            <animationNode node="rotNode" rotSpeed="400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="knifeRotationPart" rotSpeed="2000" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        </animationNodes>
		<fruitExtraObjects hideOnDetach="true">
            <fruitExtraObject fruitType="canola" node="zieglerRapeseedModule"/>
            <fruitExtraObject fruitType="wheat" node="0>0|9" isDefault="true"/>
            <fruitExtraObject fruitType="barley" node="0>0|9"/>
            <fruitExtraObject fruitType="soybean" node="0>0|9"/>
            <fruitExtraObject fruitType="oat" node="0>0|9"/>
        </fruitExtraObjects>
		</cutter>

    <dynamicMount forceLimitScale="1"/>

    <turnOnVehicle turnedOnByAttacherVehicle="true">
        <turnedOnAnimation name="knifeAnimation" speedScale="6" turnOnFadeTime="2" turnOffFadeTime="2"/>
    </turnOnVehicle>

    <ai>
        <areaMarkers leftNode="aiLeftMarker" rightNode="aiRightMarker" backNode="aiBackMarker"/>
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack"/>
        <collisionTrigger node="aiCollisionTrigger"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-2.3" maxX="2.5" minZ="-0.8" maxZ="0.2" yOffset="0.2" />
    </foliageBending>

    <baseMaterial>
        <material name="z056Header_mat" baseNode="z056Header_vis">
            <shaderParameter name="colorMat0" value="0.366 0.04 0.04 0"/>
        </material>
		<material name="assetLibraryDecals_mat" baseNode="decals_main">
            <shaderParameter name="colorMat0" value="0.366 0.04 0.04 0"/>
        </material>
		<material name="z056Header_mat" baseNode="z056Header">
            <shaderParameter name="colorMat0" value="0.366 0.04 0.04 0"/>
        </material>
		<material name="c510_mat" baseNode="0>0|9">
            <shaderParameter name="colorMat0" value="0.366 0.04 0.04 0"/>
			<shaderParameter name="colorMat1" value="0.366 0.04 0.04 0"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="1500" useDefaultColors="true" defaultColorIndex="0">
        <baseMaterialConfiguration name="$l10n_Red" color="0.561 0.03 0.007 0" price="0"/>
		<baseMaterialConfiguration name="$l10n_Red" color="0.366 0.04 0.04 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Red" color="0.19 0.02 0.02 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Red" color="0.1 0 0 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Yellow" color="1 0.43 0.05 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Yellow" color="0.56 0.23 0.03 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Orange" color="0.69 0.21 0.03 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Orange" color="0.863 0.159 0.008 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Orange" color="0.41 0.08 0.01 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Blue" color="0.01 0.16 0.5 0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_Blue" color="0 0.1 0.175 0" price="1500"/>
        <material name="z056Header_mat" shaderParameter="colorMat0" />
        <material name="assetLibraryDecals_mat" shaderParameter="colorMat0" />
		<material name="z056Header_mat" shaderParameter="colorMat0" />
		<material name="c510_mat" shaderParameter="colorMat0" />
		<material name="c510_mat" shaderParameter="colorMat1" />
    </baseMaterialConfigurations>

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

    <i3dMappings>
        <i3dMapping id="z056Header_main_component1" node="0>" />
        <i3dMapping id="z056Header_vis" node="0>0" />
        <i3dMapping id="attachable" node="0>0|0" />
        <i3dMapping id="heightNode" node="0>0|0|0" />
        <i3dMapping id="movingParts" node="0>0|1" />
        <i3dMapping id="mainDrum" node="0>0|1|0" />
        <i3dMapping id="rotNode" node="0>0|1|1" />
        <i3dMapping id="reelArm" node="0>0|1|2" />
        <i3dMapping id="reelMover" node="0>0|1|2|0|0" />
        <i3dMapping id="reel" node="0>0|1|2|0|0|0" />
        <i3dMapping id="spike1" node="0>0|1|2|0|0|0|0" />
        <i3dMapping id="spike2" node="0>0|1|2|0|0|0|1" />
        <i3dMapping id="spike3" node="0>0|1|2|0|0|0|2" />
        <i3dMapping id="spike4" node="0>0|1|2|0|0|0|3" />
        <i3dMapping id="spike5" node="0>0|1|2|0|0|0|4" />
        <i3dMapping id="spike6" node="0>0|1|2|0|0|0|5" />
        <i3dMapping id="reelMoverArmRef" node="0>0|1|2|0|0|1" />
        <i3dMapping id="beltRef" node="0>0|1|2|0|0|3" />
        <i3dMapping id="reelMoverArm" node="0>0|1|2|1" />
        <i3dMapping id="reelMoverArmPart" node="0>0|1|2|1|0" />
        <i3dMapping id="reelMoverHydraulicRef" node="0>0|1|2|1|1" />
        <i3dMapping id="reelMoverHydraulic" node="0>0|1|2|2" />
        <i3dMapping id="reelMoverHydraulicPunch" node="0>0|1|2|2|0" />
        <i3dMapping id="rotatingPart01" node="0>0|1|2|3|0" />
        <i3dMapping id="rotatingPart02" node="0>0|1|2|3|1" />
        <i3dMapping id="reelArmHydraulicRef" node="0>0|1|2|4" />
        <i3dMapping id="belt" node="0>0|1|2|5" />
        <i3dMapping id="reelMoverHydraulicRefFrame" node="0>0|1|2|6" />
        <i3dMapping id="knifeConnRot" node="0>0|1|3|0" />
        <i3dMapping id="knifeConn" node="0>0|1|3|0|0" />
        <i3dMapping id="knifeConnArmRot" node="0>0|1|3|0|0|0" />
        <i3dMapping id="knifeConnArm" node="0>0|1|3|0|0|0|0" />
        <i3dMapping id="knife" node="0>0|1|3|0|0|1" />
        <i3dMapping id="knifeRotationPart" node="0>0|1|3|1" />
        <i3dMapping id="knifeConnArmRef" node="0>0|1|3|1|0" />
        <i3dMapping id="knifeRef" node="0>0|1|3|2" />
        <i3dMapping id="reelArmHydraulic" node="0>0|1|4" />
        <i3dMapping id="reelArmHydraulicPunch" node="0>0|1|4|0" />
        <i3dMapping id="workAreaStart" node="0>0|2|0" />
        <i3dMapping id="workAreaWidth" node="0>0|2|1" />
        <i3dMapping id="workAreaHeight" node="0>0|2|2" />
        <i3dMapping id="groundReferenceNode" node="0>0|2|3" />
        <i3dMapping id="aiLeftMarker" node="0>0|3|0|0" />
        <i3dMapping id="aiRightMarker" node="0>0|3|0|1" />
        <i3dMapping id="aiBackMarker" node="0>0|3|0|2" />
        <i3dMapping id="sizeMarkerLeft" node="0>0|3|1|0" />
        <i3dMapping id="sizeMarkerRight" node="0>0|3|1|1" />
        <i3dMapping id="sizeMarkerBack" node="0>0|3|1|2" />
        <i3dMapping id="aiCollisionTrigger" node="0>0|3|2" />
        <i3dMapping id="testAreaStart1" node="0>0|4|0|0" />
        <i3dMapping id="testAreaWidth1" node="0>0|4|0|1" />
        <i3dMapping id="testAreaHeight1" node="0>0|4|0|2" />
        <i3dMapping id="testAreaStart2" node="0>0|4|1|0" />
        <i3dMapping id="testAreaWidth2" node="0>0|4|1|1" />
        <i3dMapping id="testAreaHeight2" node="0>0|4|1|2" />
        <i3dMapping id="testAreaStart3" node="0>0|4|2|0" />
        <i3dMapping id="testAreaWidth3" node="0>0|4|2|1" />
        <i3dMapping id="testAreaHeight3" node="0>0|4|2|2" />
        <i3dMapping id="testAreaStart4" node="0>0|4|3|0" />
        <i3dMapping id="testAreaWidth4" node="0>0|4|3|1" />
        <i3dMapping id="testAreaHeight4" node="0>0|4|3|2" />
        <i3dMapping id="effectCenter" node="0>0|5|0" />
        <i3dMapping id="effectLeft" node="0>0|5|1" />
        <i3dMapping id="effectRight" node="0>0|5|2" />
        <i3dMapping id="smokeEmitter" node="0>0|5|3" />
        <i3dMapping id="zieglerRapeseedModule" node="0>0|6" />
        <i3dMapping id="canolaExtension_lowKnifes" node="0>0|6|0" />
        <i3dMapping id="canolaExtension_sideKnifesLeft01" node="0>0|6|1|0" />
        <i3dMapping id="canolaExtension_sideKnifesLeft02" node="0>0|6|1|1" />
        <i3dMapping id="canolaExtension_sideKnifesRight01" node="0>0|6|2|0" />
        <i3dMapping id="canolaExtension_sideKnifesRight02" node="0>0|6|2|1" />
        <i3dMapping id="zieglerRapeseedModule_vis" node="0>0|6|3" />
        <i3dMapping id="skinning" node="0>1" />
		<i3dMapping id="grainExtension" node="0>0|9" />
        <i3dMapping id="canolaExtension" node="0>0|6" />
		<i3dMapping id="canolaExtension" node="0>0|9|0" />
		<i3dMapping id="decals_main" node="0>0|7|0" />
		<i3dMapping id="z056Header_vis" node="0>0|9" />\
		<i3dMapping id="z056Header" node="0>0" />
    </i3dMappings>
</vehicle>
