﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="fillableImplement" 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>TF 1512</name>
        <specs>
            <combination xmlFilename="$data/vehicles/kuhn/btfr6030/btfr6030.xml" />
            <combination xmlFilename="$data/vehicles/kuhn/maxima3TIL/maxima3TIL.xml" />
        </specs>
        <functions>
            <function>$l10n_function_additionalTank</function>
        </functions>
        <image>$data/vehicles/kuhn/tf1512/store_tf1512.png</image>
        <price>18000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KUHN</brand>
        <category>seeders</category>
        <shopTranslationOffset>0 -0.017 0</shopTranslationOffset>
        <shopRotationOffset>2.417 0 0</shopRotationOffset>
        <shopHeight>3</shopHeight>
        <vertexBufferMemoryUsage>1671424</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>266240</indexBufferMemoryUsage>
        <textureMemoryUsage>3473408</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_seederTank</typeDesc>
        <filename>$data/vehicles/kuhn/tf1512/tf1512.i3d</filename>
        <size width="3" length="2.3" lengthOffset="-0.4"/>
        <components>
            <component centerOfMass="0 0.25 0" solverIterationCount="10" mass="1000" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <designConfigurations>
        <designConfiguration name="$l10n_configuration_valueDefault">
            <objectChange node="weights" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="tf1512_main_component1" massActive="1000" massInactive="1300"/>
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_frontweight" price="500"/>
    </designConfigurations>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD" saveId="LIZARD_DEFAULT">
                <wheels hasSurfaceSounds="false">
                    <wheel hasParticles="true" >
                        <physics rotSpeed="0" rotMin="-20" rotMax="20" restLoad="0.8" repr="wheelArm01" driveNode="wheel01" forcePointRatio="0.3" initialCompression="20" radius="0.348" width="0.3" mass="0.066" suspTravel="0.03" spring="80" damper="10" versatileYRot="true" rotationDamping="0.003" frictionScale="0.1"/>
                    </wheel>
                    <wheel hasParticles="true" >
                        <physics rotSpeed="0" rotMin="-20" rotMax="20" restLoad="0.8" repr="wheelArm02" driveNode="wheel02" forcePointRatio="0.3" initialCompression="20" radius="0.348" width="0.3" mass="0.066" suspTravel="0.03" spring="80" damper="10" versatileYRot="true" rotationDamping="0.003" frictionScale="0.1"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimColor material="18">SHARED_WHITE1</rimColor>

        <hubs>
            <color0>KUHN_RED1</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="wheel01_vis" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.11 0.151 0.151" />
            <hub linkNode="wheel02_vis" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false"  scale="0.11 0.151 0.151" />
            <hub linkNode="wheel03_vis" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.11 0.151 0.151" />
            <hub linkNode="wheel04_vis" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false" scale="0.11 0.151 0.151" />
        </hubs>

        <dynamicallyLoadedWheels>
            <dynamicallyLoadedWheel linkNode="wheel01_vis" filename="$data/shared/wheels/tires/bkt/AS504/11_0__65__12.xml" isLeft="true" />
            <dynamicallyLoadedWheel linkNode="wheel02_vis" filename="$data/shared/wheels/tires/bkt/AS504/11_0__65__12.xml" isLeft="false" />
            <dynamicallyLoadedWheel linkNode="wheel03_vis" filename="$data/shared/wheels/tires/bkt/AS504/11_0__65__12.xml" isLeft="true" />
            <dynamicallyLoadedWheel linkNode="wheel04_vis" filename="$data/shared/wheels/tires/bkt/AS504/11_0__65__12.xml" isLeft="false" />
        </dynamicallyLoadedWheels>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="wheel01_vis" wheelIndex="1"/>
        <speedRotatingPart node="wheel02_vis" wheelIndex="1"/>
        <speedRotatingPart node="wheel03_vis" wheelIndex="2"/>
        <speedRotatingPart node="wheel04_vis" wheelIndex="2"/>
    </speedRotatingParts>

    <lights>
        <realLights>
            <high>
                <light node="frontLightHigh" lightTypes="0 2"/>
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightRight node="turnLightRightFront" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStatic" lightTypes="0"/>
            <defaultLight shaderNode="worklightFrontStatic" lightTypes="2"/>
        </defaultLights>

        <turnLights>
            <turnLightLeft shaderNode="turnlightLeftStatic"/>
            <turnLightRight shaderNode="turnlightRightStatic"/>
        </turnLights>
    </lights>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" allowsLowering="true" lowerTransLimitScale="0 1 0" lowerRotLimitScale="0 0 0" upperRotationOffset="5" lowerRotationOffset="0">
                <distanceToGround lower="0.45" upper="1.1" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="1.2" diameter="0.015">
            <objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="1.2" diameter="0.015">
            <objectChange node="hydraulicOut01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric" node="electric02" length="1.2" diameter="0.01">
            <objectChange node="electric02_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>

        <hose inputAttacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="topRightPipe" length="2" diameter="0.14" isTwoPointHose="true"/>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_detachedAdapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_detachedAdapter" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|1" linkNode="electric02_connector"           filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <unloading width="8" offset="0 0 0" />
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="seeds fertilizer" capacity="1500">
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxAllowedHeapAngle="3" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="unloadInfo" width="2" length="0.4" />
            </unloadInfo>
        </unloadInfos>

        <loadInfos>
            <loadInfo>
                <node node="loadInfo" width="2" length="0.4" />
            </loadInfo>
        </loadInfos>
    </fillVolume>

    <animations>
        <animation name="moveSupport">
            <part node="supportArm01" startTime="0.0" endTime="0.2" startTrans="0 0.44 0" endTrans="0 0 0" />
            <part node="supportArm02" startTime="0.00" endTime="0.05" visibility="false" />
            <part node="supportArm02" startTime="0.05" endTime="0.10" visibility="true" />
            <part node="supportCol01" startTime="0" endTime="0.1" startTrans="-1 1 0" endTrans="0 0 0" />
            <part node="supportCol02" startTime="0" endTime="0.1" startTrans="1 1 0" endTrans="0 0 0" />

            <sound template="clackVar6"  startTime="0.19" volumeScale="1.2" pitchScale="1.1" linkNode="attacherJoint"/>
            <sound template="latchSmall" startTime="0.19" volumeScale="0.1" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="clackVar1"  startTime="0.19" volumeScale="0.5" pitchScale="1.5" linkNode="attacherJoint"/>
        </animation>

        <animation name="toggleCover">
            <part node="step"         startTime="0"    endTime="0.5"  startRot="0 0 0" endRot="90 0 0" />
            <part node="cover_closed" startTime="0.5"  endTime="0.51" visibility="true" />
            <part node="cover_closed" startTime="0.51" endTime="0.52" visibility="false" />
            <part node="cover_open"   startTime="0.5"  endTime="0.51" visibility="false" />
            <part node="cover_open"   startTime="0.51" endTime="0.52" visibility="true" />

            <sound template="fabricCover1" startTime="0.51"  direction="1"   volumeScale="1.8" pitchScale="1.3" />
            <sound template="fabricCover2" startTime="0.51"  direction="-1"  volumeScale="1.8" pitchScale="1.3" />
            <sound template="clackVar1"    startTime="0.01"  direction="1"   volumeScale="0.6" pitchScale="2" />
            <sound template="clackVar4"    startTime="0.5"   direction="1"   volumeScale="2"   pitchScale="1.5" />
            <sound template="clackVar6"    startTime="0.01"  direction="-1"  volumeScale="0.7" pitchScale="1" />
        </animation>
    </animations>

    <cylindered>
        <movingParts>
            <movingPart node="wheelArmConnector" referenceFrame="wheelArmConnectorRef" referencePoint="wheelArmConnectorRef" isActiveDirty="true" maxUpdateDistance="100"/>
        </movingParts>
    </cylindered>

    <cover>
        <coverConfigurations>
            <coverConfiguration >
                <cover openAnimation="toggleCover" fillUnitIndices="1" />
            </coverConfiguration>
        </coverConfigurations>
    </cover>

    <ai>
        <needsLowering value="true" lowerIfAnyIsLowered="true"/>
        <agentAttachment width="2.5" height="2.0" length="2.2" lengthOffset="-0.4"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.1" maxX="1.1" minZ="-1.4" maxZ="0.6" yOffset="0.55" />
    </foliageBending>

    <baseMaterial>
        <material name="tf1512_mat" baseNode="tf1512_vis">
            <shaderParameter name="colorMat0" value="KUHN_RED1"/>
        </material>
        <material name="tf1512Decal_mat" baseNode="tf1512Alpha1">
            <shaderParameter name="colorMat0" value="KUHN_RED1"/>
        </material>
        <material name="tf1512TrasportWheel_mat" baseNode="tf1512Packer_vis">
            <shaderParameter name="colorMat0" value="KUHN_RED1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="tf1512_main_component1" node="0>" />
        <i3dMapping id="tf1512_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" />
        <i3dMapping id="supportArm02" node="0>0|0|3" />
        <i3dMapping id="electric01" node="0>0|0|4|0" />
        <i3dMapping id="electric02" node="0>0|0|4|1" />
        <i3dMapping id="electric02_detached" node="0>0|0|4|1|0" />
        <i3dMapping id="electric02_connector" node="0>0|0|4|1|0|0" />
        <i3dMapping id="hydraulicIn01" node="0>0|0|4|2" />
        <i3dMapping id="hydraulicIn01_detached" node="0>0|0|4|2|0" />
        <i3dMapping id="hydraulicIn01_detachedAdapter" node="0>0|0|4|2|0|0" />
        <i3dMapping id="hydraulicOut01" node="0>0|0|4|3" />
        <i3dMapping id="hydraulicOut01_detached" node="0>0|0|4|3|0" />
        <i3dMapping id="hydraulicOut01_detachedAdapter" node="0>0|0|4|3|0|0" />
        <i3dMapping id="topRightPipe" node="0>0|0|5" />
        <i3dMapping id="supportArm03" node="0>0|0|6" />
        <i3dMapping id="supportCol01" node="0>0|0|7|0" />
        <i3dMapping id="supportCol02" node="0>0|0|8|0" />
        <i3dMapping id="wheelArm01" node="0>0|1|0" />
        <i3dMapping id="wheel01" node="0>0|1|0|0" />
        <i3dMapping id="wheelArmConnector" node="0>0|1|0|1" />
        <i3dMapping id="wheel01_vis" node="0>0|1|0|2|0" />
        <i3dMapping id="wheel02_vis" node="0>0|1|0|3|0" />
        <i3dMapping id="wheelArm02" node="0>0|1|1" />
        <i3dMapping id="wheel02" node="0>0|1|1|0" />
        <i3dMapping id="wheelArmConnectorRef" node="0>0|1|1|1" />
        <i3dMapping id="wheel03_vis" node="0>0|1|1|2|0" />
        <i3dMapping id="wheel04_vis" node="0>0|1|1|3|0" />
        <i3dMapping id="worklightFrontStatic" node="0>0|2|0|1" />
        <i3dMapping id="turnlightLeftStatic" node="0>0|2|0|2" />
        <i3dMapping id="turnlightRightStatic" node="0>0|2|0|3" />
        <i3dMapping id="frontlightStatic" node="0>0|2|0|4" />
        <i3dMapping id="frontLightHigh" node="0>0|2|1|0" />
        <i3dMapping id="turnLightLeftFront" node="0>0|2|2|0" />
        <i3dMapping id="turnLightRightFront" node="0>0|2|2|1" />
        <i3dMapping id="cover_closed" node="0>0|3|0" />
        <i3dMapping id="cover_open" node="0>0|3|1" />
        <i3dMapping id="step" node="0>0|3|2" />
        <i3dMapping id="tf1512Alpha1" node="0>0|3|2|0" />
        <i3dMapping id="fillVolume" node="0>0|4|0" />
        <i3dMapping id="unloadInfo" node="0>0|4|1" />
        <i3dMapping id="loadInfo" node="0>0|4|2" />
        <i3dMapping id="exactFillRootNode" node="0>0|4|3" />
        <i3dMapping id="weights" node="0>0|5|0" />
        <i3dMapping id="tf1512Packer_vis" node="0>0|6|4" />
    </i3dMappings>
</vehicle>
