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

    <storeData>

        <name>
			<en>$l10n_shopItem_frontloaderShovel</en>
			<ru>Универсальный ковш 0,65 куба</ru>
		</name>		
		
		
        <specs>
            <combination>Barnaul 0.8</combination>
        </specs>
        <image>store/storeShovel13.png</image>
        <price>1200</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>BARNAUL</brand>
        <category>frontLoaders</category>
        <vertexBufferMemoryUsage>58704</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>12372</indexBufferMemoryUsage>
        <textureMemoryUsage>8563512</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>tools/ToolShovel065.i3d</filename>
        <size width="2.5" length="2"/>
        <components>
            <component centerOfMass="0 0.08 -0.03" solverIterationCount="10" mass="150" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="frontloader" />
        </inputAttacherJoints>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJointBack" topReferenceNode="topReferenceNodeBack" jointType="implement" isControllable="true" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0" upperRotationOffset="0" >
                <distanceToGround lower="0.48" upper="2" />
            </inputAttacherJoint>
        </inputAttacherJoints>		
    </attachable>

    <attachable>
        <inputAttacherJointConfigurations>
            <inputAttacherJointConfiguration name="$l10n_configuration_inputAttacherfrontLoaders" price="0">
                <inputAttacherJoint node="attacherJoint" jointType="frontloader" />

            </inputAttacherJointConfiguration>		
            <inputAttacherJointConfiguration name="$l10n_configuration_3points" price="0">
				<inputAttacherJoint node="attacherJointBack" topReferenceNode="topReferenceNodeBack" jointType="implement" isControllable="true" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0" upperRotationOffset="0" />
                <distanceToGround lower="0.48" upper="2" />

            </inputAttacherJointConfiguration>		
        </inputAttacherJointConfigurations>
    </attachable>	
	
	
	
	
	
    <attacherJointControl maxTiltAngle="25">
        <control controlFunction="controlAttacherJointHeight" controlAxis="AXIS_HYDRAULICATTACHER1" invertControlAxis="true" mouseSpeedFactor="0.3" iconName="IMPLEMENT_ATTACHER_TRANS"/>
        <control controlFunction="controlAttacherJointTilt"   controlAxis="AXIS_HYDRAULICATTACHER2" invertControlAxis="true" mouseSpeedFactor="0.3" iconName="IMPLEMENT_ATTACHER_ROTX"/>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="shovel065" />
        </sounds>
    </attacherJointControl>	
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk windrow" capacity="1100" > <!-- width 2,40m -->
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" allSidePlanes="false" 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>

    <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" lifespan="0.2"/>
                    <effectNode effectNode="grainEffect" materialType="unloading" materialTypeId="1" fadeTime="0.5" alignXAxisToWorldY="true" />
                </effectNode>
                <effectNode effectNode="smokeEffect" materialType="smoke" 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="105"/>
        <dischargeInfo node="dischargeNode" minSpeedAngle="105" maxSpeedAngle="180" />
    </shovel>

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

    <baseMaterial>
        <material name="Shover13" baseNode="Shovel_Vis">
            <shaderParameter name="colorMat0" value="0.00 0.23 0.79 6"/>
        </material>
		<material name="Shover13_2" baseNode="designSH">
            <shaderParameter name="colorMat0" value="0.00 0.23 0.79 6"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="200" useDefaultColors="false" defaultColorIndex="0.00 0.23 0.79 6">
        <baseMaterialConfiguration color="0.00 0.23 0.79 6"/>
        <baseMaterialConfiguration color="0.94 0.60 0.00 6"/>
        <baseMaterialConfiguration color="0.42 0.04 0.02 6"/>
        <baseMaterialConfiguration color="0.07 0.08 0.09 6"/>		
        <material name="Shover13"   shaderParameter="colorMat0" />
		<material name="Shover13_2" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>	

	<designConfigurations title="$l10n_configuration_design">
	    <designConfiguration name="Стандарт" price="0">
            <objectChange node="designSH" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="Усиленный" price="300">
            <objectChange node="designSH" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>		
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="shovel065" node="0>" />
        <i3dMapping id="attacherJoint" node="0>0" />
        <i3dMapping id="Shovel_Vis" node="0>1" />
        <i3dMapping id="fillVolume" node="0>1|0|0" />
        <i3dMapping id="fillVolumeLoadNode" node="0>1|0|1" />
        <i3dMapping id="fillVolumeUnloadNode" node="0>1|0|2" />
        <i3dMapping id="dischargeNode" node="0>1|1" />
        <i3dMapping id="emitterShape" node="0>1|2" />
        <i3dMapping id="grainEffect" node="0>1|3|0" />
        <i3dMapping id="smokeEffect" node="0>1|3|1" />
        <i3dMapping id="pickUpNode" node="0>1|4" />
        <i3dMapping id="exactFillRootNode" node="0>1|5" />
        <i3dMapping id="designSH" node="0>1|6" />

        <i3dMapping id="attacherJointBack" node="0>2" />
        <i3dMapping id="topReferenceNodeBack" node="0>3" />			
    </i3dMappings>
</vehicle>
