<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="shovel">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.LS-Sonderbauten</annotation>
    <storeData>
        <name>Ruka hnuj</name>
        <image>Store/Store_Mist.dds</image>
        <price>14500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>FORTSCHRITT</brand>
        <category>skidSteerVehicles</category>
		<shopTranslationOffset>0 0.6 0</shopTranslationOffset>
        <shopRotationOffset>0.5 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1804740</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>433242</indexBufferMemoryUsage>
        <textureMemoryUsage>15379440</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
   
    <base>
		<typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>GREIFER_NEU2.i3d</filename>
        <size width="2.5" length="2"/>
        <components>
            <component centerOfMass="0.00 -0.345 0.00" solverIterationCount="10" mass="500"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>2" jointType="frontloader" hardAttach="true" allowsLowering="false"/>
        </inputAttacherJoints>
    </attachable>
	
	<foldable>
        <foldingParts>
            <foldingPart animationName="folding" speedScale="1"/>
        </foldingParts>
    </foldable>
    
	<animations>
		 <animation name="folding">
		    <part node="0>0|0" startTime="0.1" duration="1" startRot="0 0 0" endRot="0 0 60" />
			<part node="0>0|3" referencePoint="0>0|0|0" referenceFrame="0>0|0|0"/>
            <part node="0>0|1" startTime="0.1" duration="1.08" startRot="0 0 0" endRot="0 0 -60" />
			<part node="0>0|4" referencePoint="0>0|1|0" referenceFrame="0>0|1|0"/>
     </animation>
	</animations>
	
    <cylindered>
        <movingTools>
            <movingTool node="0>0|0">
                <controls axis="TOOL21" invertAxis="false"/>
                <rotation rotSpeed="65" rotAcceleration="650" rotMax="60" rotMin="-5" rotationAxis="3"/>
                <dependentPart node="0>0|3"/>
            </movingTool>
            <movingTool node="0>0|1">
                <controls axis="TOOL21" invertAxis="true"/>
                <rotation rotSpeed="65" rotAcceleration="650" rotMax="5" rotMin="-60" rotationAxis="3"/>
                <dependentPart node="0>0|4"/>
            </movingTool>
            <movingTool node="0">
                <controls axis="AXIS_CRANE_TOOL2" invertAxis="true"/>
                <rotation rotSpeed="-80" rotAcceleration="250" rotationAxis="2"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="0>0|3" referencePoint="0>0|0|0" referenceFrame="0>0|0|0">
                <translatingPart node="0>0|3|0"/>
            </movingPart>
            <movingPart node="0>0|4" referencePoint="0>0|1|0" referenceFrame="0>0|1|0">
                <translatingPart node="0>0|4|0"/>
            </movingPart>
        </movingParts>
		
		<sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" file="sounds/windmill_squeak_01_loop.wav" linkNode="Greifer"/>
        </sounds>
	</cylindered>
	 <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk windrow" capacity="5000" > <!-- width 2,40m -->
                        <exactFillRootNode node="0>0|0|2" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>0|2" allSidePlanes="true" maxDelta="0.5" maxAllowedHeapAngle="60" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <loadInfos>
            <loadInfo>
                <node node="0>8|1" width="1.1" length="0.1" />
            </loadInfo>
        </loadInfos>

        <unloadInfos>
            <unloadInfo>
                <node node="0>8|2" width="1.1" length="0.1" />
            </unloadInfo>
        </unloadInfos>
    </fillVolume>
	
	<dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="0>8|0" fillUnitIndex="1" emptySpeed="1400" >
            <raycast node="0>8|0" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
            <info width="2.0" length="1" zOffset="0.5"/>

            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>7" effectClass="ParticleEffect" lifespan="0.2"/>
                    <effectNode effectNode="0>6|0" materialType="unloading" materialTypeId="3" fadeTime="0.5"  />
                </effectNode>
                <effectNode effectNode="0>6|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>
	
	<shovel>
        <shovelNode node="0>5" width="0.5" length="0.5" yOffset="-0.05"/>
        <dischargeInfo node="0>0|1|1" minSpeedAngle="80" maxSpeedAngle="90"/>
    </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"/>
	
	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|6|0"  length="1" diameter="0.01" straighteningFactor="0.5">
            <objectChange node="0>0|6|0|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="0>0|6|1" length="1" diameter="0.01" straighteningFactor="0.5">
            <objectChange node="0>0|6|1|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>
	
	<i3dMappings>
        <i3dMapping id="Greifer" node="0>" />
    </i3dMappings>
</vehicle>
