<?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>
            <en>Platform support - Telehandler</en>
            <de>Plattform-Unterstützung - Teleskoplader</de>
            <br>Suporte de plataforma para tele manipulador</br>
        </name>
        <specs>
            <combination filterCategory="teleLoaderVehicles" />
        </specs>
        <functions>
            <function>$l10n_function_PlatformSupport</function>
        </functions>
        <image>store/store_PlatformSupport3.dds</image>
        <price>1400</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>teleLoaderTools</category>
        <vertexBufferMemoryUsage>18688</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>3840</indexBufferMemoryUsage>
        <textureMemoryUsage>1245184</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_Platform Support</typeDesc>
        <filename>I3D/PlatformSupport3.i3d</filename>
        <size width="2.0" length="1.5" height="1.5" lengthOffset="-0.2"/>
        <supportsPickUp>true</supportsPickUp>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="290" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <designColorConfigurations useDefaultColors="true" price="100" title="$l10n_configuration_baseColor">
        <designColorConfiguration color="KRAMER_GREEN" isDefault="true"/>
        <designColorConfiguration color="IMPEX_GREEN1" />
        <designColorConfiguration color="HELIANTHUS_BLUE_1" />        
        <designColorConfiguration color="KUHN_BLUE1" />        
        <designColorConfiguration color="ALPEGO_ORANGE1"/>
        <designColorConfiguration color="BAUER_RED"/>
        <designColorConfiguration color="HARDI_RED"/>

        <material materialSlotName="LZCT_COLOR_MAT" >
            <smoothness value="1"/>
            <detail normal="$data/shared/detailLibrary/flat_normal.dds" diffuse="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_diffuse.dds" specular="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_specular.dds"/>
            <metalness value="1"/>
            <clearCoat intensity="0.3" smoothness="0.3"/>
        </material>
    </designColorConfigurations>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|0|0" jointType="telehandler" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />

        <sounds>
            <attach template="ATTACH_01" />
        </sounds>
    </attachable>

    <attacherJoints>
        <attacherJoint node="0>0|0|3|0|0|0" jointType="cutter" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0 0 0" enableCollision="false">
            <schema position="0 1" rotation="0" invertX="false" />
            <attachSound template="attach01" linkNode="0>0|0|3|0|0|0"/>
	    </attacherJoint>  
    </attacherJoints>

    <animations>
		<animation name="moveSupport">
			<part node="0>1|0" startTime="0"    endTime="0.2" visibility="false" />          
            <part node="0>1|0" startTime="0.2" endTime="0.21"  visibility="true" />
        </animation>	
        <animation name="cutterSuportMoving">
            <part node="0>0|0|3" startTime="0" endTime="3" startTrans="0 0.76417422 -0.57789302" endTrans="0 0.93347597 -0.5806734" />
        </animation>      
		<animation name="cutterSuportRotting">
            <part node="0>0|0|3|0" startTime="0" endTime="3" startRot="10 0 0" endRot="-10 0 0" />
        </animation> 
        <animation name="cutterSuportMoving2">
            <part node="0>0|0|3|0|0" startTime="0" endTime="3" startTrans="0 0 -0.095" endTrans="0 0 0.1" />
        </animation>         
    </animations>

    <cylindered>
        <movingTools>
			<controlGroups>
                <controlGroup name="$l10n_group_cutterAjust1" />
                <controlGroup name="$l10n_group_cutterAjust2" />
            </controlGroups>
    
            <movingTool node="0>0|0|3" playSound="false">
                <controls groupIndex="1" axis="AXIS_CRANE_ARM3" invertAxis="false" mouseSpeedFactor="0.25" />
                <animation animSpeed="0.8" animAcceleration="200" animName="cutterSuportMoving"/>
                <attacherJoint jointIndices="1"/>
            </movingTool>

            <movingTool node="0>0|0|3|0" playSound="false">
                <controls groupIndex="1" axis="AXIS_CRANE_ARM4" invertAxis="false" mouseSpeedFactor="0.25"/>
                <animation animSpeed="1" animAcceleration="200" animName="cutterSuportRotting"/>
                <attacherJoint jointIndices="1"/>
            </movingTool>

            <movingTool node="0>0|0|3|0|0" playSound="false">
                <controls groupIndex="2" axis="AXIS_CRANE_ARM4" invertAxis="false" mouseSpeedFactor="0.25"/>
                <animation animSpeed="1" animAcceleration="200" animName="cutterSuportMoving2"/>
                <attacherJoint jointIndices="1"/>
            </movingTool>
        </movingTools>
    </cylindered>

    <ai>
        <agentAttachment width="1.2" height="1.2" length="1.2" lengthOffset="-0.5" />
        <collisionTrigger node="0>0|0|2" width="2" height="3" />
        <allowTurnBackward value="false" />
    </ai>

    <foliageBending>
        <bendingNode minX="-0.6" maxX="0.6" minZ="-0.65" maxZ="0.5" yOffset="0.1" />
    </foliageBending>

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

</vehicle>