<?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>BTG</name>
        <specs>
            <combination filterCategory="frontLoaders" />
            <combination filterCategory="frontLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_frontloaderBaleFork</function>
        </functions>
        <storePacks>
            <storePack>STARTER_FORAGE</storePack>
        </storePacks>
        <image>BTG/store_btg.png</image>
        <price>550</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
		<shopTranslationOffset>0 0.05 0</shopTranslationOffset>
        <brand>PERZL</brand>
        <category>frontLoaderTools</category>
        <vertexBufferMemoryUsage>147200</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>27392</indexBufferMemoryUsage>
        <textureMemoryUsage>917504</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_frontloaderTool</typeDesc>
        <filename>BTG/BTG.i3d</filename>
        <size width="2" length="2.4"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="90" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
	
	<designConfigurations>
        <designConfiguration name="$l10n_configurationValue_oldDesign" >
		    <objectChange node="decalOld" visibilityActive="true" visibilityInactive="false" />
		    <objectChange node="decalOld_2Spikes" visibilityActive="true" visibilityInactive="false" />
		</designConfiguration>
        <designConfiguration name="$l10n_configurationValue_newDesign">
			<objectChange node="decalNew" visibilityActive="true" visibilityInactive="false" />
		    <objectChange node="decalNew_2Spikes" visibilityActive="true" visibilityInactive="false" />
		</designConfiguration>
    </designConfigurations>
	
	<design2Configurations >
        <design2Configuration name="$l10n_configurationValue_2Spikes" >
			<objectChange node="2Spikes_vis" visibilityActive="true" visibilityInactive="false" />
			<objectChange node="decalDefault" visibilityActive="false" visibilityInactive="true" />
			
			<objectChange node="colPart_2Spikes" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="colPartBack_2Spikes" compoundChildActive="true" compoundChildInactive="false"/>
		</design2Configuration>
        <design2Configuration name="$l10n_configurationValue_3Spikes" price="150" >
			<objectChange node="3Spikes_vis" visibilityActive="true" visibilityInactive="false" />
			
			<objectChange node="colPart_3Spikes" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="colPartBack_3Spikes" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="collision_3Spikes" compoundChildActive="true" compoundChildInactive="false"/>
		</design2Configuration>
		<design2Configuration name="$l10n_configurationValue_4Spikes" price="300" >
			<objectChange node="4Spikes_vis" visibilityActive="true" visibilityInactive="false" />
			
			<objectChange node="colPart_4Spikes" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="colPartBack_4Spikes" compoundChildActive="true" compoundChildInactive="false"/>
			<objectChange node="collision_4Spikes" compoundChildActive="true" compoundChildInactive="false"/>
		</design2Configuration>
    </design2Configurations>

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

    <dynamicMountAttacher node="0>">
        <mountCollisionMask node="colPartBack_2Spikes" collisionMask="134225920" />
        <mountCollisionMask node="colPartBack_3Spikes" collisionMask="134225920" />
        <mountCollisionMask node="colPartBack_4Spikes" collisionMask="134225920" />
    </dynamicMountAttacher>

    <ai>
        <agentAttachment width="2" height="0.6" length="1.2" lengthOffset="0.5"/>
    </ai>

    <baseMaterial>
        <material name="perzlFrontloadertools_mat" baseNode="2Spikes_vis">
            <shaderParameter name="colorMat0" value="PERZL_YELLOW"/>
        </material>
    </baseMaterial>

    <foliageBending>
        <bendingNode minX="-1" maxX="1" minZ="-0.1" maxZ="1" yOffset="0" />
    </foliageBending>

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

  <i3dMappings>
    <i3dMapping id="attacherJoint" node="0>0"/>
    <i3dMapping id="colPartBack_2Spikes" node="0>1|0"/>
    <i3dMapping id="colPartBack_3Spikes" node="0>1|1"/>
    <i3dMapping id="colPartBack_4Spikes" node="0>1|2"/>
    <i3dMapping id="colPart_2Spikes" node="0>1|3"/>
    <i3dMapping id="colPart_3Spikes" node="0>1|4"/>
    <i3dMapping id="colPart_4Spikes" node="0>1|5"/>
    <i3dMapping id="collision_3Spikes" node="0>1|6"/>
    <i3dMapping id="collision_4Spikes" node="0>1|7"/>
    <i3dMapping id="2Spikes_vis" node="0>2|0"/>
    <i3dMapping id="decalNew_2Spikes" node="0>2|0|1"/>
    <i3dMapping id="decalOld_2Spikes" node="0>2|0|2"/>
    <i3dMapping id="3Spikes_vis" node="0>2|1"/>
    <i3dMapping id="4Spikes_vis" node="0>2|2"/>
    <i3dMapping id="decalDefault" node="0>2|3|0"/>
    <i3dMapping id="decalNew" node="0>2|3|1"/>
    <i3dMapping id="decalOld" node="0>2|3|2"/>
  </i3dMappings>
</vehicle>
