<?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>
				<en>Fire Station</en>
				<de>Feuerwehr-Haus</de>
		</name>

		<functions>
		<function>
				<en>Building where you can put your firebrigade vehicles.</en>
				<de>Gebäude für Deine Feuerwehr-Autos.</de>
		</function>
		</functions>

        <image>store_fireHouse.dds</image>
        <price>50000</price>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <brand>NONE</brand>
        <species>placeable</species>
        <category>sheds</category>
        <brush>
            <type>placeable</type>
            <category>buildings</category>
            <tab>sheds</tab>
        </brush>
        <canBeSold>true</canBeSold>
        <showInStore>true</showInStore>
        <vertexBufferMemoryUsage>2631424</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>409856</indexBufferMemoryUsage>
        <textureMemoryUsage>18219008</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <filename>fireHouse.i3d</filename>
        <canBeRenamed>true</canBeRenamed>
        <boughtWithFarmland>true</boughtWithFarmland>
    </base>

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

    <clearAreas>
        <clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
    </clearAreas>

    <leveling requireLeveling="true" maxSmoothDistance="1" maxSlope="75" maxEdgeAngle="30">
        <levelAreas>
            <levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height"/>
        </levelAreas>
    </leveling>

    <indoorAreas>
        <indoorArea startNode="indoorArea1Start" widthNode="indoorArea1Width" heightNode="indoorArea1Height" />
    </indoorAreas>

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

    <ai>
        <updateAreas>
            <updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
        </updateAreas>
    </ai>


    <animatedObjects>
        <animatedObject saveId="doorAbove1" >
            <animation duration="1.5">
                <part node="doorAbove1">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -170 0"/>
                </part>
            </animation>
            <controls triggerNode="doorAbove1Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/prefab/gate/backDoorLoop.wav" loops="0" linkNode="doorAbove1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="doorAbove1" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="doorAbove1" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="doorAbove2" >
            <animation duration="1.5">
                <part node="doorAbove2">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 -170 0"/>
                </part>
            </animation>
            <controls triggerNode="doorAbove2Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/prefab/gate/backDoorLoop.wav" loops="0" linkNode="doorAbove2" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="doorAbove2" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="doorAbove2" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
        <animatedObject saveId="doorAbove3" >
            <animation duration="1.5">
                <part node="doorAbove3">
                    <keyFrame time="0.0" rotation="0 0 0"/>
                    <keyFrame time="1.0" rotation="0 170 0"/>
                </part>
            </animation>
            <controls triggerNode="doorAbove3Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/prefab/gate/backDoorLoop.wav" loops="0" linkNode="doorAbove3" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="doorAbove3" volume="0.8" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="doorAbove3" volume="0.8" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>



        <animatedObject saveId="door1" >
            <animation duration="1.5">
                <part node="door1a">
                    <keyFrame time="0.6" translation="-2.047 0 -0.052"/>
                    <keyFrame time="1.0" translation="-3.557 0 -0.052"/>
                </part>
                <part node="door1b">
                    <keyFrame time="0.6" translation="2.047 0 -0.045"/>
                    <keyFrame time="1.0" translation="3.467 0 -0.045"/>
                </part>
                <part node="door1c">
                    <keyFrame time="0.0" translation="0.787 0 0.048"/>
                    <keyFrame time="1.0" translation="3.467 0 0.048"/>
                </part>
                <part node="door1d">
                    <keyFrame time="0.0" translation="-0.711 0 0.048"/>
                    <keyFrame time="1.0" translation="-3.557 0 0.048"/>
                </part>
				
            </animation>
            <controls triggerNode="door1Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/tools/milkrobot/milkrobot_door_01.wav" loops="0" linkNode="door1Trigger" volume="0.8" radius="5" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="door1Trigger" volume="0.8" radius="5" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="door1Trigger" volume="0.8" radius="5" innerRadius="3" />
            </sounds>
        </animatedObject>

        <animatedObject saveId="door2" >
            <animation duration="1.5">
                <part node="door2a">
                    <keyFrame time="0.6" translation="-2.047 0 -0.052"/>
                    <keyFrame time="1.0" translation="-3.557 0 -0.052"/>
                </part>
                <part node="door2b">
                    <keyFrame time="0.6" translation="2.047 0 -0.045"/>
                    <keyFrame time="1.0" translation="3.467 0 -0.045"/>
                </part>
                <part node="door2c">
                    <keyFrame time="0.0" translation="0.787 0 0.048"/>
                    <keyFrame time="1.0" translation="3.467 0 0.048"/>
                </part>
                <part node="door2d">
                    <keyFrame time="0.0" translation="-0.711 0 0.048"/>
                    <keyFrame time="1.0" translation="-3.557 0 0.048"/>
                </part>
				
            </animation>
            <controls triggerNode="door2Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/tools/milkrobot/milkrobot_door_01.wav" loops="0" linkNode="door2Trigger" volume="0.8" radius="5" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="door2Trigger" volume="0.8" radius="5" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="door2Trigger" volume="0.8" radius="5" innerRadius="3" />
            </sounds>
        </animatedObject>

        <animatedObject saveId="door3" >
            <animation duration="1.5">
                <part node="door3a">
                    <keyFrame time="0.6" translation="-2.047 0 -0.052"/>
                    <keyFrame time="1.0" translation="-3.557 0 -0.052"/>
                </part>
                <part node="door3b">
                    <keyFrame time="0.6" translation="2.047 0 -0.045"/>
                    <keyFrame time="1.0" translation="3.467 0 -0.045"/>
                </part>
                <part node="door3c">
                    <keyFrame time="0.0" translation="0.787 0 0.048"/>
                    <keyFrame time="1.0" translation="3.467 0 0.048"/>
                </part>
                <part node="door3d">
                    <keyFrame time="0.0" translation="-0.711 0 0.048"/>
                    <keyFrame time="1.0" translation="-3.557 0 0.048"/>
                </part>
				
            </animation>
            <controls triggerNode="door3Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/tools/milkrobot/milkrobot_door_01.wav" loops="0" linkNode="door3Trigger" volume="0.8" radius="5" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="door3Trigger" volume="0.8" radius="5" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="door3Trigger" volume="0.8" radius="5" innerRadius="3" />
            </sounds>
        </animatedObject>

        <animatedObject saveId="door4" >
            <animation duration="1.5">
                <part node="door4a">
                    <keyFrame time="0.6" translation="-2.047 0 -0.052"/>
                    <keyFrame time="1.0" translation="-3.557 0 -0.052"/>
                </part>
                <part node="door4b">
                    <keyFrame time="0.6" translation="2.047 0 -0.045"/>
                    <keyFrame time="1.0" translation="3.467 0 -0.045"/>
                </part>
                <part node="door4c">
                    <keyFrame time="0.0" translation="0.787 0 0.048"/>
                    <keyFrame time="1.0" translation="3.467 0 0.048"/>
                </part>
                <part node="door4d">
                    <keyFrame time="0.0" translation="-0.711 0 0.048"/>
                    <keyFrame time="1.0" translation="-3.557 0 0.048"/>
                </part>
				
            </animation>
            <controls triggerNode="door4Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/tools/milkrobot/milkrobot_door_01.wav" loops="0" linkNode="door4Trigger" volume="0.8" radius="5" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="door4Trigger" volume="0.8" radius="5" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="door4Trigger" volume="0.8" radius="5" innerRadius="3" />
            </sounds>
        </animatedObject>

        <animatedObject saveId="door5" >
            <animation duration="1.5">
                <part node="door5a">
                    <keyFrame time="0.6" translation="-2.047 0 -0.052"/>
                    <keyFrame time="1.0" translation="-3.557 0 -0.052"/>
                </part>
                <part node="door5b">
                    <keyFrame time="0.6" translation="2.047 0 -0.045"/>
                    <keyFrame time="1.0" translation="3.467 0 -0.045"/>
                </part>
                <part node="door5c">
                    <keyFrame time="0.0" translation="0.787 0 0.048"/>
                    <keyFrame time="1.0" translation="3.467 0 0.048"/>
                </part>
                <part node="door5d">
                    <keyFrame time="0.0" translation="-0.711 0 0.048"/>
                    <keyFrame time="1.0" translation="-3.557 0 0.048"/>
                </part>
				
            </animation>
            <controls triggerNode="door5Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/tools/milkrobot/milkrobot_door_01.wav" loops="0" linkNode="door5Trigger" volume="0.8" radius="5" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="door5Trigger" volume="0.8" radius="5" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="door5Trigger" volume="0.8" radius="5" innerRadius="3" />
            </sounds>
        </animatedObject>

        <animatedObject saveId="door6" >
            <animation duration="1.5">
                <part node="door6a">
                    <keyFrame time="0.6" translation="-2.047 0 -0.052"/>
                    <keyFrame time="1.0" translation="-3.557 0 -0.052"/>
                </part>
                <part node="door6b">
                    <keyFrame time="0.6" translation="2.047 0 -0.045"/>
                    <keyFrame time="1.0" translation="3.467 0 -0.045"/>
                </part>
                <part node="door6c">
                    <keyFrame time="0.0" translation="0.787 0 0.048"/>
                    <keyFrame time="1.0" translation="3.467 0 0.048"/>
                </part>
                <part node="door6d">
                    <keyFrame time="0.0" translation="-0.711 0 0.048"/>
                    <keyFrame time="1.0" translation="-3.557 0 0.048"/>
                </part>
				
            </animation>
            <controls triggerNode="door6Trigger" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
            <sounds>
                <moving file="$data/sounds/tools/milkrobot/milkrobot_door_01.wav" loops="0" linkNode="door6Trigger" volume="0.8" radius="5" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gateOpened.wav" linkNode="door6Trigger" volume="0.8" radius="5" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gateClosed.wav" linkNode="door6Trigger" volume="0.8" radius="5" innerRadius="3" />
            </sounds>
        </animatedObject>

        <animatedObject saveId="sirene" >
            <animation duration="29">
				<part node="sireneLight">
					<keyFrame time="0.0" rotation="0 0 0"/>
					<keyFrame time="0.0" visibility="false"/>
					<keyFrame time="0.02" visibility="true"/>
					<keyFrame time="0.1" rotation="0 -90 0"/>
					<keyFrame time="0.15" rotation="0 -180 0"/>
					<keyFrame time="0.2" rotation="0 -270 0"/>
					<keyFrame time="0.25" rotation="0 -360 0"/>
					<keyFrame time="0.3" rotation="0 -450 0"/>
					<keyFrame time="0.35" rotation="0 -540 0"/>
					<keyFrame time="0.4" rotation="0 -630 0"/>
					<keyFrame time="0.45" rotation="0 -720 0"/>
					
					<keyFrame time="0.50" rotation="0 -810 0"/>
					<keyFrame time="0.55" rotation="0 -900 0"/>
					<keyFrame time="0.6" rotation="0 -990 0"/>
					<keyFrame time="0.65" rotation="0 -1080 0"/>
					<keyFrame time="0.7" rotation="0 -1170 0"/>
					<keyFrame time="0.75" rotation="0 -1260 0"/>
					<keyFrame time="0.8" rotation="0 -1350 0"/>
					<keyFrame time="0.85" rotation="0 -1440 0"/>
					<keyFrame time="0.9" rotation="0 -1520 0"/>
					<keyFrame time="0.95" visibility="false" />
				</part>
		
            </animation>
            <controls triggerNode="sireneTrigger" posAction="ACTIVATE_HANDTOOL" posText="l10nSirene" />
            <sounds>
                <moving file="$data/sounds/maps/mapFR/details/testSireneFrance.ogg" loops="0" linkNode="sireneLight" volume="0.8" radius="5" innerRadius="3" fadeOut="0.25"/>
            </sounds>
        </animatedObject>

    </animatedObjects>


    <i3dMappings>
        <i3dMapping id="testArea1Start" node="0>0|0|0" />
        <i3dMapping id="testArea1End" node="0>0|0|0|0" />
        <i3dMapping id="clearArea1Start" node="0>0|1|0" />
        <i3dMapping id="clearArea1Width" node="0>0|1|0|0" />
        <i3dMapping id="clearArea1Height" node="0>0|1|0|1" />
        <i3dMapping id="levelArea1Start" node="0>0|2|0" />
        <i3dMapping id="levelArea1Width" node="0>0|2|0|0" />
        <i3dMapping id="levelArea1Height" node="0>0|2|0|1" />
        <i3dMapping id="indoorArea1Start" node="0>0|3|0" />
        <i3dMapping id="indoorArea1Width" node="0>0|3|0|0" />
        <i3dMapping id="indoorArea1Height" node="0>0|3|0|1" />
        <i3dMapping id="tipOcclusionUpdateArea1Start" node="0>0|4|0" />
        <i3dMapping id="tipOcclusionUpdateArea1End" node="0>0|4|0|0" />

        <i3dMapping id="doorAbove1Trigger" node="0>3|0|0" />
        <i3dMapping id="doorAbove1" node="0>3|0|1" />

        <i3dMapping id="doorAbove2Trigger" node="0>3|1|0" />
        <i3dMapping id="doorAbove2" node="0>3|1|1" />

        <i3dMapping id="doorAbove3Trigger" node="0>3|2|0" />
        <i3dMapping id="doorAbove3" node="0>3|2|1" />

        <i3dMapping id="door1Trigger" node="0>3|3|0" />
        <i3dMapping id="door1a" node="0>3|3|1" />
        <i3dMapping id="door1b" node="0>3|3|2" />
        <i3dMapping id="door1c" node="0>3|3|3" />
        <i3dMapping id="door1d" node="0>3|3|4" />

        <i3dMapping id="door2Trigger" node="0>3|4|0" />
        <i3dMapping id="door2a" node="0>3|4|1" />
        <i3dMapping id="door2b" node="0>3|4|2" />
        <i3dMapping id="door2c" node="0>3|4|3" />
        <i3dMapping id="door2d" node="0>3|4|4" />

        <i3dMapping id="door3Trigger" node="0>3|5|0" />
        <i3dMapping id="door3a" node="0>3|5|1" />
        <i3dMapping id="door3b" node="0>3|5|2" />
        <i3dMapping id="door3c" node="0>3|5|3" />
        <i3dMapping id="door3d" node="0>3|5|4" />

        <i3dMapping id="door4Trigger" node="0>3|6|0" />
        <i3dMapping id="door4a" node="0>3|6|1" />
        <i3dMapping id="door4b" node="0>3|6|2" />
        <i3dMapping id="door4c" node="0>3|6|3" />
        <i3dMapping id="door4d" node="0>3|6|4" />

        <i3dMapping id="door5Trigger" node="0>3|7|0" />
        <i3dMapping id="door5a" node="0>3|7|1" />
        <i3dMapping id="door5b" node="0>3|7|2" />
        <i3dMapping id="door5c" node="0>3|7|3" />
        <i3dMapping id="door5d" node="0>3|7|4" />

        <i3dMapping id="door6Trigger" node="0>3|8|0" />
        <i3dMapping id="door6a" node="0>3|8|1" />
        <i3dMapping id="door6b" node="0>3|8|2" />
        <i3dMapping id="door6c" node="0>3|8|3" />
        <i3dMapping id="door6d" node="0>3|8|4" />

        <i3dMapping id="sireneTrigger" node="0>3|9|0" />
        <i3dMapping id="sireneLight" node="0>3|9|1|0" />

    </i3dMappings>
</placeable>
