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

    <storeData>
        <name>
            <en>PPK-4</en> 
            <de>PPK-4</de> 			
            <ru>ППК-4</ru>		
		</name>	
        <specs>
            <workingWidth>3.0</workingWidth>
            <combination>SK-5 Niva</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutter</function>
        </functions>
        <image>store/store_ppk4.png</image>
        <price>17000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ROSTSELMASH</brand>
        <category>cornHeaders</category>
        <vertexBufferMemoryUsage>1567500</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>243102</indexBufferMemoryUsage>
        <textureMemoryUsage>13282392</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutter</typeDesc>
        <filename>ppk4.i3d</filename>
        <size width="3.4" length="2.6"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 0.5 0" mass="1300" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="cutterHarvester">
                <distanceToGround lower="1.09" upper="1.19"/>			
            </inputAttacherJoint>			
        </inputAttacherJoints>
    </attachable>	

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

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

    <workAreas>
        <workArea type="cutter" functionName="processCutterArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
            <chopperArea index="2" />
        </workArea>
        <workArea type="auxiliary" >
            <area startNode="workAreaStrawStart" widthNode="workAreaStrawWidth" heightNode="workAreaStrawHeight" />
        </workArea>
    </workAreas>
	
    <foldable>
        <foldingParts startMoveDirection="1" turnOnFoldMinLimit="0" turnOnFoldMaxLimit="0.1">
            <foldingPart animationName="folding" speedScale="1"/>
        </foldingParts>
    </foldable>	
	
    <animations>
        <animation name="folding">
            <part node="pipeMiddleBase" startTime="0" endTime="2" startRot="0 0 0" endRot="0 0 100"/>		
        </animation>
    </animations>
	
    <cylindered>
        <movingTools>
            <movingTool node="pipeMiddleBase" playSound="true">
                <dependentPart node="armHydraulic"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="armHydraulic" referencePoint="armHydraulicRef" referenceFrame="armHydraulicRef">
                <translatingPart node="armHydraulicPunch"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="ppk4_main_component1"/>
        </sounds>
    </cylindered>	

    <cutter fruitTypeCategories="maizeHeader">
        <testAreas>
            <testArea startNode="testAreaStart1" widthNode="testAreaWidth1" heightNode="testAreaHeight1"/>
            <testArea startNode="testAreaStart2" widthNode="testAreaWidth2" heightNode="testAreaHeight2"/>
            <testArea startNode="testAreaStart3" widthNode="testAreaWidth3" heightNode="testAreaHeight3"/>
        </testAreas>
        <effect>
            <effectNode linkNode="effectCenter" inverted="true" speedScale="0.0018" lengthAndRadius="2.5 1.3 2 3" effectType="CENTER" changeSpeedScale="0.01"/>
            <effectNode linkNode="effectLeft" inverted="true" speedScale="0.0012" lengthAndRadius="0 1 1 1" effectType="LEFT" useInterpolation="true" minOffset="1"/>
            <effectNode linkNode="effectRight" inverted="true" speedScale="0.0012" lengthAndRadius="0 1 1 1" effectType="RIGHT" useInterpolation="true" minOffset="1" useMaxValue="true"/>
        </effect>
        <fillEffect>
            <effectNode effectNode="particleEffectPipe" materialType="chopper" materialTypeId="1" delay="0" />		
            <effectNode effectClass="ParticleEffect" effectNode="effectParticles" particleType="CUTTER_CHOPPER" />
            <effectNode effectClass="ParticleEffect" effectNode="smokeEmitter" particleType="SMOKE" emitCountScale="0.1" worldSpace="false" useCuttingWidth="false"/>
        </fillEffect>
        <animationNodes>
            <animationNode node="mainDrum"       rotSpeed="800" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>			
            <animationNode node="rotatingPart01" rotSpeed="900" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart02" rotSpeed="1600" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart03" rotSpeed="800" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart04" rotSpeed="1000" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart05" rotSpeed="1300" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart06" rotSpeed="1600" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart07" rotSpeed="750" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart08" rotSpeed="1400" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart09" rotSpeed="1600" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart10" rotSpeed="1400" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart11" rotSpeed="1600" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart12" rotSpeed="1600" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart13" rotSpeed="800" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart14" rotSpeed="400" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="rotatingPart15" rotSpeed="600" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>

            <animationNode class="ScrollingAnimation" node="belt01" scrollSpeed="-1.5" turnOnFadeTime="4" turnOffFadeTime="3"/>		
            <animationNode class="ScrollingAnimation" node="belt02" scrollSpeed="-2" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode class="ScrollingAnimation" node="chain01" scrollSpeed="-2" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode class="ScrollingAnimation" node="chain02" scrollSpeed="2" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode class="ScrollingAnimation" node="chain03" scrollSpeed="2" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode class="ScrollingAnimation" node="chain04" scrollSpeed="-2" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode class="ScrollingAnimation" node="chain05" scrollSpeed="2" turnOnFadeTime="4" turnOffFadeTime="3"/>			
        </animationNodes>
    </cutter>

    <turnOnVehicle turnedOnByAttacherVehicle="true" turnOffIfNotAllowed="true"/>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <collisionTrigger node="aiCollisionTrigger"/>
    </ai>

    <dynamicMount forceLimitScale="1"/>

    <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-1.15" maxZ="1.2" yOffset="0.075" />
    </foliageBending>
	
    <baseMaterial>
        <material name="ppk4_mat" baseNode="ppk4_vis">
            <shaderParameter name="colorMat0" value="0.05 0.124 0.256 6"/>
            <shaderParameter name="colorMat1" value="0.05 0.124 0.256 6"/>			
            <shaderParameter name="colorMat2" value="0.191 0.191 0.191 6"/>
            <shaderParameter name="colorMat3" value="0.035 0.035 0.035 6"/>	
            <shaderParameter name="colorMat4" value="0.05 0.124 0.256 6"/>				
        </material>	
        <material name="decalNivaSK1" baseNode="decals01">
            <shaderParameter name="colorMat0" value="0.603 0.603 0.603 6"/>	
            <shaderParameter name="colorMat1" value="0.05 0.124 0.256 6"/>			
        </material>			
    </baseMaterial>		
	
    <bodyNivaSKMaterialConfigurations>
        <bodyNivaSKMaterialConfiguration name="Blue" color="0.05 0.124 0.256 6"/>                 
        <bodyNivaSKMaterialConfiguration name="Red01" color="0.28 0.031 0.025 6"/>
        <bodyNivaSKMaterialConfiguration name="Red02" color="0.5 0.085 0.05 6"/>	
        <bodyNivaSKMaterialConfiguration name="Red03" color="0.347 0.085 0.05 6"/>	
        <bodyNivaSKMaterialConfiguration name="Green01" color="0.23 0.3 0.08 6"/>
        <bodyNivaSKMaterialConfiguration name="Green02" color="0.01 0.32 0.12 6"/> 		
        <material name="ppk4_mat" shaderParameter="colorMat0" />
    </bodyNivaSKMaterialConfigurations>	

    <ppkNivaMaterialConfigurations>
        <ppkNivaMaterialConfiguration name="Blue" color="0.05 0.124 0.256 6"/>
        <ppkNivaMaterialConfiguration name="White" color="0.603 0.603 0.603 6"/>
        <ppkNivaMaterialConfiguration name="Red01" color="0.28 0.031 0.025 6"/>
        <ppkNivaMaterialConfiguration name="Red02" color="0.5 0.085 0.05 6"/>	
        <ppkNivaMaterialConfiguration name="Red03" color="0.347 0.085 0.05 6"/>	
        <ppkNivaMaterialConfiguration name="Green01" color="0.23 0.3 0.08 6"/>
        <ppkNivaMaterialConfiguration name="Green02" color="0.01 0.32 0.12 6"/>		
        <material name="ppk4_mat" shaderParameter="colorMat1" />
        <material name="ppk4_mat" shaderParameter="colorMat4" />
        <material name="decalNivaSK1" shaderParameter="colorMat1" />		
    </ppkNivaMaterialConfigurations>	

    <decalsNivaSKMaterialConfigurations>
        <decalsNivaSKMaterialConfiguration name="White" color="0.603 0.603 0.603 6"/> 	
        <decalsNivaSKMaterialConfiguration name="Yellow" color="0.98 0.43 0.01 6"/>  
        <decalsNivaSKMaterialConfiguration name="Beige" color="0.75 0.683 0.44 6"/>		
        <decalsNivaSKMaterialConfiguration name="Red01" color="0.28 0.031 0.025 6"/>
        <decalsNivaSKMaterialConfiguration name="Red02" color="0.5 0.085 0.05 6"/>	
        <decalsNivaSKMaterialConfiguration name="Red03" color="0.347 0.085 0.05 6"/>	 		
        <material name="decalNivaSK1" shaderParameter="colorMat0" />		
    </decalsNivaSKMaterialConfigurations>		

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

    <i3dMappings>
        <i3dMapping id="ppk4_main_component1" node="0>" />
        <i3dMapping id="ppk4_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="attacherBase" node="0>0|1|0" />
        <i3dMapping id="pipeMiddleBase" node="0>0|1|0|0|0|0" />
        <i3dMapping id="particleEffectPipe" node="0>0|1|0|0|0|0|0|0|0" />		
        <i3dMapping id="armHydraulicRef" node="0>0|1|0|0|0|0|1" />	
        <i3dMapping id="armHydraulic" node="0>0|1|0|0|0|1" />
        <i3dMapping id="armHydraulicPunch" node="0>0|1|0|0|0|1|0" />
        <i3dMapping id="rotatingPart01" node="0>0|1|0|1|0" />
        <i3dMapping id="rotatingPart02" node="0>0|1|0|1|1" />
        <i3dMapping id="rotatingPart03" node="0>0|1|0|1|2" />
        <i3dMapping id="rotatingPart04" node="0>0|1|0|1|3" />
        <i3dMapping id="rotatingPart05" node="0>0|1|0|1|4" />
        <i3dMapping id="rotatingPart06" node="0>0|1|0|1|5" />
        <i3dMapping id="rotatingPart07" node="0>0|1|0|1|6" />
        <i3dMapping id="rotatingPart08" node="0>0|1|0|1|7" />
        <i3dMapping id="rotatingPart09" node="0>0|1|0|1|8" />
        <i3dMapping id="rotatingPart10" node="0>0|1|0|1|9" />
        <i3dMapping id="rotatingPart11" node="0>0|1|0|1|10" />
        <i3dMapping id="rotatingPart12" node="0>0|1|0|1|11" />
        <i3dMapping id="rotatingPart13" node="0>0|1|0|1|12" />
        <i3dMapping id="rotatingPart14" node="0>0|1|0|1|13" />
        <i3dMapping id="rotatingPart15" node="0>0|1|0|1|14" />	
        <i3dMapping id="belt01" node="0>0|1|0|2|0" />		
        <i3dMapping id="belt02" node="0>0|1|0|2|1" />		
        <i3dMapping id="chain01" node="0>0|1|0|2|2" />		
        <i3dMapping id="chain02" node="0>0|1|0|2|3" />		
        <i3dMapping id="chain03" node="0>0|1|0|2|4" />		
        <i3dMapping id="chain04" node="0>0|1|0|2|5" />		
        <i3dMapping id="chain05" node="0>0|1|0|2|6" />						
        <i3dMapping id="mainDrum" node="0>0|1|1" />
        <i3dMapping id="aiMarkerLeft" node="0>0|2|0|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|2|0|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|2|0|2" />
        <i3dMapping id="aiCollisionTrigger" node="0>0|2|1" />
        <i3dMapping id="workAreaStart" node="0>0|3|0" />
        <i3dMapping id="workAreaWidth" node="0>0|3|1" />
        <i3dMapping id="workAreaHeight" node="0>0|3|2" />
        <i3dMapping id="groundReferenceNode" node="0>0|3|3" />
        <i3dMapping id="testAreaStart1" node="0>0|4|0" />
        <i3dMapping id="testAreaWidth1" node="0>0|4|0|0" />
        <i3dMapping id="testAreaHeight1" node="0>0|4|0|1" />
        <i3dMapping id="testAreaStart2" node="0>0|4|1" />
        <i3dMapping id="testAreaWidth2" node="0>0|4|1|0" />
        <i3dMapping id="testAreaHeight2" node="0>0|4|1|1" />
        <i3dMapping id="testAreaStart3" node="0>0|4|2" />
        <i3dMapping id="testAreaWidth3" node="0>0|4|2|0" />
        <i3dMapping id="testAreaHeight3" node="0>0|4|2|1" />
        <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="effectParticles" node="0>0|5|4" />
        <i3dMapping id="workAreaStrawStart" node="0>0|5|4|0|0" />
        <i3dMapping id="workAreaStrawWidth" node="0>0|5|4|0|1" />
        <i3dMapping id="workAreaStrawHeight" node="0>0|5|4|0|2" />
        <i3dMapping id="decals01" node="0>0|6|0" />		
    </i3dMappings>
</vehicle>
