<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable type="simplePlaceable" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/placeable.xsd">
    <storeData>
        <name>$l10n_storeItem_hoermannGarageSmall</name>
        <functions>
            <function>$l10n_function_garage</function>
        </functions>
        <image>$data/placeables/rudolfHormann/garageSmall/store_garageSmall.dds</image>
        <price>106000</price>
        <dailyUpkeep>40</dailyUpkeep>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>RUDOLFHOERMANN</brand>
        <species>placeable</species>
        <category>sheds</category>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <vertexBufferMemoryUsage>1587456</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>207104</indexBufferMemoryUsage>
        <textureMemoryUsage>5767168</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <filename>$data/placeables/rudolfHormann/garageSmall/garageSmall.i3d</filename>
    </base>

    <placement useRandomYRotation="false" useManualYRotation="true">
        <testAreas>
            <testArea startNode="testArea1Start" endNode="testArea1End" />
        </testAreas>

        <sounds>
            <place template="smallImp" />
        </sounds>
    </placement>

    <clearAreas>
        <clearArea startNode="clearArea01Start" widthNode="clearArea01Width" heightNode="clearArea01Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="5" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelingArea01Start" widthNode="levelingArea01Width" heightNode="levelingArea01Height" groundType="asphalt"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorAreaStart" widthNode="indoorAreaWidth" heightNode="indoorAreaHeight"/>
    </indoorAreas>

    <tipOcclusionUpdateAreas>
        <tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
    </tipOcclusionUpdateAreas>

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
    </ai>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="powerSwitch01"   filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
        <dynamicallyLoadedPart node="0" linkNode="powerSwitch02"   filename="$data/shared/assets/lights/rudolfHormann/powerSwitch.i3d" />
    </dynamicallyLoadedParts>

    <lights>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="lightNode01" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 -15" />
        </sharedLight>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="lightNode02" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 15" />
        </sharedLight>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="lightNode03" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 -15" />
        </sharedLight>
        <sharedLight filename="$data/shared/assets/lights/rudolfHormann/light150.xml" linkNode="lightNode04" groupIndex="1">
            <rotationNode name="rotationNode01" rotation="0 0 15" />
        </sharedLight>

        <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.2"/>
            </sounds>
        </group>
    </lights>

    <animatedObjects>
        <animatedObject saveId="door01" >
            <animation duration="4.5">
                <clip rootNode="rollingDoor1Panel1" name="garageSmallSource" filename="$data/placeables/rudolfHormann/garageSmall/garageSmallGate_animation.i3d" />
                <part node="occluderMeshDoor1">
                    <keyFrame time="0"    visibility="true" />
                    <keyFrame time="0.01" visibility="false" />
                </part>
            </animation>
            <controls triggerNode="rollingDoor1Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="rollingDoor1Sound" template="slidingGateMetalLoop" />
                <posEnd linkNode="rollingDoor1Sound" template="slidingGateMetalOpen" />
                <negEnd linkNode="rollingDoor1Sound" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
        <animatedObject>
            <animation duration="4.5">
                <clip rootNode="rollingDoor2Panel1" name="garageSmallSource" filename="$data/placeables/rudolfHormann/garageSmall/garageSmallGate_animation.i3d" />
                <part node="occluderMeshDoor2">
                    <keyFrame time="0"    visibility="true" />
                    <keyFrame time="0.01" visibility="false" />
                </part>
            </animation>
            <controls triggerNode="rollingDoor2Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="rollingDoor2Sound" template="slidingGateMetalLoop" />
                <posEnd linkNode="rollingDoor2Sound" template="slidingGateMetalOpen" />
                <negEnd linkNode="rollingDoor2Sound" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
        <animatedObject>
            <animation duration="4.5">
                <clip rootNode="rollingDoor3Panel1" name="garageSmallSource" filename="$data/placeables/rudolfHormann/garageSmall/garageSmallGate_animation.i3d" />
                <part node="occluderMeshDoor3">
                    <keyFrame time="0"    visibility="true" />
                    <keyFrame time="0.01" visibility="false" />
                </part>
            </animation>
            <controls triggerNode="rollingDoor3Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving linkNode="rollingDoor3Sound" template="slidingGateMetalLoop" />
                <posEnd linkNode="rollingDoor3Sound" template="slidingGateMetalOpen" />
                <negEnd linkNode="rollingDoor3Sound" template="slidingGateMetalClose" />
            </sounds>
        </animatedObject>
    </animatedObjects>

    <colorable>
        <nodes>
            <node node="garageSmall02_vis" />
            <node node="rollingDoor1Panel1" />
            <node node="garageSmall02_vis_LOD" />
        </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="rollingDoor1Panel1" node="0>0|0|0" />
        <i3dMapping id="rollingDoor1Trigger" node="0>0|0|1" />
        <i3dMapping id="rollingDoor1Sound" node="0>0|0|2" />
        <i3dMapping id="occluderMeshDoor1" node="0>0|0|3" />
        <i3dMapping id="rollingDoor2Panel1" node="0>0|1|0" />
        <i3dMapping id="rollingDoor2Trigger" node="0>0|1|1" />
        <i3dMapping id="rollingDoor2Sound" node="0>0|1|2" />
        <i3dMapping id="occluderMeshDoor2" node="0>0|1|3" />
        <i3dMapping id="rollingDoor3Panel1" node="0>0|2|0" />
        <i3dMapping id="rollingDoor3Trigger" node="0>0|2|1" />
        <i3dMapping id="rollingDoor3Sound" node="0>0|2|2" />
        <i3dMapping id="occluderMeshDoor3" node="0>0|2|3" />
        <i3dMapping id="clearArea01Start" node="0>1|0" />
        <i3dMapping id="clearArea01Width" node="0>1|0|0" />
        <i3dMapping id="clearArea01Height" node="0>1|0|1" />
        <i3dMapping id="levelingArea01Start" node="0>2|0" />
        <i3dMapping id="levelingArea01Width" node="0>2|0|0" />
        <i3dMapping id="levelingArea01Height" node="0>2|0|1" />
        <i3dMapping id="indoorAreaStart" node="0>3|0" />
        <i3dMapping id="indoorAreaWidth" node="0>3|0|0" />
        <i3dMapping id="indoorAreaHeight" node="0>3|0|1" />
        <i3dMapping id="lightTrigger" node="0>4|0" />
        <i3dMapping id="lightNode01" node="0>4|1" />
        <i3dMapping id="lightNode02" node="0>4|2" />
        <i3dMapping id="lightNode03" node="0>4|3" />
        <i3dMapping id="lightNode04" node="0>4|4" />
        <i3dMapping id="realLightsLow" node="0>4|5|0" />
        <i3dMapping id="realLightsHigh" node="0>4|5|1" />
        <i3dMapping id="powerSwitch01" node="0>4|6" />
        <i3dMapping id="powerSwitch02" node="0>4|7" />
        <i3dMapping id="testArea1Start" node="0>6|0" />
        <i3dMapping id="testArea1End" node="0>6|0|0" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>7|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>7|0|0" />
        <i3dMapping id="garageSmall01_vis" node="0>8|0|0" />
        <i3dMapping id="garageSmall02_vis" node="0>8|0|1" />
        <i3dMapping id="garageSmall02_vis_LOD" node="0>8|1|1" />
    </i3dMappings>
</placeable>
