<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="shovelLeveler" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>FS Miner build it for fs25.</annotation>

    <storeData>
       <name>
        <en>Wheel Loader WoodChips Shovel</en> 
       <!--  <de>Radlader Magsi Schaufel</de> -->
	  </name>
        <specs>
            <combination filterCategory="wheelLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_frontloaderShovel</function>
        </functions>
        <image>store_WheelLoaderShoveW.dds</image>
        <price>14000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>wheelLoaderTools</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_wheelLoaderTool</typeDesc>
        <filename>shovelWheelLoaderWoodChipss.i3d</filename>
        <size width="3.5" length="2" height="1.8" lengthOffset="1" />
        <components>
            <component centerOfMass="0 0.1 -0.03" solverIterationCount="10" mass="500" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

  <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="wheelLoader"/>
        </inputAttacherJoints>
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="1.5" diameter="0.028" straighteningFactor="2" isTwoPointHose="true" outgoingAdapter="DEFAULT"   />
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="1.5" diameter="0.028" straighteningFactor="2" isTwoPointHose="true" outgoingAdapter="DEFAULT"  />
		
		
		 <localHose>
            <hose type="hydraulicIn" node="h1" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h21" straighteningFactor="0.1" />
        </localHose> 
		 <localHose>
            <hose type="hydraulicIn" node="h2" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h11" straighteningFactor="0.1" />
        </localHose> 
		
		
		 <localHose>
            <hose type="hydraulicIn" node="h3" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h31" straighteningFactor="0.1" />
        </localHose> 
		 <localHose>
            <hose type="hydraulicIn" node="h4" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h41" straighteningFactor="0.1" />
        </localHose> 
		 <localHose>
            <hose type="hydraulicIn" node="h5" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h51" straighteningFactor="0.1" />
        </localHose> 
		 <localHose>
            <hose type="hydraulicIn" node="h6" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h61" straighteningFactor="0.1" />
        </localHose> 
		 <localHose>
            <hose type="hydraulicIn" node="h7" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h71" straighteningFactor="0.1" />
        </localHose> 
		 <localHose>
            <hose type="hydraulicIn" node="h8" length="0.1" diameter="0.025" straighteningFactor="0.1" isWorldSpaceHose="true" />
            <target attacherJointIndices="0" type="hydraulic" node="h81" straighteningFactor="0.1" />
        </localHose> 
		
		
    </connectionHoses>

    <cylindered>
        <movingTools>
            <movingTool node="bucketRot" playSound="true" >
                <controls axis="AXIS_FRONTLOADER_TOOL2" invertAxis="false" mouseSpeedFactor="0.2" iconName="TOOL_OPEN_CLOSE" />
                <rotation rotationAxis="1" rotSpeed="40" rotAcceleration="250" rotMax="67" rotMin="0" />
                <dependentPart node="tubes" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="tubes" referencePoint="tubesRef" referenceFrame="tubesRef" >
                <translatingPart node="tubes1" />
            </movingPart>

        </movingParts>

       <sounds>
            <actionSound template="hydraulicOpen05"    volumeScale="1.8" pitchScale="1.7"      linkNode="bucketRot" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG"                     nodes="bucketRot" fadeIn="0.1" fadeOut="0.1"/>
            <actionSound template="hydraulicClose01"    volumeScale="2.8" pitchScale="0.7"     linkNode="bucketRot" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG"                     nodes="bucketRot" fadeIn="0.1" fadeOut="0.1"/>
            <actionSound template="clackVar6"          volumeScale="4"   pitchScale="0.7"      linkNode="bucketRot" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="bucketRot"/>
            <actionSound template="cylinderPunch"      volumeScale="0.8" pitchScale="1.2"      linkNode="bucketRot" actionNames="TOOL_MOVE_END_POS_LIMIT"                         nodes="bucketRot"/>
            <actionSound template="cylinderPunch"      volumeScale="0.8" pitchScale="1"        linkNode="bucketRot" actionNames="TOOL_MOVE_END_NEG_LIMIT"                         nodes="bucketRot"/>
            <actionSound template="metalClose"         volumeScale="1.0" pitchScale="2"        linkNode="bucketRot" actionNames="TOOL_MOVE_END_NEG_LIMIT"                         nodes="bucketRot"/>
        </sounds>
    </cylindered>

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

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume01" maxAllowedHeapAngle="20" fillUnitIndex="1" maxSubDivEdgeLength="0.6" />
                     <volume node="fillVolume02" maxAllowedHeapAngle="20" fillUnitIndex="1" maxSubDivEdgeLength="0.6" />
                    <volume node="fillVolume03" maxAllowedHeapAngle="20" fillUnitIndex="1" maxSubDivEdgeLength="0.6" /> 
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

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

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

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

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

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

    <leveler fillUnitIndex="2" maxFillLevelPerMS="30">
        <levelerNode node="levelerNode" width="2.9" zOffset="0.9" minDropWidth="1.5" maxDropWidth="3" 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="3.75" height="1.9" length="2.05" lengthOffset="0.05"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-0.7" maxZ="0.75" yOffset="0.02" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
	
	<baseColorConfigurations useDefaultColors="true" defaultColorIndex="7" title="body" >

        <material materialSlotName="shovel_mat"/>
    </baseColorConfigurations>
	
