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

    <storeData>
        <name>TL8 Bucket</name>
        <specs>
            <combination filterCategory="skidSteerVehicles"/>
        </specs>
        <image>bucket.dds</image>
        <price>100</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>TAKEUCHI</brand>
        <category>skidSteerTools</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>bucket.i3d</filename>
        <size width="2.5" length="2"/>
        <components>
            <component centerOfMass="0 0.08 -0.03" solverIterationCount="10" mass="200" />
        </components>
       <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
	
	<designConfigurations title="Bucket Teeth">
		<designConfiguration name="No"> 
		</designConfiguration>
		<designConfiguration name="Yes"> 
			<objectChange node="bucket_teeth" visibilityActive="true" visibilityInactive="false" />
		</designConfiguration>
	</designConfigurations> 

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="skidSteer" />
        </inputAttacherJoints>
    </attachable>
	
	<tensionBeltObject>
        <meshNodes>
            <meshNode node="bucket"/>
        </meshNodes>
    </tensionBeltObject>
   
	 <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="LITER" fillTypeCategories="SHOVEL" capacity="1285" updateMass="false" >
                        <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="fillVolumeShape" allSidePlanes="true" maxAllowedHeapAngle="60" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

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

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

    
    <ai>
        <agentAttachment width="2.5" height="1.0" length="1.2" lengthOffset="0.1"/>
    </ai>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" fillUnitIndex="1" emptySpeed="1400" >
            <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" lifespan="0.3"/>
                    <effectNode effectNode="grainEffect" materialType="unloading" materialTypeId="1" fadeTime="0.5" alignXAxisToWorldY="true" />
                </effectNode>
                <effectNode effectNode="smokeEffect"  materialType="unloadingSmoke"  materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>

    <shovel>
        <shovelNode node="pickUpNode" fillUnitIndex="1" loadInfoIndex="1" width="2.4" length="0.5" needsMovement="true" maxPickupAngle="100"/>
        <dischargeInfo node="dischargeNode" minSpeedAngle="100" maxSpeedAngle="180" />
    </shovel>

    <foliageBending>
        <bendingNode minX="-1.2" maxX="1.2" minZ="-0.5" maxZ="0.55" yOffset="0.02" />
    </foliageBending>



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

<i3dMappings>
  <i3dMapping id="bucket_mainComp" node="0>" />
  <i3dMapping id="Cube.003" node="0>0" />
  <i3dMapping id="Cube.004" node="0>1" />
  <i3dMapping id="Cube.005" node="0>2" />
  <i3dMapping id="Cube.006" node="0>3" />
  <i3dMapping id="exactFillRootNode" node="0>4" />
  <i3dMapping id="shovel" node="0>5" />
  <i3dMapping id="hydraulicRef" node="0>5|0" />
  <i3dMapping id="dischargeNode" node="0>5|1" />
  <i3dMapping id="emitterShape" node="0>5|2" />
  <i3dMapping id="effectNodeRot" node="0>5|3" />
  <i3dMapping id="grainEffect" node="0>5|3|0" />
  <i3dMapping id="smokeEffect" node="0>5|3|1" />
  <i3dMapping id="pickUpNode" node="0>5|4" />
  <i3dMapping id="fillVolume" node="0>5|5" />
  <i3dMapping id="fillVolumeLoadNode" node="0>5|5|0" />
  <i3dMapping id="fillVolumeUnloadNode" node="0>5|5|1" />
  <i3dMapping id="fillVolumeShape" node="0>5|5|2" />
  <i3dMapping id="attacherJoint" node="0>6" />
  <i3dMapping id="bucket" node="0>7" />
  <i3dMapping id="bucket_teeth" node="0>8" />
</i3dMappings>
</vehicle>
