<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="plow">
       <annotation>Attention exclusive model for FS19, by Mari Darth.Konvert iz 22 Moroz+.</annotation>

	<storeData>
        <name>
		    <en>PLN 6-35</en>
            <ru>ПЛН 6-35</ru>
        </name>
		<specs>
            <neededPower>150</neededPower>
            <workingWidth>3</workingWidth>
        </specs>	
		<functions>
            <function>$l10n_function_plow</function>
        </functions>
		<image>store6.png</image>
        <price>10840</price>
		<lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>RUBARZ</brand>
        <category>plows</category>
    </storeData>

	<base>
        <typeDesc>$l10n_typeDesc_plow</typeDesc>
        <filename>pln_6x35.i3d</filename>
        <size width="3.1" length="5.2"/>
        <speedLimit value="12" />
        <components>
            <component centerOfMass="0 0.76 0.60" solverIterationCount="10" mass="970"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>

	<powerConsumer forceNode="PLN_6_35_main_component1" maxForce="17"/>

	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" upperRotationOffset="15">
                <distanceToGround lower="0.5" upper="1"/>				
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
		
	<groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" threshold="0.05" depthNode="depthNode"/>
    </groundReferenceNodes>

	<workAreas>
        <workArea type="plow" functionName="processPlowArea">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
            <groundReferenceNode index="1"/>
        </workArea>
        <workArea type="plowShare" functionName="processPlowShareArea">
            <area startNode="workAreaShareStart" widthNode="workAreaShareWidth" heightNode="workAreaShareHeight" />
            <groundReferenceNode index="1" />
            <onlyActiveWhenLowered value="true"/>
        </workArea>			
    </workAreas>

    <plow>
        <sounds>
            <work template="defaultPlowWork" linkNode="PLN_6_35_main_component1" volumeScale="1.3"/>
        </sounds>
        <directionNode node="PLN_6_35_main_component1"/>
        <onlyActiveWhenLowered value="true"/>
    </plow>	

	<speedRotatingParts>
        <speedRotatingPart node="wheelSupportFront" radius="0.268" groundReferenceNodeIndex="1"/>
		<speedRotatingPart node="wheelSupportBack"  radius="0.268" groundReferenceNodeIndex="1"/>
    </speedRotatingParts>

    <workParticles>
    
        <particle>
            <node node="soilSmokeEmit"     particleType="SOIL_SMOKE"      refNodeIndex="1" emitCountScale="2" speedThreshold="2"/>
        </particle>
	 <effect groundReferenceNodeIndex="1" speedThreshold="0">
            <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="plowEffectBottom01">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.08" speedScale="0.75"/>
            </effectNode>
            <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="plowEffectBottom02">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.08" speedScale="0.75"/>
            </effectNode>
            <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="plowEffectBottom03">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.08" speedScale="0.75"/>
            </effectNode>
	   <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="plowEffectBottom04">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.08" speedScale="0.75"/>
            </effectNode>
  	    <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="plowEffectBottom05">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.08" speedScale="0.75"/>
            </effectNode>
	   <effectNode effectClass="PlowMotionPathEffect" effectType="PLOW" linkNode="plowEffectBottom06">
                <motionPathEffect textureFilename="$data/vehicles/kverneland/ecomat/ecomatBottomShareArray.dds" numRows="6" rowLength="23" minFade="0.08" speedScale="0.75"/>
            </effectNode>
        </effect>
    </workParticles>

    <animations>
        <animation name="moveSupport">
            <part node="slidingCollision" startTime="0" endTime="0.2" startTrans="0 -0.61 0"    endTrans="0 -0.835 0"/>
            <part node="support"          startTime="0" endTime="0.1" startTrans="0.246 0 1.82" endTrans="0.246 -0.4 1.82"/>
        </animation>
    </animations>

	<ai>
        <needsLowering value="true"/>
        <collisionTrigger node="aiCollisionTrigger" width="4" height="2"/>
        <areaMarkers leftNode="areaMarkerLeft" rightNode="areaMarkerRight" backNode="areaMarkerBack"/>
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack" />		
		<hasNoFullCoverageArea value="true"/>
		<agentAttachment width="3.0" height="1.2" length="5.0" lengthOffset="-0.5"/>
    </ai>		

	<foliageBending>
        <bendingNode minX="-0.69" maxX="0.245" minZ="-2.39" maxZ="2.58" yOffset="-0.6" node="foliageBendingNode"/>
    </foliageBending>

    <designConfigurations title="$l10n_configuration_stickers">
	<designConfiguration name="$l10n_configuration_stickerson" price="0">
          <objectChange node="decals1" visibilityActive="true"/>
			
	</designConfiguration>
        <designConfiguration name="$l10n_configuration_stickersoff" price="0">
           <objectChange node="decals1" visibilityActive="false"/>
			
	</designConfiguration>
    </designConfigurations>
	
    <baseColorConfigurations useDefaultColors="true" price="50">
        <baseColorConfiguration materialTemplateName="SUMMERSMFG_RED1" name="$l10n_configuration_valueDefault" price="0" isDefault="true"/>

        <material materialSlotName="IronMat"/>
    </baseColorConfigurations>	

    <rimColorConfigurations useDefaultColors="true" price="50">
        <rimColorConfiguration materialTemplateName="SUMMERSMFG_RED1" name="$l10n_configuration_valueDefault" price="0" isDefault="true"/>
		
		<material materialSlotName="ObodWheel"/>
    </rimColorConfigurations>		

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

    <i3dMappings>
       		<i3dMapping id="PLN_6_35_main_component1" node="0>"/>
		<i3dMapping id="PLN_6_35"           	  node="0>0"/>
		<i3dMapping id="attacherJoint"            node="0>0|0"/>
		<i3dMapping id="PLN_6_35_vis"             node="0>0|1|0"/>
		<i3dMapping id="decals0"		  node="0>0|1|0|1"/>
		<i3dMapping id="decals1"           	  node="0>0|1|0|2"/>
		<i3dMapping id="topReferenceNode"         node="0>0|0|0"/>
		<i3dMapping id="wheelSupportFront"        node="0>0|1|1|0"/>
		<i3dMapping id="wheelSupportBack"         node="0>0|1|2|0"/>
		<i3dMapping id="slidingCollision"         node="0>0|2|0"/>
		<i3dMapping id="support"                  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="areaMarkerLeft"           node="0>0|4|0|0"/>
		<i3dMapping id="areaMarkerRight"          node="0>0|4|0|1"/>
		<i3dMapping id="areaMarkerBack"           node="0>0|4|0|2"/>
        <i3dMapping id="sizeMarkerLeft"           node="0>0|4|1|0" />
        <i3dMapping id="sizeMarkerRight"          node="0>0|4|1|1" />
        <i3dMapping id="sizeMarkerBack"           node="0>0|4|1|2" />			
		<i3dMapping id="aiCollisionTrigger"       node="0>0|4|2"/>
        <i3dMapping id="workAreaShareStart"       node="0>0|3|4" />
        <i3dMapping id="workAreaShareWidth"       node="0>0|3|4|0" />
        <i3dMapping id="workAreaShareHeight"      node="0>0|3|4|1" />
		
		<i3dMapping id="soilSmokeEmit"            node="0>0|5|0|0"/>
		<i3dMapping id="soilChunksEmit"           node="0>0|5|0|1"/>
		<i3dMapping id="soilBigChunksEmit"        node="0>0|5|0|2"/>
		<i3dMapping id="depthNode"                node="0>0|5|1"/>
		<i3dMapping id="plowEffectBottom01"       node="0>0|5|2"/>
		<i3dMapping id="plowEffectBottom02"       node="0>0|5|3"/>
		<i3dMapping id="plowEffectBottom03"       node="0>0|5|4"/>
		<i3dMapping id="plowEffectBottom04"       node="0>0|5|5"/>
		<i3dMapping id="plowEffectBottom05"       node="0>0|5|6"/>
		<i3dMapping id="plowEffectBottom06"       node="0>0|5|7"/>
		<i3dMapping id="foliageBendingNode"       node="0>0|6"/>
    </i3dMappings>

</vehicle>