<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<placeable>
    <storeData>
        <name>Double Field Gate</name>
        <functions>
            <function>$l10n_function_decoration</function>
        </functions>
        <image>new/vorota.png</image>
        <price>400</price>
        <lifetime>1000</lifetime>
        <rotation>0</rotation>
        <species>placeable</species>
        <category>decoration</category>
        <vertexBufferMemoryUsage>114464</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>14892</indexBufferMemoryUsage>
        <textureMemoryUsage>8388760</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <placeableType>placeable</placeableType>
    <filename>new/Vorota.i3d</filename>
    <placement testSizeX="0.5" testSizeZ="0.5" sizeX="0.5" sizeZ="0.5" useRandomYRotation="false" useManualYRotation="true" />
	
	<animatedObjects>

        <animatedObject saveId="gatesoftdouble" >
            <animation duration="6">
                <part node="2|0|2|1">
                    <keyFrame time="0.0" rotation="-2.2 0 0"/>
                    <keyFrame time="0.4" rotation="166.6 0 0" />
                </part>
                <part node="2|0|1">
					<keyFrame time="0.45" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 -130 0"  />
                </part>
				<part node="2|0|2">
					<keyFrame time="0.45" rotation="0 0 0" />
					<keyFrame time="1" rotation="0 130 0"  />
                </part>
            </animation>
            <controls triggerNode="2|0|0" posAction="ACTIVATE_HANDTOOL" posText="action_opengate" negText="action_closegate" />
            <sounds>
                <moving file="$data/sounds/prefab/gate/gate_loop.wav" loops="0" linkNode="2|0" volume="0.6" radius="25" innerRadius="3" fadeOut="0.25"/>
                <posEnd file="$data/sounds/prefab/gate/gate_opened.wav" linkNode="2|0" volume="0.6" radius="25" innerRadius="3" />
                <negEnd file="$data/sounds/prefab/gate/gate_closed.wav" linkNode="2|0" volume="0.6" radius="25" innerRadius="3" />
            </sounds>
        </animatedObject>
				
    </animatedObjects>
</placeable>