<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="fuelTrailer" 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>FST 990</name>
        <specs>
            <combination xmlFilename="$data/vehicles/kubota/rtvxG850/rtvxg850.xml"/>
            <combination xmlFilename="$data/vehicles/kubota/rtvx1140/rtvx1140.xml"/>
            <combination xmlFilename="$data/vehicles/lizard/pickup2017/pickup2017.xml"/>
            <combination xmlFilename="$data/vehicles/skoda/kodiaq/kodiaq.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_tank</function>
        </functions>
        <image>$data/vehicles/thunderCreek/fst990/store_fst990.png</image>
        <price>29500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>THUNDERCREEK</brand>
        <category>misc</category>
        <shopTranslationOffset>0 0.07 0</shopTranslationOffset>
        <shopRotationOffset>-0.126 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>242176</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>63488</indexBufferMemoryUsage>
        <textureMemoryUsage>393216</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>$data/vehicles/thunderCreek/fst990/fst990.i3d</filename>
        <size width="2.15" length="5.9" height="1.8"/>
        <components maxMass="6000">
            <component centerOfMass="0 0.5 -0.5" solverIterationCount="10" mass="1828"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TRAILER"/>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="CONTINENTAL" saveId="CONTINENTAL_DEFAULT">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/continental/terrainContactHT/255_70R17.xml" configId="trailer" isLeft="true" hasTireTracks="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.5" repr="wheelFrontLeft"  forcePointRatio="0.2" initialCompression="20" suspTravel="0.08" spring="25" damper="50" xOffset="0.03" yOffset="-0.001" frictionScale="2.4"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/terrainContactHT/255_70R17.xml" configId="trailer" isLeft="false" hasTireTracks="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="0.5" repr="wheelFrontRight" forcePointRatio="0.2" initialCompression="20" suspTravel="0.08" spring="25" damper="50" xOffset="0.03" yOffset="-0.001" frictionScale="2.4"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/terrainContactHT/255_70R17.xml" configId="trailer" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.5" repr="wheelBackLeft"   forcePointRatio="0.2" initialCompression="20" suspTravel="0.08" spring="25" damper="50" xOffset="0.03" frictionScale="2.4"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/terrainContactHT/255_70R17.xml" configId="trailer" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="0.5" repr="wheelBackRight"  forcePointRatio="0.2" initialCompression="20" suspTravel="0.08" spring="25" damper="50" xOffset="0.03" frictionScale="2.4"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerCar" attacherHeight="0.49"/>
            <inputAttacherJoint node="attacherJointToolbar" jointType="implement" lowerRotLimitScale="3 3 3" upperRotLimitScale="3 3 3" attacherHeight="0.49" needsToolbar="true" allowsLowering="false">
                <distanceToGround lower="0.49" upper="0.49" />
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce force="0.2" maxForce="0.5" maxForceMass="5700"/>
        <airConsumer usage="0.3" />
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1 2" type="electric" node="electric" length="1.2" diameter="0.01" straighteningFactor="1.5" />
    </connectionHoses>

    <lights>
        <sharedLight linkNode="rearLight25_01"        filename="$data/shared/assets/lights/lizard/rearLight25.xml" />
        <sharedLight linkNode="rearLight25_02"        filename="$data/shared/assets/lights/lizard/rearLight25.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" />
        <sharedLight linkNode="sideMarker05Orange_03" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml" />
        <sharedLight linkNode="sideMarker05Orange_04" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml" />
        <sharedLight linkNode="plateNumberLight01"    filename="$data/shared/assets/lights/lizard/plateNumberLight01.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh"        lightTypes="0" />
                <light node="licensePlateLightHigh" lightTypes="0" />
                <brakeLight node="backLightsHigh" />
            </high>
        </realLights>

        <staticLightCompounds>
            <staticLightCompound>
                <node node="fst990Lights_static" intensity="5"/>
            </staticLightCompound>
        </staticLightCompounds>
    </lights>

    <licensePlates>
        <licensePlate node="licensePlate" position="BACK" preferedType="SQUARISH" placementArea="0.07 0.18 0.14 0.18"/>
    </licensePlates>

    <animations>
        <animation name="moveSupport">
            <part node="supportArm" startTime="0" endTime="0.6" startTrans="0.102 0.344 2.189" endTrans="0.102 -0.075 2.189" />

            <sound template="slideOpen" startTime="0.01" endTime="0.59" volumeScale="2"   pitchScale="2" linkNode="supportArm"/>
            <sound template="clackVar6" startTime="0.01" direction="-1" volumeScale="1"   pitchScale="1" linkNode="attacherJoint"/>
            <sound template="hingeImp"  startTime="0.2"  direction="-1" volumeScale="0.6" pitchScale="1" linkNode="attacherJoint"/>
        </animation>
        <animation name="fillLevel">
            <part node="fillLevelMarker" startTime="0" endTime="1" startRot="0 0 0" endRot="-100 0 0" />
        </animation>
    </animations>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="diesel" capacity="50000" updateMass="false" >
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fillLevel" />
                        <exactFillRootNode node="exactFillRootNode"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillTriggerVehicle triggerNode="fuelTrigger" fillUnitIndex="1" litersPerSecond="2500"/>

    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeTrigger" emptySpeed="2000" fillUnitIndex="1" allowAIDischarge="true">
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="dischargeTrigger" />
        </dischargeNode>
    </dischargeable>

    <tipOccluder>
        <occlusionArea start="tipOcclusionArea1Start" width="tipOcclusionArea1Width" height="tipOcclusionArea1Height"/>
        <occlusionArea start="tipOcclusionArea2Start" width="tipOcclusionArea2Width" height="tipOcclusionArea2Height"/>
        <occlusionArea start="tipOcclusionArea3Start" width="tipOcclusionArea3Width" height="tipOcclusionArea3Height"/>
    </tipOccluder>


    <ai>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2 3 4" width="2.1" height="1.8" length="5.5" lengthOffset="0.7"/>
    </ai>


    <foliageBending>
        <bendingNode minX="-0.8" maxX="0.8" minZ="-3.0" maxZ="2.6" yOffset="0.4"/>
        <bendingNode minX="-1.1" maxX="1.1" minZ="-1.9" maxZ="0.1" yOffset="0.4"/>
    </foliageBending>

    <rimColorConfigurations>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_CHROME" price="1000"/>
        <rimColorConfiguration materialTemplateName="RIM_DEFAULT"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_WHITE"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_BLACK"/>
    </rimColorConfigurations>

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

    <i3dMappings>
        <i3dMapping id="fst990_main_component1" node="0>" />
        <i3dMapping id="fst990_vis" node="0>0" />
        <i3dMapping id="wheelFrontLeft" node="0>0|0|0" />
        <i3dMapping id="wheelFrontRight" node="0>0|0|1" />
        <i3dMapping id="wheelBackLeft" node="0>0|0|2" />
        <i3dMapping id="wheelBackRight" node="0>0|0|3" />
        <i3dMapping id="attacherJoint" node="0>0|1|0" />
        <i3dMapping id="attacherJointToolbar" node="0>0|1|1" />
        <i3dMapping id="electric" node="0>0|1|2" />
        <i3dMapping id="supportArm" node="0>0|1|3" />
        <i3dMapping id="rearLight25_01" node="0>0|2|0|0" />
        <i3dMapping id="rearLight25_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="sideMarker05Orange_03" node="0>0|2|0|4" />
        <i3dMapping id="sideMarker05Orange_04" node="0>0|2|0|5" />
        <i3dMapping id="plateNumberLight01" node="0>0|2|0|6" />
        <i3dMapping id="fst990Lights_static" node="0>0|2|1|0" />
        <i3dMapping id="backLights" node="0>0|2|2" />
        <i3dMapping id="backLightsHigh" node="0>0|2|2|0" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|2|2|1" />
        <i3dMapping id="fillLevelMarker" node="0>0|3" />
        <i3dMapping id="licensePlate" node="0>0|4" />
        <i3dMapping id="fuelTrigger" node="0>0|5" />
        <i3dMapping id="dischargeTrigger" node="0>0|6" />
        <i3dMapping id="exactFillRootNode" node="0>0|7" />
        <i3dMapping id="tipOcclusionArea1Start" node="0>0|8|0|0" />
        <i3dMapping id="tipOcclusionArea1Width" node="0>0|8|0|1" />
        <i3dMapping id="tipOcclusionArea1Height" node="0>0|8|0|2" />
        <i3dMapping id="tipOcclusionArea2Start" node="0>0|8|1|0" />
        <i3dMapping id="tipOcclusionArea2Width" node="0>0|8|1|1" />
        <i3dMapping id="tipOcclusionArea2Height" node="0>0|8|1|2" />
        <i3dMapping id="tipOcclusionArea3Start" node="0>0|8|2|0" />
        <i3dMapping id="tipOcclusionArea3Width" node="0>0|8|2|1" />
        <i3dMapping id="tipOcclusionArea3Height" node="0>0|8|2|2" />
    </i3dMappings>
</vehicle>
