<screen>
	<name>TalkScreen</name>
	<layer>9</layer> <!-- LAYER_POPUP - 1-->

	<rootcomponent>
		<event><name>create</name>
			<node/>
		</event>
		<event>
			<name>destroy</name>
			<node>
				<lifetime>300</lifetime>
			</node>
		</event>

		<!-- form -->
		<component>
			<name>form</name>
			<event>
				<name>create</name>
				<sound>/sound/window_moves_in.ogg</sound>
				<node>
					<!--mesh>
						<width>512</width>
						<height>512</height>
						<anchorx>253</anchorx>
						<anchory>250</anchory>
					</mesh>
					<texture>/texture/gui/screen/popup.dds</texture-->
					<keyframe><time>0</time>
						<position><x>84</x><y>-150</y></position>
						<scale>1.6</scale>
						<color>0x00FFFFFF</color>
					</keyframe>
					<keyframe><time>300</time>
						<position><x>84</x><y>0</y></position>
						<scale>1.</scale>
						<color>0xFFFFFFFF</color>
					</keyframe>
					<!--node>
						<mesh>
							<width>472</width><height>392</height>
							<color>0x8067AAD6</color>
						</mesh>
						<position><z>0.001</z></position>
					</node>
					<node>
						<mesh>
							<width>440</width><height>360</height>
							<color>0xC0800000</color>
						</mesh>
						<position><z>0.002</z></position>
					</node-->
					<node>
						<mesh>
							<width>512</width><height>512</height>
						</mesh>
						<texture>/texture/gui/screen/popup2.png</texture>
						<position><z>0.003</z></position>
					</node>
					
				</node>
			</event>
			<event>
				<name>destroy</name>
				<sound>/sound/window_moves_out.ogg</sound>
				<node>
					<keyframe><time>300</time>
						<position><x>84</x><y>-150</y></position>
						<scale>1.6</scale>
						<color>0x00FFFFFF</color>
					</keyframe>
				</node>
			</event>

			<!-- message text -->
			<component>
				<font>0</font>
				<name>messagetext</name>
				<verticalalign>top</verticalalign>
				<horizontalalign>left</horizontalalign>
				<captioncolor>0xFF000000</captioncolor>
				<captionshadowcolor>0xFFFFFFFF</captionshadowcolor>
				<captionshadowtype>-1</captionshadowtype>
				<event>
					<name>create</name>
					<node>
						<position>
							<x>-184</x>
							<y>-124</y>
							<z>-1</z>
						</position>
					</node>
				</event>
			</component>

			<component><name>portrait</name>
				<event>
					<name>create</name>
					<node>
						<position><x>-304</x><y>0</y><z>-1</z></position>
					</node>
				</event>
			</component><!--portrait-->

			<!-- YES button -->
			<component>
				<name>yesbutton</name>
				<hotkey>KEY_RETURN</hotkey>
				<caption>$hierarchy.ok</caption>
				<captioncolor>0xFF000000</captioncolor>
				<captionscale>0.85</captionscale>
				<width>170</width>
				<height>50</height>
				<event>
					<name>create</name>
					<node>
						<replace>/gui/component/button2.xml</replace>
						<position>
							<x>104</x>
							<y>129</y>
							<z>-2</z>
						</position>
					</node>
				</event>
				<event><name>mousein</name>
					<sound>/sound/mouseover.ogg</sound>
					<node>
						<replace>/gui/component/button2hi.xml</replace>
					</node>
				</event>
				<event><name>mouseout</name>
					<sound>/sound/mouseout.ogg</sound>
					<node>
						<replace>/gui/component/button2.xml</replace>
					</node>
				</event>
			</component>
			<!-- NO button -->
			<component>
				<name>nobutton</name>
				<hotkey>KEY_ESCAPE</hotkey>
				<event><name>create</name>
					<node/>
				</event>
			</component>
		</component>
	</rootcomponent>
</screen>
