<?xml version='1.0' encoding='utf-8'?>
<vehicle type="shovelLeveler" 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_snowBucket</name>
		<specs>
            <combination filterCategory="wheelLoaderVehicles" />
            <combination filterCategory="teleLoaderVehicles" />
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_frontloaderShovel</function>
        </functions>
        <image>snowBucket/store_snowBucket.dds</image>
        <price>900</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand customIcon="$data/store/brands/brand_bmVolvo.png" imageOffset="0">VOLVO</brand>
        <category>winterEquipment wheelLoaderTools</category>
        <vertexBufferMemoryUsage>87808</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>26880</indexBufferMemoryUsage>
        <textureMemoryUsage>1638400</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_wheelLoaderTool</typeDesc>
        <filename>snowBucket/snowBucket.i3d</filename>
        <size length="1.5" width="2.5" height="1.4"/>
        <components>
            <component centerOfMass="0 0.1 -0.06" mass="355" solverIterationCount="10" />
        </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"/>
			</inputAttacherJointConfiguration>	
            <inputAttacherJointConfiguration name="$l10n_typeDesc_frontloader" price="0">
                <inputAttacherJoint node="frontLoaderAttacherJoint" jointType="frontloader"/>
                <objectChange node="frontLoader" visibilityActive="true" visibilityInactive="false"/>
			</inputAttacherJointConfiguration>
			<inputAttacherJointConfiguration name="$l10n_typeDesc_telehandler" price="0">
                <inputAttacherJoint node="telehandlerAttacherJoint" jointType="telehandler"/>
                <objectChange node="telehandler" visibilityActive="true" visibilityInactive="false"/>
			</inputAttacherJointConfiguration>
        </inputAttacherJointConfigurations>
    </attachable>

    <cylindered>
        <movingParts>
            <movingPart node="grainEffectBendBoneMove" referenceFrame="grainEffectBendBoneRefFrame" alignToWorldY="true" isActiveDirty="true" maxUpdateDistance="150"/>
        </movingParts>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="LITER" fillTypeCategories="SHOVEL" capacity="2500" >
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="SHOVEL" capacity="10000" showInShop="false" showOnHud="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxAllowedHeapAngle="20" maxDelta="1" fillUnitIndex="1" maxSubDivEdgeLength="0.7" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <loadInfos>
            <loadInfo>
                <node node="fillVolumeLoadNode" width="2.0" length="0.1" />
            </loadInfo>
        </loadInfos>

        <unloadInfos>
            <unloadInfo>
                <node node="fillVolumeUnloadNode" width="2.0" length="0.1" />
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" fillUnitIndex="1" emptySpeed="3000" >
            <raycast node="dischargeNode" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
            <info width="2.0" length="1" zOffset="0.5"/>

            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="emitterShape" effectClass="ParticleEffect" materialType="unloadingParticle"/>
                    <effectNode effectNode="grainEffect" materialType="unloading" fadeTime="0.5" extraDistance="0.15"/>
                </effectNode>
                <effectNode effectNode="smokeEffect" materialType="unloadingSmoke" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>

    <shovel>
        <shovelNode node="pickUpNode" fillUnitIndex="1" loadInfoIndex="1" width="2.2" length="0.5" needsMovement="true" maxPickupAngle="105" ignoreFarmlandState="true"/>
        <dischargeInfo node="dischargeNode" minSpeedAngle="105" maxSpeedAngle="130"/>
    </shovel>

    <leveler fillUnitIndex="2" maxFillLevelPerMS="30">
        <levelerNode node="levelerNode" width="1.8" zOffset="0.2" minDropWidth="1" maxDropWidth="2.8" minDropDirOffset="1" maxDropDirOffset="1.5" minFillLevel="0.85">
            <smoothing allowed="true" radius="0.5" overlap="1.7" direction="0"/>
        </levelerNode>

        <pickUpDirection>1</pickUpDirection>
    </leveler>

    <suspensions>
        <suspension node="levelerNode" weight="150" minTranslation="0 -0.5 0.0" maxTranslation="0.0 0.5 0.0" suspensionParametersX="20 4" suspensionParametersY="1 1" suspensionParametersZ="20 4" serverOnly="true"/>
    </suspensions>

    <ai>
        <agentAttachment width="2.25" height="1.4" length="1.4" lengthOffset="0.025124"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.1" maxX="1.1" minZ="-0.578" maxZ="0.727" yOffset="0.02" />
    </foliageBending>

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

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

    <i3dMappings>
        <i3dMapping id="snowBucket_main_component1" node="0>" />
        <i3dMapping id="snowBucket_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="emitterShape" node="0>0|1|0" />
        <i3dMapping id="smokeEffect" node="0>0|1|1" />
        <i3dMapping id="grainEffect" node="0>0|1|2" />
        <i3dMapping id="grainEffectBendBoneRefFrame" node="0>0|1|3|0" />
        <i3dMapping id="grainEffectBendBoneMove" node="0>0|1|3|0|0" />
        <i3dMapping id="fillVolume" node="0>0|2|0" />
        <i3dMapping id="exactFillRootNode" node="0>0|2|1" />
        <i3dMapping id="dischargeNode" node="0>0|2|2" />
        <i3dMapping id="pickUpNode" node="0>0|2|3" />
        <i3dMapping id="levelerNode" node="0>0|2|4" />
        <i3dMapping id="fillVolumeLoadNode" node="0>0|2|5" />
        <i3dMapping id="fillVolumeUnloadNode" node="0>0|2|6" />
        <i3dMapping id="grid" node="0>0|3|0" />
    </i3dMappings>
</vehicle>
