﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="implement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../bin/shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>T-Pack U</name>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <rotation>0</rotation>
        <image>$data/vehicles/amazone/tPackU/store_tPackU.png</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <brand>AMAZONE</brand>
        <category>misc</category>
        <shopHeight>2.5</shopHeight>
        <vertexBufferMemoryUsage>697856</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>116736</indexBufferMemoryUsage>
        <textureMemoryUsage>786432</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tool</typeDesc>
        <filename>$data/vehicles/amazone/tPackU/tPackU.i3d</filename>
        <size width="2" length="1.5" height="3.5"/>
        <components>
            <component centerOfMass="0 0.5 0" solverIterationCount="10" mass="300" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <designConfigurations title="$l10n_configuration_additionalWeight">
        <designConfiguration name="$l10n_configuration_valueNo" price="0">
            <objectChange node="tPackU_main_component1" massActive="300" />
            <objectChange node="weight01" visibilityActive="false" />
            <objectChange node="weight02" visibilityActive="false" />
            <objectChange node="weight03" visibilityActive="false" />
            <objectChange node="weight04" visibilityActive="false" />
            <objectChange node="weight05" visibilityActive="false" />
            <objectChange node="weight06" visibilityActive="false" />
            <objectChange node="weight07" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="100" params="100">
            <objectChange node="tPackU_main_component1" massActive="400" />
            <objectChange node="weight01" visibilityActive="true" />
            <objectChange node="weight02" visibilityActive="false" />
            <objectChange node="weight03" visibilityActive="false" />
            <objectChange node="weight04" visibilityActive="false" />
            <objectChange node="weight05" visibilityActive="false" />
            <objectChange node="weight06" visibilityActive="false" />
            <objectChange node="weight07" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="200" params="200">
            <objectChange node="tPackU_main_component1" massActive="500" />
            <objectChange node="weight01" visibilityActive="true" />
            <objectChange node="weight02" visibilityActive="true" />
            <objectChange node="weight03" visibilityActive="false" />
            <objectChange node="weight04" visibilityActive="false" />
            <objectChange node="weight05" visibilityActive="false" />
            <objectChange node="weight06" visibilityActive="false" />
            <objectChange node="weight07" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="300" params="300">
            <objectChange node="tPackU_main_component1" massActive="600" />
            <objectChange node="weight01" visibilityActive="true" />
            <objectChange node="weight02" visibilityActive="true" />
            <objectChange node="weight03" visibilityActive="true" />
            <objectChange node="weight04" visibilityActive="false" />
            <objectChange node="weight05" visibilityActive="false" />
            <objectChange node="weight06" visibilityActive="false" />
            <objectChange node="weight07" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="400" params="400">
            <objectChange node="tPackU_main_component1" massActive="700" />
            <objectChange node="weight01" visibilityActive="true" />
            <objectChange node="weight02" visibilityActive="true" />
            <objectChange node="weight03" visibilityActive="true" />
            <objectChange node="weight04" visibilityActive="true" />
            <objectChange node="weight05" visibilityActive="false" />
            <objectChange node="weight06" visibilityActive="false" />
            <objectChange node="weight07" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="500" params="500">
            <objectChange node="tPackU_main_component1" massActive="800" />
            <objectChange node="weight01" visibilityActive="true" />
            <objectChange node="weight02" visibilityActive="true" />
            <objectChange node="weight03" visibilityActive="true" />
            <objectChange node="weight04" visibilityActive="true" />
            <objectChange node="weight05" visibilityActive="true" />
            <objectChange node="weight06" visibilityActive="false" />
            <objectChange node="weight07" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="600" params="600">
            <objectChange node="tPackU_main_component1" massActive="900" />
            <objectChange node="weight01" visibilityActive="true" />
            <objectChange node="weight02" visibilityActive="true" />
            <objectChange node="weight03" visibilityActive="true" />
            <objectChange node="weight04" visibilityActive="true" />
            <objectChange node="weight05" visibilityActive="true" />
            <objectChange node="weight06" visibilityActive="true" />
            <objectChange node="weight07" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" price="700" params="700">
            <objectChange node="tPackU_main_component1" massActive="1000" />
            <objectChange node="weight01" visibilityActive="true" />
            <objectChange node="weight02" visibilityActive="true" />
            <objectChange node="weight03" visibilityActive="true" />
            <objectChange node="weight04" visibilityActive="true" />
            <objectChange node="weight05" visibilityActive="true" />
            <objectChange node="weight06" visibilityActive="true" />
            <objectChange node="weight07" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.6" rotMin="-24" rotMax="24" repr="axisLeft"  driveNode="wheelLeft"  radius="0.346" width="0.55" forcePointRatio="0.3" initialCompression="7" suspTravel="0.1" spring="20" damper="20" versatileYRot="true" yOffset="0.02"/>
                        <tire isCareWheel="false"/>
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.6" rotMin="-24" rotMax="24" repr="axisRight" driveNode="wheelRight" radius="0.346" width="0.55" forcePointRatio="0.3" initialCompression="7" suspTravel="0.1" spring="20" damper="20" versatileYRot="true" yOffset="0.02"/>
                        <tire isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <dynamicallyLoadedWheels>
            <dynamicallyLoadedWheel linkNode="wheel01"  isLeft="true"   filename="$data/shared/wheels/tires/bkt/AS504/27x10__15_3.xml" isInverted="true" />
            <dynamicallyLoadedWheel linkNode="wheel02"  isLeft="false"  filename="$data/shared/wheels/tires/bkt/AS504/27x10__15_3.xml" isInverted="true" />
            <dynamicallyLoadedWheel linkNode="wheel03"  isLeft="true"   filename="$data/shared/wheels/tires/bkt/AS504/27x10__15_3.xml" isInverted="true" />
            <dynamicallyLoadedWheel linkNode="wheel04"  isLeft="false"  filename="$data/shared/wheels/tires/bkt/AS504/27x10__15_3.xml" isInverted="true" />
        </dynamicallyLoadedWheels>

        <rimColor material="18">SHARED_WHITE1</rimColor>

        <hubs>
            <color0>SHARED_DA_METAL_BLACK</color0>
            <color1 material="1">SHARED_DA_METAL_BLACK</color1>
            <hub linkNode="wheel01" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.15 0.2 0.2" />
            <hub linkNode="wheel02" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false" scale="0.15 0.2 0.2" />
            <hub linkNode="wheel03" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.15 0.2 0.2" />
            <hub linkNode="wheel04" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false" scale="0.15 0.2 0.2" />
        </hubs>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="wheel01"  wheelIndex="1"/>
        <speedRotatingPart node="wheel02"  wheelIndex="1"/>
        <speedRotatingPart node="wheel03"  wheelIndex="2"/>
        <speedRotatingPart node="wheel04"  wheelIndex="2"/>
    </speedRotatingParts>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="1" lowerRotationOffset="0" lowerTransLimitScale="0 1 0" needsLowering="false">
                <distanceToGround lower="0.55" upper="1.0" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric" node="electric" adapterNode="electric_detached" length="1" diameter="0.008" straighteningFactor="1" color="0.05 0.05 0.05 5" isTwoPointHose="true">
            <objectChange node="electric_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <lights>
        <sharedLight linkNode="rearLight23White_01" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearLight23White.xml" />
        <sharedLight linkNode="rearLight23White_02" lightTypes="0" filename="$data/shared/assets/lights/lizard/rearLight23White.xml" />
        <sharedLight linkNode="sideMarker05Orange_01" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml" />
        <sharedLight linkNode="sideMarker05Orange_02" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml" />
    </lights>

    <animations>
        <animation name="moveSupport">
            <part node="bolt_attached"                   startTime="0.02" endTime="0.01" visibility="false" />
            <part node="bolt_attached"                   startTime="0.00" endTime="0.01" visibility="true" />
            <part node="bolt_detached"                   startTime="2.50" endTime="2.49" visibility="true" />
            <part node="bolt_detached"                   startTime="2.48" endTime="2.49" visibility="false" />

            <part node="supportArm01" startTime="0.0" endTime="1.25" startRot="0 0 -180" endRot="0 0 0" tangentType="spline"/>
            <part node="supportArm02" startTime="1.25" endTime="2.5" startRot="0 0 180" endRot="0 0 0" tangentType="spline"/>
            <part node="supportArm03" startTime="1.25" endTime="2.5" startRot="0 0 -180" endRot="0 0 0" tangentType="spline"/>
            <part node="supportArm04" startTime="0.0" endTime="1.25" startRot="0 0 180" endRot="0 0 0" tangentType="spline"/>

            <sound template="clackVar2Small" startTime="0.05" direction="-1" volumeScale="1.2" pitchScale="1.5" linkNode="attacherJoint"/>
            <sound template="slideOpen"      startTime="0.01" direction="1"  volumeScale="2.1" pitchScale="0.7" linkNode="attacherJoint"/>
            <sound template="hingeMedium"    startTime="0.2"  direction="1"  volumeScale="0.8" pitchScale="0.8" linkNode="attacherJoint"/>
            <sound template="metalClose"     startTime="1"    direction="0"  volumeScale="0.7" pitchScale="1.0" linkNode="attacherJoint"/>
            <sound template="clackVar6"      startTime="1"    direction="0"  volumeScale="1"   pitchScale="0.7" linkNode="attacherJoint"/>
            <sound template="sheetImp02"     startTime="1.9"  direction="1"  volumeScale="1.5" pitchScale="1.7" linkNode="attacherJoint"/>
            <sound template="clackVar6"      startTime="1.9"  direction="1"  volumeScale="1"   pitchScale="0.7" linkNode="attacherJoint"/>
            <sound template="sheetImp02"     startTime="0.1"  direction="-1" volumeScale="1.5" pitchScale="1.7" linkNode="attacherJoint"/>
            <sound template="clackVar6"      startTime="0.1"  direction="-1" volumeScale="1"   pitchScale="0.7" linkNode="attacherJoint"/>
        </animation>
    </animations>

    <cylindered>
        <movingParts>
          <movingPart node="springLeft" referencePoint="springLeftRef" referenceFrame="springLeftRef" isActiveDirty="true" maxUpdateDistance="100" scaleZ="true"/>
          <movingPart node="springRight" referencePoint="springRightRef" referenceFrame="springRightRef" isActiveDirty="true" maxUpdateDistance="100" scaleZ="true"/>
          <movingPart node="axisBar" referencePoint="axisBarRef" referenceFrame="axisBarRef" isActiveDirty="true" maxUpdateDistance="100" scaleZ="true"/>
        </movingParts>
    </cylindered>

     <ai>
        <agentAttachment width="1.52" height="1.5" length="1.2" lengthOffset="-0.07"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.75" maxX="0.75" minZ="-0.45" maxZ="0.45" yOffset="0.3" />
    </foliageBending>

    <baseMaterial>
        <material name="tPackU_mat" baseNode="tPackU_vis">
            <shaderParameter name="colorMat0" value="AMAZONE_GREEN1"/>
            <shaderParameter name="colorMat1" value="AMAZONE_ORANGE1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="tPackU_main_component1" node="0>" />
        <i3dMapping id="tPackU_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="topReferenceNode" node="0>0|0|1" />
        <i3dMapping id="supportArm01" node="0>0|0|2|0|0" />
        <i3dMapping id="supportArm02" node="0>0|0|2|1|0" />
        <i3dMapping id="supportArm03" node="0>0|0|2|2|0" />
        <i3dMapping id="supportArm04" node="0>0|0|2|3|0" />
        <i3dMapping id="electric_detached" node="0>0|0|3|0" />
        <i3dMapping id="electric" node="0>0|0|3|1" />
        <i3dMapping id="bolt_detached" node="0>0|0|4" />
        <i3dMapping id="bolt_attached" node="0>0|0|5" />
        <i3dMapping id="axisLeft" node="0>0|1|0" />
        <i3dMapping id="wheelLeft" node="0>0|1|0|0" />
        <i3dMapping id="axisBar" node="0>0|1|0|1" />
        <i3dMapping id="springLeftRef" node="0>0|1|0|1|0" />
        <i3dMapping id="springRightRef" node="0>0|1|0|1|1" />
        <i3dMapping id="wheel01" node="0>0|1|0|2" />
        <i3dMapping id="wheel02" node="0>0|1|0|3" />
        <i3dMapping id="axisRight" node="0>0|1|1" />
        <i3dMapping id="wheelRight" node="0>0|1|1|0" />
        <i3dMapping id="axisBarRef" node="0>0|1|1|1" />
        <i3dMapping id="wheel03" node="0>0|1|1|2" />
        <i3dMapping id="wheel04" node="0>0|1|1|3" />
        <i3dMapping id="rearLight23White_01" node="0>0|2|0|0" />
        <i3dMapping id="rearLight23White_02" node="0>0|2|0|1" />
        <i3dMapping id="sideMarker05Orange_01" node="0>0|2|0|2" />
        <i3dMapping id="sideMarker05Orange_02" node="0>0|2|0|3" />
        <i3dMapping id="springLeft" node="0>0|3|0" />
        <i3dMapping id="springRight" node="0>0|3|1" />
        <i3dMapping id="weight01" node="0>0|4|0" />
        <i3dMapping id="weight02" node="0>0|4|1" />
        <i3dMapping id="weight03" node="0>0|4|2" />
        <i3dMapping id="weight04" node="0>0|4|3" />
        <i3dMapping id="weight05" node="0>0|4|4" />
        <i3dMapping id="weight06" node="0>0|4|5" />
        <i3dMapping id="weight07" node="0>0|4|6" />
    </i3dMappings>
</vehicle>
