<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="leveler" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs25/vehicle.xsd">
    <annotation>Copyright (C) North Modding Company AB, All Rights Reserved.</annotation>

    <storeData>
		<name>$l10n_storeItem_dozerBlade</name>
        <specs>
            <workingWidth>3</workingWidth>
            <combination filterCategory="wheelLoaderVehicles" />
            <combination filterCategory="teleLoaderVehicles" />
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_snowPlow</function>
        </functions>
        <image>dozerBlade/store_dozerBlade.dds</image>
        <price>1200</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand customIcon="$data/store/brands/brand_bmVolvo.png" imageOffset="0">VOLVO</brand>
        <category>winterEquipment wheelLoaderTools</category>
        <vertexBufferMemoryUsage>128256</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>40960</indexBufferMemoryUsage>
        <textureMemoryUsage>917504</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_snowPlow</typeDesc>
        <filename>dozerBlade/dozerBlade.i3d</filename>
        <size width="3.5" length="1.6" height="1" lengthOffset="-0.003628"/>
        <components>
            <component centerOfMass="0 0.5 -0.1" solverIterationCount="20" mass="480"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>
		<inputAttacherJointConfigurations>
            <inputAttacherJointConfiguration name="$l10n_configuration_valueDefault" price="0" isSelectable="false">
                <inputAttacherJoint node="attacherJoint" jointType="wheelLoader">
                    <subType name="lillaBM" showWarning="false"/>
                </inputAttacherJoint>
				<objectChange node="adapters" visibilityActive="false" visibilityInactive="true"/>
			</inputAttacherJointConfiguration>
            <inputAttacherJointConfiguration name="$l10n_configuration_inputAttacherWheelLoader" price="0" isDefault="true">
                <inputAttacherJoint node="wheelLoaderAttacherJoint" jointType="wheelLoader"/>
                <objectChange node="wheelLoader" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="colPart04" compoundChildActive="true" compoundChildInactive="false"/>
			</inputAttacherJointConfiguration>	
            <inputAttacherJointConfiguration name="$l10n_typeDesc_frontloader" price="0">
                <inputAttacherJoint node="frontLoaderAttacherJoint" jointType="frontloader"/>
                <objectChange node="frontLoader" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="colPart05" compoundChildActive="true" compoundChildInactive="false"/>
			</inputAttacherJointConfiguration>
			<inputAttacherJointConfiguration name="$l10n_typeDesc_telehandler" price="0">
                <inputAttacherJoint node="telehandlerAttacherJoint" jointType="telehandler"/>
                <objectChange node="telehandler" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="colPart04" compoundChildActive="true" compoundChildInactive="false"/>
			</inputAttacherJointConfiguration>
        </inputAttacherJointConfigurations>
    </attachable>

	<foldable>
        <foldingConfigurations>
            <foldingConfiguration>
				<foldingParts>
                    <foldingPart animationName="foldDozerBlade" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

	<animations>
		<animation name="foldDozerBlade">
			<part node="blade" startTime="0" endTime="1" startTrans="-0.133 0.695 -0.072" endTrans="0.133 0.695 -0.072" startRot="0 -20 0" endRot="0 20 0"/>
			<part node="pin3" startTime="0" endTime="0.35" startTrans="0.805 -0.25 -0.022" endTrans="0.805 0.297 -0.022"/>
			<part node="pin3" startTime="0.35" endTime="0.65" startTrans="0.805 0.297 -0.022" endTrans="-0.805 0.297 -0.022"/>
			<part node="pin3" startTime="0.65" endTime="1" startTrans="-0.805 0.297 -0.022" endTrans="-0.805 -0.25 -0.022"/>
			<part node="flapRot" startTime="0" endTime="0.2" startTrans="0.503 0.45 -0.23" endTrans="-0.503 0.45 -0.23"/>
			<part node="flap" startTime="0" endTime="0.1" startRot="0 17.536 0" endRot="0 -17.536 0"/>
			<part node="flap" startTime="0" endTime="0.01" visibility="true"/>
			<part node="flap" startTime="0.01" endTime="0.99" visibility="false"/>
			<part node="flap" startTime="0.99" endTime="1" visibility="true"/>

            <sound template="metalClose" startTime="0.01" direction="-1" volumeScale="0.8" pitchScale="1.8" linkNode="blade"/>
            <sound template="metalClose" startTime="0.99" direction="-1" volumeScale="0.8" pitchScale="1.8" linkNode="blade"/>
            <sound template="metalClose" startTime="0.01" direction="1" volumeScale="0.8" pitchScale="1.8" linkNode="blade"/>
            <sound template="metalClose" startTime="0.99" direction="1" volumeScale="0.8" pitchScale="1.8" linkNode="blade"/>
            <sound template="hingeMedium" startTime="0" endTime="1" linkNode="blade"/>
        </animation>
    </animations>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_valueDefault">
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="SNOW" capacity="10000" showInShop="false" showOnHud="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <leveler fillUnitIndex="1" maxFillLevelPerMS="25" ignoreFarmlandState="true">
        <levelerNode node="levelerNode" width="3" minDropWidth="3.4" maxDropWidth="3.8" minDropDirOffset="1" maxDropDirOffset="2" alignToWorldY="false"/>

        <force node="dozerBlade_main_component1" maxForce="30" direction="1" />

        <pickUpDirection>1</pickUpDirection>

        <effects>
            <effectNode effectNode="effectMesh" effectClass="ShaderPlaneEffect" materialType="leveler" fadeTime="0.5" speed="10" />

            <effectNode effectClass="SnowPlowMotionPathEffect" effectType="SNOW_PIECES" linkNode="snowEffectNode">
                <motionPathEffect textureFilename="dozerBlade/snowArray.dds" numRows="13" rowLength="27" minFade="0.15" />
                <snowPlowEffect shaderPlane="effectMesh" minScale="1 0.434568 0.354536" maxScale="1 1 1" scrollSpeed="-5"/>
            </effectNode>
            <effectNode effectClass="SnowPlowMotionPathEffect" effectType="SNOW_DUST" linkNode="snowEffectNode">
                <motionPathEffect textureFilename="dozerBlade/snowArray.dds" numRows="13" rowLength="27" minFade="0.15" />
            </effectNode>
        </effects>
    </leveler>

    <ai>
        <agentAttachment width="3.05" height="1" length="1.5" lengthOffset="-0.003628"/>
    </ai>

	<foliageBending>
        <bendingNode minX="-0.58" maxX="0.58" minZ="-0.74" maxZ="-0.25" yOffset="0.2" />
        <bendingNode minX="-1.5" maxX="1.5" minZ="-0.1" maxZ="0.23" yOffset="-0.5" node="blade"/>
    </foliageBending>

	<baseColorConfigurations title="$l10n_configuration_baseColor" useDefaultColors="true" price="500">
        <baseColorConfiguration materialTemplateName="VOLVO_BM_YELLOW1" isDefault="true"/>
        <material materialSlotName="base_color_mat"/>
    </baseColorConfigurations>

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

    <i3dMappings>
        <i3dMapping id="dozerBlade_main_component1" node="0>" />
        <i3dMapping id="dozerBlade_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="adapters" node="0>0|0|1" />
        <i3dMapping id="frontLoader" node="0>0|0|1|0" />
        <i3dMapping id="frontLoaderAttacherJoint" node="0>0|0|1|0|0" />
        <i3dMapping id="telehandler" node="0>0|0|1|1" />
        <i3dMapping id="telehandlerAttacherJoint" node="0>0|0|1|1|0" />
        <i3dMapping id="wheelLoader" node="0>0|0|1|2" />
        <i3dMapping id="wheelLoaderAttacherJoint" node="0>0|0|1|2|0" />
        <i3dMapping id="blade" node="0>0|1|0" />
        <i3dMapping id="effectMesh" node="0>0|1|0|0|0" />
        <i3dMapping id="snowEffectNode" node="0>0|1|0|0|1" />
        <i3dMapping id="levelerNode" node="0>0|1|0|2" />
        <i3dMapping id="pin3" node="0>0|1|0|3" />
        <i3dMapping id="flapRot" node="0>0|1|1" />
        <i3dMapping id="flap" node="0>0|1|1|0" />
        <i3dMapping id="colPart04" node="0>1|0" />
        <i3dMapping id="colPart05" node="0>1|1" />
    </i3dMappings>
</vehicle>
