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

    <storeData>
        <name>Deere Mower Snow Plow</name>
        <specs>
            <workingWidth>1.8</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_snowPlow</function>
        </functions>
        <image>StorePlow.dds</image>
        <price>450</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>JOHNDEERE</brand>
        <category>winterEquipment</category>
        <vertexBufferMemoryUsage>229836</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>45600</indexBufferMemoryUsage>
        <textureMemoryUsage>2796536</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_snowplow</typeDesc>
        <filename>attachments/frontplow.i3d</filename>
        <size width="1.8" length="1" />
        <components>
            <component centerOfMass="0 0.3 0" solverIterationCount="20" mass="150" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="IMPLEMENT" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" hardAttach="true" jointType="skidSteer"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" delayedOnAttach="false" />
    </attachable>
	
	<animations>
        <animation name="moveSupport">
			<part node="col_support_L" startTime="0" endTime="0.5" startRot="160 0 0" endRot="0 0 0"/>
			<part node="col_support_R" startTime="0" endTime="0.5" startRot="160 0 0" endRot="0 0 0"/>
			<part node="support_L" startTime="0" endTime="0.5" startRot="160 0 0" endRot="0 0 0"/>
			<part node="support_R" startTime="0" endTime="0.5" startRot="160 0 0" endRot="0 0 0"/>
        </animation>
    </animations>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="bulk windrow" capacity="8000" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<ai>
        <agentAttachment width="2.8" height="1.65" length="2.15" lengthOffset="-0.05"/>
    </ai>
	
    <leveler fillUnitIndex="1" maxFillLevelPerMS="25" ignoreFarmlandState="true">
        <levelerNode node="0>0|8" width="0.45" zOffset="0" minDropWidth="0.7" maxDropWidth="1.3" minDropDirOffset="1.0" maxDropDirOffset="2" alignToWorldY="false"/>

        <force node="0>" maxForce="15" direction="1" />

        <pickUpDirection>1</pickUpDirection>

        <effects>
            <effectNode effectNode="0>0|3|0" effectClass="ShaderPlaneEffect" materialType="leveler" fadeTime="0.5" speed="10" />

            <effectNode effectClass="SnowPlowMotionPathEffect" effectType="SNOW_PIECES" linkNode="0>0|3|1">
                <motionPathEffect textureFilename="$data/vehicles/samasz/city180/snowLeftArray.dds" numRows="7" rowLength="23" minFade="0.15" />
                <snowPlowEffect shaderPlane="effectLeft" minScale="1 0.45 0.42" maxScale="1 0.95 0.95" scrollSpeed="-5"/>
            </effectNode>
            <effectNode effectClass="SnowPlowMotionPathEffect" effectType="SNOW_DUST" linkNode="0>0|3|1">
                <motionPathEffect textureFilename="$data/vehicles/samasz/city180/snowLeftArray.dds" numRows="7" rowLength="23" minFade="0.15" />
            </effectNode>
        </effects>
    </leveler>
	
    <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-0.4" maxZ="0.4" yOffset="0.1" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
	
	<tensionBeltObject>																											
        <meshNodes>
            <meshNode node="blade"/>
        </meshNodes>
    </tensionBeltObject>

<i3dMappings>
  <i3dMapping id="plow_maincomponent1" node="0>" />
  <i3dMapping id="blade_vis" node="0>0" />
  <i3dMapping id="blade" node="0>0|0" />
  <i3dMapping id="attacher" node="0>0|1" />
  <i3dMapping id="attacherJoint" node="0>0|2" />
  <i3dMapping id="support_L" node="0>0|5" />
  <i3dMapping id="support_R" node="0>0|6" />
  <i3dMapping id="collisions" node="0>1" />
  <i3dMapping id="col_left" node="0>1|0" />
  <i3dMapping id="col_right" node="0>1|1" />
  <i3dMapping id="col_bottom" node="0>1|2" />
  <i3dMapping id="col_top" node="0>1|3" />
  <i3dMapping id="col_support_L" node="0>1|4" />
  <i3dMapping id="col_support_R" node="0>1|5" />
</i3dMappings>

</vehicle>
