﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dolly" 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>Dolly 10 L</name>
        <specs>
            <combination xmlFilename="$data/vehicles/demco/sideDump/sideDump.xml"/>
            <combination xmlFilename="$data/vehicles/wilsonTrailer/pacesetter/pacesetter.xml"/>
            <combination xmlFilename="$data/vehicles/lodeKing/distinctionTripleHopper/distinctionTripleHopper.xml"/>
            <combination xmlFilename="$data/vehicles/lodeKing/distinctionSuperB/distinctionSuperB_front.xml"/>
            <combination xmlFilename="$data/vehicles/meridian/conveyAllCST1550/conveyAllCST1550.xml"/>
            <combination xmlFilename="$data/vehicles/lizard/moduleX/moduleX.xml"/>
            <combination xmlFilename="$data/vehicles/kotte/tsa/tsa.xml"/>
            <combination xmlFilename="$data/vehicles/fliegl/timberRunner/timberRunner.xml"/>
            <combination xmlFilename="$data/vehicles/lizard/mks32/mks32.xml"/>
            <combination xmlFilename="$data/vehicles/wilsonTrailer/silverstar/silverstar.xml"/>
            <combination xmlFilename="$data/vehicles/demco/steelDropDeck/steelDropDeck.xml"/>
            <combination xmlFilename="$data/vehicles/lodeKing/renownTriAxleBeavertailLowDrop/renownTriAxleBeavertailLowDrop.xml"/>
            <combination xmlFilename="$data/vehicles/krone/profiLiner/profiLiner.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_dolly</function>
        </functions>
        <image>$data/vehicles/krampe/dolly10L/store_dolly10L.png</image>
        <price>9000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KRAMPE</brand>
        <category>dollys</category>
        <shopTranslationOffset>0 0.02 0</shopTranslationOffset>
        <shopRotationOffset>-0.309 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>762624</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>141568</indexBufferMemoryUsage>
        <textureMemoryUsage>1245184</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>$data/vehicles/krampe/dolly10L/dolly10L.i3d</filename>
        <size width="3.5" length="5" />
        <components>
            <component centerOfMass="0 0.6 -0.7" solverIterationCount="10" mass="4500" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL_TRAILED" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_BROAD">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/500_60R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="1.9" repr="wheelLeft"  forcePointRatio="0.2" initialCompression="15" suspTravel="0.1" spring="120" damper="90" frictionScale="1.9" yOffset="-0.007"/>
                        <wheelChock parkingNode="wheelChock01" />
                        <wheelChock parkingNode="wheelChock02" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TwinRadial/500_60R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="1.9" repr="wheelRight" forcePointRatio="0.2" initialCompression="15" suspTravel="0.1" spring="120" damper="90" frictionScale="1.9" yOffset="-0.007"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="0" brand="MICHELIN" saveId="MICHELIN_BROAD">
                <wheels baseConfig="TRELLEBORG_BROAD">
                    <wheel filename="$data/shared/wheels/tires/michelin/cargoXBib/500_60R22_5.xml">
                        <physics yOffset="-0.013"/>
                        <wheelChock />
                        <wheelChock />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/michelin/cargoXBib/500_60R22_5.xml">
                        <physics yOffset="-0.013"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="200" brand="BKT" saveId="BKT_BROAD">
                <wheels baseConfig="TRELLEBORG_BROAD">
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/600_50R22_5.xml">
                        <physics yOffset="-0.018"/>
                        <wheelChock />
                        <wheelChock />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/600_50R22_5.xml">
                        <physics yOffset="-0.018"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="200" brand="VREDESTEIN" saveId="VREDESTEIN_BROAD">
                <wheels baseConfig="TRELLEBORG_BROAD">
                    <wheel filename="$data/shared/wheels/tires/vredestein/flotationTrac/600_50R22_5.xml">
                        <physics yOffset="-0.013"/>
                        <wheelChock />
                        <wheelChock />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/vredestein/flotationTrac/600_50R22_5.xml">
                        <physics yOffset="-0.013"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <hubs>
            <color0>SHARED_DA_METAL_BLACK</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="wheelLeftHub"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.28 0.335 0.335" />
            <hub linkNode="wheelRightHub" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.28 0.335 0.335" />
        </hubs>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerLow" attacherHeight="0.7" />
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce force="1.1"/>
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="airDoubleRed" node="airIn" length="1.7" diameter="0.015" straighteningFactor="1" minDeltaY="-0.410">
            <objectChange node="airIn_connector" visibilityActive="false" visibilityInactive="true" />
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="airOut" length="1.7" diameter="0.015" straighteningFactor="1" minDeltaY="-0.410">
            <objectChange node="airOut_connector" visibilityActive="false" visibilityInactive="true" />
        </hose>
        <hose inputAttacherJointIndices="1" type="electric" node="electric" length="1.75" diameter="0.008" minDeltaY="-0.22"/>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|3" linkNode="airIn_connector"   filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|2" linkNode="airOut_connector"   filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="wheelChockSupport01" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="wheelChockSupport02" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
    </dynamicallyLoadedParts>

    <attacherJoints>
        <attacherJoint node="trailerAttacherJoint" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="15 175 25" enableCollision="false" >
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>" />
        </sounds>
    </attacherJoints>

    <lights>
        <sharedLight linkNode="whiteRectangle01"      filename="$data/shared/assets/reflectors/lizard/whiteRectangle_01.xml" />
        <sharedLight linkNode="whiteRectangle02"      filename="$data/shared/assets/reflectors/lizard/whiteRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle01"     filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle02"     filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />
        <sharedLight linkNode="yellowRound01"         filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="yellowRound02"         filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="yellowRound03"         filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="yellowRound04"         filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="backlightLeft"         filename="$data/shared/assets/lights/lizard/rearLight31_left.xml" />
        <sharedLight linkNode="backlightRight"        filename="$data/shared/assets/lights/lizard/rearLight31_right.xml" />
        <sharedLight linkNode="plateNumberLight02_01" filename="$data/shared/assets/lights/lizard/plateNumberLight02.xml" />
        <sharedLight linkNode="plateNumberLight02_02" filename="$data/shared/assets/lights/lizard/plateNumberLight02.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh1" lightTypes="0" />
                <light node="licensePlateLightHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh1" />
                <reverseLight node="reverseLightHigh1" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="positionLightLeft"  lightTypes="0"/>
            <defaultLight shaderNode="positionLightRight" lightTypes="0"/>
        </defaultLights>
    </lights>

    <licensePlates>
        <licensePlate node="licensePlateBack" position="BACK" preferedType="ELONGATED" placementArea="0.08 0.27 0.2 0.27"/>
    </licensePlates>

    <animations>
        <animation name="moveSupport">
            <part node="supportArm"  startTime="0"   endTime="0.25"  startRot="90 0 0" endRot="0 0 0" />
            <part node="supportPart" startTime="0.2" endTime="0.50" startTrans="0 -0.406 0.049" endTrans="0 -0.59 0.049" />
            <part node="supportCol"  startTime="0"   endTime="0.50" startTrans="0 0.5 0" endTrans="0 -0.022 0" />

            <sound template="palletsFillPlastic" startTime="0.49" direction="1"  volumeScale="4"   pitchScale="1.4" linkNode="attacherJoint"/>
            <sound template="clackVar5"          startTime="0.2"  direction="1"  volumeScale="1"   pitchScale="1.3" linkNode="attacherJoint"/>
            <sound template="clackVar4"          startTime="0.01" direction="-1" volumeScale="1.6" pitchScale="1.4" linkNode="attacherJoint"/>
            <sound template="clackVar6"          startTime="0.24" direction="-1" volumeScale="0.7" pitchScale="1.2" linkNode="attacherJoint"/>
        </animation>
    </animations>

    <ai>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.6" height="1.4" length="4" lengthOffset="1.1"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-2.3" maxZ="0.2" yOffset="0.6" />
    </foliageBending>

    <baseMaterial>
        <material name="dolly10L_mat" baseNode="dolly">
            <shaderParameter name="colorMat0" value="KRAMPE_BLACK1"/>
            <shaderParameter name="colorMat2" value="KRAMPE_RED1"/>
        </material>
    </baseMaterial>

    <rimColorConfigurations useDefaultColors="false">
        <rimColorConfiguration name="$l10n_ui_colorChrome" color="SHARED_WHITE2" material="3" price="1000"/>
        <rimColorConfiguration name="$l10n_ui_colorSilver" color="SHARED_WHITE1" material="18" price="0"/>
        <rimColorConfiguration name="$l10n_ui_colorWhite"  color="SHARED_WHITE2" material="0" price="0"/>
        <rimColorConfiguration name="$l10n_ui_colorBlack"  color="SHARED_DA_METAL_BLACK" material="0" price="0"/>
    </rimColorConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="dolly" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="supportArm" node="0>0|0|1|0" />
        <i3dMapping id="supportPart" node="0>0|0|1|0|0" />
        <i3dMapping id="supportCol" node="0>0|0|1|1" />
        <i3dMapping id="electric" node="0>0|0|2|0" />
        <i3dMapping id="airIn" node="0>0|0|2|1" />
        <i3dMapping id="airIn_connector" node="0>0|0|2|1|0" />
        <i3dMapping id="airOut" node="0>0|0|2|2" />
        <i3dMapping id="airOut_connector" node="0>0|0|2|2|0" />
        <i3dMapping id="wheelChockSupport01" node="0>0|0|3|0" />
        <i3dMapping id="wheelChock01" node="0>0|0|3|0|0" />
        <i3dMapping id="wheelChockSupport02" node="0>0|0|3|1" />
        <i3dMapping id="wheelChock02" node="0>0|0|3|1|0" />
        <i3dMapping id="wheelLeft" node="0>0|1|0" />
        <i3dMapping id="wheelLeftHub" node="0>0|1|0|0" />
        <i3dMapping id="wheelRight" node="0>0|1|1" />
        <i3dMapping id="wheelRightHub" node="0>0|1|1|0" />
        <i3dMapping id="backlightLeft" node="0>0|2|0|0" />
        <i3dMapping id="backlightRight" node="0>0|2|0|1" />
        <i3dMapping id="yellowRound01" node="0>0|2|0|2" />
        <i3dMapping id="yellowRound02" node="0>0|2|0|3" />
        <i3dMapping id="yellowRound03" node="0>0|2|0|4" />
        <i3dMapping id="yellowRound04" node="0>0|2|0|5" />
        <i3dMapping id="yellowRectangle01" node="0>0|2|0|6" />
        <i3dMapping id="yellowRectangle02" node="0>0|2|0|7" />
        <i3dMapping id="whiteRectangle01" node="0>0|2|0|8" />
        <i3dMapping id="whiteRectangle02" node="0>0|2|0|9" />
        <i3dMapping id="plateNumberLight02_01" node="0>0|2|0|10" />
        <i3dMapping id="plateNumberLight02_02" node="0>0|2|0|11" />
        <i3dMapping id="positionLightLeft" node="0>0|2|1|0" />
        <i3dMapping id="positionLightRight" node="0>0|2|2|0" />
        <i3dMapping id="backLightsHigh1" node="0>0|2|3|0" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|2|3|1" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|4|0" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|4|1" />
        <i3dMapping id="reverseLightHigh1" node="0>0|2|5|0" />
        <i3dMapping id="transNode" node="0>0|3|0" />
        <i3dMapping id="trailerAttacherJoint" node="0>0|3|0|0" />
        <i3dMapping id="licensePlateBack" node="0>0|4" />
    </i3dMappings>
</vehicle>