<i3dMappings>
  <i3dMapping id="mainComp" node="0>" />
  <i3dMapping id="mainVis" node="0>0" />
  <i3dMapping id="attachable" node="0>0|0" />
  <i3dMapping id="attacherJoint" node="0>0|0|0" />
  <i3dMapping id="bucketRot" node="0>0|1" />
  <i3dMapping id="bucket1" node="0>0|1|0" />
  <i3dMapping id="collissions" node="0>0|1|1" />
  <i3dMapping id="col.001" node="0>0|1|1|0" />
  <i3dMapping id="col.002" node="0>0|1|1|1" />
  <i3dMapping id="col.003" node="0>0|1|1|2" />
  <i3dMapping id="col.004" node="0>0|1|1|3" />
  <i3dMapping id="col.005" node="0>0|1|1|4" />
  <i3dMapping id="shovelNodes" node="0>0|1|2" />
  <i3dMapping id="pickUpNode" node="0>0|1|2|0" />
  <i3dMapping id="dischargeNode" node="0>0|1|2|1" />
  <i3dMapping id="levelerNode" node="0>0|1|2|2" />
  <i3dMapping id="fillVolumeLoadNode" node="0>0|1|2|3" />
  <i3dMapping id="fillVolumeUnloadNode" node="0>0|1|2|4" />
  <i3dMapping id="effects" node="0>0|1|2|5" />
  <i3dMapping id="smokeEffect" node="0>0|1|2|5|0" />
  <i3dMapping id="emitterShape" node="0>0|1|2|5|1" />
  <i3dMapping id="grainEffect" node="0>0|1|2|5|2" />
  <i3dMapping id="exactFillRootNode" node="0>0|1|2|6" />
  <i3dMapping id="fillUnit" node="0>0|1|2|7" />
  <i3dMapping id="fillVolume01" node="0>0|1|2|7|0" />
  <i3dMapping id="fillVolume02" node="0>0|1|2|7|1" />
  <i3dMapping id="fillVolume03" node="0>0|1|2|7|2" />
  <i3dMapping id="tubesRef" node="0>0|1|3" />
  <i3dMapping id="hoses" node="0>0|2" />
  <i3dMapping id="h1" node="0>0|2|0" />
  <i3dMapping id="h11" node="0>0|2|1" />
  <i3dMapping id="h2" node="0>0|2|2" />
  <i3dMapping id="h21" node="0>0|2|3" />
  <i3dMapping id="h3" node="0>0|2|4" />
  <i3dMapping id="h31" node="0>0|2|5" />
  <i3dMapping id="h4" node="0>0|2|6" />
  <i3dMapping id="h41" node="0>0|2|7" />
  <i3dMapping id="h5" node="0>0|2|8" />
  <i3dMapping id="h6" node="0>0|2|9" />
  <i3dMapping id="h7" node="0>0|2|10" />
  <i3dMapping id="h8" node="0>0|2|11" />
  <i3dMapping id="hydraulicIn01" node="0>0|2|12" />
  <i3dMapping id="hydraulicOut01" node="0>0|2|13" />
  <i3dMapping id="main1" node="0>0|3" />
  <i3dMapping id="tubesRot" node="0>0|4" />
  <i3dMapping id="h51" node="0>0|4|0" />
  <i3dMapping id="h61" node="0>0|4|1" />
  <i3dMapping id="h71" node="0>0|4|2" />
  <i3dMapping id="h81" node="0>0|4|3" />
  <i3dMapping id="tubes" node="0>0|4|4" />
  <i3dMapping id="tubes1" node="0>0|4|4|0" />
</i3dMappings>
</vehicle>
