<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="implementDynamicMountAttacher" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>$l10n_shopItem_frontloaderPalletFork</name>
        <specs>
            <combination filterCategory="frontLoaders" />
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_frontloaderPalletFork</function>
			<function>$l10n_function_frontloaderBaleFork</function>
			<function>$l10n_function_frontloaderRoundBaleFork</function>
        </functions>
        <storePacks>
            <storePack>STARTER_TRANSPORT</storePack>
        </storePacks>
        <image>PalletFork/store_palletFork.png</image>
        <price>800</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
		<shopTranslationOffset>0 0.05 0</shopTranslationOffset>
        <brand>PERZL</brand>
        <category>frontLoaderTools</category>
        <vertexBufferMemoryUsage>119808</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>20736</indexBufferMemoryUsage>
        <textureMemoryUsage>917504</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>PalletFork/PalletFork.i3d</filename>
        <size width="1.4" length="1.4"/>
        <components>
            <component centerOfMass="0 0 -0.2" solverIterationCount="10" mass="155" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
	
	<designConfigurations>
        <designConfiguration name="$l10n_configurationValue_oldDesign" >
		    <objectChange node="decalOld" visibilityActive="true" visibilityInactive="false" />
		</designConfiguration>
        <designConfiguration name="$l10n_configurationValue_newDesign">
			<objectChange node="decalNew" visibilityActive="true" visibilityInactive="false" />
		</designConfiguration>
    </designConfigurations>
	
	<design2Configurations >
        <design2Configuration name="$l10n_shopItem_frontloaderPalletFork" >
			<objectChange node="forkLeft01" visibilityActive="true"  visibilityInactive="false" />
		    <objectChange node="forkRight01" visibilityActive="true"  visibilityInactive="false" />
		
			<objectChange node="forkLeft01_colFront" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="forkLeft01_colBack" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="forkRight01_colFront" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="forkRight01_colBack" compoundChildActive="true" compoundChildInactive="false"/>
		</design2Configuration>
        <design2Configuration name="$l10n_shopItem_frontloaderRoundBaleFork" price="280" >
			<objectChange node="forkLeft02" visibilityActive="true"  visibilityInactive="false" />
		    <objectChange node="forkRight02" visibilityActive="true"  visibilityInactive="false" />
			<objectChange node="forkLeft02_col" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="forkRight02_col" compoundChildActive="true" compoundChildInactive="false"/>
		</design2Configuration>
		<design2Configuration name="$l10n_shopItem_frontloaderBaleFork" price="430" >
			<objectChange node="forkLeft03" visibilityActive="true"  visibilityInactive="false" />
		    <objectChange node="forkRight03" visibilityActive="true"  visibilityInactive="false" />
		
			<objectChange node="forkLeft03_colFront" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="forkLeft03_colBack" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="forkRight03_colFront" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="forkRight03_colBack" compoundChildActive="true" compoundChildInactive="false"/>
		</design2Configuration>
    </design2Configurations>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="frontloader" />
        </inputAttacherJoints>
    </attachable>
	
	<animations>
		<animation name="forkAdjustment" >
			<part node="forkLeft"       startTime="0.3" endTime="0.5" startTrans="0.654 0.568 -0.382" endTrans="0.553 0.568 -0.382" />
			<part node="forkLeft"       startTime="1.3" endTime="1.5" startTrans="0.553 0.568 -0.382" endTrans="0.453 0.568 -0.382" />
			<part node="forkLeft"       startTime="2.3" endTime="2.5" startTrans="0.453 0.568 -0.382" endTrans="0.352 0.568 -0.382" />
			<part node="forkLeft"       startTime="3.3" endTime="3.5" startTrans="0.352 0.568 -0.382" endTrans="0.251 0.568 -0.382" />
			<part node="forkLeft"       startTime="4.3" endTime="4.5" startTrans="0.251 0.568 -0.382" endTrans="0.15 0.568 -0.382" />
		
			<part node="forkRight"      startTime="0.3" endTime="0.5" startTrans="-0.654 0.568 -0.382" endTrans="-0.553 0.568 -0.382" />
			<part node="forkRight"      startTime="1.3" endTime="1.5" startTrans="-0.553 0.568 -0.382" endTrans="-0.453 0.568 -0.382" />
			<part node="forkRight"      startTime="2.3" endTime="2.5" startTrans="-0.453 0.568 -0.382" endTrans="-0.352 0.568 -0.382" />
			<part node="forkRight"      startTime="3.3" endTime="3.5" startTrans="-0.352 0.568 -0.382" endTrans="-0.251 0.568 -0.382" />
			<part node="forkRight"      startTime="4.3" endTime="4.5" startTrans="-0.251 0.568 -0.382" endTrans="-0.15 0.568 -0.382" />
		
			<sound template="clackVar6" startTime="0.5" volumeScale="0.35" pitchScale="1.2"/>
			<sound template="clackVar6" startTime="1.5" volumeScale="0.35" pitchScale="1.2"/>
			<sound template="clackVar6" startTime="2.5" volumeScale="0.35" pitchScale="1.2"/>
			<sound template="clackVar6" startTime="3.5" volumeScale="0.35" pitchScale="1.2"/>
			<sound template="clackVar6" startTime="4.5" volumeScale="0.35" pitchScale="1.2"/>
		</animation>
	</animations>
	
	<cylindered>
		<movingTools>
			<movingTool node="forkLeft">
				<controls axis="AXIS_FRONTLOADER_TOOL2" invertAxis="true" mouseSpeedFactor="0.2" iconName="WORKING_WIDTH_TRANSLATE_X" />
				<animation animSpeed="0.7" animAcceleration="5" animName="forkAdjustment" animStartTime="0" />
			</movingTool>
		</movingTools>
  </cylindered>

    <dynamicMountAttacher node="jointNode">
        <mountCollisionMask node="forkLeft01_colBack" collisionMask="134225920" />
        <mountCollisionMask node="forkLeft03_colBack" collisionMask="134225920" />
        <mountCollisionMask node="forkRight01_colBack" collisionMask="134225920" />
		<mountCollisionMask node="forkRight03_colBack" collisionMask="134225920" />
    </dynamicMountAttacher>

    <ai>
        <agentAttachment width="1.4" height="0.6" length="1.4" lengthOffset="0"/>
    </ai>

    <baseMaterial>
        <material name="perzlFrontloadertools_mat" baseNode="palletFork_vis">
            <shaderParameter name="colorMat0" value="PERZL_YELLOW"/>
			<shaderParameter name="colorMat1" value="PERZL_RED"/>
        </material>
    </baseMaterial>

    <foliageBending>
        <bendingNode minX="-0.7" maxX="0.7" minZ="-0.6" maxZ="0.6" yOffset="0" />
    </foliageBending>

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

  <i3dMappings>
    <i3dMapping id="palletFork_main_component1" node="0>"/>
    <i3dMapping id="palletFork_vis" node="0>0"/>
    <i3dMapping id="attacherJoint" node="0>0|0|0"/>
    <i3dMapping id="decalNew" node="0>0|1|1"/>
    <i3dMapping id="decalOld" node="0>0|1|2"/>
    <i3dMapping id="jointNode" node="0>0|2"/>
    <i3dMapping id="forkLeft" node="0>0|3|0"/>
    <i3dMapping id="forkLeft01" node="0>0|3|0|0"/>
    <i3dMapping id="forkLeft01_colBack" node="0>0|3|0|0|0"/>
    <i3dMapping id="forkLeft01_colFront" node="0>0|3|0|0|1"/>
    <i3dMapping id="forkLeft02" node="0>0|3|0|1"/>
    <i3dMapping id="forkLeft02_col" node="0>0|3|0|1|0"/>
    <i3dMapping id="forkLeft03" node="0>0|3|0|2"/>
    <i3dMapping id="forkLeft03_colBack" node="0>0|3|0|2|0"/>
    <i3dMapping id="forkLeft03_colFront" node="0>0|3|0|2|1"/>
    <i3dMapping id="forkRight" node="0>0|3|1"/>
    <i3dMapping id="forkRight01" node="0>0|3|1|0"/>
    <i3dMapping id="forkRight01_colBack" node="0>0|3|1|0|0"/>
    <i3dMapping id="forkRight01_colFront" node="0>0|3|1|0|1"/>
    <i3dMapping id="forkRight02" node="0>0|3|1|1"/>
    <i3dMapping id="forkRight02_col" node="0>0|3|1|1|0"/>
    <i3dMapping id="forkRight03" node="0>0|3|1|2"/>
    <i3dMapping id="forkRight03_colBack" node="0>0|3|1|2|0"/>
    <i3dMapping id="forkRight03_colFront" node="0>0|3|1|2|1"/>
  </i3dMappings>
</vehicle>
