<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="pL15">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
        <en>Wheel Loader Plow</en>
        </name>		
       
         <functions>
            <function>$l10n_function_plow</function>
        </functions>
        <image>loaderPlow.dds</image>
        <price>1200</price>
        <lifetime>650</lifetime>
        <rotation>0</rotation>
         <brand>FSMCR</brand>
        <category>FSMinersCreations</category>
        <vertexBufferMemoryUsage>1060400</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>181536</indexBufferMemoryUsage>
        <textureMemoryUsage>6116952</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_plow</typeDesc>
        <filename>loaderPlow.i3d</filename>
        <size width="6.5" length="5"/>
        <speedLimit value="17"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1229" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0" jointType="wheelLoader" topReferenceNode="topReferenceNode" allowsLowering="true" lowerRotLimitScale="0 0 0"  upperRotationOffset="0" lowerRotationOffset="5">
                <distanceToGround lower="0.0" upper="1.3" />
            
       
		</inputAttacherJoint>
			
			<inputAttacherJoint node="0>1|0|0|0" jointType="trailer">
            </inputAttacherJoint>
			 
        </inputAttacherJoints>
         <support animationName="moveSupport" />
    </attachable>
	
  
          
	
	<groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="1" threshold="0.1" depthNode="depthNode" chargeValue="1" />
    </groundReferenceNodes>
	
	<workAreas>
        <workArea type="plow" functionName="processPlowArea" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>
	
    <workParticles>
        <particleAnimation>
            <node node="0>5|0|0|0" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
           <node node="0>5|0|0|1" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
           <node node="0>5|0|0|2" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
           <node node="0>5|0|0|3" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
           <node node="0>5|0|0|4" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
           <node node="0>5|0|0|5" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
           <node node="0>5|0|0|6" refNodeIndex="1" materialType="SOIL" maxDepth="-0.2"/>
        </particleAnimation>
        <particle>
            <node node="dustEmitShape1" refNodeIndex="1" particleType="SOIL"/>
            <node node="soilEmitShap1" refNodeIndex="1" particleType="SOIL_CHUNKS"/>
            <node node="soilEmitShape2" refNodeIndex="1" particleType="SOIL_SMOKE" worldSpace="false"/>
        </particle>
    </workParticles>

    <plow isSubsoiler="true" >
        <sounds>
            <work template="DEFAULT_PLOW_WORK" linkNode="0>" />
        </sounds>
        <directionNode node="0>" />
        <onlyActiveWhenLowered value="true"/>
    </plow>	
	
    <animations>
        <animation name="moveSupport">
		   <part node="supportCol"      startTime="0" endTime="0.1" startTrans="0 0.3 0.2" endTrans="0 0 0" />		
       </animation>
	    <animation name="folding">
         	<part node="0>1|0|0" startTime="0.1" endTime="0.3" visibility="false"/> 
             <part node="0>1|0|0" startTime="0.3" endTime="0.5" visibility="true"/>
			 </animation>
    </animations>

 <foldable>
        <foldingParts startMoveDirection="1">
            <foldingPart animationName="folding" speedScale="1"/>
        </foldingParts>
    </foldable>

    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <needsLowering value="true"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.6" maxX="1.6" minZ="-0.3" maxZ="0.3" yOffset="0.6" />
    </foliageBending>

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

	
	 <baseMaterial>
        <material name="plow1mat" baseNode="0>1|0">
            <shaderParameter name="colorMat0" value="LIEBHERR_YELLOW1"/>
        </material>
    </baseMaterial>
	
   <baseMaterialConfigurations price="100" useDefaultColors="true">
        <baseMaterialConfiguration color="LIEBHERR_YELLOW1" name="LIEBHERRYELLOW"/>
        <material name="plow1mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
	
 <tensionBeltObject>
		<meshNodes>
			<meshNode node="0>1|0|1|8"/>
		</meshNodes>
	</tensionBeltObject>
	
	
    <i3dMappings>
    
        <i3dMapping id="topReferenceNode" node="0>4" />
        
        <i3dMapping id="supportCol" node="0>1|0|1|9" />
        <i3dMapping id="workArea" node="0>3|" />
        <i3dMapping id="workAreaStart" node="0>3|0" />
        <i3dMapping id="workAreaWidth" node="0>3|1" />
        <i3dMapping id="workAreaHeight" node="0>3|2" />
        <i3dMapping id="effect" node="0>5" />
        <i3dMapping id="effectNode" node="0>5|0" />
        <i3dMapping id="soilAnimation" node="0>5|0|0" />
        <i3dMapping id="dustEmitShape1" node="0>5|0|1" />
        <i3dMapping id="soilEmitShap1" node="0>5|0|2" />
        <i3dMapping id="soilEmitShape2" node="0>5|0|3" />
        <i3dMapping id="groundReferenceNode" node="0>3|3" />
        <i3dMapping id="depthNode" node="0>3|4" />
        <i3dMapping id="ai" node="0>6" />
        <i3dMapping id="aiMarkers" node="0>6|0" />
        <i3dMapping id="aiMarkerLeft" node="0>6|0|0" />
        <i3dMapping id="aiMarkerRight" node="0>6|0|1" />
        <i3dMapping id="aiMarkerBack" node="0>6|0|2" />
        <i3dMapping id="sizeMarkers" node="0>6|1" />
        <i3dMapping id="sizeMarkerLeft" node="00>6|1|0" />
        <i3dMapping id="sizeMarkerRight" node="0>6|1|1" />
        <i3dMapping id="sizeMarkerBack" node="0>6|1|2" />
    </i3dMappings>
</vehicle>
