<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="rtkStation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../bin/shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_shopItem_garageRtkStation</name>
        <image>placeables/genericGarage/store_genericGarage.png</image>
        <functions>
            <function>$l10n_function_rtkStation</function>
        </functions>
        <price>39500</price>
        <dailyUpkeep>25</dailyUpkeep>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>RUDOLFHOERMANN</brand>
        <species>placeable</species>
        <category>placeableMisc</category>
        <vertexBufferMemoryUsage>34880</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>6336</indexBufferMemoryUsage>
        <textureMemoryUsage>1136168</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>placeables/genericGarage/genericGarage.i3d</filename>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true" >
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>

        <sounds>
            <place template="smallImp" />
        </sounds>
    </placement>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>

    <clearAreas>
        <clearArea startNode="clearAreaStart" widthNode="clearAreaWidth" heightNode="clearAreaHeight"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea01Start" widthNode="levelArea01Width" heightNode="levelArea01Height" groundType="asphalt"/>
            <levelArea startNode="levelArea02Start" widthNode="levelArea02Width" heightNode="levelArea02Height" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart" widthNode="indoorAreaWidth" heightNode="indoorAreaHeight"/>
    </indoorAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="testArea1Start" endNode="testArea1End"/>
        </updateAreas>
    </ai>

    <animatedObjects>
        <animatedObject saveId="slidingDoor" >
            <animation duration="4.5">
                <clip rootNode="doorPart06" name="genericGarage1Source" filename="placeables/genericGarage/genericGarage_animation.i3d" />
                <part node="occluderMeshDoor1">
                    <keyFrame time="0"    visibility="true" />
                    <keyFrame time="0.01" visibility="false" />
                </part>
                <part node="doorFrameRotating">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="-900 0 0"/>
                </part>
            </animation>
            <controls triggerNode="doorTrigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="doorPart06" template="slidingGateMetalLoop"  linkNodeOffset="3 0 0"/>
                <posEnd linkNode="doorPart06" template="slidingGateMetalOpen"  linkNodeOffset="3 0 0"/>
                <negEnd linkNode="doorPart06" template="slidingGateMetalClose" linkNodeOffset="3 0 0"/>
            </sounds>
        </animatedObject>
    </animatedObjects>

    <lights>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="linkedLight01Ref" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="linkedLight02Ref" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="linkedLight03Ref" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="linkedLight04Ref" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="linkedLight05Ref" groupIndex="1"/>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="linkedLight06Ref" groupIndex="1"/>

        <realLights>
            <low>
                <light node="realLightsLow" groupIndex="1"/>
            </low>
            <high>
                <light node="realLightsHigh" groupIndex="1"/>
            </high>
        </realLights>

        <group name="$l10n_action_placeableLightShed" triggerNode="lightTrigger">
            <sounds>
                <toggle template="lizardFloodLight" innerRadius="50" outerRadius="100" volumeScale="0.3" supportsReverb="false"/>
            </sounds>
        </group>
    </lights>

    <colorable>
        <nodes>
            <node node="genericGarageVisual" />
            <node node="doorFrame" />
        </nodes>

        <colors>
            <color value="RUDOLFHOERMANN_GREEN" />
            <color value="RUDOLFHOERMANN_BEIGE" />
            <color value="RUDOLFHOERMANN_RED" />
            <color value="RUDOLFHOERMANN_BLUE" />
            <color value="RUDOLFHOERMANN_DARKGREY" />
            <color value="RUDOLFHOERMANN_LIGHTGREY" />
            <color value="RUDOLFHOERMANN_WHITEALU" />
            <color value="RUDOLFHOERMANN_GREYALU" />
            <color value="RUDOLFHOERMANN_OXIDRED" />
            <color value="RUDOLFHOERMANN_WOODDARK" />
            <color value="RUDOLFHOERMANN_WOODBRIGHT" />
            <color value="RUDOLFHOERMANN_LIGHTGREEN" />
            <color value="RUDOLFHOERMANN_BROWN" />
            <color value="RUDOLFHOERMANN_DARKBEIGE" />
        </colors>
    </colorable>

    <i3dMappings>
        <i3dMapping id="testArea1Start" node="0>0|0|0" />
        <i3dMapping id="testArea1End" node="0>0|0|0|0" />
        <i3dMapping id="clearAreaStart" node="0>0|1|0" />
        <i3dMapping id="clearAreaWidth" node="0>0|1|1" />
        <i3dMapping id="clearAreaHeight" node="0>0|1|2" />
        <i3dMapping id="levelArea01Start" node="0>0|2|0" />
        <i3dMapping id="levelArea01Width" node="0>0|2|1" />
        <i3dMapping id="levelArea01Height" node="0>0|2|2" />
        <i3dMapping id="levelArea02Start" node="0>0|2|3" />
        <i3dMapping id="levelArea02Width" node="0>0|2|4" />
        <i3dMapping id="levelArea02Height" node="0>0|2|5" />
        <i3dMapping id="indoorAreaStart" node="0>0|3|0" />
        <i3dMapping id="indoorAreaWidth" node="0>0|3|1" />
        <i3dMapping id="indoorAreaHeight" node="0>0|3|2" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>0|4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>0|4|0|0" />
        <i3dMapping id="doorTrigger" node="0>0|5|0" />
        <i3dMapping id="genericGarageVisual" node="0>0|6|0" />
        <i3dMapping id="doorFrame" node="0>0|6|1" />
        <i3dMapping id="doorPart06" node="0>0|6|1|0|0" />
        <i3dMapping id="doorPart05" node="0>0|6|1|0|0|0" />
        <i3dMapping id="doorPart04" node="0>0|6|1|0|0|0|0" />
        <i3dMapping id="doorPart03" node="0>0|6|1|0|0|0|0|0" />
        <i3dMapping id="doorPart02" node="0>0|6|1|0|0|0|0|0|0" />
        <i3dMapping id="doorPart01" node="0>0|6|1|0|0|0|0|0|0|0" />
        <i3dMapping id="doorFrameRotating" node="0>0|6|1|1|0" />
        <i3dMapping id="infoTrigger" node="0>0|6|4" />
        <i3dMapping id="realLightsLow" node="0>0|7|0|0" />
        <i3dMapping id="realLightsHigh" node="0>0|7|0|1" />
        <i3dMapping id="linkedLight01Ref" node="0>0|7|1|0" />
        <i3dMapping id="linkedLight02Ref" node="0>0|7|1|1" />
        <i3dMapping id="linkedLight03Ref" node="0>0|7|1|2" />
        <i3dMapping id="linkedLight04Ref" node="0>0|7|1|3" />
        <i3dMapping id="linkedLight05Ref" node="0>0|7|1|4" />
        <i3dMapping id="linkedLight06Ref" node="0>0|7|1|5" />
        <i3dMapping id="lightTrigger" node="0>0|7|2|0" />
        <i3dMapping id="occluderMeshDoor1" node="0>2" />
    </i3dMappings>
</placeable>
