Reformat xml using tidy_config.txt

main/yubo-dev
Nuno 3 years ago
parent 053620e3ac
commit d57148e824

File diff suppressed because it is too large Load Diff

@ -1,260 +1,56 @@
<?xml version="1.0"?>
<interface_config>
<root id="interface"
x="0"
y="0"
w="800"
h="600"
active="true" />
<!-- default: active, h_bar -->
<variable entry="UI:VARIABLES:ISACTIVE:APPZONE"
type="sint32"
value="1" />
<variable entry="UI:SAVE:APPZONE:MODE"
type="sint32"
value="1" />
<!-- load lua after variable are setup -->
<lua file="appzone.lua" />
<lua file="webbrowser.lua" />
<proc id="appzone_proc_active">
<action handler="set"
params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=1" />
<action handler="proc"
params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_deactive">
<action handler="set"
params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=0" />
</proc>
<proc id="appzone_proc_mode_set">
<action handler="set"
params="dblink=UI:SAVE:APPZONE:MODE|value=@0" />
<action handler="proc"
params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_mode_inc">
<action handler="set"
params="dblink=UI:SAVE:APPZONE:MODE|value=add(@UI:SAVE:APPZONE:MODE,1)" />
<action handler="proc"
params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_mode">
<action handler="set"
cond="le(@UI:SAVE:APPZONE:MODE,0)"
params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
<action handler="set"
cond="ge(@UI:SAVE:APPZONE:MODE,5)"
params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,1)"
params="AppZone:setMode('h_bar')" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,2)"
params="AppZone:setMode('h_box')" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,3)"
params="AppZone:setMode('v_bar')" />
<action handler="lua"
cond="eq(@UI:SAVE:APPZONE:MODE,4)"
params="AppZone:setMode('v_box')" />
</proc>
<group type="menu"
id="appzone_menu"
extends="base_menu_with_color">
<action id="settings"
name="uiBrowseHome"
handler="lua"
params="AppZone:onButtonHome()"
icon="building_state2.tga" />
<action id="reload"
name="uiBrowseRefresh"
handler="lua"
params="AppZone:reload()"
icon="curs_rotate.tga" />
<action id="hide"
name="uiHide"
handler="lua"
params="AppZone:setActive(false)"
icon="r2_icon_stop_possess.tga" />
<separator />
</group>
<group id="appzone"
type="container"
x="0"
y="0"
w="200"
h="26"
posref="MM MM"
min_w="26"
min_h="26"
max_w="1600"
max_h="1600"
pop_max_w="1600"
pop_max_h="1600"
title=""
global_color="true"
global_color_over="true"
header_active="false"
right_button="false"
options="layer0_pad"
movable="true"
active="true"
opened="true"
openable="false"
resizer="false"
on_active="proc"
on_active_params="appzone_proc_active"
on_deactive="proc"
on_deactive_params="appzone_proc_deactive"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:appzone_menu">
<group id="header_closed"
x="0"
y="0"
w="0"
h="0"
posref="TL TL" />
<group id="header_opened"
x="0"
y="0"
w="0"
h="0"
wmin="5"
sizeref="w"
posref="TL TL" />
<group id="content"
x="0"
y="0"
w="0"
h="26"
posref="TL TL">
<ctrl type="button"
style="text_button_header"
button_type="toggle_button"
id="toggle_mode"
posref="BL BL"
x="2"
y="0"
tx_normal="tb_mode.tga"
tx_pushed="tb_mode.tga"
tooltip="uiMk_mode"
onclick_l="proc"
params_l="appzone_proc_mode_inc" />
<ctrl type="button"
style="text_button_header"
button_type="toggle_button"
id="browse_home"
posref="BR BR"
x="0"
y="-3"
tx_normal="r2_palette_components.tga"
tx_pushed="r2_palette_components.tga"
tooltip="uittBrowseHome"
onclick_l="lua"
params_l="AppZone:onButtonHome()" />
<ctrl type="button"
style="text_button_header"
button_type="toggle_button"
id="browse_reload"
posref="TL BL"
posparent="browse_home"
x="0"
y="-4"
tx_normal="r2ed_icon_rotate.tga"
tx_pushed="r2ed_icon_rotate.tga"
tooltip="uiBrowseRefresh"
onclick_l="lua"
params_l="AppZone:reload()" />
<group id="html"
type="webig_html"
posref="TL TL"
url=""
title_prefix=""
sizeref="wh"
x="15"
y="0"
w="0"
h="0"
background_color="0 0 0 0"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="16"
h2_font_size="14"
h3_font_size="13"
h4_font_size="12"
h5_font_size="11"
h6_font_size="11"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="patch_off.tga"
checkbox_bitmap_pushed="patch_on.tga"
checkbox_bitmap_over=""
background_bitmap_view=""
home=""
browse_next_time="false"
form_text_area_group="edit_box_widget_multiline">
<group id="black"
posref="BR BR"
sizeref="hw"
w="0"
h="0"
inherit_gc_alpha="true" />
<view type="bitmap"
id="black2"
posparent="black"
posref="MM MM"
sizeref="wh"
w="0"
h="0"
inherit_gc_alpha="true"
scale="true"
texture="blank.tga"
global_color="false" />
<group type="list"
id="text_list"
fontsize="9"
posref="TL TL"
posparent="black"
x="0"
y="0"
space="0"
sizeref="hw"
w="-4"
h="0"
maxelements="2000" />
<ctrl style="skin_scroll"
id="scroll_bar" />
</group>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- default: active, h_bar -->
<variable entry="UI:VARIABLES:ISACTIVE:APPZONE" type="sint32" value="1" />
<variable entry="UI:SAVE:APPZONE:MODE" type="sint32" value="1" />
<!-- load lua after variable are setup -->
<lua file="appzone.lua" />
<lua file="webbrowser.lua" />
<proc id="appzone_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=1" />
<action handler="proc" params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:APPZONE|value=0" />
</proc>
<proc id="appzone_proc_mode_set">
<action handler="set" params="dblink=UI:SAVE:APPZONE:MODE|value=@0" />
<action handler="proc" params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_mode_inc">
<action handler="set" params="dblink=UI:SAVE:APPZONE:MODE|value=add(@UI:SAVE:APPZONE:MODE,1)" />
<action handler="proc" params="appzone_proc_mode" />
</proc>
<proc id="appzone_proc_mode">
<action handler="set" cond="le(@UI:SAVE:APPZONE:MODE,0)" params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
<action handler="set" cond="ge(@UI:SAVE:APPZONE:MODE,5)" params="dblink=UI:SAVE:APPZONE:MODE|value=1" />
<action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,1)" params="AppZone:setMode('h_bar')" />
<action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,2)" params="AppZone:setMode('h_box')" />
<action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,3)" params="AppZone:setMode('v_bar')" />
<action handler="lua" cond="eq(@UI:SAVE:APPZONE:MODE,4)" params="AppZone:setMode('v_box')" />
</proc>
<group type="menu" id="appzone_menu" extends="base_menu_with_color">
<action id="settings" name="uiBrowseHome" handler="lua" params="AppZone:onButtonHome()" icon="building_state2.tga" />
<action id="reload" name="uiBrowseRefresh" handler="lua" params="AppZone:reload()" icon="curs_rotate.tga" />
<action id="hide" name="uiHide" handler="lua" params="AppZone:setActive(false)" icon="r2_icon_stop_possess.tga" />
<separator />
</group>
</group>
<tree node="appzone" />
<command name="appzone"
action="lua"
params="AppZone:handle('$')" />
<group id="appzone" type="container" x="0" y="0" w="200" h="26" posref="MM MM" min_w="26" min_h="26" max_w="1600" max_h="1600" pop_max_w="1600" pop_max_h="1600" title="" global_color="true" global_color_over="true" header_active="false" right_button="false" options="layer0_pad" movable="true" active="true" opened="true" openable="false" resizer="false" on_active="proc" on_active_params="appzone_proc_active" on_deactive="proc" on_deactive_params="appzone_proc_deactive" group_onclick_r="active_menu" group_params_r="menu=ui:interface:appzone_menu">
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL" />
<group id="content" x="0" y="0" w="0" h="26" posref="TL TL">
<ctrl type="button" style="text_button_header" button_type="toggle_button" id="toggle_mode" posref="BL BL" x="2" y="0" tx_normal="tb_mode.tga" tx_pushed="tb_mode.tga" tooltip="uiMk_mode" onclick_l="proc" params_l="appzone_proc_mode_inc" />
<ctrl type="button" style="text_button_header" button_type="toggle_button" id="browse_home" posref="BR BR" x="0" y="-3" tx_normal="r2_palette_components.tga" tx_pushed="r2_palette_components.tga" tooltip="uittBrowseHome" onclick_l="lua" params_l="AppZone:onButtonHome()" />
<ctrl type="button" style="text_button_header" button_type="toggle_button" id="browse_reload" posref="TL BL" posparent="browse_home" x="0" y="-4" tx_normal="r2ed_icon_rotate.tga" tx_pushed="r2ed_icon_rotate.tga" tooltip="uiBrowseRefresh" onclick_l="lua" params_l="AppZone:reload()" />
<group id="html" type="webig_html" posref="TL TL" url="" title_prefix="" sizeref="wh" x="15" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="0" h="0" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="0" h="0" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="0" y="0" space="0" sizeref="hw" w="-4" h="0" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="appzone" />
<command name="appzone" action="lua" params="AppZone:handle('$')" />
</interface_config>

@ -1,74 +1,28 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="bg_downloader.lua" />
<proc id="bg_downloader_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=1" />
</proc>
<proc id="bg_downloader_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" />
</proc>
<!-- Window for the background downloader -->
<group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false"
pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100"
h="100"
w="410"
active="false"
savable="true"
header_color="UI:SAVE:WIN:COLORS:OPT"
on_deactive="proc" on_deactive_params="bg_downloader_deactive"
on_active="proc" on_active_params="bg_downloader_active"
>
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="header_opened" x="0" y="0" w="800" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<view type="text" id="text" active="true" y="-12" posref="TM TM" hardtext="" fontsize="10" color="255 255 255 255"
auto_clamp="true"
global_color="false"
/>
<view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255"
global_color="false"
/>
<view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR"
global_color="false"
/>
<view type="bar" id="progress" parent="" active="true" posparent="text" posref="BM TM" y="-2"
global_color="false"
/>
<group type="combo_box" id="prio" sizeref="w" w="32" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false"
posref="BM TM"
posparent="progress"
on_change="lua:bgdownloader:onChangePriority()" on_change_params=""
tooltip="uiBGD_PriorityTooltip"
global_color="false"
>
<instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip"/>
<combo_text name="uiBGD_Paused" />
<combo_text name="uiBGD_LowPriority" />
<combo_text name="uiBGD_NormalPriority" />
</group>
</group>
</group>
<tree node="bg_downloader"/>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="bg_downloader.lua" />
<proc id="bg_downloader_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=1" />
</proc>
<proc id="bg_downloader_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" />
</proc>
<!-- Window for the background downloader -->
<group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100" h="100" w="410" active="false" savable="true" header_color="UI:SAVE:WIN:COLORS:OPT" on_deactive="proc" on_deactive_params="bg_downloader_deactive" on_active="proc" on_active_params="bg_downloader_active">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" w="800" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<view type="text" id="text" active="true" y="-12" posref="TM TM" hardtext="" fontsize="10" color="255 255 255 255" auto_clamp="true" global_color="false" />
<view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255" global_color="false" />
<view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR" global_color="false" />
<view type="bar" id="progress" parent="" active="true" posparent="text" posref="BM TM" y="-2" global_color="false" />
<group type="combo_box" id="prio" sizeref="w" w="32" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false" posref="BM TM" posparent="progress" on_change="lua:bgdownloader:onChangePriority()" on_change_params="" tooltip="uiBGD_PriorityTooltip" global_color="false">
<instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip" />
<combo_text name="uiBGD_Paused" />
<combo_text name="uiBGD_LowPriority" />
<combo_text name="uiBGD_NormalPriority" />
</group>
</group>
</group>
<tree node="bg_downloader" />
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,132 +1,96 @@
<!-- *************** -->
<!-- Ingame commands -->
<!-- *************** -->
<interface_config>
<command name="tell" action="enter_tell" params="player=$" />
<command name="t" action="enter_tell" params="player=$" />
<command name="tell" action="tell" params="player=$|text=+" ctrlchar="false" />
<command name="t" action="tell" params="player=$|text=+" ctrlchar="false" />
<command name="say" action="enter_talk" params="mode=0" />
<command name="s" action="enter_talk" params="mode=0" />
<command name="say" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="s" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="shout" action="enter_talk" params="mode=1" />
<command name="sh" action="enter_talk" params="mode=1" />
<command name="yell" action="enter_talk" params="mode=1" />
<command name="y" action="enter_talk" params="mode=1" />
<command name="shout" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="sh" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="yell" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="y" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="team" action="enter_talk" params="mode=2" />
<command name="te" action="enter_talk" params="mode=2" />
<command name="party" action="enter_talk" params="mode=2" />
<command name="p" action="enter_talk" params="mode=2" />
<command name="team" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="te" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="party" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="p" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="universe" action="enter_talk" params="mode=6" />
<command name="u" action="enter_talk" params="mode=6" />
<command name="universe" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="u" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="region" action="enter_talk" params="mode=11" />
<command name="re" action="enter_talk" params="mode=11" />
<command name="r" action="enter_talk" params="mode=11" />
<command name="region" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="re" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="r" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="0" action="enter_talk" params="mode=12|channel=0" />
<command name="1" action="enter_talk" params="mode=12|channel=1" />
<command name="2" action="enter_talk" params="mode=12|channel=2" />
<command name="3" action="enter_talk" params="mode=12|channel=3" />
<command name="4" action="enter_talk" params="mode=12|channel=4" />
<command name="5" action="enter_talk" params="mode=12|channel=5" />
<command name="6" action="enter_talk" params="mode=12|channel=6" />
<command name="7" action="enter_talk" params="mode=12|channel=7" />
<command name="0" action="talk" params="mode=12|channel=0|text=+" ctrlchar="false" />
<command name="1" action="talk" params="mode=12|channel=1|text=+" ctrlchar="false" />
<command name="2" action="talk" params="mode=12|channel=2|text=+" ctrlchar="false" />
<command name="3" action="talk" params="mode=12|channel=3|text=+" ctrlchar="false" />
<command name="4" action="talk" params="mode=12|channel=4|text=+" ctrlchar="false" />
<command name="5" action="talk" params="mode=12|channel=5|text=+" ctrlchar="false" />
<command name="6" action="talk" params="mode=12|channel=6|text=+" ctrlchar="false" />
<command name="7" action="talk" params="mode=12|channel=7|text=+" ctrlchar="false" />
<command name="guild" action="enter_talk" params="mode=3" />
<command name="gu" action="enter_talk" params="mode=3" />
<command name="g" action="enter_talk" params="mode=3" />
<command name="guild" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="gu" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="g" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="self" action="self_target" params="" />
<command name="target" action="target" params="entity=+" ctrlchar="false" />
<command name="tar" action="target" params="entity=+" ctrlchar="false" />
<command name="target_quiet" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="tarq" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="target" action="no_target" params="" />
<command name="tar" action="no_target" params="" />
<command name="lmtar" action="target_landmark" params="search=+" />
<command name="lmtar" action="set_compass_north" params="compass=ui:interface:compass" />
<command name="assist" action="assist_target" params="" />
<command name="as" action="assist_target" params="" />
<command name="assist" action="assist" params="entity=$" />
<command name="as" action="assist" params="entity=$" />
<command name="chat" action="swap_chat_mode" params="update_capture=1" />
<!-- NB: cannot put /c because of internal command) -->
<command name="guildinvite" action="command" params="a guildInvite $" />
<command name="invite" action="command" params="a teamInvite $" />
<command name="channel" action="command" params='a connectUserChannel "$"' />
<command name="channel" action="lua" params='game:connectUserChannel([[+]])' />
<command name="saveChannel" action="lua" params='game:saveChannel()' />
<command name="leaguekick" action="command" params="a leagueKick $" />
<command name="leaguequit" action="command" params="a setLeague" />
<command name="leagueinvite" action="command" params="a leagueInvite $" />
<command name="league" action="command" params='a setLeague "$"' />
<command name="resetname" action="command" params="a resetName"/>
<command name="chatlog" action="command" params="chatLog"/>
<command name="showonline" action="command" params="a showOnline $"/>
<command name="showOnline" action="command" params="a showOnline $"/>
<command name="loot" action="inv_temp_all" params="" />
<command name="setuiscale" action="set_ui_scale" params="scale=$"/>
<command name="mapsearch" action="proc" params="map_search_show_set|+" />
<command name="mapsearch" action="proc" params="map_search_show" />
<!-- WebIG -->
<command name="go" action="browse" params="name=ui:interface:webig:content:html|url=home"/>
<command name="webdev" action="browse" params="name=ui:interface:webig:content:html|url=http://localhost/index.html"/>
<command name="tell" action="enter_tell" params="player=$" />
<command name="t" action="enter_tell" params="player=$" />
<command name="tell" action="tell" params="player=$|text=+" ctrlchar="false" />
<command name="t" action="tell" params="player=$|text=+" ctrlchar="false" />
<command name="say" action="enter_talk" params="mode=0" />
<command name="s" action="enter_talk" params="mode=0" />
<command name="say" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="s" action="talk" params="mode=0|text=+" ctrlchar="false" />
<command name="shout" action="enter_talk" params="mode=1" />
<command name="sh" action="enter_talk" params="mode=1" />
<command name="yell" action="enter_talk" params="mode=1" />
<command name="y" action="enter_talk" params="mode=1" />
<command name="shout" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="sh" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="yell" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="y" action="talk" params="mode=1|text=+" ctrlchar="false" />
<command name="team" action="enter_talk" params="mode=2" />
<command name="te" action="enter_talk" params="mode=2" />
<command name="party" action="enter_talk" params="mode=2" />
<command name="p" action="enter_talk" params="mode=2" />
<command name="team" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="te" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="party" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="p" action="talk" params="mode=2|text=+" ctrlchar="false" />
<command name="universe" action="enter_talk" params="mode=6" />
<command name="u" action="enter_talk" params="mode=6" />
<command name="universe" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="u" action="talk" params="mode=6|text=+" ctrlchar="false" />
<command name="region" action="enter_talk" params="mode=11" />
<command name="re" action="enter_talk" params="mode=11" />
<command name="r" action="enter_talk" params="mode=11" />
<command name="region" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="re" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="r" action="talk" params="mode=11|text=+" ctrlchar="false" />
<command name="0" action="enter_talk" params="mode=12|channel=0" />
<command name="1" action="enter_talk" params="mode=12|channel=1" />
<command name="2" action="enter_talk" params="mode=12|channel=2" />
<command name="3" action="enter_talk" params="mode=12|channel=3" />
<command name="4" action="enter_talk" params="mode=12|channel=4" />
<command name="5" action="enter_talk" params="mode=12|channel=5" />
<command name="6" action="enter_talk" params="mode=12|channel=6" />
<command name="7" action="enter_talk" params="mode=12|channel=7" />
<command name="0" action="talk" params="mode=12|channel=0|text=+" ctrlchar="false" />
<command name="1" action="talk" params="mode=12|channel=1|text=+" ctrlchar="false" />
<command name="2" action="talk" params="mode=12|channel=2|text=+" ctrlchar="false" />
<command name="3" action="talk" params="mode=12|channel=3|text=+" ctrlchar="false" />
<command name="4" action="talk" params="mode=12|channel=4|text=+" ctrlchar="false" />
<command name="5" action="talk" params="mode=12|channel=5|text=+" ctrlchar="false" />
<command name="6" action="talk" params="mode=12|channel=6|text=+" ctrlchar="false" />
<command name="7" action="talk" params="mode=12|channel=7|text=+" ctrlchar="false" />
<command name="guild" action="enter_talk" params="mode=3" />
<command name="gu" action="enter_talk" params="mode=3" />
<command name="g" action="enter_talk" params="mode=3" />
<command name="guild" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="gu" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="g" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="self" action="self_target" params="" />
<command name="target" action="target" params="entity=+" ctrlchar="false" />
<command name="tar" action="target" params="entity=+" ctrlchar="false" />
<command name="target_quiet" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="tarq" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="target" action="no_target" params="" />
<command name="tar" action="no_target" params="" />
<command name="lmtar" action="target_landmark" params="search=+" />
<command name="lmtar" action="set_compass_north" params="compass=ui:interface:compass" />
<command name="assist" action="assist_target" params="" />
<command name="as" action="assist_target" params="" />
<command name="assist" action="assist" params="entity=$" />
<command name="as" action="assist" params="entity=$" />
<command name="chat" action="swap_chat_mode" params="update_capture=1" />
<!-- NB: cannot put /c because of internal command) -->
<command name="guildinvite" action="command" params="a guildInvite $" />
<command name="invite" action="command" params="a teamInvite $" />
<command name="channel" action="command" params='a connectUserChannel "$"' />
<command name="channel" action="lua" params='game:connectUserChannel([[+]])' />
<command name="saveChannel" action="lua" params='game:saveChannel()' />
<command name="leaguekick" action="command" params="a leagueKick $" />
<command name="leaguequit" action="command" params="a setLeague" />
<command name="leagueinvite" action="command" params="a leagueInvite $" />
<command name="league" action="command" params='a setLeague "$"' />
<command name="resetname" action="command" params="a resetName" />
<command name="chatlog" action="command" params="chatLog" />
<command name="showonline" action="command" params="a showOnline $" />
<command name="showOnline" action="command" params="a showOnline $" />
<command name="loot" action="inv_temp_all" params="" />
<command name="setuiscale" action="set_ui_scale" params="scale=$" />
<command name="mapsearch" action="proc" params="map_search_show_set|+" />
<command name="mapsearch" action="proc" params="map_search_show" />
<!-- WebIG -->
<command name="go" action="browse" params="name=ui:interface:webig:content:html|url=home" />
<command name="webdev" action="browse" params="name=ui:interface:webig:content:html|url=http://localhost/index.html" />
</interface_config>

@ -1,3 +1 @@
<interface_config>
</interface_config>
<interface_config></interface_config>

@ -1,546 +1,400 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:SAVE:RADARZOOM" type="sint64" value="1" />
<variable entry="UI:SAVE:MP3_VOLUME" type="sint64" value="255" />
<variable entry="UI:SAVE:MP3_REPEAT" type="sint32" value="1" />
<variable entry="UI:SAVE:MP3_SHUFFLE" type="sint32" value="0" />
<variable entry="UI:TEMP:MP3_PLAYING" type="sint32" value="0" />
<!--******************-->
<!--* MP3 PLAYER *-->
<!--******************-->
<proc id="mp3_player_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=1" />
</proc>
<proc id="mp3_player_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=0" />
</proc>
<group type="menu" id="mp3_player_menu" extends="base_menu_with_color"></group>
<template name="playlist_song" keep="true" id="" posparent="parent" posref="TL TL" w="206" h="20" line_maxw="160" index="0">
<group id="#id" w="#w" child_resize_h="true" posparent="#posparent" posref="#posref" group_onclick_r="" group_params_r="">
<ctrl type="button" id="btn" button_type="toggle_button" sizeref="wh" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" color="255 255 255 0" col_pushed="255 255 255 0" col_over="255 255 255 90" global_color_normal="true" global_color_pushed="true" global_color_over="true" ondblclick_l="music_player" params_dblclick_l="song=#index" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" color="200 200 200 50" texture="blank.tga" scale="true" active="false" />
<view type="text" id="title" posref="ML ML" x="0" line_maxw="#line_maxw" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" />
<view type="text" id="duration" posref="MR MR" x="0" fontsize="8" shadow="true" color="255 255 255 150" />
</group>
</template>
<proc id="proc_mp3_toggle_shuffle">
<action handler="set" params="dblink=UI:SAVE:MP3_SHUFFLE|value=not(@UI:SAVE:MP3_SHUFFLE)" />
<action handler="music_player" params="update_playlist" />
</proc>
<proc id="proc_mp3_update_tooltip">
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Play')" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Pause')" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
</proc>
<proc id="proc_mp3_but_play">
<action handler="set" params="dblink=UI:TEMP:MP3_PLAYING|value=not(@UI:TEMP:MP3_PLAYING)" />
<action handler="music_player" params="play" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
<action handler="music_player" params="pause" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
</proc>
<group type="modal" id="playlist" posparent="mp3_player" posref="BM TM" w="234" max_h="250" child_resize_h="true" child_resize_hmargin="10" options="layer0" mouse_pos="false" escapable="true" exit_click_out="true" on_active="" on_active_params="">
<view type="text" id="title" posref="TL TL" x="8" y="-8" hardtext="uiPlaylistTitle" shadow="true" color="255 255 255 255" fontsize="12" />
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-8" tx_normal="w_win_close.tga" tx_pushed="w_win_close.tga" tx_over="W_button_14_over.tga" onclick_l="leave_modal" params_l="" />
<ctrl style="text_button_header" button_type="push_button" id="refresh" posparent="close" posref="ML MR" x="-4" y="0" hardtext="uiPlaylistRefresh" onclick_l="music_player" params_l="play_songs" />
<ctrl style="text_button_header" button_type="toggle_button" id="shuffle" posparent="refresh" posref="ML MR" x="-4" y="0" hardtext="S" onclick_l="proc" params_l="proc_mp3_toggle_shuffle" />
<ctrl style="text_button_header" button_type="toggle_button" id="repeat" posparent="shuffle" posref="ML MR" x="-4" y="0" hardtext="R" onclick_l="set" params_l="dblink=UI:SAVE:MP3_REPEAT|value=not(@UI:SAVE:MP3_REPEAT)" />
<!-- change button state when variable chaanged -->
<link expr="@UI:SAVE:MP3_REPEAT" target="repeat:pushed" />
<link expr="@UI:SAVE:MP3_SHUFFLE" target="shuffle:pushed" />
<group id="content" x="8" y="-24" over="true" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4">
<group id="songs" x="10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" max_h="215">
<group id="list" type="list" x="0" y="0" posref="TL TL" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" target="songs" />
</group>
</group>
<tree node="playlist" />
<link expr="@UI:SAVE:MP3_VOLUME" action="music_player" params="volume=@UI:SAVE:MP3_VOLUME" />
<group id="mp3_player" type="container_windows" w="206" h="40" header_active="false" resizer="false" right_button="true"
movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:mp3_player_menu"
on_deactive="proc" on_deactive_params="mp3_player_deactive"
on_active="proc" on_active_params="mp3_player_active">
<group id="header_closed" x="0" y="0" w="206" h="40" posref="TL TL" />
<!-- CONTROLS -->
<group id="controls" posref="TL TL" w="206" h="20" y="-6">
<!-- Slots of Prev/Play/Pause/Next buttons -->
<view id="slot1" type="bitmap" posref="ML ML" x="8" y="-1" texture="mp3_button_slot.tga" />
<view id="slot2" type="bitmap" posref="TR TL" posparent="slot1" x="2" y="0" texture="mp3_button_slot.tga" />
<view id="slot3" type="bitmap" posref="TR TL" posparent="slot2" x="2" y="0" texture="mp3_button_slot.tga" />
<view id="slot4" type="bitmap" posref="TR TL" posparent="slot3" x="2" y="0" texture="mp3_button_slot.tga" />
<!-- Prev/Play/Pause/Next Buttons -->
<ctrl type="button" id="but_prev" button_type="push_button" posref="MM MM" posparent="slot1"
tx_normal="mp3_button_previous.tga" tx_pushed="mp3_button_previous.tga" tx_over="mp3_button_over.tga"
onclick_l="music_player" params_l="previous" tooltip="uiMP3Prev" />
<ctrl type="button" id="but_play" button_type="toggle_button" posref="MM MM" posparent="slot2"
tx_normal="mp3_button_play.tga" tx_pushed="mp3_button_pause.tga" tx_over="mp3_button_over.tga"
onclick_l="proc" params_l="proc_mp3_but_play" tooltip="uiMP3Play" />
<!-- TODO: but_stop is using placeholder texture -->
<ctrl type="button" id="but_stop" button_type="push_button" posref="MM MM" posparent="slot3"
tx_normal="w_button_10_choice.tga" tx_pushed="w_button_10_choice.tga" tx_over="mp3_button_over.tga" scale="true" w="20" h="16"
onclick_l="music_player" params_l="stop" tooltip="uiMP3Stop" />
<ctrl type="button" id="but_next" button_type="push_button" posref="MM MM" posparent="slot4"
tx_normal="mp3_button_next.tga" tx_pushed="mp3_button_next.tga" tx_over="mp3_button_over.tga"
onclick_l="music_player" params_l="next" tooltip="uiMP3Next" />
<!-- Volume -->
<view type="bitmap" id="vol_jauge" posparent="slot4" posref="TR TL" x="2" texture="mp3_vol_jauge.tga" />
<group id="volume_control" posparent="slot4" posref="MR ML" x="4" y="-3" w="48" h="20">
<view type="bitmap" id="bk" posref="ML ML" scale="true" y="-1" w="48" h="2" texture="W_line_hor2.tga" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="48" h="8"
vertical="false" align="L" min="0" max="255" tracksize="8"
value="UI:SAVE:MP3_VOLUME"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga"
onscroll="" params="" />
</group>
<!-- Slots of Open/Playlist buttons -->
<view id="slot5" type="bitmap" posref="MR ML" posparent="volume_control" x="4" y="3" texture="mp3_button_slot.tga" />
<!--
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:SAVE:RADARZOOM" type="sint64" value="1" />
<variable entry="UI:SAVE:MP3_VOLUME" type="sint64" value="255" />
<variable entry="UI:SAVE:MP3_REPEAT" type="sint32" value="1" />
<variable entry="UI:SAVE:MP3_SHUFFLE" type="sint32" value="0" />
<variable entry="UI:TEMP:MP3_PLAYING" type="sint32" value="0" />
<!--******************-->
<!--* MP3 PLAYER *-->
<!--******************-->
<proc id="mp3_player_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=1" />
</proc>
<proc id="mp3_player_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=0" />
</proc>
<group type="menu" id="mp3_player_menu" extends="base_menu_with_color"></group>
<template name="playlist_song" keep="true" id="" posparent="parent" posref="TL TL" w="206" h="20" line_maxw="160" index="0">
<group id="#id" w="#w" child_resize_h="true" posparent="#posparent" posref="#posref" group_onclick_r="" group_params_r="">
<ctrl type="button" id="btn" button_type="toggle_button" sizeref="wh" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" color="255 255 255 0" col_pushed="255 255 255 0" col_over="255 255 255 90" global_color_normal="true" global_color_pushed="true" global_color_over="true" ondblclick_l="music_player" params_dblclick_l="song=#index" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" color="200 200 200 50" texture="blank.tga" scale="true" active="false" />
<view type="text" id="title" posref="ML ML" x="0" line_maxw="#line_maxw" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" />
<view type="text" id="duration" posref="MR MR" x="0" fontsize="8" shadow="true" color="255 255 255 150" />
</group>
</template>
<proc id="proc_mp3_toggle_shuffle">
<action handler="set" params="dblink=UI:SAVE:MP3_SHUFFLE|value=not(@UI:SAVE:MP3_SHUFFLE)" />
<action handler="music_player" params="update_playlist" />
</proc>
<proc id="proc_mp3_update_tooltip">
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Play')" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
<action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Pause')" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
</proc>
<proc id="proc_mp3_but_play">
<action handler="set" params="dblink=UI:TEMP:MP3_PLAYING|value=not(@UI:TEMP:MP3_PLAYING)" />
<action handler="music_player" params="play" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
<action handler="music_player" params="pause" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
</proc>
<group type="modal" id="playlist" posparent="mp3_player" posref="BM TM" w="234" max_h="250" child_resize_h="true" child_resize_hmargin="10" options="layer0" mouse_pos="false" escapable="true" exit_click_out="true" on_active="" on_active_params="">
<view type="text" id="title" posref="TL TL" x="8" y="-8" hardtext="uiPlaylistTitle" shadow="true" color="255 255 255 255" fontsize="12" />
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-8" tx_normal="w_win_close.tga" tx_pushed="w_win_close.tga" tx_over="W_button_14_over.tga" onclick_l="leave_modal" params_l="" />
<ctrl style="text_button_header" button_type="push_button" id="refresh" posparent="close" posref="ML MR" x="-4" y="0" hardtext="uiPlaylistRefresh" onclick_l="music_player" params_l="play_songs" />
<ctrl style="text_button_header" button_type="toggle_button" id="shuffle" posparent="refresh" posref="ML MR" x="-4" y="0" hardtext="S" onclick_l="proc" params_l="proc_mp3_toggle_shuffle" />
<ctrl style="text_button_header" button_type="toggle_button" id="repeat" posparent="shuffle" posref="ML MR" x="-4" y="0" hardtext="R" onclick_l="set" params_l="dblink=UI:SAVE:MP3_REPEAT|value=not(@UI:SAVE:MP3_REPEAT)" />
<!-- change button state when variable chaanged -->
<link expr="@UI:SAVE:MP3_REPEAT" target="repeat:pushed" />
<link expr="@UI:SAVE:MP3_SHUFFLE" target="shuffle:pushed" />
<group id="content" x="8" y="-24" over="true" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4">
<group id="songs" x="10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" max_h="215">
<group id="list" type="list" x="0" y="0" posref="TL TL" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" target="songs" />
</group>
</group>
<tree node="playlist" />
<link expr="@UI:SAVE:MP3_VOLUME" action="music_player" params="volume=@UI:SAVE:MP3_VOLUME" />
<group id="mp3_player" type="container_windows" w="206" h="40" header_active="false" resizer="false" right_button="true" movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true" group_onclick_r="active_menu" group_params_r="menu=ui:interface:mp3_player_menu" on_deactive="proc" on_deactive_params="mp3_player_deactive" on_active="proc" on_active_params="mp3_player_active">
<group id="header_closed" x="0" y="0" w="206" h="40" posref="TL TL" />
<!-- CONTROLS -->
<group id="controls" posref="TL TL" w="206" h="20" y="-6">
<!-- Slots of Prev/Play/Pause/Next buttons -->
<view id="slot1" type="bitmap" posref="ML ML" x="8" y="-1" texture="mp3_button_slot.tga" />
<view id="slot2" type="bitmap" posref="TR TL" posparent="slot1" x="2" y="0" texture="mp3_button_slot.tga" />
<view id="slot3" type="bitmap" posref="TR TL" posparent="slot2" x="2" y="0" texture="mp3_button_slot.tga" />
<view id="slot4" type="bitmap" posref="TR TL" posparent="slot3" x="2" y="0" texture="mp3_button_slot.tga" />
<!-- Prev/Play/Pause/Next Buttons -->
<ctrl type="button" id="but_prev" button_type="push_button" posref="MM MM" posparent="slot1" tx_normal="mp3_button_previous.tga" tx_pushed="mp3_button_previous.tga" tx_over="mp3_button_over.tga" onclick_l="music_player" params_l="previous" tooltip="uiMP3Prev" />
<ctrl type="button" id="but_play" button_type="toggle_button" posref="MM MM" posparent="slot2" tx_normal="mp3_button_play.tga" tx_pushed="mp3_button_pause.tga" tx_over="mp3_button_over.tga" onclick_l="proc" params_l="proc_mp3_but_play" tooltip="uiMP3Play" />
<!-- TODO: but_stop is using placeholder texture -->
<ctrl type="button" id="but_stop" button_type="push_button" posref="MM MM" posparent="slot3" tx_normal="w_button_10_choice.tga" tx_pushed="w_button_10_choice.tga" tx_over="mp3_button_over.tga" scale="true" w="20" h="16" onclick_l="music_player" params_l="stop" tooltip="uiMP3Stop" />
<ctrl type="button" id="but_next" button_type="push_button" posref="MM MM" posparent="slot4" tx_normal="mp3_button_next.tga" tx_pushed="mp3_button_next.tga" tx_over="mp3_button_over.tga" onclick_l="music_player" params_l="next" tooltip="uiMP3Next" />
<!-- Volume -->
<view type="bitmap" id="vol_jauge" posparent="slot4" posref="TR TL" x="2" texture="mp3_vol_jauge.tga" />
<group id="volume_control" posparent="slot4" posref="MR ML" x="4" y="-3" w="48" h="20">
<view type="bitmap" id="bk" posref="ML ML" scale="true" y="-1" w="48" h="2" texture="W_line_hor2.tga" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="48" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" value="UI:SAVE:MP3_VOLUME" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="" params="" />
</group>
<!-- Slots of Open/Playlist buttons -->
<view id="slot5" type="bitmap" posref="MR ML" posparent="volume_control" x="4" y="3" texture="mp3_button_slot.tga" />
<!--
<view id="slot6" type="bitmap" posref="TR TL" posparent="slot5" x="2" y="0" texture="mp3_button_slot.tga" />
-->
<!-- Open/Playlist buttons -->
<ctrl type="button" id="but_open" button_type="push_button" posref="MM MM" posparent="slot5"
tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga"
onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" />
<!--
<ctrl type="button" id="but_list" button_type="push_button" posref="MM MM" posparent="slot6"
tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga"
onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" />
-->
<!-- TOOLTIPS -->
<ctrl type="tooltip" id="volumett" tooltip="uiMP3Volume" posparent="volume_control" posref="TL TL" w="48" h="20" />
<link expr="@UI:TEMP:MP3_PLAYING" target="but_play:pushed" action="proc" params="proc_mp3_update_tooltip" />
</group>
<!-- SCREEN -->
<group id="screen" posref="BM BM" w="190" h="20" y="8">
<instance template="box_widget" id="box" posref="TL TL" sizeref="wh" w="0" h="0" />
<view type="text" id="text" posref="ML ML" x="2" y="-2" color="255 255 255 255" global_color="false" fontsize="10"
line_maxw="182" shadow="true" hardtext="uiNoFiles" />
</group>
</group>
<tree node="mp3_player" />
<!--***************-->
<!--* COMPASS *-->
<!--***************-->
<variable type="float" entry="UI:VARIABLES:DIRECTION" />
<proc id="compass_proc_active">
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posy|value=-0.01" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posz|value=2.5" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgty|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtz|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:fov|value=30.0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=1" />
<!--<action handler="set" params="target_property=ui:interface:compass:arrow3d:arrow:diffuse|value=135.0" />-->
</proc>
<proc id="compas_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=0" />
</proc>
<proc id="radar_proc_zoom_in">
<action handler="set" cond="ne(@UI:SAVE:RADARZOOM,0)" params="dblink=UI:SAVE:RADARZOOM|value=sub(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_plus.tga" />
</proc>
<proc id="radar_proc_zoom_out">
<action handler="set" cond="ne(@UI:SAVE:RADARZOOM,3)" params="dblink=UI:SAVE:RADARZOOM|value=add(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_moins.tga" />
</proc>
<proc id="radar_proc_zoom">
<action handler="set"
params="target_property=ui:interface:compass:visuel:range:hardtext|value=switch(@0, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" />
<action handler="set"
params="target_property=ui:interface:compass:visuel:radar:world_size|value=switch(@0, 50.0, 100.0, 250.0, 500.0)" />
</proc>
<define id="landmark_menu_max_visible" value="25" />
<group id="compass_menu" type="menu_compas" extends="base_menu_with_color" posref="TL TL" x="0" y="0"
mouse_pos="true" exit_click_b="true" force_inside_screen="true" compass="ui:interface:compass">
<!-- SubMenus. Add dummy entries first -->
<action id="mission" name="uimCompassMissions" icon="mission_available.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark" name="uimCompassLandMarks" icon="lm_user.tga">
<action id="land_mark_misc" max_visible_line="%landmark_menu_max_visible" name="uiLMMiscColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_tribe" max_visible_line="%landmark_menu_max_visible" name="uiLMTribeColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_bandit" max_visible_line="%landmark_menu_max_visible" name="uiLMBanditColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_citizen" max_visible_line="%landmark_menu_max_visible" name="uiLMCitizenColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_fauna" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_faunaexcel" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaExcelColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_faunasup" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaSupColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_forage" max_visible_line="%landmark_menu_max_visible" name="uiLMForageColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_forageexcel" name="uiLMForageExcelColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_foragesup" max_visible_line="%landmark_menu_max_visible" name="uiLMForageSupColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_sap" max_visible_line="%landmark_menu_max_visible" name="uiLMSapColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_amber" max_visible_line="%landmark_menu_max_visible" name="uiLMAmberColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_node" max_visible_line="%landmark_menu_max_visible" name="uiLMNodeColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_fiber" max_visible_line="%landmark_menu_max_visible" name="uiLMFiberColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_bark" max_visible_line="%landmark_menu_max_visible" name="uiLMBarkColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_seed" max_visible_line="%landmark_menu_max_visible" name="uiLMSeedColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_shell" max_visible_line="%landmark_menu_max_visible" name="uiLMShellColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_resin" max_visible_line="%landmark_menu_max_visible" name="uiLMResinColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_wood" max_visible_line="%landmark_menu_max_visible" name="uiLMWoodColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_oil" max_visible_line="%landmark_menu_max_visible" name="uiLMOilColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_mission" max_visible_line="%landmark_menu_max_visible" name="uiLMMissionColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_food" max_visible_line="%landmark_menu_max_visible" name="uiLMFoodColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_construction" max_visible_line="%landmark_menu_max_visible" name="uiLMConstructionColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_goo" max_visible_line="%landmark_menu_max_visible" name="uiLMGooColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_insect" max_visible_line="%landmark_menu_max_visible" name="uiLMInsectColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_kitin" max_visible_line="%landmark_menu_max_visible" name="uiLMKitinColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_nocive" max_visible_line="%landmark_menu_max_visible" name="uiLMNociveColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_preservative" max_visible_line="%landmark_menu_max_visible" name="uiLMPreservativeColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_passage" max_visible_line="%landmark_menu_max_visible" name="uiLMPassageColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_teleporter" max_visible_line="%landmark_menu_max_visible" name="uiLMTeleporterColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
</action>
<action id="team" name="uimCompassTeam" icon="teammate_map.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="animal" name="uimCompassAnimal" icon="mektoub_map.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="dialogs" name="uimCompassDialogs" icon="r2ed_create_dialog.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<!-- Common Container menu actions -->
<separator />
<action id="zi" name="uimZoomIn" handler="proc" params="radar_proc_zoom_in" icon="arbo_close_just_one.tga" />
<action id="zo" name="uimZoomOut" handler="proc" params="radar_proc_zoom_out" icon="arbo_open_first.tga" />
<separator />
<!--
-->
<!-- Open/Playlist buttons -->
<ctrl type="button" id="but_open" button_type="push_button" posref="MM MM" posparent="slot5" tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" />
<!--
<ctrl type="button" id="but_list" button_type="push_button" posref="MM MM" posparent="slot6"
tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga"
onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" />
-->
<!-- TOOLTIPS -->
<ctrl type="tooltip" id="volumett" tooltip="uiMP3Volume" posparent="volume_control" posref="TL TL" w="48" h="20" />
<link expr="@UI:TEMP:MP3_PLAYING" target="but_play:pushed" action="proc" params="proc_mp3_update_tooltip" />
</group>
<!-- SCREEN -->
<group id="screen" posref="BM BM" w="190" h="20" y="8">
<instance template="box_widget" id="box" posref="TL TL" sizeref="wh" w="0" h="0" />
<view type="text" id="text" posref="ML ML" x="2" y="-2" color="255 255 255 255" global_color="false" fontsize="10" line_maxw="182" shadow="true" hardtext="uiNoFiles" />
</group>
</group>
<tree node="mp3_player" />
<!--***************-->
<!--* COMPASS *-->
<!--***************-->
<variable type="float" entry="UI:VARIABLES:DIRECTION" />
<proc id="compass_proc_active">
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posy|value=-0.01" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:posz|value=2.5" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgty|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:tgtz|value=0.0" />
<action handler="set" params="target_property=ui:interface:compass:arrow3d:cam:fov|value=30.0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=1" />
<!--<action handler="set" params="target_property=ui:interface:compass:arrow3d:arrow:diffuse|value=135.0" />-->
</proc>
<proc id="compas_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=0" />
</proc>
<proc id="radar_proc_zoom_in">
<action handler="set" cond="ne(@UI:SAVE:RADARZOOM,0)" params="dblink=UI:SAVE:RADARZOOM|value=sub(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_plus.tga" />
</proc>
<proc id="radar_proc_zoom_out">
<action handler="set" cond="ne(@UI:SAVE:RADARZOOM,3)" params="dblink=UI:SAVE:RADARZOOM|value=add(@UI:SAVE:RADARZOOM,1)" icon="w_button_radar_moins.tga" />
</proc>
<proc id="radar_proc_zoom">
<action handler="set" params="target_property=ui:interface:compass:visuel:range:hardtext|value=switch(@0, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" />
<action handler="set" params="target_property=ui:interface:compass:visuel:radar:world_size|value=switch(@0, 50.0, 100.0, 250.0, 500.0)" />
</proc>
<define id="landmark_menu_max_visible" value="25" />
<group id="compass_menu" type="menu_compas" extends="base_menu_with_color" posref="TL TL" x="0" y="0" mouse_pos="true" exit_click_b="true" force_inside_screen="true" compass="ui:interface:compass">
<!-- SubMenus. Add dummy entries first -->
<action id="mission" name="uimCompassMissions" icon="mission_available.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark" name="uimCompassLandMarks" icon="lm_user.tga">
<action id="land_mark_misc" max_visible_line="%landmark_menu_max_visible" name="uiLMMiscColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_tribe" max_visible_line="%landmark_menu_max_visible" name="uiLMTribeColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_bandit" max_visible_line="%landmark_menu_max_visible" name="uiLMBanditColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_citizen" max_visible_line="%landmark_menu_max_visible" name="uiLMCitizenColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_fauna" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_faunaexcel" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaExcelColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_faunasup" max_visible_line="%landmark_menu_max_visible" name="uiLMFaunaSupColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_forage" max_visible_line="%landmark_menu_max_visible" name="uiLMForageColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_forageexcel" name="uiLMForageExcelColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_foragesup" max_visible_line="%landmark_menu_max_visible" name="uiLMForageSupColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_sap" max_visible_line="%landmark_menu_max_visible" name="uiLMSapColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_amber" max_visible_line="%landmark_menu_max_visible" name="uiLMAmberColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_node" max_visible_line="%landmark_menu_max_visible" name="uiLMNodeColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_fiber" max_visible_line="%landmark_menu_max_visible" name="uiLMFiberColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_bark" max_visible_line="%landmark_menu_max_visible" name="uiLMBarkColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_seed" max_visible_line="%landmark_menu_max_visible" name="uiLMSeedColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_shell" max_visible_line="%landmark_menu_max_visible" name="uiLMShellColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_resin" max_visible_line="%landmark_menu_max_visible" name="uiLMResinColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_wood" max_visible_line="%landmark_menu_max_visible" name="uiLMWoodColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_oil" max_visible_line="%landmark_menu_max_visible" name="uiLMOilColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_mission" max_visible_line="%landmark_menu_max_visible" name="uiLMMissionColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_food" max_visible_line="%landmark_menu_max_visible" name="uiLMFoodColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_construction" max_visible_line="%landmark_menu_max_visible" name="uiLMConstructionColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_goo" max_visible_line="%landmark_menu_max_visible" name="uiLMGooColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_insect" max_visible_line="%landmark_menu_max_visible" name="uiLMInsectColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_kitin" max_visible_line="%landmark_menu_max_visible" name="uiLMKitinColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_nocive" max_visible_line="%landmark_menu_max_visible" name="uiLMNociveColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_preservative" max_visible_line="%landmark_menu_max_visible" name="uiLMPreservativeColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_passage" max_visible_line="%landmark_menu_max_visible" name="uiLMPassageColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="land_mark_teleporter" max_visible_line="%landmark_menu_max_visible" name="uiLMTeleporterColor">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
</action>
<action id="team" name="uimCompassTeam" icon="teammate_map.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="animal" name="uimCompassAnimal" icon="mektoub_map.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<action id="dialogs" name="uimCompassDialogs" icon="r2ed_create_dialog.tga">
<action id="dummy1" name="DUMMY-ERROR" />
</action>
<!-- Common Container menu actions -->
<separator />
<action id="zi" name="uimZoomIn" handler="proc" params="radar_proc_zoom_in" icon="arbo_close_just_one.tga" />
<action id="zo" name="uimZoomOut" handler="proc" params="radar_proc_zoom_out" icon="arbo_open_first.tga" />
<separator />
<!--
<action id="lock_unlock" name="uimLockUnlock" handler="lock_unlock" cond="eq(@UI:VARIABLES:GC_POPUP, 1)"/>
<action id="help" name="uimHelp" handler="ic_help" cond="eq(@UI:VARIABLES:GC_HAS_HELP, 1)"/>
-->
</group>
<group id="compass" type="compas" movable="true" w="182" h="150" openable="false" resizer="false" header_active="false" right_button="false"
group_onclick_r="active_menu" opened="false" options="compass"
on_active="proc" on_active_params="compass_proc_active"
on_deactive="proc" on_deactive_params="compas_proc_deactive"
group_params_r="menu=ui:interface:compass_menu"
north_color="255 255 255 255"
selection_color="0 0 255 255"
respawn_color="66 66 77 255"
home_color="255 0 255 255"
continent_landmark_color="0 255 0 255"
mission_landmark_color="255 0 255 255"
user_landmark_color="255 255 0 255"
new_target_selected_color="255 0 0 255"
help_page="interf_compass.html"
>
<group id="header_closed" x="0" y="0" w="166" h="156" posref="TL TL">
<view id="back_L" type="bitmap" posref="BL BL" texture="Compas_L.tga" />
<view id="back_M" type="bitmap" posref="BM BM" scale="true" sizeref="w" w="-8" h="16" texture="Compas_M.tga" />
<view id="back_R" type="bitmap" posref="BR BR" texture="Compas_R.tga" />
</group>
<!-- compass clock -->
<group id="clock" posref="TL TL" w="70" h="16" x="4" y="-4">
<view type="text" id="time" posref="TL TL" x="0" y="0" color="255 255 255 255" shadow="true" global_color="true" fontsize="11" hardtext="" />
</group>
<link expr="@UI:SAVE:SHOW_CLOCK" target="clock:active" />
<!-- new mail message notifier -->
<group id="mail" posref="BR BR" group_onclick_l="show_hide" group_params_l="mailbox" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="50">
<view id="envelop" type="bitmap" texture="mail.tga" global_color="false" />
<view type="text" id="mail_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
<!-- <view type="text" id="mail_nb2" posparent="mail_nb" posref="BL BR" x="-2" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="x" /> -->
</group>
<link expr="@UI:VARIABLES:MAIL_WAITING" target="mail:active" />
<!-- new guild forum message notifier -->
<group id="forum" posref="BR BR" group_onclick_l="show_hide" group_params_l="guild_forum" tooltip="uiMk_interaction3" w="32" h="24" x="-30" y="20">
<view id="envelop" type="bitmap" w="24" scale="true" texture="r2ed_create_dialog.tga" global_color="false" />
<view type="text" id="forum_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
</group>
<link expr="@UI:VARIABLES:FORUM_UPDATED" target="forum:active" />
<!-- show/hide webig calendar -->
<group id="calendar" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCalendar()" tooltip="uiMFDate" w="24" h="24" x="4" y="-30">
<view id="envelop" type="bitmap" texture="calendar.tga" global_color="false" />
<view type="text" id="date" posref="BM BM" x="0" y="2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="19" />
</group>
<!-- show/hide map -->
<group id="map" posref="BL BL" group_onclick_l="show_hide" group_params_l="map" tooltip="uiMk_window5" w="24" h="24" x="4" y="22">
<view id="envelop" type="bitmap" texture="ico_hatred.tga" global_color="false" />
</group>
<!-- show/hide dynE -->
<group id="dyne" posref="BR BR" group_onclick_l="lua" group_params_l="game:displayDynE()" tooltip="uiR2Events" active="false" w="24" h="24" x="-4" y="20">
<view id="envelop" type="bitmap" texture="dyn_event_compass.tga" global_color="false" />
<view type="text" id="dyne_nb" posref="BR BR" x="-1" y="-2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
</group>
<!-- show/hide whatsup -->
<group id="whatsup" posref="BL BL" group_onclick_l="lua" group_params_l="game:displayWhatsUp()" tooltip="uiTalkMemMsg10" active="false" w="24" h="24" x="4" y="50">
<view id="envelop" type="bitmap" texture="whatsup_mini.tga" global_color="false" />
</group>
<!-- show/hide help -->
<group id="help" posref="TR TR" group_onclick_l="show_hide" group_params_l="cs_browser" tooltip="uiMk_window8" w="24" h="24" x="-4" y="-30">
<view id="envelop" type="bitmap" texture="tb_help2.tga" global_color="false" />
</group>
<!-- user icon 1 -->
<group id="user1" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCompassIconUser1()" tooltip="uiMk_interaction5" w="32" h="24" x="4" y="-58">
<view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" />
<view type="text" id="user1_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" />
</group>
<link expr="@UI:VARIABLES:COMPASS_ICON_USER1" target="user1:active" />
<!-- user icon 2 -->
<group id="user2" posref="TR TR" group_onclick_l="show_hide" group_params_l="game:displayCompassIconUser2()" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="-58">
<view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" />
<view type="text" id="user2_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" />
</group>
<link expr="@UI:VARIABLES:COMPASS_ICON_USER2" target="user2:active" />
<view type="text" id="dist" posref="BM BM" x="0" y="2" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" global_color="false" fontsize="12" line_maxw="164" over_extend_view_text="true" />
<scene3d id="arrow3d" x="0" y="0" w="142" h="142" posref="TM TM" curcam="cam"
ambient="0 0 0" sun_ambient="20 20 20" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="2.0 1.0 -1.0">
<camera id="cam" fov="60" pos="0 0 1" target="0 0 0" roll="0" />
<light id="l1" pos="-20.0 -30.0 100.0" color="255 255 255" near="1000.0" far="1500.0" />
<shape id="arrow" name="arrow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
</scene3d>
<group id="visuel" posparent="arrow3d" posref="MM MM" w="128" h="128" y="-8">
<!-- Background -->
<view id="back" type="bitmap" texture="w_radar.tga" />
<view type="text" id="range" posref="BM MM" x="0" y="20" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" fontsize="10" />
<!-- ZOOM -->
<!--
<ctrl type="button" id="zoom_in" button_type="push_button" posref="BR BR" x="-8" y="8"
tx_normal="w_button_radar_plus.tga" tx_pushed="w_button_radar_plus.tga" tx_over="W_button_16_over.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
onclick_l="proc" params_l="radar_proc_zoom_in" render_layer="4" />
<ctrl type="button" id="zoom_out" button_type="push_button" posref="BL BL" x="9" y="9"
tx_normal="w_button_radar_moins.tga" tx_pushed="w_button_radar_moins.tga" tx_over="W_button_14_over.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
onclick_l="proc" params_l="radar_proc_zoom_out" render_layer="4" />
-->
<view id="radar" type="radar" texture_std="w_radar_point.tga"
texture_missionlist="radar_mission_16.tga" texture_missionauto="radar_mission3_16.tga" texture_missionstep="radar_mission2_16.tga" mini_texture_missionlist="radar_mission_mini_16.tga" mini_texture_missionauto="radar_mission3_mini_16.tga" mini_texture_missionstep="radar_mission2_mini_16.tga"
world_size="50.0" posparent="back" posref="MM MM" w="108" h="108" y="8" global_color="false" />
<!--
<link expr="ne(@UI:SAVE:RADARZOOM,0)" target="zoom_in:active" />
<link expr="ne(@UI:SAVE:RADARZOOM,3)" target="zoom_out:active" />
-->
</group>
<ctrl type="tooltip" id="tt" tooltip="uittCompassDistance" tooltip_parent="win" posref="BL BL" x="0" y="0" sizeref="w" w="0" h="16" />
<ctrl type="tooltip" id="tt2" tooltip="uittCompassRange" tooltip_parent="win" posref="BM BM" x="0" y="26" w="46" h="25" />
</group>
<tree node="compass" />
<link expr="switch(@UI:SAVE:RADARZOOM, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')"
target="ui:interface:compass:visuel:range:hardtext" />
<link expr="switch(@UI:SAVE:RADARZOOM, 50.0, 100.0, 250.0, 500.0)"
target="ui:interface:compass:visuel:radar:world_size" />
<!--******************-->
<!--* CONNECTION *-->
<!--******************-->
<proc id="proc_connection_close">
<action handler="set" params="target_property=ui:interface:connection:w|value=64" />
<action handler="set" params="target_property=ui:interface:connection:header_closed:w|value=64" />
</proc>
<group id="connection" type="container" title="uiConnectionTitle_short" title_opened="uiConnectionTitle" w="192" global_color="false"
movable="true" active="false" openable="true" opened="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:OPT"
on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=1"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=0"
on_open="set" on_open_params="target_property=ui:interface:connection:w|value=192"
on_close="set" on_close_params="target_property=ui:interface:connection:w|value=64"
>
<group id="header_closed" x="0" y="0" h="74" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<!--
<group id="server_state" posref="TM TM" w="28" h="16" x="0">
<view type="text" id="server0" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="server1" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState1" />
<view type="text" id="server2" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState2" />
<view type="text" id="server3" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState3" />
<view type="text" id="server4" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState4" />
<view type="text" id="server5" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState5" />
<view type="text" id="server6" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState6" />
<view type="text" id="server7" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState7" />
<view type="text" id="server8" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState8" />
<view type="text" id="server9" posref="TR TR" x="0" y="-68" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
</group>
-->
<view type="text_number" id="upload" posref="TL TL" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<view type="text_number" id="download" posref="BL TL" posparent="upload" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<view type="text_number" id="ping" posref="BL TL" posparent="download" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<view type="text_number" id="packet" posref="BL TL" posparent="ping" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="content" posref="TR TR" h="82">
<view type="text" id="up_title" posref="TL TL" x="0" y="-2" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiUpload" />
<view type="text" id="down_title" posref="TL TL" x="0" y="-18" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiDownload" />
<view type="text" id="ping_title" posref="TL TL" x="0" y="-34" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPing" />
<view type="text" id="packet_title" posref="TL TL" x="0" y="-50" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPacketLost" />
<view type="text" id="server_title" posref="TL TL" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiServerState" />
<view type="text_number" id="upload" posref="TR TR" x="0" y="-2" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<view type="text_number" id="download" posref="TR TR" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<view type="text_number" id="ping" posref="TR TR" x="0" y="-34" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<view type="text_number" id="packet" posref="TR TR" x="0" y="-50" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
<view type="text" id="server0" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="server1" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState1" />
<view type="text" id="server2" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState2" />
<view type="text" id="server3" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState3" />
<view type="text" id="server4" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState4" />
<view type="text" id="server5" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState5" />
<view type="text" id="server6" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState6" />
<view type="text" id="server7" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState7" />
<view type="text" id="server8" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState8" />
<view type="text" id="server9" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
</group>
</group>
<tree node="connection" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,0)" target="connection:content:server0:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,1)" target="connection:content:server1:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,2)" target="connection:content:server2:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,3)" target="connection:content:server3:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,4)" target="connection:content:server4:active" />
<link expr="and(ne(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server5:active" />
<link expr="and(eq(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server9:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,6)" target="connection:content:server6:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,7)" target="connection:content:server7:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,8)" target="connection:content:server8:active" />
<lua file="compass.lua" />
</group>
<group id="compass" type="compas" movable="true" w="182" h="150" openable="false" resizer="false" header_active="false" right_button="false" group_onclick_r="active_menu" opened="false" options="compass" on_active="proc" on_active_params="compass_proc_active" on_deactive="proc" on_deactive_params="compas_proc_deactive" group_params_r="menu=ui:interface:compass_menu" north_color="255 255 255 255" selection_color="0 0 255 255" respawn_color="66 66 77 255" home_color="255 0 255 255" continent_landmark_color="0 255 0 255" mission_landmark_color="255 0 255 255" user_landmark_color="255 255 0 255" new_target_selected_color="255 0 0 255" help_page="interf_compass.html">
<group id="header_closed" x="0" y="0" w="166" h="156" posref="TL TL">
<view id="back_L" type="bitmap" posref="BL BL" texture="Compas_L.tga" />
<view id="back_M" type="bitmap" posref="BM BM" scale="true" sizeref="w" w="-8" h="16" texture="Compas_M.tga" />
<view id="back_R" type="bitmap" posref="BR BR" texture="Compas_R.tga" />
</group>
<!-- compass clock -->
<group id="clock" posref="TL TL" w="70" h="16" x="4" y="-4">
<view type="text" id="time" posref="TL TL" x="0" y="0" color="255 255 255 255" shadow="true" global_color="true" fontsize="11" hardtext="" />
</group>
<link expr="@UI:SAVE:SHOW_CLOCK" target="clock:active" />
<!-- new mail message notifier -->
<group id="mail" posref="BR BR" group_onclick_l="show_hide" group_params_l="mailbox" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="50">
<view id="envelop" type="bitmap" texture="mail.tga" global_color="false" />
<view type="text" id="mail_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
<!-- <view type="text" id="mail_nb2" posparent="mail_nb" posref="BL BR" x="-2" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="x" /> -->
</group>
<link expr="@UI:VARIABLES:MAIL_WAITING" target="mail:active" />
<!-- new guild forum message notifier -->
<group id="forum" posref="BR BR" group_onclick_l="show_hide" group_params_l="guild_forum" tooltip="uiMk_interaction3" w="32" h="24" x="-30" y="20">
<view id="envelop" type="bitmap" w="24" scale="true" texture="r2ed_create_dialog.tga" global_color="false" />
<view type="text" id="forum_nb" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
</group>
<link expr="@UI:VARIABLES:FORUM_UPDATED" target="forum:active" />
<!-- show/hide webig calendar -->
<group id="calendar" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCalendar()" tooltip="uiMFDate" w="24" h="24" x="4" y="-30">
<view id="envelop" type="bitmap" texture="calendar.tga" global_color="false" />
<view type="text" id="date" posref="BM BM" x="0" y="2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="19" />
</group>
<!-- show/hide map -->
<group id="map" posref="BL BL" group_onclick_l="show_hide" group_params_l="map" tooltip="uiMk_window5" w="24" h="24" x="4" y="22">
<view id="envelop" type="bitmap" texture="ico_hatred.tga" global_color="false" />
</group>
<!-- show/hide dynE -->
<group id="dyne" posref="BR BR" group_onclick_l="lua" group_params_l="game:displayDynE()" tooltip="uiR2Events" active="false" w="24" h="24" x="-4" y="20">
<view id="envelop" type="bitmap" texture="dyn_event_compass.tga" global_color="false" />
<view type="text" id="dyne_nb" posref="BR BR" x="-1" y="-2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
</group>
<!-- show/hide whatsup -->
<group id="whatsup" posref="BL BL" group_onclick_l="lua" group_params_l="game:displayWhatsUp()" tooltip="uiTalkMemMsg10" active="false" w="24" h="24" x="4" y="50">
<view id="envelop" type="bitmap" texture="whatsup_mini.tga" global_color="false" />
</group>
<!-- show/hide help -->
<group id="help" posref="TR TR" group_onclick_l="show_hide" group_params_l="cs_browser" tooltip="uiMk_window8" w="24" h="24" x="-4" y="-30">
<view id="envelop" type="bitmap" texture="tb_help2.tga" global_color="false" />
</group>
<!-- user icon 1 -->
<group id="user1" posref="TL TL" group_onclick_l="lua" group_params_l="game:displayCompassIconUser1()" tooltip="uiMk_interaction5" w="32" h="24" x="4" y="-58">
<view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" />
<view type="text" id="user1_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" />
</group>
<link expr="@UI:VARIABLES:COMPASS_ICON_USER1" target="user1:active" />
<!-- user icon 2 -->
<group id="user2" posref="TR TR" group_onclick_l="show_hide" group_params_l="game:displayCompassIconUser2()" tooltip="uiMk_interaction5" w="32" h="24" x="-4" y="-58">
<view id="envelop" type="bitmap" texture="tb_identity.tga" global_color="false" />
<view type="text" id="user2_text" posref="BR BR" x="0" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="0" />
</group>
<link expr="@UI:VARIABLES:COMPASS_ICON_USER2" target="user2:active" />
<view type="text" id="dist" posref="BM BM" x="0" y="2" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" global_color="false" fontsize="12" line_maxw="164" over_extend_view_text="true" />
<scene3d id="arrow3d" x="0" y="0" w="142" h="142" posref="TM TM" curcam="cam" ambient="0 0 0" sun_ambient="20 20 20" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="2.0 1.0 -1.0">
<camera id="cam" fov="60" pos="0 0 1" target="0 0 0" roll="0" />
<light id="l1" pos="-20.0 -30.0 100.0" color="255 255 255" near="1000.0" far="1500.0" />
<shape id="arrow" name="arrow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
</scene3d>
<group id="visuel" posparent="arrow3d" posref="MM MM" w="128" h="128" y="-8">
<!-- Background -->
<view id="back" type="bitmap" texture="w_radar.tga" />
<view type="text" id="range" posref="BM MM" x="0" y="20" hardtext="uiRadarZoom0" shadow="true" color="255 255 255 255" fontsize="10" />
<!-- ZOOM -->
<!--
<ctrl type="button" id="zoom_in" button_type="push_button" posref="BR BR" x="-8" y="8"
tx_normal="w_button_radar_plus.tga" tx_pushed="w_button_radar_plus.tga" tx_over="W_button_16_over.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
onclick_l="proc" params_l="radar_proc_zoom_in" render_layer="4" />
<ctrl type="button" id="zoom_out" button_type="push_button" posref="BL BL" x="9" y="9"
tx_normal="w_button_radar_moins.tga" tx_pushed="w_button_radar_moins.tga" tx_over="W_button_14_over.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
onclick_l="proc" params_l="radar_proc_zoom_out" render_layer="4" />
-->
<view id="radar" type="radar" texture_std="w_radar_point.tga" texture_missionlist="radar_mission_16.tga" texture_missionauto="radar_mission3_16.tga" texture_missionstep="radar_mission2_16.tga" mini_texture_missionlist="radar_mission_mini_16.tga" mini_texture_missionauto="radar_mission3_mini_16.tga" mini_texture_missionstep="radar_mission2_mini_16.tga" world_size="50.0" posparent="back" posref="MM MM" w="108" h="108" y="8" global_color="false" />
<!--
<link expr="ne(@UI:SAVE:RADARZOOM,0)" target="zoom_in:active" />
<link expr="ne(@UI:SAVE:RADARZOOM,3)" target="zoom_out:active" />
-->
</group>
<ctrl type="tooltip" id="tt" tooltip="uittCompassDistance" tooltip_parent="win" posref="BL BL" x="0" y="0" sizeref="w" w="0" h="16" />
<ctrl type="tooltip" id="tt2" tooltip="uittCompassRange" tooltip_parent="win" posref="BM BM" x="0" y="26" w="46" h="25" />
</group>
<tree node="compass" />
<link expr="switch(@UI:SAVE:RADARZOOM, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" target="ui:interface:compass:visuel:range:hardtext" />
<link expr="switch(@UI:SAVE:RADARZOOM, 50.0, 100.0, 250.0, 500.0)" target="ui:interface:compass:visuel:radar:world_size" />
<!--******************-->
<!--* CONNECTION *-->
<!--******************-->
<proc id="proc_connection_close">
<action handler="set" params="target_property=ui:interface:connection:w|value=64" />
<action handler="set" params="target_property=ui:interface:connection:header_closed:w|value=64" />
</proc>
<group id="connection" type="container" title="uiConnectionTitle_short" title_opened="uiConnectionTitle" w="192" global_color="false" movable="true" active="false" openable="true" opened="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:OPT" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=0" on_open="set" on_open_params="target_property=ui:interface:connection:w|value=192" on_close="set" on_close_params="target_property=ui:interface:connection:w|value=64">
<group id="header_closed" x="0" y="0" h="74" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<!--
<group id="server_state" posref="TM TM" w="28" h="16" x="0">
<view type="text" id="server0" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="server1" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState1" />
<view type="text" id="server2" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState2" />
<view type="text" id="server3" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState3" />
<view type="text" id="server4" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState4" />
<view type="text" id="server5" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState5" />
<view type="text" id="server6" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState6" />
<view type="text" id="server7" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState7" />
<view type="text" id="server8" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState8" />
<view type="text" id="server9" posref="TR TR" x="0" y="-68" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
</group>
-->
<view type="text_number" id="upload" posref="TL TL" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<view type="text_number" id="download" posref="BL TL" posparent="upload" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<view type="text_number" id="ping" posref="BL TL" posparent="download" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<view type="text_number" id="packet" posref="BL TL" posparent="ping" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" posref="TR TR" h="82">
<view type="text" id="up_title" posref="TL TL" x="0" y="-2" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiUpload" />
<view type="text" id="down_title" posref="TL TL" x="0" y="-18" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiDownload" />
<view type="text" id="ping_title" posref="TL TL" x="0" y="-34" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPing" />
<view type="text" id="packet_title" posref="TL TL" x="0" y="-50" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPacketLost" />
<view type="text" id="server_title" posref="TL TL" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiServerState" />
<view type="text_number" id="upload" posref="TR TR" x="0" y="-2" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:UPLOAD" global_color="false" positive="true" />
<view type="text_number" id="download" posref="TR TR" x="0" y="-18" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:DOWNLOAD" global_color="false" positive="true" />
<view type="text_number" id="ping" posref="TR TR" x="0" y="-34" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PING" global_color="false" positive="true" />
<view type="text_number" id="packet" posref="TR TR" x="0" y="-50" color="255 255 255 255" shadow="true" fontsize="11" value="UI:VARIABLES:PACKETLOST" global_color="false" positive="true" />
<view type="text" id="server0" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState0" />
<view type="text" id="server1" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState1" />
<view type="text" id="server2" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState2" />
<view type="text" id="server3" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState3" />
<view type="text" id="server4" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState4" />
<view type="text" id="server5" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState5" />
<view type="text" id="server6" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState6" />
<view type="text" id="server7" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState7" />
<view type="text" id="server8" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState8" />
<view type="text" id="server9" posref="TR TR" x="0" y="-66" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
</group>
</group>
<tree node="connection" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,0)" target="connection:content:server0:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,1)" target="connection:content:server1:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,2)" target="connection:content:server2:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,3)" target="connection:content:server3:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,4)" target="connection:content:server4:active" />
<link expr="and(ne(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server5:active" />
<link expr="and(eq(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))" target="connection:content:server9:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,6)" target="connection:content:server6:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,7)" target="connection:content:server7:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,8)" target="connection:content:server8:active" />
<lua file="compass.lua" />
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,292 +1,212 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!--********************-->
<!--* Encyclopedia *-->
<!--********************-->
<variable entry="UI:VARIABLES:ENCY:STEPS" type="sint32" value="7" />
<variable entry="UI:VARIABLES:ENCY:DONE" type="sint32" value="2" />
<variable entry="UI:VARIABLES:ENCY:REWARDBRICK:SHEET" type="sint32" value="0" />
<variable entry="UI:VARIABLES:ENCY:ALBUMBRICK:SHEET" type="sint32" value="0" />
<style style="ency_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal"/>
<style style="ency_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<proc id="encyclopedia_init">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=1" />
</proc>
<proc id="encyclopedia_uninit">
<action handler="proc" params="ency_hide_all" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=0" />
</proc>
<!-- TEMPLATE DE STEPS & RITE ICONS -->
<template name="step_icon" id="" posref="" posparent="" w="16" h="16" x="2" y="0" done="" >
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done" >
<view type="bitmap" id="step_slot" posref="TL TL" texture="ency_step_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="step_done" posref="TL TL" texture="ency_step_done.tga" global_color="false" />
</group>
</template>
<template name="rite_icon" id="" posref="" posparent="parent" w="24" h="24" x="0" y="0" done="" >
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done" >
<view type="bitmap" id="rite_slot" posref="TL TL" texture="ency_rite_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="rite_done" posref="TL TL" texture="ency_rite_done.tga" global_color="false" />
</group>
</template>
<template name="rite" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="" >
<group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="slot" posref="TL TL" x="4" y="0" texture="ency_rite_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_rite_done.tga" global_color="false" />
<view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" />
<view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" />
</group>
<!-- <view type="bitmap" id="rite_sep" posparent="#id" posref="BL BL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />-->
</template>
<template name="task" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="" >
<group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="slot" posref="TL TL" x="8" y="0" texture="ency_step_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_step_done.tga" global_color="false" />
<view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" />
<view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" />
</group>
</template>
<group type="container" id="legacy_encyclopedia" w="432" h="400" title="uiEncyclopedia" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:PLA"
pop_min_w="432" pop_min_h="128" pop_max_w="800" pop_max_h="600" render_layer="1000" >
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<group id="sbtree" posref="TL TL" sizeref="w3h" x="0" w="-14" y="-4" h="-4" >
<group id="tree_list" type="tree" posref="TL TL" x="14" y="-4" col_over="255 255 255 48" col_select="255 255 255 80"
max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="-4" >
<!--
<node id="album" name="uiEncyAlbum" handler="proc" params="ency_album" fontsize="11" y_decal="-1" >
<node id="theme" name="uiEncyTheme" handler="proc" params="ency_theme" fontsize="10" y_decal="-1" />
</node>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!--********************-->
<!--* Encyclopedia *-->
<!--********************-->
<variable entry="UI:VARIABLES:ENCY:STEPS" type="sint32" value="7" />
<variable entry="UI:VARIABLES:ENCY:DONE" type="sint32" value="2" />
<variable entry="UI:VARIABLES:ENCY:REWARDBRICK:SHEET" type="sint32" value="0" />
<variable entry="UI:VARIABLES:ENCY:ALBUMBRICK:SHEET" type="sint32" value="0" />
<style style="ency_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal" />
<style style="ency_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<proc id="encyclopedia_init">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=1" />
</proc>
<proc id="encyclopedia_uninit">
<action handler="proc" params="ency_hide_all" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA|value=0" />
</proc>
<!-- TEMPLATE DE STEPS & RITE ICONS -->
<template name="step_icon" id="" posref="" posparent="" w="16" h="16" x="2" y="0" done="">
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done">
<view type="bitmap" id="step_slot" posref="TL TL" texture="ency_step_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="step_done" posref="TL TL" texture="ency_step_done.tga" global_color="false" />
</group>
</template>
<template name="rite_icon" id="" posref="" posparent="parent" w="24" h="24" x="0" y="0" done="">
<group id="#id" posref="#posref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" done="#done">
<view type="bitmap" id="rite_slot" posref="TL TL" texture="ency_rite_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="rite_done" posref="TL TL" texture="ency_rite_done.tga" global_color="false" />
</group>
</template>
<template name="rite" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="">
<group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="slot" posref="TL TL" x="4" y="0" texture="ency_rite_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_rite_done.tga" global_color="false" />
<view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" />
<view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" />
</group>
<!-- <view type="bitmap" id="rite_sep" posparent="#id" posref="BL BL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />-->
</template>
<template name="task" id="" posref="TL TL" posparent="parent" sizeref="w" w="0" h="0" x="0" y="0" hardtext="">
<group id="#id" posref="#posref" sizeref="#sizeref" posparent="#posparent" w="#w" h="#h" x="#x" y="#y" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="slot" posref="TL TL" x="8" y="0" texture="ency_step_slot.tga" inherit_gc_alpha="true" />
<view type="bitmap" id="done" posparent="slot" posref="MM MM" texture="ency_step_done.tga" global_color="false" />
<view type="text" id="giver" posref="TL TL" hardtext="uiENGiver" x="36" y="0" sizeref="w" w="-36" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text" id="npc" posparent="giver" posref="BL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" />
<view type="text" id="name" posparent="npc" posref="BL TL" hardtext="uiENName" y="-4" sizeref="w" color="255 255 255 255" fontsize="10" shadow="true" />
<view type="text_id" id="desc" posparent="name" posref="BL TL" y="0" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="#hardtext" />
</group>
</template>
<group type="container" id="legacy_encyclopedia" w="432" h="400" title="uiEncyclopedia" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:PLA" pop_min_w="432" pop_min_h="128" pop_max_w="800" pop_max_h="600" render_layer="1000">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="sbtree" posref="TL TL" sizeref="w3h" x="0" w="-14" y="-4" h="-4">
<group id="tree_list" type="tree" posref="TL TL" x="14" y="-4" col_over="255 255 255 48" col_select="255 255 255 80" max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="-4">
<!--
<node id="album" name="uiEncyAlbum" handler="proc" params="ency_album" fontsize="11" y_decal="-1" >
<node id="theme" name="uiEncyTheme" handler="proc" params="ency_theme" fontsize="10" y_decal="-1" />
</node>
-->
</group>
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
<!-- BACKGROUND -->
<group id="graph" posref="TR TR" x="0" y="-4" sizeref="w7h" w="-4" h="-4" >
<instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
</group>
<group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" />
<!-- HELP -->
<group id="help" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" >
<group id="explanation" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeref="h" max_h="-4" >
<view type="text" id="explanation_txt" posref="TL TL" sizeref="w" color="255 255 255 160"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" />
</group>
<ctrl style="skin_scroll" id="scroll_bar_explanation" align="T" target="explanation" posref="TL TR" x="-8" y="0" />
</group>
<!-- ALBUM -->
<group id="album" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false" >
<!-- Title -->
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyAlbum" />
<!-- Reward - Action -->
<group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" texture="W_slot_brick.tga" color="255 255 255 192" />
<ctrl type="sheet" id="brick" nature="sbrick" value="UI:VARIABLES:ENCY:ALBUMBRICK" posref="TL TL" posparent="back" x="0" y="0" onclick_r="open_sbrick_help" />
<view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="32" y="-8"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" />
</group>
<!-- LINK ALBUM OVER -->
<link expr="ne(@UI:VARIABLES:ENCY:ALBUMBRICK:SHEET,0)" target="reward:active" />
<!-- Reward - Text -->
<!--
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
</group>
-->
<!--
<group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" h="44">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view style="ency_title2" type="text" id="icon" posref="MM MM" x="0" y="0" hardtext="WORK IN PROGRESS" />
</group>
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="reward_txt" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" />
</group>
-->
</group>
<ctrl style="skin_scroll" id="scroll_bar_album" align="T" target="album" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- THEME -->
<group id="theme" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false" >
<!-- Title -->
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyTheme" />
<!-- Progression -->
<group id="progression" posref="TM TM" x="-13" y="-16" child_resize_w="true" child_resize_wmargin="4" h="24" >
<view style="ency_title2" type="text" id="prog_title" posref="ML ML" x="0" y="-2" hardtext="uiThemeProgression" />
<instance template="step_icon" id="step_1" posparent="prog_title" posref="TR TL" x="4" y="2" />
<instance template="step_icon" id="step_2" posparent="step_1" posref="TR TL" />
<instance template="step_icon" id="step_3" posparent="step_2" posref="TR TL" />
<instance template="step_icon" id="step_4" posparent="step_3" posref="TR TL" />
<instance template="step_icon" id="step_5" posparent="step_4" posref="TR TL" />
<instance template="step_icon" id="step_6" posparent="step_5" posref="TR TL" />
<instance template="step_icon" id="step_7" posparent="step_6" posref="TR TL" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="step_1:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="step_2:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="step_3:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="step_4:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="step_5:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="step_6:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="step_7:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,0)" target="step_1:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,1)" target="step_2:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,2)" target="step_3:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,3)" target="step_4:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,4)" target="step_5:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,5)" target="step_6:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,6)" target="step_7:step_done:active" />
</group>
<view style="ency_title2" type="text" id="sep" posparent="progression" posref="MR ML" x="0" y="-2" hardtext="-" />
<instance template="rite_icon" id="rite" posparent="progression" posref="TR TL" x="12" />
<!-- Reward - Action -->
<group id="reward" posref="TM TM" x="0" y="-48" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="48" y="-8"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" />
<ctrl type="sheet" id="brick" nature="auto" value="UI:VARIABLES:ENCY:REWARDBRICK" posref="ML ML" posparent="parent" x="0" y="0" />
</group>
<!-- Reward - Text -->
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
</group>
<!-- LINK THEME OVER -->
<link expr="gt(@UI:VARIABLES:ENCY:DONE,@UI:VARIABLES:ENCY:STEPS)" target="rite:rite_done:active,reward_text:active" />
<link expr="ne(@UI:VARIABLES:ENCY:REWARDBRICK:SHEET,0)" target="reward:active" />
<!-- Rite & Tasks -->
<group id="todo" posref="BM TM" posparent="reward_text" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="required" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRequired" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<instance template="task" id="task1" posparent="sep" posref="BL TL" hardtext="uiTask1" y="-20" />
<instance template="task" id="task2" posparent="task1" posref="BL TL" hardtext="uiTask2" />
<instance template="task" id="task3" posparent="task2" posref="BL TL" hardtext="uiTask3" />
<instance template="task" id="task4" posparent="task3" posref="BL TL" hardtext="uiTask4" />
<instance template="task" id="task5" posparent="task4" posref="BL TL" hardtext="uiTask5" />
<instance template="task" id="task6" posparent="task5" posref="BL TL" hardtext="uiTask6" />
<instance template="task" id="task7" posparent="task6" posref="BL TL" hardtext="uiTask7" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="task1:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="task2:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="task3:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="task4:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="task5:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="task6:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="task7:active" />
</group>
<group id="todo2" posref="BM TM" posparent="todo" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="ritual" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRite" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<instance template="rite" id="rite" posparent="sep" posref="BL TL" hardtext="uiRite" y="-20" />
</group>
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
<!-- BACKGROUND -->
<group id="graph" posref="TR TR" x="0" y="-4" sizeref="w7h" w="-4" h="-4">
<instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
</group>
<group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" />
<!-- HELP -->
<group id="help" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<group id="explanation" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeref="h" max_h="-4">
<view type="text" id="explanation_txt" posref="TL TL" sizeref="w" color="255 255 255 160" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" />
</group>
<ctrl style="skin_scroll" id="scroll_bar_explanation" align="T" target="explanation" posref="TL TR" x="-8" y="0" />
</group>
<!-- ALBUM -->
<group id="album" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false">
<!-- Title -->
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyAlbum" />
<!-- Reward - Action -->
<group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" texture="W_slot_brick.tga" color="255 255 255 192" />
<ctrl type="sheet" id="brick" nature="sbrick" value="UI:VARIABLES:ENCY:ALBUMBRICK" posref="TL TL" posparent="back" x="0" y="0" onclick_r="open_sbrick_help" />
<view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="32" y="-8" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" />
</group>
<!-- LINK ALBUM OVER -->
<link expr="ne(@UI:VARIABLES:ENCY:ALBUMBRICK:SHEET,0)" target="reward:active" />
<!-- Reward - Text -->
<!--
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4" >
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
</group>
-->
<!--
<group id="reward" posref="TM TM" x="0" y="-16" sizeref="w" w="0" h="44">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view style="ency_title2" type="text" id="icon" posref="MM MM" x="0" y="0" hardtext="WORK IN PROGRESS" />
</group>
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="reward_txt" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEncyExplanation" />
</group>
-->
</group>
<ctrl style="skin_scroll" id="scroll_bar_album" align="T" target="album" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- THEME -->
<group id="theme" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4" active="false">
<!-- Title -->
<view style="ency_title" type="text_id" id="title" posref="TM TM" x="0" y="0" hardtext="uiEncyTheme" />
<!-- Progression -->
<group id="progression" posref="TM TM" x="-13" y="-16" child_resize_w="true" child_resize_wmargin="4" h="24">
<view style="ency_title2" type="text" id="prog_title" posref="ML ML" x="0" y="-2" hardtext="uiThemeProgression" />
<instance template="step_icon" id="step_1" posparent="prog_title" posref="TR TL" x="4" y="2" />
<instance template="step_icon" id="step_2" posparent="step_1" posref="TR TL" />
<instance template="step_icon" id="step_3" posparent="step_2" posref="TR TL" />
<instance template="step_icon" id="step_4" posparent="step_3" posref="TR TL" />
<instance template="step_icon" id="step_5" posparent="step_4" posref="TR TL" />
<instance template="step_icon" id="step_6" posparent="step_5" posref="TR TL" />
<instance template="step_icon" id="step_7" posparent="step_6" posref="TR TL" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="step_1:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="step_2:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="step_3:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="step_4:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="step_5:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="step_6:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="step_7:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,0)" target="step_1:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,1)" target="step_2:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,2)" target="step_3:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,3)" target="step_4:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,4)" target="step_5:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,5)" target="step_6:step_done:active" />
<link expr="gt(@UI:VARIABLES:ENCY:DONE,6)" target="step_7:step_done:active" />
</group>
<view style="ency_title2" type="text" id="sep" posparent="progression" posref="MR ML" x="0" y="-2" hardtext="-" />
<instance template="rite_icon" id="rite" posparent="progression" posref="TR TL" x="12" />
<!-- Reward - Action -->
<group id="reward" posref="TM TM" x="0" y="-48" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" x="48" y="-8" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="WORK IN PROGRESS" />
<ctrl type="sheet" id="brick" nature="auto" value="UI:VARIABLES:ENCY:REWARDBRICK" posref="ML ML" posparent="parent" x="0" y="0" />
</group>
<!-- Reward - Text -->
<group id="reward_text" posref="BM TM" posparent="reward" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text_id" id="desc" posref="TL TL" sizeref="w" color="255 255 255 160" y="-8" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" />
</group>
<!-- LINK THEME OVER -->
<link expr="gt(@UI:VARIABLES:ENCY:DONE,@UI:VARIABLES:ENCY:STEPS)" target="rite:rite_done:active,reward_text:active" />
<link expr="ne(@UI:VARIABLES:ENCY:REWARDBRICK:SHEET,0)" target="reward:active" />
<!-- Rite & Tasks -->
<group id="todo" posref="BM TM" posparent="reward_text" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="required" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRequired" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<instance template="task" id="task1" posparent="sep" posref="BL TL" hardtext="uiTask1" y="-20" />
<instance template="task" id="task2" posparent="task1" posref="BL TL" hardtext="uiTask2" />
<instance template="task" id="task3" posparent="task2" posref="BL TL" hardtext="uiTask3" />
<instance template="task" id="task4" posparent="task3" posref="BL TL" hardtext="uiTask4" />
<instance template="task" id="task5" posparent="task4" posref="BL TL" hardtext="uiTask5" />
<instance template="task" id="task6" posparent="task5" posref="BL TL" hardtext="uiTask6" />
<instance template="task" id="task7" posparent="task6" posref="BL TL" hardtext="uiTask7" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,0)" target="task1:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,1)" target="task2:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,2)" target="task3:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,3)" target="task4:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,4)" target="task5:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,5)" target="task6:active" />
<link expr="gt(@UI:VARIABLES:ENCY:STEPS,6)" target="task7:active" />
</group>
<group id="todo2" posref="BM TM" posparent="todo" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="4">
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" texture="W_line_hor.tga" />
<view type="text" id="ritual" posparent="sep" posref="BL TL" x="0" y="-4" hardtext="uiENRite" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<instance template="rite" id="rite" posparent="sep" posref="BL TL" hardtext="uiRite" y="-20" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_bar_theme" align="T" target="theme" posparent="crop" posref="TL TR" x="-8" y="0" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_bar_theme" align="T" target="theme" posparent="crop" posref="TL TR" x="-8" y="0" />
</group>
</group>
<group type="container" id="encyclopedia" active="false" w="950" h="700" pop_max_w="950" pop_max_h="700" pop_min_w="585" pop_min_h="120" header_color="UI:SAVE:WIN:COLORS:PLA" posref="TL TL" title="Mission Catalog" global_color="true" global_color_over="true" right_button="true" movable="true" lockable="true" openable="true" opened="true" resizer="true" active_savable="false" >
<group id="header_closed" x="0" y="0" w="120" h="16" posref="TL TL" on_active="lua" on_active_params="game:closeWindowHeader()"></group>
<group id="header_opened" x="0" y="0" w="950" h="16" posref="TL TL" on_active="lua" on_active_params="game:openWindowHeader()"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" >
></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group id="htmlA" type="html" posref="ML ML" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="-16" y="0" w="220" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" x="8"/>
</group>
<group id="htmlB" type="html" posref="ML ML" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="190" y="0" w="740" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" x="8"/>
</group>
</group>
</group>
<tree node="legacy_encyclopedia"></tree>
<tree node="encyclopedia"></tree>
</group>
<group type="container" id="encyclopedia" active="false" w="950" h="700" pop_max_w="950" pop_max_h="700" pop_min_w="585" pop_min_h="120" header_color="UI:SAVE:WIN:COLORS:PLA" posref="TL TL" title="Mission Catalog" global_color="true" global_color_over="true" right_button="true" movable="true" lockable="true" openable="true" opened="true" resizer="true" active_savable="false">
<group id="header_closed" x="0" y="0" w="120" h="16" posref="TL TL" on_active="lua" on_active_params="game:closeWindowHeader()"></group>
<group id="header_opened" x="0" y="0" w="950" h="16" posref="TL TL" on_active="lua" on_active_params="game:openWindowHeader()" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">&gt;</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group id="htmlA" type="html" posref="ML ML" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="-16" y="0" w="220" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" x="8" />
</group>
<group id="htmlB" type="html" posref="ML ML" url="http://app.ryzom.com" title_prefix="" sizeref="h" x="190" y="0" w="740" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="0" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" color="255 255 255 0" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" x="8" />
</group>
</group>
</group>
<tree node="legacy_encyclopedia"></tree>
<tree node="encyclopedia"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,154 +1,120 @@
<interface_config>
<!-- *********************************************** -->
<!-- * IN-GAME CONTEXT MENU DEFINITION * -->
<!-- *********************************************** -->
<root id="interface" w="800" h="600" />
<variable entry="UI:GCM_BEAST_SELECTED" type="sint32" value="-1" />
<group type="menu" id="game_context_menu" extends="base_menu" on_active="" on_active_params=""
options="context_menu_back"
color="255 255 255 255"
fontsize="12"
shadow="false"
shadow_color="0 0 0 255"
shadow_color_over="0 0 0 255"
color_over="0 0 0 255"
color_grayed="255 255 255 128"
shadow_color_grayed="0 0 0 255"
highlight_over="255 255 255 128"
formatted="true"
case_mode="%case_normal"
>
<!-- Put First NPC interaction, sorted by usage frequency-->
<!-- mission options -->
<action id="mo0" name="" handler="mission_option" params="id=0" icon="radar_mission2_16.tga" />
<action id="mo1" name="" handler="mission_option" params="id=1" icon="radar_mission2_16.tga" />
<action id="mo2" name="" handler="mission_option" params="id=2" icon="radar_mission2_16.tga" />
<action id="mo3" name="" handler="mission_option" params="id=3" icon="radar_mission2_16.tga" />
<action id="mo4" name="" handler="mission_option" params="id=4" icon="radar_mission2_16.tga" />
<action id="mo5" name="" handler="mission_option" params="id=5" icon="radar_mission2_16.tga" />
<action id="mo6" name="" handler="mission_option" params="id=6" icon="radar_mission2_16.tga" />
<action id="mo7" name="" handler="mission_option" params="id=7" icon="radar_mission2_16.tga" />
<!-- mission ring -->
<action id="mr0" name="" handler="mission_ring" params="id=0" />
<action id="mr1" name="" handler="mission_ring" params="id=1" />
<action id="mr2" name="" handler="mission_ring" params="id=2" />
<action id="mr3" name="" handler="mission_ring" params="id=3" />
<!-- trade -->
<action id="trade_item" name="uimGcmTrade" handler="context_trade_item" params="" icon="ico_mission_casket.tga" />
<action id="trade_pact" name="uimGcmTradePact" handler="context_trade_pact" params="" icon="ico_mission_casket.tga" />
<action id="trade_phrase" name="uimGcmTradePhase" handler="context_trade_phrase" params="" icon="pvp_aura.tga" />
<action id="trade_teleport" name="uimGcmTeleport" handler="context_trade_teleport" params="" icon="ico_mission_casket.tga" />
<action id="trade_faction" name="uimGcmFaction" handler="context_trade_faction" params="" icon="ico_mission_package.tga" />
<action id="trade_cosmetic" name="uimGcmCosmetic" handler="context_trade_cosmetic" params="" icon="ico_tatoo.tga" />
<action id="trade_guild_options" name="uimGcmGuildOptions" handler="context_trade_guild_options" params="" icon="spe_memory.tga" />
<action id="trade_outpost_building" name="uimGcmOutpostBuilding" handler="context_trade_outpost_building" params="" icon="ge_mission_outpost_townhall.tga" />
<action id="trade_guild_role_master" name="uimGcmGuildRoleMaster" handler="context_trade_guild_role_master" params="" icon="spe_memory.tga" />
<!-- choose mission -->
<action id="choose_mission" name="uimGcmMissions" handler="context_choose_mission" params="" icon="radar_mission_16.tga" />
<!-- access to the web page -->
<action id="web_page" name="" handler="context_web_page" params="" icon="r2_icon_speak_as.tga" />
<!-- create guild -->
<action id="create_guild" name="uimGcmCreateGuild" handler="context_create_guild" params="" icon="spe_memory.tga" />
<!-- Loot/Forage/Quartering -->
<action id="loot_action" name="uimGcmLoot" handler="context_loot" params="" icon="ico_looting.tga" />
<action id="quartering" name="uimGcmQuartering" handler="context_quartering" params="" icon="ico_looting.tga" />
<!-- New BotChat By Yoyo -->
<action id="choose_zc_charge" name="uimGcmZoneCharge" handler="context_choose_zc_charge" params=""/>
<action id="cancel_zc_charge" name="uimGcmCancelZoneCharge" handler="context_cancel_zc_charge" params=""/>
<action id="choose_building" name="uimGcmChooseBuilding" handler="context_choose_building" params=""/>
<action id="destroy_building" name="uimGcmDestroyBuilding" handler="context_destroy_building" params=""/>
<action id="outpost_state" name="uimGcmDeclareWar" handler="lua:game:outpostBCOpenStateWindow()" params=""/>
<action id="buy_rm" name="uimGcmBuyRM" handler="context_buy_rm" params=""/>
<action id="upgrade_rm" name="uimGcmUpgradeRM" handler="context_upgrade_rm" params=""/>
<action id="outpost_bannish_player" name="uimGcmOutpostBanishPlayer" handler="outpost_ban_player" params=""/>
<action id="outpost_bannish_guild" name="uimGcmOutpostBanishGuild" handler="outpost_ban_guild" params=""/>
<!-- talk : engage conversation with player or ask news to a npc -->
<action id="talk" name="uimGcmTalk" handler="context_talk" params="" icon="r2_mini_activity_empty_chat.tga" />
<action id="news" name="uimGcmChat" handler="lua" params="game:TalkWithNpc(0)" icon="radar_mission3_16.tga" />
<action id="news_aggressive" name="uimGcmBullying" handler="lua" params="game:TalkWithNpc(1)" icon="bullying.tga" />
<action id="attack" name="uimGcmAttack" handler="context_attack" params="" icon="ico_blade.tga" />
<action id="info" name="uimGcmInfo" handler="open_title_help" params="from=target" icon="spe_status.tga" />
<!-- Action misc with selection -->
<action id="duel" name="uimGcmDuel" handler="context_duel" params="" icon="pvp_duel.tga" />
<action id="unduel" name="uimGcmUnDuel" handler="context_unduel" params="" icon="pvp_neutral.tga" />
<!-- <action id="pvp_challenge" name="uimGcmPvpChallenge" handler="context_pvp_challenge" params="" /> -->
<!-- <action id="unpvp_challenge" name="uimGcmUnPvpChanllenge" handler="context_unpvp_challenge" params="" /> -->
<action id="disengage" name="uimGcmDisengage" handler="context_disengage" params="" icon="ico_disarm.tga" />
<separator/>
<!-- friendly -->
<action id="assist" name="uimAssist" handler="assist_target" params="" icon="ico_aim.tga" />
<action id="follow" name="uimFollow" handler="command" params="follow" icon="r2_mini_activity_follow_road.tga" />
<action id="exchange" name="uimGcmExchange" handler="context_exchange" params="" icon="ico_exchange.tga" />
<action id="invit" name="uimGcmInvit" handler="context_invit" params="" icon="tb_team.tga" />
<action id="guild_invit" name="uimGcmGuildInvit" handler="context_guild_invit" params="" icon="tb_guild.tga" />
<action id="add_to_friend_list" name="uimGcmAddToFriendList" handler="context_add_to_friend_list" params="" icon="ico_preservation.tga" />
<!-- misc -->
<action id="mount" name="uimGcmMount" handler="beast_order" params="order=mount|beast_index=@UI:GCM_BEAST_SELECTED" icon="mektoub_mount.tga"/>
<action id="pa_follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:GCM_BEAST_SELECTED" icon="lm_target.tga"/>
<action id="pa_stop" name="uimGcmStop" handler="beast_order" params="order=stop|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2ed_icon_stop.tga"/>
<action id="pa_enter_stable" name="uimGcmEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:GCM_BEAST_SELECTED" icon="stable_enter.tga"/>
<action id="pa_enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:GCM_BEAST_SELECTED" icon="bag_enter.tga"/>
<action id="extract_rm" name="uimGcmExtractRM" handler="context_extract_rm" params="" icon="ico_forage_buff.tga" />
<action id="build_totem" name="uimGcmChooseBuilding" handler="build_totem" params="" icon="building_state1.tga" />
<action id="stop" name="uimGcmStopMove" handler="context_stop" params="" icon="r2_hand_pan.tga"/>
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=0" icon="mektoub_unmount.tga"/>
<separator/>
<!-- Action for GMs -->
<action id="invisible" name="Invisible" handler="command" params="a Invisible toggle" icon="ico_fear.tga" />
<action id="invulnerable" name="Invulnerable" handler="command" params="a Invulnerable toggle" icon="ico_invulnerability.tga" />
<action id="god" name="God" handler="command" params="a God toggle" icon="forage_spawn.tga" />
<!-- Action with no selection -->
<action id="free_look" name="uiMouseHead" handler="context_free_look" params="" icon="ico_visibility.tga" />
<action id="move" name="uimGcmMove" handler="context_move" params="" icon="ico_move.tga" />
<separator/>
<action id="pa_free" name="uimGcmFree" handler="beast_order" params="order=free|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2_toolbar_kill.tga"/>
<action id="quit_team" name="uimGcmQuitTeam" handler="context_quit_team" params="" icon="w_answer_16_cancel.tga"/>
</group>
<!-- TEMPORARY FOR TESTS -->
<!--
<action id="long" name="TEST" handler="" params="" >
<action id="action1" name="ACTION 1" handler="" params="" >
<action id="action11" name="ACTION 1-1" handler="" params="" />
<action name="ACTION 1-2" handler="" params="" >
<action name="ACTION 1-2-1" handler="" params="" />
<action name="ACTION 1-2-2" handler="" params="" />
</action>
<action name="ACTION 1-3" handler="" params="" />
</action>
<action name="ACTION 2" handler="" params="" >
<action name="ACTION 2-1" handler="" params="" />
<action name="ACTION 2-2" handler="" params="" />
<action name="ACTION 2-3" handler="" params="" />
</action>
<action name="ACTION 3" handler="" params="" >
<action name="ACTION 3-1" handler="" params="" />
<action name="ACTION 3-2" handler="" params="" />
<action name="ACTION 3-3" handler="" params="" />
</action>
<action name="ACTION 4" handler="" params="" grayed="true" />
</action>
<!-- *********************************************** -->
<!-- * IN-GAME CONTEXT MENU DEFINITION * -->
<!-- *********************************************** -->
<root id="interface" w="800" h="600" />
<variable entry="UI:GCM_BEAST_SELECTED" type="sint32" value="-1" />
<group type="menu" id="game_context_menu" extends="base_menu" on_active="" on_active_params="" options="context_menu_back" color="255 255 255 255" fontsize="12" shadow="false" shadow_color="0 0 0 255" shadow_color_over="0 0 0 255" color_over="0 0 0 255" color_grayed="255 255 255 128" shadow_color_grayed="0 0 0 255" highlight_over="255 255 255 128" formatted="true" case_mode="%case_normal">
<!-- Put First NPC interaction, sorted by usage frequency-->
<!-- mission options -->
<action id="mo0" name="" handler="mission_option" params="id=0" icon="radar_mission2_16.tga" />
<action id="mo1" name="" handler="mission_option" params="id=1" icon="radar_mission2_16.tga" />
<action id="mo2" name="" handler="mission_option" params="id=2" icon="radar_mission2_16.tga" />
<action id="mo3" name="" handler="mission_option" params="id=3" icon="radar_mission2_16.tga" />
<action id="mo4" name="" handler="mission_option" params="id=4" icon="radar_mission2_16.tga" />
<action id="mo5" name="" handler="mission_option" params="id=5" icon="radar_mission2_16.tga" />
<action id="mo6" name="" handler="mission_option" params="id=6" icon="radar_mission2_16.tga" />
<action id="mo7" name="" handler="mission_option" params="id=7" icon="radar_mission2_16.tga" />
<!-- mission ring -->
<action id="mr0" name="" handler="mission_ring" params="id=0" />
<action id="mr1" name="" handler="mission_ring" params="id=1" />
<action id="mr2" name="" handler="mission_ring" params="id=2" />
<action id="mr3" name="" handler="mission_ring" params="id=3" />
<!-- trade -->
<action id="trade_item" name="uimGcmTrade" handler="context_trade_item" params="" icon="ico_mission_casket.tga" />
<action id="trade_pact" name="uimGcmTradePact" handler="context_trade_pact" params="" icon="ico_mission_casket.tga" />
<action id="trade_phrase" name="uimGcmTradePhase" handler="context_trade_phrase" params="" icon="pvp_aura.tga" />
<action id="trade_teleport" name="uimGcmTeleport" handler="context_trade_teleport" params="" icon="ico_mission_casket.tga" />
<action id="trade_faction" name="uimGcmFaction" handler="context_trade_faction" params="" icon="ico_mission_package.tga" />
<action id="trade_cosmetic" name="uimGcmCosmetic" handler="context_trade_cosmetic" params="" icon="ico_tatoo.tga" />
<action id="trade_guild_options" name="uimGcmGuildOptions" handler="context_trade_guild_options" params="" icon="spe_memory.tga" />
<action id="trade_outpost_building" name="uimGcmOutpostBuilding" handler="context_trade_outpost_building" params="" icon="ge_mission_outpost_townhall.tga" />
<action id="trade_guild_role_master" name="uimGcmGuildRoleMaster" handler="context_trade_guild_role_master" params="" icon="spe_memory.tga" />
<!-- choose mission -->
<action id="choose_mission" name="uimGcmMissions" handler="context_choose_mission" params="" icon="radar_mission_16.tga" />
<!-- access to the web page -->
<action id="web_page" name="" handler="context_web_page" params="" icon="r2_icon_speak_as.tga" />
<!-- create guild -->
<action id="create_guild" name="uimGcmCreateGuild" handler="context_create_guild" params="" icon="spe_memory.tga" />
<!-- Loot/Forage/Quartering -->
<action id="loot_action" name="uimGcmLoot" handler="context_loot" params="" icon="ico_looting.tga" />
<action id="quartering" name="uimGcmQuartering" handler="context_quartering" params="" icon="ico_looting.tga" />
<!-- New BotChat By Yoyo -->
<action id="choose_zc_charge" name="uimGcmZoneCharge" handler="context_choose_zc_charge" params="" />
<action id="cancel_zc_charge" name="uimGcmCancelZoneCharge" handler="context_cancel_zc_charge" params="" />
<action id="choose_building" name="uimGcmChooseBuilding" handler="context_choose_building" params="" />
<action id="destroy_building" name="uimGcmDestroyBuilding" handler="context_destroy_building" params="" />
<action id="outpost_state" name="uimGcmDeclareWar" handler="lua:game:outpostBCOpenStateWindow()" params="" />
<action id="buy_rm" name="uimGcmBuyRM" handler="context_buy_rm" params="" />
<action id="upgrade_rm" name="uimGcmUpgradeRM" handler="context_upgrade_rm" params="" />
<action id="outpost_bannish_player" name="uimGcmOutpostBanishPlayer" handler="outpost_ban_player" params="" />
<action id="outpost_bannish_guild" name="uimGcmOutpostBanishGuild" handler="outpost_ban_guild" params="" />
<!-- talk : engage conversation with player or ask news to a npc -->
<action id="talk" name="uimGcmTalk" handler="context_talk" params="" icon="r2_mini_activity_empty_chat.tga" />
<action id="news" name="uimGcmChat" handler="lua" params="game:TalkWithNpc(0)" icon="radar_mission3_16.tga" />
<action id="news_aggressive" name="uimGcmBullying" handler="lua" params="game:TalkWithNpc(1)" icon="bullying.tga" />
<action id="attack" name="uimGcmAttack" handler="context_attack" params="" icon="ico_blade.tga" />
<action id="info" name="uimGcmInfo" handler="open_title_help" params="from=target" icon="spe_status.tga" />
<!-- Action misc with selection -->
<action id="duel" name="uimGcmDuel" handler="context_duel" params="" icon="pvp_duel.tga" />
<action id="unduel" name="uimGcmUnDuel" handler="context_unduel" params="" icon="pvp_neutral.tga" />
<!-- <action id="pvp_challenge" name="uimGcmPvpChallenge" handler="context_pvp_challenge" params="" /> -->
<!-- <action id="unpvp_challenge" name="uimGcmUnPvpChanllenge" handler="context_unpvp_challenge" params="" /> -->
<action id="disengage" name="uimGcmDisengage" handler="context_disengage" params="" icon="ico_disarm.tga" />
<separator />
<!-- friendly -->
<action id="assist" name="uimAssist" handler="assist_target" params="" icon="ico_aim.tga" />
<action id="follow" name="uimFollow" handler="command" params="follow" icon="r2_mini_activity_follow_road.tga" />
<action id="exchange" name="uimGcmExchange" handler="context_exchange" params="" icon="ico_exchange.tga" />
<action id="invit" name="uimGcmInvit" handler="context_invit" params="" icon="tb_team.tga" />
<action id="guild_invit" name="uimGcmGuildInvit" handler="context_guild_invit" params="" icon="tb_guild.tga" />
<action id="add_to_friend_list" name="uimGcmAddToFriendList" handler="context_add_to_friend_list" params="" icon="ico_preservation.tga" />
<!-- misc -->
<action id="mount" name="uimGcmMount" handler="beast_order" params="order=mount|beast_index=@UI:GCM_BEAST_SELECTED" icon="mektoub_mount.tga" />
<action id="pa_follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:GCM_BEAST_SELECTED" icon="lm_target.tga" />
<action id="pa_stop" name="uimGcmStop" handler="beast_order" params="order=stop|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="pa_enter_stable" name="uimGcmEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:GCM_BEAST_SELECTED" icon="stable_enter.tga" />
<action id="pa_enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:GCM_BEAST_SELECTED" icon="bag_enter.tga" />
<action id="extract_rm" name="uimGcmExtractRM" handler="context_extract_rm" params="" icon="ico_forage_buff.tga" />
<action id="build_totem" name="uimGcmChooseBuilding" handler="build_totem" params="" icon="building_state1.tga" />
<action id="stop" name="uimGcmStopMove" handler="context_stop" params="" icon="r2_hand_pan.tga" />
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=0" icon="mektoub_unmount.tga" />
<separator />
<!-- Action for GMs -->
<action id="invisible" name="Invisible" handler="command" params="a Invisible toggle" icon="ico_fear.tga" />
<action id="invulnerable" name="Invulnerable" handler="command" params="a Invulnerable toggle" icon="ico_invulnerability.tga" />
<action id="god" name="God" handler="command" params="a God toggle" icon="forage_spawn.tga" />
<!-- Action with no selection -->
<action id="free_look" name="uiMouseHead" handler="context_free_look" params="" icon="ico_visibility.tga" />
<action id="move" name="uimGcmMove" handler="context_move" params="" icon="ico_move.tga" />
<separator />
<action id="pa_free" name="uimGcmFree" handler="beast_order" params="order=free|beast_index=@UI:GCM_BEAST_SELECTED" icon="r2_toolbar_kill.tga" />
<action id="quit_team" name="uimGcmQuitTeam" handler="context_quit_team" params="" icon="w_answer_16_cancel.tga" />
</group>
<!-- TEMPORARY FOR TESTS -->
<!--
<action id="long" name="TEST" handler="" params="" >
<action id="action1" name="ACTION 1" handler="" params="" >
<action id="action11" name="ACTION 1-1" handler="" params="" />
<action name="ACTION 1-2" handler="" params="" >
<action name="ACTION 1-2-1" handler="" params="" />
<action name="ACTION 1-2-2" handler="" params="" />
</action>
<action name="ACTION 1-3" handler="" params="" />
</action>
<action name="ACTION 2" handler="" params="" >
<action name="ACTION 2-1" handler="" params="" />
<action name="ACTION 2-2" handler="" params="" />
<action name="ACTION 2-3" handler="" params="" />
</action>
<action name="ACTION 3" handler="" params="" >
<action name="ACTION 3-1" handler="" params="" />
<action name="ACTION 3-2" handler="" params="" />
<action name="ACTION 3-3" handler="" params="" />
</action>
<action name="ACTION 4" handler="" params="" grayed="true" />
</action>
-->
<!--<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:harvest:grayed" />
<!--<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:harvest:grayed" />
<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:long:action1:1:grayed" />-->
</interface_config>

@ -1,481 +1,283 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:TEMP:GUILD_SHEET:ICON" type="sint64" value="1" />
<variable entry="UI:TEMP:GUILD_SHEET:NAME" type="sint64" value="1" />
<!-- Variable to store the guild symbol and name for each entity in game -->
<variable entry="UI:ENTITY:GUILD:$i:ICON" type="sint64" value="0" size="256" />
<variable entry="UI:ENTITY:GUILD:$i:NAME" type="sint64" value="0" size="256" />
<proc id="guild_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=1" />
<action handler="guild_sheet_open" params="update_members=1" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild:active'|value=0" />
</proc>
<proc id="guild_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=0" />
</proc>
<proc id="guild_tell_member_proc">
<action handler="guild_tell_member" params="" />
</proc>
<!-- ******************* -->
<!-- * TEMPLATE MEMBER * -->
<!-- ******************* -->
<group type="menu" id="menu_member" extends="base_menu" on_active="guild_member_menu_open">
<action id="sort" name="uimSort" handler="sort_guild_list" params="" />
<separator />
<action id="lead" name="uimGuildLeader" handler="guild_member_chg_to_leader" />
<action id="hiof" name="uimGuildHighOfficer" handler="guild_member_chg_to_high_officer" />
<action id="offi" name="uimGuildOfficer" handler="guild_member_chg_to_officer" />
<action id="memb" name="uimGuildMember" handler="guild_member_chg_to_member" />
<action id="kick" name="uimGuildKick" handler="guild_member_kick" />
</group>
<!--
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:TEMP:GUILD_SHEET:ICON" type="sint64" value="1" />
<variable entry="UI:TEMP:GUILD_SHEET:NAME" type="sint64" value="1" />
<!-- Variable to store the guild symbol and name for each entity in game -->
<variable entry="UI:ENTITY:GUILD:$i:ICON" type="sint64" value="0" size="256" />
<variable entry="UI:ENTITY:GUILD:$i:NAME" type="sint64" value="0" size="256" />
<proc id="guild_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=1" />
<action handler="guild_sheet_open" params="update_members=1" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild:active'|value=0" />
</proc>
<proc id="guild_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=0" />
</proc>
<proc id="guild_tell_member_proc">
<action handler="guild_tell_member" params="" />
</proc>
<!-- ******************* -->
<!-- * TEMPLATE MEMBER * -->
<!-- ******************* -->
<group type="menu" id="menu_member" extends="base_menu" on_active="guild_member_menu_open">
<action id="sort" name="uimSort" handler="sort_guild_list" params="" />
<separator />
<action id="lead" name="uimGuildLeader" handler="guild_member_chg_to_leader" />
<action id="hiof" name="uimGuildHighOfficer" handler="guild_member_chg_to_high_officer" />
<action id="offi" name="uimGuildOfficer" handler="guild_member_chg_to_officer" />
<action id="memb" name="uimGuildMember" handler="guild_member_chg_to_member" />
<action id="kick" name="uimGuildKick" handler="guild_member_kick" />
</group>
<!--
<action id="recr" name="uimGuildRecruiter" handler="guild_member_chg_to_recruiter" />
<action id="bear" name="uimGuildBearer" handler="guild_member_chg_to_bearer" />
-->
<template name="member_template" keep="true" posparent="parent" posref="TL TL" h="16" id="">
<group id="#id" w="294" h="#h" posparent="#posparent" posref="#posref"
group_onclick_l="proc" group_params_l="guild_tell_member_proc"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:menu_member">
<view type="text" id="name" x="4" y="0" fontsize="12" shadow="true" case_mode="%case_normal" />
<view type="text" id="grade" x="158" y="0" fontsize="10" shadow="true" />
<view type="bitmap" id="online" x="-10" y="0" posref="MR MR" texture="w_online.tga" global_color="false" />
<ctrl type="tooltip" id="tt_online" posparent="online" posref="MR MR" x="0" y="0" sizeref="wh" w="0" h="0" tooltip="uittFriendsOnline" tooltip_parent="win" />
</group>
</template>
<!-- **************** -->
<!-- * GUILD MAIN * -->
<!-- **************** -->
<group type="container" id="guild" title="uiGuildTitle"
w="330" h="350" pop_max_h="700"
resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM"
openable="false" opened="true" movable="true" active="false" savable="false"
on_active="proc" on_active_params="guild_proc_active"
on_deactive="proc" on_deactive_params="guild_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL">
</group>
<group id="header_opened" x="0" y="0" w="100" h="48" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color">
<group type="tab" id="guild_select" child_resize_w="true" h="24" posref="TL TL" x="0" y="-24">
<ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:tab_guild" hardtext="uiGuildTabGuild" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=330" />
<ctrl style="tab_button_new" id="tab1" posparent="tab0" group="content:tab_outpost" hardtext="uiGuildTabOutpost" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=450" />
</group>
<view type="bitmap" id="sep" posparent="guild_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<group id="content" posref="TL TL" x="0" y="0" w="0" h="0" child_resize_h="true" child_resize_hmargin="4">
<group id="tab_guild" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="8">
<!-- LOGO & NAME -->
<ctrl type="sheet" id="blason" posref="TL TL" x="2" y="-8" nature="guild_flag" slot="false" value="SERVER:GUILD" dragable="false" color="255 255 255 255" />
<view type="text_id" id="name" posparent="blason" posref="TR TL" x="8" w="200" y="-2" h="20" shadow="true" global_color="false" fontsize="16" textid="SERVER:GUILD:NAME" dynamic_string="false" />
<!-- Age / Effectif -->
<view type="text_number" id="age" posparent="blason" posref="BR BL" x="8" y="0" fontsize="10" shadow="true" value="SERVER:GUILD:CREATION_DATE" positive="true" />
<view type="text" id="days" posparent="age" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoAge" />
<view type="text" id="sep" posparent="days" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="/" />
<view type="text" id="member_count" posparent="sep" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" value="" positive="true" />
<view type="text" id="members" posparent="member_count" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoEff" />
<!-- DESCRIPTION -->
<view type="text" id="desc_title" posparent="blason" shadow="true" posref="BL TL" x="0" y="-6" fontsize="12" hardtext="uiGuildInfoDes" global_color="false" case_mode="%case_upper" />
<view type="text_id" id="desc" posparent="desc_title" posref="BL TL" x="0" y="-2" shadow="true" fontsize="10" multi_line="true" multi_line_space="0" textid="SERVER:GUILD:DESCRIPTION" dynamic_string="false" />
<!-- HEADQUARTERS -->
<view type="text" id="head_title" posparent="desc" shadow="true" posref="BL TL" x="0" y="-4" fontsize="12" hardtext="uiGuildInfoHead" global_color="false" case_mode="%case_upper" />
<view type="text_id" id="head" posparent="head_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" hardtext="uiGuildInfoHead2" textid="SERVER:GUILD:VILLAGE" dynamic_string="true" />
<!--
<view type="text" id="fame_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoFame" global_color="false" case_mode="%case_upper" />
<view type="text_number" id="fame" posparent="fame_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:FAME" positive="false" />
<template name="member_template" keep="true" posparent="parent" posref="TL TL" h="16" id="">
<group id="#id" w="294" h="#h" posparent="#posparent" posref="#posref" group_onclick_l="proc" group_params_l="guild_tell_member_proc" group_onclick_r="active_menu" group_params_r="menu=ui:interface:menu_member">
<view type="text" id="name" x="4" y="0" fontsize="12" shadow="true" case_mode="%case_normal" />
<view type="text" id="grade" x="158" y="0" fontsize="10" shadow="true" />
<view type="bitmap" id="online" x="-10" y="0" posref="MR MR" texture="w_online.tga" global_color="false" />
<ctrl type="tooltip" id="tt_online" posparent="online" posref="MR MR" x="0" y="0" sizeref="wh" w="0" h="0" tooltip="uittFriendsOnline" tooltip_parent="win" />
</group>
</template>
<!-- **************** -->
<!-- * GUILD MAIN * -->
<!-- **************** -->
<group type="container" id="guild" title="uiGuildTitle" w="330" h="350" pop_max_h="700" resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM" openable="false" opened="true" movable="true" active="false" savable="false" on_active="proc" on_active_params="guild_proc_active" on_deactive="proc" on_deactive_params="guild_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="100" h="48" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group type="tab" id="guild_select" child_resize_w="true" h="24" posref="TL TL" x="0" y="-24">
<ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:tab_guild" hardtext="uiGuildTabGuild" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=330" />
<ctrl style="tab_button_new" id="tab1" posparent="tab0" group="content:tab_outpost" hardtext="uiGuildTabOutpost" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=450" />
</group>
<view type="bitmap" id="sep" posparent="guild_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<group id="content" posref="TL TL" x="0" y="0" w="0" h="0" child_resize_h="true" child_resize_hmargin="4">
<group id="tab_guild" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="8">
<!-- LOGO & NAME -->
<ctrl type="sheet" id="blason" posref="TL TL" x="2" y="-8" nature="guild_flag" slot="false" value="SERVER:GUILD" dragable="false" color="255 255 255 255" />
<view type="text_id" id="name" posparent="blason" posref="TR TL" x="8" w="200" y="-2" h="20" shadow="true" global_color="false" fontsize="16" textid="SERVER:GUILD:NAME" dynamic_string="false" />
<!-- Age / Effectif -->
<view type="text_number" id="age" posparent="blason" posref="BR BL" x="8" y="0" fontsize="10" shadow="true" value="SERVER:GUILD:CREATION_DATE" positive="true" />
<view type="text" id="days" posparent="age" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoAge" />
<view type="text" id="sep" posparent="days" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="/" />
<view type="text" id="member_count" posparent="sep" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" value="" positive="true" />
<view type="text" id="members" posparent="member_count" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoEff" />
<!-- DESCRIPTION -->
<view type="text" id="desc_title" posparent="blason" shadow="true" posref="BL TL" x="0" y="-6" fontsize="12" hardtext="uiGuildInfoDes" global_color="false" case_mode="%case_upper" />
<view type="text_id" id="desc" posparent="desc_title" posref="BL TL" x="0" y="-2" shadow="true" fontsize="10" multi_line="true" multi_line_space="0" textid="SERVER:GUILD:DESCRIPTION" dynamic_string="false" />
<!-- HEADQUARTERS -->
<view type="text" id="head_title" posparent="desc" shadow="true" posref="BL TL" x="0" y="-4" fontsize="12" hardtext="uiGuildInfoHead" global_color="false" case_mode="%case_upper" />
<view type="text_id" id="head" posparent="head_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" hardtext="uiGuildInfoHead2" textid="SERVER:GUILD:VILLAGE" dynamic_string="true" />
<!--
<view type="text" id="fame_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoFame" global_color="false" case_mode="%case_upper" />
<view type="text_number" id="fame" posparent="fame_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:FAME" positive="false" />
-->
<!-- XP Score -->
<view type="text" id="XP_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoScore" global_color="false" case_mode="%case_upper" />
<view type="text_number" id="xp" posparent="XP_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:XP" positive="true" />
<!-- Money -->
<instance template="argent" id="money" tooltip="uittGuildMoney" posparent="XP_title" posref="BL TL" x="0" y="-4" w="130" h="16" value="SERVER:GUILD:INVENTORY:MONEY" />
<!-- MEMBERS LIST -->
<group id="list_member" posparent="money" posref="BL TL" x="0" y="-8" sizeparent="parent" sizeref="w" w="-8" h="208">
<view type="text" id="title" posref="TL TL" x="0" y="-5" fontsize="12" shadow="true" global_color="false" hardtext="uiGuildMembers" />
<view type="text" id="rank" posref="TL TL" x="170" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberRank" />
<view type="text" id="online" posref="TR TR" x="-10" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberOnline" />
<group type="list" id="guild_members" posref="TL TL" x="12" y="-24" sizeref="h" h="-30" w="310" over="true" child_resize_hmargin="2"></group>
<ctrl style="skin_scroll" id="scroll_bar_guild" posref="TL TL" x="0" y="-24" target="guild_members" target_stepy="16" />
<group id="black" posref="TL TL" sizeparent="guild_members" x="0" y="2" sizeref="w" w="0" h="180" posparent="guild_members" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
</group>
<!-- QUIT GUILD BUTTON -->
<ctrl style="text_button_16" id="quit_guild" posparent="list_member" posref="BR TR" x="0" y="-6" hardtext="uiQuitGuild"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
global_color_normal="true" global_color_over="true" global_color_pushed="true"
onclick_l="context_quit_guild" params_l="" />
</group>
<group id="tab_outpost" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0">
<instance template="t_outpost_manager" id="outpost_manager" />
</group>
</group>
</group>
<tree node="guild" />
<!-- ***************** -->
<!-- * GUILD FORUM * -->
<!-- ***************** -->
<proc id="guild_forum_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=1" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild_forum:active'|value=0" />
<action handler="browse" params="name=ui:interface:guild_forum:content:html|url=home|show=0"/>
</proc>
<proc id="guild_forum_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=0" />
</proc>
<group type="menu" id="guild_forum_menu" extends="base_menu_with_color">
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:guild_forum:content:html|url=home"/>
</group>
<group type="container" id="guild_forum" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:MEM"
resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600"
title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true"
on_active="proc" on_active_params="guild_forum_proc_active"
on_deactive="proc" on_deactive_params="guild_forum_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:guild_forum_menu">
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="forum_html" id="html" posref="TL TL" url="home" title_prefix="uiGuildForumTitle"
sizeref="wh" x="0" y="0" w="0" h="0"
background_color="0 0 0 255"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="20"
h2_font_size="18"
h3_font_size="16"
h4_font_size="14"
h5_font_size="12"
h6_font_size="12"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="w_slot_on.tga"
checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over=""
background_bitmap_view="black2"
browse_next_time="false"
form_text_area_group="edit_box_widget_multiline"
>
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="guild_forum" />
<!-- **************** -->
<!-- * GUILD CHAT * -->
<!-- **************** -->
<proc id="guild_chat_proc_close">
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
</proc>
<!-- container is c++ generated (people_interraction.cpp) -->
<!-- ********************* -->
<!-- * GUILD INVENTORY * -->
<!-- ********************* -->
<proc id="guild_inv_activated">
<!-- <action handler="proc" params="memorize_inventory_state"/>-->
<action handler="context_help_html" params="inventory" />
</proc>
<proc id="guild_get_money">
<action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyFromGuild'" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:eb:input_string|value=100" />
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box2:eb" />
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
</proc>
<proc id="guild_put_money">
<action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyToGuild'" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:eb:input_string|value=100" />
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box1:eb" />
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
</proc>
<!-- see what to do with that
on_active="proc" on_active_params="guild_inv_activated"
on_deactive="" on_deactive_params="" -->
<group style="inv_container_guild" id="inv_guild" header_color="UI:SAVE:WIN:COLORS:TRADE" title="uitabInvGuild"
on_close_button="set" on_close_button_params="dblink=UI:SAVE:INVENTORY_GUILD_WANT_POPUP|value=0"
>
<group id="header_closed" x="0" y="0" h="12" posref="TL TL">
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch="%guild_inv_dbentry" inv_bulk_max="%guild_inv_bulk_max" />
</group>
<group id="content" h="214" posref="TR TR">
<instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8"
inv_branch="%guild_inv_dbentry" inv_branch_nb="%max_guild_invslot" inv_type="INV_GUILD" />
<instance template="argent" id="money" posref="BL BL" x="4" y="1" value="%guild_inv_money" />
<ctrl style="new_element_header" id="getmoney_but" posref="MR ML" posparent="money" x="4" wmargin="8"
hardtext="uittGetMoney" onclick_l="proc" params_l="guild_get_money" />
<ctrl style="new_element_header" id="putmoney_but" posref="MR ML" posparent="getmoney_but" x="4" wmargin="8"
hardtext="uittPutMoney" onclick_l="proc" params_l="guild_put_money" />
</group>
</group>
<link expr="and(%is_guild_present, @UI:SAVE:INVENTORY_GUILD_WANT_POPUP, @UI:TEMP:INVENTORY_GUILD_OPENED)" target="inv_guild:active" />
<tree node="inv_guild" />
<!-- QUANTITY OF MONEY MODAL BOX -->
<group type="modal" id="guild_inv_money" exit_click_out="true" posref="MM BL" w="170" h="64" options="skin_modal">
<!-- info text -->
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
<!-- bitmap for the seeds -->
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" />
<!-- edit box for the seeds -->
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0"
reset_focus_on_hide="true" max_historic="0"
onenter="guild_inv_put_money"
onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%money|update_text=false"
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
<instance template="edit_box_widget" id="box2" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0"
reset_focus_on_hide="true" max_historic="0"
onenter="guild_inv_get_money" params="confirm_money_quantity"
onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%guild_inv_money|update_text=false"
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
<!-- ok / cancel -->
<instance template="button_ok_cancel" id="ok1" posref="BR BR" x="-4" y="4"
onclick_ok="guild_inv_put_money" onclick_ok_param=""
onclick_cancel="leave_modal" onclick_cancel_param="" />
<instance template="button_ok_cancel" id="ok2" posref="BR BR" x="-4" y="4"
onclick_ok="guild_inv_get_money" onclick_ok_param=""
onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- ************** -->
<!-- * MAIL BOX * -->
<!-- ************** -->
<group type="container" id="mailbox" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM"
resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600"
title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true"
on_active="proc" on_active_params="mailbox_proc_active"
on_deactive="proc" on_deactive_params="mailbox_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:mailbox_menu">
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
<group type="html" id="html" posref="TL TL" url="home" title_prefix="uiMailboxTitle"
sizeref="wh" x="0" y="0" w="0" h="0"
background_color="0 0 0 255"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="20"
h2_font_size="18"
h3_font_size="16"
h4_font_size="14"
h5_font_size="12"
h6_font_size="12"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="w_slot_on.tga"
checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over=""
background_bitmap_view="black2"
browse_next_time="false"
form_text_area_group="edit_box_widget_multiline"
>
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true"/>
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="mailbox"/>
<!-- ************** -->
<!-- * WEB IG * -->
<!-- ************** -->
<proc id="webig_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=1" />
</proc>
<proc id="webig_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=0" />
</proc>
<group type="menu" id="webig_menu" extends="base_menu_with_color">
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:webig:content:html|url=home" icon="building_state2.tga" />
</group>
<group type="container" id="webig" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="true" opened="true" movable="true" active="true" on_active="proc" on_active_params="webig_proc_active" on_deactive="proc" on_deactive_params="webig_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:closeWebIGBrowserHeader()" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:openWebIGBrowserHeader()">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:webig:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:webig:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/index.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:webig:header_opened:browse_refresh" browse_undo="ui:interface:webig:header_opened:browse_undo" browse_redo="ui:interface:webig:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-3" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="webig" />
<group type="container" id="web_transactions" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_transactions:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_transactions:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/init_ig.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_transactions:header_opened:browse_refresh" browse_undo="ui:interface:web_transactions:header_opened:browse_undo" browse_redo="ui:interface:web_transactions:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="web_transactions" />
<group type="container" id="web_lua_action" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_lua_action:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_lua_action:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_lua_action:header_opened:browse_refresh" browse_undo="ui:interface:web_lua_action:header_opened:browse_undo" browse_redo="ui:interface:web_lua_action:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="web_lua_action" />
<!-- XP Score -->
<view type="text" id="XP_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoScore" global_color="false" case_mode="%case_upper" />
<view type="text_number" id="xp" posparent="XP_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:XP" positive="true" />
<!-- Money -->
<instance template="argent" id="money" tooltip="uittGuildMoney" posparent="XP_title" posref="BL TL" x="0" y="-4" w="130" h="16" value="SERVER:GUILD:INVENTORY:MONEY" />
<!-- MEMBERS LIST -->
<group id="list_member" posparent="money" posref="BL TL" x="0" y="-8" sizeparent="parent" sizeref="w" w="-8" h="208">
<view type="text" id="title" posref="TL TL" x="0" y="-5" fontsize="12" shadow="true" global_color="false" hardtext="uiGuildMembers" />
<view type="text" id="rank" posref="TL TL" x="170" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberRank" />
<view type="text" id="online" posref="TR TR" x="-10" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberOnline" />
<group type="list" id="guild_members" posref="TL TL" x="12" y="-24" sizeref="h" h="-30" w="310" over="true" child_resize_hmargin="2"></group>
<ctrl style="skin_scroll" id="scroll_bar_guild" posref="TL TL" x="0" y="-24" target="guild_members" target_stepy="16" />
<group id="black" posref="TL TL" sizeparent="guild_members" x="0" y="2" sizeref="w" w="0" h="180" posparent="guild_members" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
</group>
<!-- QUIT GUILD BUTTON -->
<ctrl style="text_button_16" id="quit_guild" posparent="list_member" posref="BR TR" x="0" y="-6" hardtext="uiQuitGuild" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" global_color_normal="true" global_color_over="true" global_color_pushed="true" onclick_l="context_quit_guild" params_l="" />
</group>
<group id="tab_outpost" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0">
<instance template="t_outpost_manager" id="outpost_manager" />
</group>
</group>
</group>
<tree node="guild" />
<!-- ***************** -->
<!-- * GUILD FORUM * -->
<!-- ***************** -->
<proc id="guild_forum_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=1" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild_forum:active'|value=0" />
<action handler="browse" params="name=ui:interface:guild_forum:content:html|url=home|show=0" />
</proc>
<proc id="guild_forum_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD_FORUM|value=0" />
</proc>
<group type="menu" id="guild_forum_menu" extends="base_menu_with_color">
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:guild_forum:content:html|url=home" />
</group>
<group type="container" id="guild_forum" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:MEM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true" on_active="proc" on_active_params="guild_forum_proc_active" on_deactive="proc" on_deactive_params="guild_forum_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:guild_forum_menu"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="forum_html" id="html" posref="TL TL" url="home" title_prefix="uiGuildForumTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="guild_forum" />
<!-- **************** -->
<!-- * GUILD CHAT * -->
<!-- **************** -->
<proc id="guild_chat_proc_close">
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
</proc>
<!-- container is c++ generated (people_interraction.cpp) -->
<!-- ********************* -->
<!-- * GUILD INVENTORY * -->
<!-- ********************* -->
<proc id="guild_inv_activated">
<!-- <action handler="proc" params="memorize_inventory_state"/>-->
<action handler="context_help_html" params="inventory" />
</proc>
<proc id="guild_get_money">
<action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyFromGuild'" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:eb:input_string|value=100" />
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box2:eb" />
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
</proc>
<proc id="guild_put_money">
<action handler="set" params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyToGuild'" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box2:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok1:active|value=1" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:ok2:active|value=0" />
<action handler="set" params="target_property=ui:interface:guild_inv_money:box1:eb:input_string|value=100" />
<action handler="set" params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:guild_inv_money:box1:eb" />
<action handler="enter_modal" params="group=ui:interface:guild_inv_money" />
</proc>
<!-- see what to do with that
on_active="proc" on_active_params="guild_inv_activated"
on_deactive="" on_deactive_params="" -->
<group style="inv_container_guild" id="inv_guild" header_color="UI:SAVE:WIN:COLORS:TRADE" title="uitabInvGuild" on_close_button="set" on_close_button_params="dblink=UI:SAVE:INVENTORY_GUILD_WANT_POPUP|value=0">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch="%guild_inv_dbentry" inv_bulk_max="%guild_inv_bulk_max" />
</group>
<group id="content" h="214" posref="TR TR">
<instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8" inv_branch="%guild_inv_dbentry" inv_branch_nb="%max_guild_invslot" inv_type="INV_GUILD" />
<instance template="argent" id="money" posref="BL BL" x="4" y="1" value="%guild_inv_money" />
<ctrl style="new_element_header" id="getmoney_but" posref="MR ML" posparent="money" x="4" wmargin="8" hardtext="uittGetMoney" onclick_l="proc" params_l="guild_get_money" />
<ctrl style="new_element_header" id="putmoney_but" posref="MR ML" posparent="getmoney_but" x="4" wmargin="8" hardtext="uittPutMoney" onclick_l="proc" params_l="guild_put_money" />
</group>
</group>
<link expr="and(%is_guild_present, @UI:SAVE:INVENTORY_GUILD_WANT_POPUP, @UI:TEMP:INVENTORY_GUILD_OPENED)" target="inv_guild:active" />
<tree node="inv_guild" />
<!-- QUANTITY OF MONEY MODAL BOX -->
<group type="modal" id="guild_inv_money" exit_click_out="true" posref="MM BL" w="170" h="64" options="skin_modal">
<!-- info text -->
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
<!-- bitmap for the seeds -->
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" />
<!-- edit box for the seeds -->
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true" max_historic="0" onenter="guild_inv_put_money" onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%money|update_text=false" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
<instance template="edit_box_widget" id="box2" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true" max_historic="0" onenter="guild_inv_get_money" params="confirm_money_quantity" onchange="editbox_number" onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%guild_inv_money|update_text=false" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" color="135 243 28 255" />
<!-- ok / cancel -->
<instance template="button_ok_cancel" id="ok1" posref="BR BR" x="-4" y="4" onclick_ok="guild_inv_put_money" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
<instance template="button_ok_cancel" id="ok2" posref="BR BR" x="-4" y="4" onclick_ok="guild_inv_get_money" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- ************** -->
<!-- * MAIL BOX * -->
<!-- ************** -->
<group type="container" id="mailbox" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true" on_active="proc" on_active_params="mailbox_proc_active" on_deactive="proc" on_deactive_params="mailbox_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" w="480" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:mailbox_menu"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="html" id="html" posref="TL TL" url="home" title_prefix="uiMailboxTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="mailbox" />
<!-- ************** -->
<!-- * WEB IG * -->
<!-- ************** -->
<proc id="webig_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=1" />
</proc>
<proc id="webig_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=0" />
</proc>
<group type="menu" id="webig_menu" extends="base_menu_with_color">
<action id="home" name="uiHOME" handler="browse" params="name=ui:interface:webig:content:html|url=home" icon="building_state2.tga" />
</group>
<group type="container" id="webig" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="true" opened="true" movable="true" active="true" on_active="proc" on_active_params="webig_proc_active" on_deactive="proc" on_deactive_params="webig_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:closeWebIGBrowserHeader()" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:webig_menu" on_active="lua" on_active_params="game:openWebIGBrowserHeader()">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:webig:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:webig:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:webig:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/index.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:webig:header_opened:browse_refresh" browse_undo="ui:interface:webig:header_opened:browse_undo" browse_redo="ui:interface:webig:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-3" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="webig" />
<group type="container" id="web_transactions" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_transactions:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_transactions:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_transactions:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/init_ig.php" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_transactions:header_opened:browse_refresh" browse_undo="ui:interface:web_transactions:header_opened:browse_undo" browse_redo="ui:interface:web_transactions:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="web_transactions" />
<group type="container" id="web_lua_action" w="480" h="400" title="" global_color="false" open_button="false" force_open_out="true" header_color="UI:SAVE:WIN:COLORS:COM" resizer="true" pop_min_w="220" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" lockable="true" openable="false" opened="true" movable="true" active="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="480" h="16" posref="TL TL">
<!-- must be frozen by default cause no undo/redo at start -->
<ctrl style="text_button_header" button_type="push_button" id="browse_redo" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="browse_redo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_undo" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="browse_undo" params_l="name=ui:interface:web_lua_action:content:html" frozen="true" />
<ctrl style="text_button_header" button_type="push_button" id="browse_refresh" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="browse_refresh" params_l="name=ui:interface:web_lua_action:content:html" />
<ctrl style="text_button_header" button_type="push_button" id="browse_home" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="browse_home" params_l="name=ui:interface:web_lua_action:content:html" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="webig_html" id="html" posref="TL TL" url="" home="http://app.ryzom.com/" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 255" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="ui:interface:web_lua_action:header_opened:browse_refresh" browse_undo="ui:interface:web_lua_action:header_opened:browse_undo" browse_redo="ui:interface:web_lua_action:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
<tree node="web_lua_action" />
</interface_config>

@ -1,231 +1,145 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * COSMETICS * -->
<!-- ***************** -->
<template name="but_slider" posref="TL TL" x="0" y="0" w="122" h="32" id="" posparent="parent" sizeref="" keep="true" value="" max="" >
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" value="#value" max="#max" >
<instance template="box_widget" id="back" posref="TM TM" sizeref="w" w="-38" h="22" x="0" y="0" inherit_gc_alpha="true"/>
<view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 128"/>
<view type="bitmap" id="bk" posref="BM BM" scale="true" y="4" sizeref="w" w="-38" h="2" texture="W_line_hor2.tga" />
<view type="bitmap" id="bk_prev" posref="ML ML" y="5" texture="W_arrow_left_0.tga" />
<view type="bitmap" id="bk_next" posref="MR MR" y="5" texture="W_arrow_right_0.tga" />
<ctrl type="button" button_type="push_button" id="but_back" posref="ML ML" x="0" y="5"
tx_normal="W_arrow_left_0.tga" tx_pushed="W_arrow_left_0.tga" tx_over="W_button_16_over.tga"
color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0"
onclick_l="set" params_l="dblink=#value|value=max(sub(@#value,1),0)" />
<ctrl type="button" button_type="push_button" id="but_next" posref="MR MR" x="0" y="5"
tx_normal="W_arrow_right_0.tga" tx_pushed="W_arrow_right_0.tga" tx_over="W_button_16_over.tga"
color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0"
onclick_l="set" params_l="dblink=#value|value=min(add(@#value,1),0)" />
</group>
</template>
<proc id="cosmetics_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=1" />
<action handler="proc" params="cosmetics_update" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:char:anim|value=0" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="anim_start" params="anim=anim_refresh_cosmetics" />
</proc>
<proc id="cosmetics_update">
<action handler="convert_server_entities" params="entity=0|dest=UI:TEMP:CHAR3D" />
<action handler="set" params="dblink=UI:TEMP:HAIRCUT|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:TATTOO|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET1|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET2|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET3|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET4|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET5|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET6|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET7|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET8|value=4" />
<action handler="proc" params="proc_change_haircut" />
</proc>
<proc id="cosmetics_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=0" />
</proc>
<proc id="cosmetics_cam_position">
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
</proc>
<anim id="anim_refresh_cosmetics" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="cosmetics_cam_position">
</anim>
<!--**************-->
<!-- PROC HAIRCUT -->
<!--**************-->
<proc id="proc_change_haircut">
<action handler="proc" params="cosmetics_cam_position" />
<!--
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'shave01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'long01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'shave01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'long01.sitem'))" />
-->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic04.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style04.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic04.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic04.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style04.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic04.sitem'))" />
</proc>
<!--****************-->
<!-- PROC HAIRCOLOR -->
<!--****************-->
<proc id="proc_change_haircolor">
<action handler="set" params="target_property=ui:interface:cosmetics:txt_haircolor:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'haircolor', @UI:TEMP:CHAR3D:VPA:HATCOLOR, '.sitem'))" />
</proc>
<!--************-->
<!-- PROC TATOO -->
<!--************-->
<proc id="proc_change_tatoo">
<action handler="set" params="target_property=ui:interface:cosmetics:txt_tatoo:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'tatoo', @UI:TEMP:CHAR3D:VPC:TATTOO, '.sitem'))" />
</proc>
<!-- ************************ -->
<!-- * COSMETICS WINDOW * -->
<!-- ************************ -->
<group id="cosmetics" type="container" w="296" h="440" global_color="false" resizer="false" right_button="true"
movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true"
title="uimwCosmetics" header_color="UI:SAVE:WIN:COLORS:OPT"
on_deactive="proc" on_deactive_params="cosmetics_deactive" on_active="proc" on_active_params="cosmetics_active">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="440" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<!-- SCENE 3D -->
<instance template="box_widget" id="back" posref="TM TM" w="288" h="304" x="0" y="-26" inherit_gc_alpha="true"/>
<view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 80"/>
<scene3d id="char3d" sizeref="wh" w="-2" h="-2" posparent="back" posref="TL TL" x="1" y="-1" curcam="cam"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15"
dist_factor="0.005" dist_limit_min="4.0" dist_limit_max="6.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.75" rot="0.0 0.0 0.0" />
<camera id="cam" fov="5" pos="0.0 -5.0 0.0" target="0.0 0.0 0" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
<!-- HAIRCUT -->
<group id="haircutgrp" posparent="back" posref="BM TM" x="0" y="-4" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:HAIRCUT" max="11" />
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8"
vertical="false" align="L" min="0" max="11" tracksize="8" value="UI:TEMP:HAIRCUT"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_hair" posparent="haircutgrp" posref="TM MM" x="0" y="-12" hardtext="" color="255 255 255 255"
global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!-- HAIR COLOR -->
<group id="haircolorgrp" posparent="haircutgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5"/>
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8"
vertical="false" align="L" min="0" max="5" tracksize="8" value="UI:TEMP:CHAR3D:VPA:HATCOLOR"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_haircolor" posparent="haircolorgrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmColor" color="255 255 255 255"
global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!-- TATOOS -->
<group id="tatoogrp" posparent="haircolorgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="63" />
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8"
vertical="false" align="L" min="0" max="63" tracksize="8" value="UI:TEMP:CHAR3D:VPC:TATTOO"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * COSMETICS * -->
<!-- ***************** -->
<template name="but_slider" posref="TL TL" x="0" y="0" w="122" h="32" id="" posparent="parent" sizeref="" keep="true" value="" max="">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" value="#value" max="#max">
<instance template="box_widget" id="back" posref="TM TM" sizeref="w" w="-38" h="22" x="0" y="0" inherit_gc_alpha="true" />
<view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 128" />
<view type="bitmap" id="bk" posref="BM BM" scale="true" y="4" sizeref="w" w="-38" h="2" texture="W_line_hor2.tga" />
<view type="bitmap" id="bk_prev" posref="ML ML" y="5" texture="W_arrow_left_0.tga" />
<view type="bitmap" id="bk_next" posref="MR MR" y="5" texture="W_arrow_right_0.tga" />
<ctrl type="button" button_type="push_button" id="but_back" posref="ML ML" x="0" y="5" tx_normal="W_arrow_left_0.tga" tx_pushed="W_arrow_left_0.tga" tx_over="W_button_16_over.tga" color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0" onclick_l="set" params_l="dblink=#value|value=max(sub(@#value,1),0)" />
<ctrl type="button" button_type="push_button" id="but_next" posref="MR MR" x="0" y="5" tx_normal="W_arrow_right_0.tga" tx_pushed="W_arrow_right_0.tga" tx_over="W_button_16_over.tga" color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0" onclick_l="set" params_l="dblink=#value|value=min(add(@#value,1),0)" />
</group>
</template>
<proc id="cosmetics_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=1" />
<action handler="proc" params="cosmetics_update" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:char:anim|value=0" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="anim_start" params="anim=anim_refresh_cosmetics" />
</proc>
<proc id="cosmetics_update">
<action handler="convert_server_entities" params="entity=0|dest=UI:TEMP:CHAR3D" />
<action handler="set" params="dblink=UI:TEMP:HAIRCUT|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPA:HATCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:TATTOO|value=0" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET1|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET2|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET3|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET4|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET5|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET6|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET7|value=4" />
<action handler="set" params="dblink=UI:TEMP:CHAR3D:VPC:MORPHTARGET8|value=4" />
<action handler="proc" params="proc_change_haircut" />
</proc>
<proc id="cosmetics_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:COSMETICS|value=0" />
</proc>
<proc id="cosmetics_cam_position">
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:posz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:cosmetics:char3d:cam:tgtz|value=add(0.11,getprop('ui:interface:cosmetics:char3d:char:headz'))" />
</proc>
<anim id="anim_refresh_cosmetics" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="cosmetics_cam_position"></anim>
<!--**************-->
<!-- PROC HAIRCUT -->
<!--**************-->
<proc id="proc_change_haircut">
<action handler="proc" params="cosmetics_cam_position" />
<!--
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'shave01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'short02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'medium03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm, 'long01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'shave01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'short02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'medium03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm, 'long01.sitem'))" />
-->
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_basic04.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_style04.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic01.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic02.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic03.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="dblink=UI:TEMP:CHAR3D:VPA:HATMODEL|value=getVSIndex(str( %cosm1, %cosm2, 'hair_artistic04.sitem'),'HEAD')" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,0)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,1)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,2)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,3)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_basic04.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,4)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,5)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,6)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,7)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_style04.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,8)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic01.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,9)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic02.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,10)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic03.sitem'))" />
<action handler="set" cond="eq(@UI:TEMP:HAIRCUT,11)" params="target_property=ui:interface:cosmetics:txt_hair:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'hair_artistic04.sitem'))" />
</proc>
<!--****************-->
<!-- PROC HAIRCOLOR -->
<!--****************-->
<proc id="proc_change_haircolor">
<action handler="set" params="target_property=ui:interface:cosmetics:txt_haircolor:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'haircolor', @UI:TEMP:CHAR3D:VPA:HATCOLOR, '.sitem'))" />
</proc>
<!--************-->
<!-- PROC TATOO -->
<!--************-->
<proc id="proc_change_tatoo">
<action handler="set" params="target_property=ui:interface:cosmetics:txt_tatoo:hardtext|value=getItemTranslatedName(str( %cosm1, %cosm2, 'tatoo', @UI:TEMP:CHAR3D:VPC:TATTOO, '.sitem'))" />
</proc>
<!-- ************************ -->
<!-- * COSMETICS WINDOW * -->
<!-- ************************ -->
<group id="cosmetics" type="container" w="296" h="440" global_color="false" resizer="false" right_button="true" movable="true" locked="true" openable="false" win_priority="%win_priority_lowest" savable="true" title="uimwCosmetics" header_color="UI:SAVE:WIN:COLORS:OPT" on_deactive="proc" on_deactive_params="cosmetics_deactive" on_active="proc" on_active_params="cosmetics_active">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="440" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<!-- SCENE 3D -->
<instance template="box_widget" id="back" posref="TM TM" w="288" h="304" x="0" y="-26" inherit_gc_alpha="true" />
<view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 80" />
<scene3d id="char3d" sizeref="wh" w="-2" h="-2" posparent="back" posref="TL TL" x="1" y="-1" curcam="cam" ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" user_interaction="true" rotz_factor="0.017" roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15" dist_factor="0.005" dist_limit_min="4.0" dist_limit_max="6.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.75" rot="0.0 0.0 0.0" />
<camera id="cam" fov="5" pos="0.0 -5.0 0.0" target="0.0 0.0 0" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
<!-- HAIRCUT -->
<group id="haircutgrp" posparent="back" posref="BM TM" x="0" y="-4" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:HAIRCUT" max="11" />
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8" vertical="false" align="L" min="0" max="11" tracksize="8" value="UI:TEMP:HAIRCUT" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_hair" posparent="haircutgrp" posref="TM MM" x="0" y="-12" hardtext="" color="255 255 255 255" global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!-- HAIR COLOR -->
<group id="haircolorgrp" posparent="haircutgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5" />
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8" vertical="false" align="L" min="0" max="5" tracksize="8" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_haircolor" posparent="haircolorgrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmColor" color="255 255 255 255" global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<!-- TATOOS -->
<group id="tatoogrp" posparent="haircolorgrp" posref="BL TL" x="0" y="-8" w="276" h="32">
<instance template="but_slider" id="slider1" posref="TL TL" x="0" y="0" w="276" h="32" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="63" />
<ctrl type="scroll" id="slider2" posparent="slider1" posref="BM BM" x="0" y="0" sizeref="w" w="-38" h="8" vertical="false" align="L" min="0" max="63" tracksize="8" value="UI:TEMP:CHAR3D:VPC:TATTOO" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
</group>
<view type="text" id="txt_tatoo" posparent="tatoogrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmTatoo" color="255 255 255 255" global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<link expr="depends(@UI:TEMP:HAIRCUT)" action="proc" params="proc_change_haircut" />
<link expr="depends(@UI:TEMP:CHAR3D:VPA:HATCOLOR)" action="proc" params="proc_change_haircolor" />
<link expr="depends(@UI:TEMP:CHAR3D:VPC:TATTOO)" action="proc" params="proc_change_tatoo" />
</group>
<view type="text" id="txt_tatoo" posparent="tatoogrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmTatoo" color="255 255 255 255"
global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<link expr="depends(@UI:TEMP:HAIRCUT)" action="proc" params="proc_change_haircut" />
<link expr="depends(@UI:TEMP:CHAR3D:VPA:HATCOLOR)" action="proc" params="proc_change_haircolor" />
<link expr="depends(@UI:TEMP:CHAR3D:VPC:TATTOO)" action="proc" params="proc_change_tatoo" />
</group>
<tree node="cosmetics">
</tree>
<tree node="cosmetics"></tree>
</interface_config>

@ -1,21 +1,17 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- TRAP : Previous version. Now all is unified through the temp_inventory -->
<!--*************-->
<!--* LOOT *-->
<!--*************-->
<!--
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- TRAP : Previous version. Now all is unified through the temp_inventory -->
<!--*************-->
<!--* LOOT *-->
<!--*************-->
<!--
<proc id="end_loot_proc">
<action handler="end_harvest" params="loot"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/>
<action handler="set" params="target_property=ui:interface:loot:active|value=0"/>
<action handler="end_harvest" params="loot"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/>
<action handler="set" params="target_property=ui:interface:loot:active|value=0"/>
</proc>
@ -26,43 +22,42 @@
on_deactive_params="restore_inventory_state"
>
<instance template="modal_border" posparent="parent"/>
<view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" />
<instance template="modal_border" posparent="parent"/>
<view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" />
<view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiLoot" global_color="false"/>
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="proc" params_l="end_loot_proc" tooltip="uittClose" />
<view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiLoot" global_color="false"/>
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="proc" params_l="end_loot_proc" tooltip="uittClose" />
<! - can swap item only to an empty slot => setup 'buy_selection' to make it work with slot_can_drop - >
<group type="list_sheet" id="lootcontent" value="%pickup_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4"
maxitem="4" startitem="0" rowmin="1" rowmax="1" dragable="true"
selection_group="buy_selection"
>
</group>
<view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/>
<! - can swap item only to an empty slot => setup 'buy_selection' to make it work with slot_can_drop - >
<group type="list_sheet" id="lootcontent" value="%pickup_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4"
maxitem="4" startitem="0" rowmin="1" rowmax="1" dragable="true"
selection_group="buy_selection"
>
</group>
<view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/>
</group>
<! - put an observer to display the window if any item has been harvested. The window is removed when there's no more item - >
<link expr="or(ne(@%pickup_inventory:0:SHEET, 0),
ne(@%pickup_inventory:1:SHEET, 0),
ne(@%pickup_inventory:2:SHEET, 0),
ne(@%pickup_inventory:3:SHEET, 0))"
target="loot:active"/>
ne(@%pickup_inventory:2:SHEET, 0),
ne(@%pickup_inventory:3:SHEET, 0))"
target="loot:active"/>
-->
<!--****************-->
<!--* HARVEST *-->
<!--****************-->
<!--
<!--****************-->
<!--* HARVEST *-->
<!--****************-->
<!--
<proc id="end_harvest_proc">
<action handler="end_harvest" params="harvest"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/>
<action handler="set" params="target_property=ui:interface:harvest:active|value=0"/>
<action handler="end_harvest" params="harvest"/>
<action handler="set" params="dblink=pickup_inventory:0:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:1:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:2:SHEET|value=0"/>
<action handler="set" params="dblink=pickup_inventory:3:SHEET|value=0"/>
<action handler="set" params="target_property=ui:interface:harvest:active|value=0"/>
</proc>
@ -72,26 +67,26 @@
on_deactive="proc"
on_deactive_params="restore_inventory_state"
>
<instance template="modal_border" posparent="parent"/>
<view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" />
<view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiHarvest" global_color="false"/>
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="proc" params_l="end_harvest_proc" tooltip="uittClose"/>
<! - Don't display the quality because unknown - >
<group type="list_sheet" id="lootcontent" value="%harvest_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4"
maxitem="4" startitem="0" rowmin="1" rowmax="1" onclick_l="harvest_item" use_quality="false">
</group>
<view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/>
<instance template="modal_border" posparent="parent"/>
<view type="bitmap" id="back" posref="MM MM" scale="true" sizeref="wh" w="-8" h="-8" texture="w_modal_blank.tga" />
<view type="text" id="text" posref="TL TL" x="7" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiHarvest" global_color="false"/>
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-5" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="proc" params_l="end_harvest_proc" tooltip="uittClose"/>
<! - Don't display the quality because unknown - >
<group type="list_sheet" id="lootcontent" value="%harvest_inventory" w="180" posref="TM TM" y="-20" wspace="4" hspace="4"
maxitem="4" startitem="0" rowmin="1" rowmax="1" onclick_l="harvest_item" use_quality="false">
</group>
<view type="text" id="drag_to_inventory" posref="BM TM" posparent="lootcontent" y="-4" color="255 255 255 255" fontsize="14" shadow="true" hardtext="uiDragToInventory"/>
</group>
<! - put an observer to display the window if any item has been harvested. The window is removed when there's no more item - >
<link expr="or(ne(@%harvest_inventory:0:SHEET, 0),
ne(@%harvest_inventory:1:SHEET, 0),
ne(@%harvest_inventory:2:SHEET, 0),
ne(@%harvest_inventory:3:SHEET, 0))"
target="harvest:active"/>
ne(@%harvest_inventory:2:SHEET, 0),
ne(@%harvest_inventory:3:SHEET, 0))"
target="harvest:active"/>

File diff suppressed because it is too large Load Diff

@ -1,143 +1,107 @@
<interface_config>
<!-- ************************** -->
<!-- * UI:INTERFACE Hierarchy * -->
<!-- ************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<tree node="gestion_windows"/>
<!-- ************************** -->
<!-- 1st List Menu : PLAYER -->
<tree node="player"/>
<tree node="inventory"/>
<tree node="temp_inventory"/>
<tree node="gestionsets"/> <!-- hands -->
<tree node="gestionsets2"/> <!-- hands 2-->
<tree node="team_share"/>
<tree node="defense" />
<tree node="inv_equip" />
<tree node="inv_bag" />
<tree node="inv_guild" />
<tree node="inv_room" />
<!-- ************************** -->
<!-- 2nd List Menu : BEAST -->
<tree node="animal_global">
<!-- MAX_INVENTORY_ANIMAL -->
<tree node="userpa1"/>
<tree node="userpa2"/>
<tree node="userpa3"/>
<tree node="userpa4"/>
</tree>
<!-- ************************** -->
<!-- 3rd List Menu : LABS -->
<!-- combat tree node autogenerated (see combat.xml) -->
<!--<tree node="commerce">
<tree node="DesertExoticRawMaterialKnowledge" />
<tree node="ForestExoticRawMaterialKnowledge" />
<tree node="JungleExoticRawMaterialKnowledge" />
<tree node="LakeExoticRawMaterialKnowledge" />
<!-- ************************** -->
<!-- * UI:INTERFACE Hierarchy * -->
<!-- ************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<tree node="gestion_windows" />
<!-- ************************** -->
<!-- 1st List Menu : PLAYER -->
<tree node="player" />
<tree node="inventory" />
<tree node="temp_inventory" />
<tree node="gestionsets" />
<!-- hands -->
<tree node="gestionsets2" />
<!-- hands 2-->
<tree node="team_share" />
<tree node="defense" />
<tree node="inv_equip" />
<tree node="inv_bag" />
<tree node="inv_guild" />
<tree node="inv_room" />
<!-- ************************** -->
<!-- 2nd List Menu : BEAST -->
<tree node="animal_global">
<!-- MAX_INVENTORY_ANIMAL -->
<tree node="userpa1" />
<tree node="userpa2" />
<tree node="userpa3" />
<tree node="userpa4" />
</tree>
<!-- ************************** -->
<!-- 3rd List Menu : LABS -->
<!-- combat tree node autogenerated (see combat.xml) -->
<!--<tree node="commerce">
<tree node="DesertExoticRawMaterialKnowledge" />
<tree node="ForestExoticRawMaterialKnowledge" />
<tree node="JungleExoticRawMaterialKnowledge" />
<tree node="LakeExoticRawMaterialKnowledge" />
</tree>-->
<!--
<!--
<tree node="faber_create">
<tree node="faber_plan_selection" />
<tree node="faber_plan_selection" />
</tree>
<tree node="faber_repair">
</tree>
<tree node="faber_refine">
</tree>
-->
<!--
<!--
<tree node="tracking"/>
-->
<tree node="compass" />
<!-- magic trees node autogenerated (see magic.xml) but magic_composition -->
<!-- <tree node="magic_composition"/> -->
<!-- ************************** -->
<!-- 4th List Menu : COMMUNICATION -->
<tree node="target"/>
<!-- guild_chat tree node created in code -->
<!-- main_chat tree node created in code -->
<!-- system_info tree node created in code -->
<!-- around_me tree node created in code -->
<!-- tell tree node created in code -->
<!-- team_chat node created in code -->
<!-- team_list node created in code -->
<tree node="contact_list">
<!-- friend_list node created in code -->
<!-- ignore_list node created in code -->
</tree>
<!--<tree node="emote">
<tree node="all_emotes" />
<tree node="compass" />
<!-- magic trees node autogenerated (see magic.xml) but magic_composition -->
<!-- <tree node="magic_composition"/> -->
<!-- ************************** -->
<!-- 4th List Menu : COMMUNICATION -->
<tree node="target" />
<!-- guild_chat tree node created in code -->
<!-- main_chat tree node created in code -->
<!-- system_info tree node created in code -->
<!-- around_me tree node created in code -->
<!-- tell tree node created in code -->
<!-- team_chat node created in code -->
<!-- team_list node created in code -->
<tree node="contact_list">
<!-- friend_list node created in code -->
<!-- ignore_list node created in code -->
</tree>
<!--<tree node="emote">
<tree node="all_emotes" />
</tree>-->
<!-- ************************** -->
<!-- 5th List Menu : INFO PLAYER -->
<tree node="guild_forum"/>
<tree node="mailbox"/>
<tree node="webig"/>
<tree node="info_player_journal"/>
<!-- info_player_career tree node auto generated (see info_player.xml) -->
<!-- <tree node="info_player_characs" /> -->
<tree node="info_player_skills"/>
<!-- info_player_brick tree node auto generated (see info_player.xml) -->
<tree node="fame"/>
<!-- ************************** -->
<!-- 7th List Menu : OPTIONS -->
<tree node="game_config"/>
<tree node="connection"/>
<tree node="keys" >
<tree node="keys_player"/>
<tree node="keys_animals"/>
<tree node="keys_movement"/>
<tree node="keys_actions"/>
<tree node="keys_chat"/>
<tree node="keys_view"/>
<tree node="keys_windows"/>
<tree node="keys_system"/>
<tree node="keys_edit"/>
<tree node="keys_debug"/>
</tree>
<!-- done with template teditcmd now <tree node="editkey" />-->
<tree node="macros" />
<tree node="new_macro" />
<!-- editcmd is now a template -->
<!-- ************************** -->
<!-- END OF List Menu -->
<!-- ************************** -->
<!-- Please put the node just after the group declaration. This way, the "loadui" reloading interface command works -->
<!-- ************************** -->
<!-- 5th List Menu : INFO PLAYER -->
<tree node="guild_forum" />
<tree node="mailbox" />
<tree node="webig" />
<tree node="info_player_journal" />
<!-- info_player_career tree node auto generated (see info_player.xml) -->
<!-- <tree node="info_player_characs" /> -->
<tree node="info_player_skills" />
<!-- info_player_brick tree node auto generated (see info_player.xml) -->
<tree node="fame" />
<!-- ************************** -->
<!-- 7th List Menu : OPTIONS -->
<tree node="game_config" />
<tree node="connection" />
<tree node="keys">
<tree node="keys_player" />
<tree node="keys_animals" />
<tree node="keys_movement" />
<tree node="keys_actions" />
<tree node="keys_chat" />
<tree node="keys_view" />
<tree node="keys_windows" />
<tree node="keys_system" />
<tree node="keys_edit" />
<tree node="keys_debug" />
</tree>
<!-- done with template teditcmd now <tree node="editkey" />-->
<tree node="macros" />
<tree node="new_macro" />
<!-- editcmd is now a template -->
<!-- ************************** -->
<!-- END OF List Menu -->
<!-- ************************** -->
<!-- Please put the node just after the group declaration. This way, the "loadui" reloading interface command works -->
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,95 +1,88 @@
<input_config>
<!-- List Of Combo Events that are used to Text Edition -->
<!-- mod means: 'c' or 's' or 'a' or a combination of them.
'c' The combo is valid if the Control is pressed
's' The combo is valid if the Shift is pressed
'a' The combo is valid if the Alt is pressed
For convenience, 'C', 'S', and 'A' are also possible BUT there means is different:
'C' The combo is valid wether or not the Control Key is pressed
'S' The combo is valid wether or not the Shift Key is pressed
'A' The combo is valid wether or not the Alt Key is pressed
-->
<combo_key_chat>
<!-- All Standard typing Keys. Valid also if Shift is pressed -->
<key id="Key0" mod="CSA" />
<key id="Key1" mod="CSA" />
<key id="Key2" mod="CSA" />
<key id="Key3" mod="CSA" />
<key id="Key4" mod="CSA" />
<key id="Key5" mod="CSA" />
<key id="Key6" mod="CSA" />
<key id="Key7" mod="CSA" />
<key id="Key8" mod="CSA" />
<key id="Key9" mod="CSA" />
<key id="KeyA" mod="S" />
<key id="KeyB" mod="S" />
<key id="KeyC" mod="S" />
<key id="KeyD" mod="S" />
<key id="KeyE" mod="CSA" /> <!-- euro -->
<key id="KeyF" mod="S" />
<key id="KeyG" mod="S" />
<key id="KeyH" mod="S" />
<key id="KeyI" mod="S" />
<key id="KeyJ" mod="S" />
<key id="KeyK" mod="S" />
<key id="KeyL" mod="S" />
<key id="KeyM" mod="S" />
<key id="KeyN" mod="S" />
<key id="KeyO" mod="S" />
<key id="KeyP" mod="S" />
<key id="KeyQ" mod="S" />
<key id="KeyR" mod="S" />
<key id="KeyS" mod="S" />
<key id="KeyT" mod="S" />
<key id="KeyU" mod="S" />
<key id="KeyV" mod="S" />
<key id="KeyW" mod="S" />
<key id="KeyX" mod="S" />
<key id="KeyY" mod="S" />
<key id="KeyZ" mod="S" />
<!-- Formating -->
<key id="KeyRETURN" mod="" />
<key id="KeyCAPITAL" mod="" />
<key id="KeyESCAPE" mod="" />
<key id="KeySPACE" mod="" />
<!-- KeyPad -->
<key id="KeyNUMPAD0" mod="" />
<key id="KeyNUMPAD1" mod="" />
<key id="KeyNUMPAD2" mod="" />
<key id="KeyNUMPAD3" mod="" />
<key id="KeyNUMPAD4" mod="" />
<key id="KeyNUMPAD5" mod="" />
<key id="KeyNUMPAD6" mod="" />
<key id="KeyNUMPAD7" mod="" />
<key id="KeyNUMPAD8" mod="" />
<key id="KeyNUMPAD9" mod="" />
<key id="KeyMULTIPLY" mod="" />
<key id="KeyADD" mod="" />
<key id="KeySEPARATOR" mod="" />
<key id="KeySUBTRACT" mod="" />
<key id="KeyDECIMAL" mod="" />
<key id="KeyDIVIDE" mod="" />
<key id="KeyNUMLOCK" mod="" />
<!-- France. Extra Keys (comma etc...) -->
<key id="0xBA" mod="CSA" />
<key id="0xBB" mod="CSA" />
<key id="0xBC" mod="CSA" />
<key id="0xBE" mod="CSA" />
<key id="0xBF" mod="CSA" />
<key id="0xC0" mod="CSA" />
<key id="0xDB" mod="CSA" />
<key id="0xDC" mod="CSA" />
<key id="0xDD" mod="CSA" />
<key id="0xDE" mod="CSA" />
<key id="0xDF" mod="CSA" />
<key id="0xE2" mod="CSA" />
</combo_key_chat>
<!-- List Of Combo Events that are used to Text Edition -->
<!-- mod means: 'c' or 's' or 'a' or a combination of them.
'c' The combo is valid if the Control is pressed
's' The combo is valid if the Shift is pressed
'a' The combo is valid if the Alt is pressed
For convenience, 'C', 'S', and 'A' are also possible BUT there means is different:
'C' The combo is valid wether or not the Control Key is pressed
'S' The combo is valid wether or not the Shift Key is pressed
'A' The combo is valid wether or not the Alt Key is pressed
-->
<combo_key_chat>
<!-- All Standard typing Keys. Valid also if Shift is pressed -->
<key id="Key0" mod="CSA" />
<key id="Key1" mod="CSA" />
<key id="Key2" mod="CSA" />
<key id="Key3" mod="CSA" />
<key id="Key4" mod="CSA" />
<key id="Key5" mod="CSA" />
<key id="Key6" mod="CSA" />
<key id="Key7" mod="CSA" />
<key id="Key8" mod="CSA" />
<key id="Key9" mod="CSA" />
<key id="KeyA" mod="S" />
<key id="KeyB" mod="S" />
<key id="KeyC" mod="S" />
<key id="KeyD" mod="S" />
<key id="KeyE" mod="CSA" />
<!-- euro -->
<key id="KeyF" mod="S" />
<key id="KeyG" mod="S" />
<key id="KeyH" mod="S" />
<key id="KeyI" mod="S" />
<key id="KeyJ" mod="S" />
<key id="KeyK" mod="S" />
<key id="KeyL" mod="S" />
<key id="KeyM" mod="S" />
<key id="KeyN" mod="S" />
<key id="KeyO" mod="S" />
<key id="KeyP" mod="S" />
<key id="KeyQ" mod="S" />
<key id="KeyR" mod="S" />
<key id="KeyS" mod="S" />
<key id="KeyT" mod="S" />
<key id="KeyU" mod="S" />
<key id="KeyV" mod="S" />
<key id="KeyW" mod="S" />
<key id="KeyX" mod="S" />
<key id="KeyY" mod="S" />
<key id="KeyZ" mod="S" />
<!-- Formating -->
<key id="KeyRETURN" mod="" />
<key id="KeyCAPITAL" mod="" />
<key id="KeyESCAPE" mod="" />
<key id="KeySPACE" mod="" />
<!-- KeyPad -->
<key id="KeyNUMPAD0" mod="" />
<key id="KeyNUMPAD1" mod="" />
<key id="KeyNUMPAD2" mod="" />
<key id="KeyNUMPAD3" mod="" />
<key id="KeyNUMPAD4" mod="" />
<key id="KeyNUMPAD5" mod="" />
<key id="KeyNUMPAD6" mod="" />
<key id="KeyNUMPAD7" mod="" />
<key id="KeyNUMPAD8" mod="" />
<key id="KeyNUMPAD9" mod="" />
<key id="KeyMULTIPLY" mod="" />
<key id="KeyADD" mod="" />
<key id="KeySEPARATOR" mod="" />
<key id="KeySUBTRACT" mod="" />
<key id="KeyDECIMAL" mod="" />
<key id="KeyDIVIDE" mod="" />
<key id="KeyNUMLOCK" mod="" />
<!-- France. Extra Keys (comma etc...) -->
<key id="0xBA" mod="CSA" />
<key id="0xBB" mod="CSA" />
<key id="0xBC" mod="CSA" />
<key id="0xBE" mod="CSA" />
<key id="0xBF" mod="CSA" />
<key id="0xC0" mod="CSA" />
<key id="0xDB" mod="CSA" />
<key id="0xDC" mod="CSA" />
<key id="0xDD" mod="CSA" />
<key id="0xDE" mod="CSA" />
<key id="0xDF" mod="CSA" />
<key id="0xE2" mod="CSA" />
</combo_key_chat>
</input_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,329 +1,314 @@
<!-- ***************************
<!-- ***************************
-->
<!-- Ingame keyboard assignation
<!-- Ingame keyboard assignation
-->
<!-- ***************************
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyUP" action="forward" />
<key name="KeyDOWN" action="backward" />
<key name="KeyLEFT" action="turn_left" />
<key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyPRIOR" shift="1" action="camera_foreward" />
<key name="KeyNEXT" shift="1" action="camera_backward" />
<!-- View
<key name="KeyUP" action="forward" />
<key name="KeyDOWN" action="backward" />
<key name="KeyLEFT" action="turn_left" />
<key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyPRIOR" shift="1" action="camera_foreward" />
<key name="KeyNEXT" shift="1" action="camera_backward" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
-->
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend"/>
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1"/>
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2"/>
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3"/>
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4"/>
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5"/>
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6"/>
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7"/>
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8"/>
<!-- Desktop
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend" />
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3" />
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4" />
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6" />
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<!-- Desktop
-->
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
-->
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="N/A" action="run_shortcut" params="20" />
<key name="N/A" action="run_shortcut" params="21" />
<key name="N/A" action="run_shortcut" params="22" />
<key name="N/A" action="run_shortcut" params="23" />
<key name="N/A" action="run_shortcut" params="24" />
<key name="N/A" action="run_shortcut" params="25" />
<key name="N/A" action="run_shortcut" params="26" />
<key name="N/A" action="run_shortcut" params="27" />
<key name="N/A" action="run_shortcut" params="28" />
<key name="N/A" action="run_shortcut" params="29" />
<key name="N/A" action="run_shortcut" params="30" />
<key name="N/A" action="run_shortcut" params="31" />
<key name="N/A" action="run_shortcut" params="32" />
<key name="N/A" action="run_shortcut" params="33" />
<key name="N/A" action="run_shortcut" params="34" />
<key name="N/A" action="run_shortcut" params="35" />
<key name="N/A" action="run_shortcut" params="36" />
<key name="N/A" action="run_shortcut" params="37" />
<key name="N/A" action="run_shortcut" params="38" />
<key name="N/A" action="run_shortcut" params="39" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="N/A" action="run_shortcut" params="20" />
<key name="N/A" action="run_shortcut" params="21" />
<key name="N/A" action="run_shortcut" params="22" />
<key name="N/A" action="run_shortcut" params="23" />
<key name="N/A" action="run_shortcut" params="24" />
<key name="N/A" action="run_shortcut" params="25" />
<key name="N/A" action="run_shortcut" params="26" />
<key name="N/A" action="run_shortcut" params="27" />
<key name="N/A" action="run_shortcut" params="28" />
<key name="N/A" action="run_shortcut" params="29" />
<key name="N/A" action="run_shortcut" params="30" />
<key name="N/A" action="run_shortcut" params="31" />
<key name="N/A" action="run_shortcut" params="32" />
<key name="N/A" action="run_shortcut" params="33" />
<key name="N/A" action="run_shortcut" params="34" />
<key name="N/A" action="run_shortcut" params="35" />
<key name="N/A" action="run_shortcut" params="36" />
<key name="N/A" action="run_shortcut" params="37" />
<key name="N/A" action="run_shortcut" params="38" />
<key name="N/A" action="run_shortcut" params="39" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
-->
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
-->
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
-->
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
-->
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<key name="N/A" action="inv_temp_all" params="" />
<!-- Map
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<key name="N/A" action="inv_temp_all" params="" />
<!-- Map
-->
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<!-- Communication
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="KeyX" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig"/>
<key name="N/A" action="show_hide" params="appzone"/>
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyD" ctrl="1" action="show_hide" params="debug_info" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="KeyX" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="N/A" action="show_hide" params="appzone" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyD" ctrl="1" action="show_hide" params="debug_info" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config>

@ -1,305 +1,290 @@
<!-- ***************************
<!-- ***************************
-->
<!-- Ingame keyboard assignation
<!-- Ingame keyboard assignation
-->
<!-- ***************************
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyW" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyA" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyA" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
<key name="KeyW" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyA" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyA" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
-->
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend"/>
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1"/>
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2"/>
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3"/>
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4"/>
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5"/>
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6"/>
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7"/>
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8"/>
<!-- Desktop
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend" />
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3" />
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4" />
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6" />
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<!-- Desktop
-->
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
-->
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
-->
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
-->
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
-->
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
-->
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<!-- Map
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<!-- Map
-->
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<!-- Communication
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="N/A" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig"/>
<key name="N/A" action="show_hide" params="appzone"/>
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="N/A" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="N/A" action="show_hide" params="appzone" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
-->
<key name="N/A" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="N/A" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
<key name="N/A" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="N/A" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config>

@ -1,201 +1,201 @@
<?xml version="1.0"?>
<interface_config>
<key name="KeyTAB" action="front_selection" params="ennemy"/>
<key name="KeyTAB" ctrl="1" action="front_selection" params="friend"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyESCAPE" shift="1" action="close_help"/>
<key name="KeyPRIOR" ctrl="1" action="camera_up"/>
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height"/>
<key name="KeyNEXT" ctrl="1" action="camera_down"/>
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height"/>
<key name="KeyHOME" action="toggle_camera"/>
<key name="KeySNAPSHOT" action="screen_shot"/>
<key name="KeyINSERT" action="look_up"/>
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos"/>
<key name="KeyDELETE" action="look_down"/>
<key name="Key0" action="run_shortcut" params="09"/>
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10"/>
<key name="Key0" shift="1" action="run_shortcut" params="19"/>
<key name="Key0" menu="1" action="talk_message" params="09"/>
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9"/>
<key name="Key0" shift="1" menu="1" action="talk_message" params="19"/>
<key name="Key1" action="run_shortcut" params="00"/>
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1"/>
<key name="Key1" shift="1" action="run_shortcut" params="10"/>
<key name="Key1" menu="1" action="talk_message" params="00"/>
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0"/>
<key name="Key1" shift="1" menu="1" action="talk_message" params="10"/>
<key name="Key1" shift="1" ctrl="1" menu="1" action="command" params="mode 0 3"/>
<key name="Key2" action="run_shortcut" params="01"/>
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2"/>
<key name="Key2" shift="1" action="run_shortcut" params="11"/>
<key name="Key2" menu="1" action="talk_message" params="01"/>
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1"/>
<key name="Key2" shift="1" menu="1" action="talk_message" params="11"/>
<key name="Key2" shift="1" ctrl="1" menu="1" action="command" params="mode 0 1"/>
<key name="Key3" action="run_shortcut" params="02"/>
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3"/>
<key name="Key3" shift="1" action="run_shortcut" params="12"/>
<key name="Key3" menu="1" action="talk_message" params="02"/>
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2"/>
<key name="Key3" shift="1" menu="1" action="talk_message" params="12"/>
<key name="Key3" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 3"/>
<key name="Key4" action="run_shortcut" params="03"/>
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4"/>
<key name="Key4" shift="1" action="run_shortcut" params="13"/>
<key name="Key4" menu="1" action="talk_message" params="03"/>
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3"/>
<key name="Key4" shift="1" menu="1" action="talk_message" params="13"/>
<key name="Key4" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 1"/>
<key name="Key5" action="run_shortcut" params="04"/>
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5"/>
<key name="Key5" shift="1" action="run_shortcut" params="14"/>
<key name="Key5" menu="1" action="talk_message" params="04"/>
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4"/>
<key name="Key5" shift="1" menu="1" action="talk_message" params="14"/>
<key name="Key5" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick"/>
<key name="Key6" action="run_shortcut" params="05"/>
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6"/>
<key name="Key6" shift="1" action="run_shortcut" params="15"/>
<key name="Key6" menu="1" action="talk_message" params="05"/>
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5"/>
<key name="Key6" shift="1" menu="1" action="talk_message" params="15"/>
<key name="Key6" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick"/>
<key name="Key7" action="run_shortcut" params="06"/>
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7"/>
<key name="Key7" shift="1" action="run_shortcut" params="16"/>
<key name="Key7" menu="1" action="talk_message" params="06"/>
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6"/>
<key name="Key7" shift="1" menu="1" action="talk_message" params="16"/>
<key name="Key8" action="run_shortcut" params="07"/>
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8"/>
<key name="Key8" shift="1" action="run_shortcut" params="17"/>
<key name="Key8" menu="1" action="talk_message" params="07"/>
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7"/>
<key name="Key8" shift="1" menu="1" action="talk_message" params="17"/>
<key name="Key9" action="run_shortcut" params="08"/>
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9"/>
<key name="Key9" shift="1" action="run_shortcut" params="18"/>
<key name="Key9" menu="1" action="talk_message" params="08"/>
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8"/>
<key name="Key9" shift="1" menu="1" action="talk_message" params="18"/>
<key name="KeyA" action="turn_left"/>
<key name="KeyA" shift="1" ctrl="1" action="debug_ui_prev_element_under_mouse"/>
<key name="KeyB" action="show_hide" params="inventory"/>
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor"/>
<key name="KeyC" action="show_hide" params="info_player_skills"/>
<key name="KeyC" ctrl="1" menu="1" action="update_clouds"/>
<key name="KeyD" action="turn_right"/>
<key name="KeyD" shift="1" action="toggle_dodge_parry"/>
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function"/>
<key name="KeyE" action="strafe_right"/>
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia"/>
<key name="KeyG" action="show_hide" params="guild"/>
<key name="KeyG" shift="1" action="show_hide" params="guild_forum"/>
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph"/>
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor"/>
<key name="KeyK" action="show_hide" params="phrase_book"/>
<key name="KeyK" ctrl="1" menu="1" action="inc_hour"/>
<key name="KeyL" action="show_hide" params="info_player_journal"/>
<key name="KeyL" shift="1" action="toggle_light"/>
<key name="KeyL" ctrl="1" menu="1" action="dec_hour"/>
<key name="KeyM" action="show_hide" params="map"/>
<key name="KeyM" shift="1" action="show_hide" params="mailbox"/>
<key name="KeyM" ctrl="1" menu="1" action="weather_stats"/>
<key name="KeyN" shift="1" action="show_hide" params="connection"/>
<key name="KeyO" action="show_hide" params="contact_list"/>
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders"/>
<key name="KeyP" shift="1" action="show_hide" params="animal_global"/>
<key name="KeyP" ctrl="1" menu="1" action="wind_test"/>
<key name="KeyQ" action="strafe_left"/>
<key name="KeyQ" shift="1" ctrl="1" action="debug_ui_inspect_element_under_mouse"/>
<key name="KeyR" action="reply_teller_once"/>
<key name="KeyR" ctrl="1" action="reply_teller"/>
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig"/>
<key name="KeyS" action="backward"/>
<key name="KeyS" ctrl="1" action="phrase_cancel_cast"/>
<key name="KeyS" ctrl="1" menu="1" action="toggle_season"/>
<key name="KeyT" action="toggle_combat"/>
<key name="KeyT" ctrl="1" action="r2ed_teleport"/>
<key name="KeyT" ctrl="1" menu="1" action="reel_weather"/>
<key name="KeyU" action="show_hide" params="fame"/>
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters"/>
<key name="KeyW" action="forward"/>
<key name="KeyW" shift="1" action="show_hide" params="webig"/>
<key name="KeyW" shift="1" ctrl="1" action="debug_ui_next_element_under_mouse"/>
<key name="KeyW" ctrl="1" menu="1" action="reload_season"/>
<key name="KeyX" action="toggle_sit_stand"/>
<key name="KeyZ" menu="1" action="toggle_chat"/>
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx"/>
<key name="KeyNUMPAD0" action="rear_view"/>
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound"/>
<key name="KeyNUMPAD1" action="camera_turn_left"/>
<key name="KeyNUMPAD2" action="camera_turn_right"/>
<key name="KeyADD" ctrl="1" menu="1" action="inc_time"/>
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time"/>
<key name="KeyDECIMAL" action="camera_turn_center"/>
<key name="KeyDIVIDE" action="toggle_run_walk"/>
<key name="KeyF1" action="self_target"/>
<key name="KeyF1" shift="1" action="toggle_help"/>
<key name="KeyF1" shift="1" ctrl="1" action="copy_to_desktop" params="0"/>
<key name="KeyF2" action="target_teammate_shortcut" params="indexInTeam=1"/>
<key name="KeyF2" shift="1" action="target_teammate_shortcut" params="indexInTeam=5"/>
<key name="KeyF2" shift="1" ctrl="1" action="copy_to_desktop" params="1"/>
<key name="KeyF2" menu="1" action="profile_texture"/>
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock"/>
<key name="KeyF3" action="target_teammate_shortcut" params="indexInTeam=2"/>
<key name="KeyF3" shift="1" action="target_teammate_shortcut" params="indexInTeam=6"/>
<key name="KeyF3" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=2"/>
<key name="KeyF4" action="target_teammate_shortcut" params="indexInTeam=3"/>
<key name="KeyF4" shift="1" action="target_teammate_shortcut" params="indexInTeam=7"/>
<key name="KeyF4" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=3"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog"/>
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate"/>
<key name="KeyF4" shift="1" ctrl="1" menu="1" action="replay_movie"/>
<key name="KeyF5" action="target_teammate_shortcut" params="indexInTeam=4"/>
<key name="KeyF5" shift="1" action="target_teammate_shortcut" params="indexInTeam=8"/>
<key name="KeyF5" shift="1" ctrl="1" menu="1" action="save_movie"/>
<key name="KeyF6" shift="1" action="switch_console_display"/>
<key name="KeyF6" shift="1" ctrl="1" menu="1" action="memory_report"/>
<key name="KeyF7" action="mount_unmount"/>
<key name="KeyF7" shift="1" action="change_compass_mode"/>
<key name="KeyF7" shift="1" ctrl="1" menu="1" action="toggle_primitive"/>
<key name="KeyF8" action="r2ed_stop_test"/>
<key name="KeyF8" shift="1" action="toggle_fly"/>
<key name="KeyF8" shift="1" ctrl="1" menu="1" action="primitive_up"/>
<key name="KeyF9" shift="1" action="free_mouse"/>
<key name="KeyF9" shift="1" ctrl="1" menu="1" action="primitive_down"/>
<key name="KeyF10" ctrl="1" action="screen_shot_jpg"/>
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF10" shift="1" ctrl="1" menu="1" action="toggle_camera_recorder"/>
<key name="KeyF11" shift="1" action="test"/>
<key name="KeyF11" shift="1" ctrl="1" menu="1" action="camera_recorder_playback"/>
<key name="KeyF12" action="no_target"/>
<key name="KeyF12" shift="1" ctrl="1" menu="1" action="save_camera_record"/>
<key name="KeyNUMLOCK" action="toggle_auto_walk"/>
<key name="KeyBACK" action="edit_back" context="edit"/>
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit"/>
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit"/>
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit"/>
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit"/>
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit"/>
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit"/>
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit"/>
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit"/>
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit"/>
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit"/>
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit"/>
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit"/>
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit"/>
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit"/>
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit"/>
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit"/>
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit"/>
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit"/>
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit"/>
<key name="KeyDELETE" action="edit_delete_char" context="edit"/>
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/>
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/>
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/>
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/>
<key name="KeyTAB" action="front_selection" params="ennemy" />
<key name="KeyTAB" ctrl="1" action="front_selection" params="friend" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyESCAPE" shift="1" action="close_help" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<key name="KeyHOME" action="toggle_camera" />
<key name="KeySNAPSHOT" action="screen_shot" />
<key name="KeyINSERT" action="look_up" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyDELETE" action="look_down" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<key name="Key0" shift="1" menu="1" action="talk_message" params="19" />
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key1" shift="1" menu="1" action="talk_message" params="10" />
<key name="Key1" shift="1" ctrl="1" menu="1" action="command" params="mode 0 3" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key2" shift="1" menu="1" action="talk_message" params="11" />
<key name="Key2" shift="1" ctrl="1" menu="1" action="command" params="mode 0 1" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key3" shift="1" menu="1" action="talk_message" params="12" />
<key name="Key3" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 3" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key4" shift="1" menu="1" action="talk_message" params="13" />
<key name="Key4" shift="1" ctrl="1" menu="1" action="command" params="a changeMode 1" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key5" shift="1" menu="1" action="talk_message" params="14" />
<key name="Key5" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key6" shift="1" menu="1" action="talk_message" params="15" />
<key name="Key6" shift="1" ctrl="1" menu="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key7" shift="1" menu="1" action="talk_message" params="16" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key8" shift="1" menu="1" action="talk_message" params="17" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key9" shift="1" menu="1" action="talk_message" params="18" />
<key name="KeyA" action="turn_left" />
<key name="KeyA" shift="1" ctrl="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyB" action="show_hide" params="inventory" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyC" action="show_hide" params="info_player_skills" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" action="turn_right" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyE" action="strafe_right" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyK" action="show_hide" params="phrase_book" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" action="show_hide" params="info_player_journal" />
<key name="KeyL" shift="1" action="toggle_light" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyM" action="show_hide" params="map" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="KeyO" action="show_hide" params="contact_list" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyQ" action="strafe_left" />
<key name="KeyQ" shift="1" ctrl="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyR" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyS" action="backward" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyT" action="toggle_combat" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyU" action="show_hide" params="fame" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyW" action="forward" />
<key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="KeyW" shift="1" ctrl="1" action="debug_ui_next_element_under_mouse" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyX" action="toggle_sit_stand" />
<key name="KeyZ" menu="1" action="toggle_chat" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyDIVIDE" action="toggle_run_walk" />
<key name="KeyF1" action="self_target" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF1" shift="1" ctrl="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="KeyF2" shift="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<key name="KeyF2" shift="1" ctrl="1" action="copy_to_desktop" params="1" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF3" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="KeyF3" shift="1" action="target_teammate_shortcut" params="indexInTeam=6" />
<key name="KeyF3" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=2" />
<key name="KeyF4" action="target_teammate_shortcut" params="indexInTeam=3" />
<key name="KeyF4" shift="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyF4" shift="1" ctrl="1" action="copy_to_desktop" params="indexInTeam=3" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF4" shift="1" ctrl="1" menu="1" action="replay_movie" />
<key name="KeyF5" action="target_teammate_shortcut" params="indexInTeam=4" />
<key name="KeyF5" shift="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<key name="KeyF5" shift="1" ctrl="1" menu="1" action="save_movie" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF6" shift="1" ctrl="1" menu="1" action="memory_report" />
<key name="KeyF7" action="mount_unmount" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF7" shift="1" ctrl="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyF8" shift="1" ctrl="1" menu="1" action="primitive_up" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyF9" shift="1" ctrl="1" menu="1" action="primitive_down" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF10" shift="1" ctrl="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyF11" shift="1" ctrl="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" action="no_target" />
<key name="KeyF12" shift="1" ctrl="1" menu="1" action="save_camera_record" />
<key name="KeyNUMLOCK" action="toggle_auto_walk" />
<key name="KeyBACK" action="edit_back" context="edit" />
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
</interface_config>

@ -1,305 +1,290 @@
<!-- ***************************
<!-- ***************************
-->
<!-- Ingame keyboard assignation
<!-- Ingame keyboard assignation
-->
<!-- ***************************
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyZ" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyQ" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyQ" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
<key name="KeyZ" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyQ" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyQ" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<key name="KeyDELETE" action="toggle_run_walk" />
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<!-- Target
-->
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend"/>
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1"/>
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2"/>
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3"/>
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4"/>
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5"/>
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6"/>
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7"/>
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8"/>
<!-- Desktop
<key name="KeyF12" ctrl="0" action="no_target" />
<key name="KeyF10" ctrl="0" action="self_target" />
<key name="KeyF6" ctrl="0" action="toggle_combat" />
<key name="KeySPACE" action="front_selection" params="ennemy" />
<key name="KeySPACE" ctrl="1" action="front_selection" params="friend" />
<key name="KeyF1" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=1" />
<key name="KeyF2" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=2" />
<key name="KeyF3" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=3" />
<key name="KeyF4" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=4" />
<key name="KeyF5" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=5" />
<key name="KeyF6" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=6" />
<key name="KeyF7" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=7" />
<key name="KeyF8" ctrl="1" action="target_teammate_shortcut" params="indexInTeam=8" />
<!-- Desktop
-->
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
<key name="KeyF1" action="set_desktop" params="0" />
<key name="KeyF2" action="set_desktop" params="1" />
<key name="KeyF3" action="set_desktop" params="2" />
<key name="KeyF4" action="set_desktop" params="3" />
<key name="KeyF1" ctrl="1" shift="1" action="copy_to_desktop" params="0" />
<key name="KeyF2" ctrl="1" shift="1" action="copy_to_desktop" params="1" />
<key name="KeyF3" ctrl="1" shift="1" action="copy_to_desktop" params="2" />
<key name="KeyF4" ctrl="1" shift="1" action="copy_to_desktop" params="3" />
<!-- Shortcuts
-->
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
<key name="Key1" action="run_shortcut" params="00" />
<key name="Key2" action="run_shortcut" params="01" />
<key name="Key3" action="run_shortcut" params="02" />
<key name="Key4" action="run_shortcut" params="03" />
<key name="Key5" action="run_shortcut" params="04" />
<key name="Key6" action="run_shortcut" params="05" />
<key name="Key7" action="run_shortcut" params="06" />
<key name="Key8" action="run_shortcut" params="07" />
<key name="Key9" action="run_shortcut" params="08" />
<key name="Key0" action="run_shortcut" params="09" />
<key name="Key1" shift="1" action="run_shortcut" params="10" />
<key name="Key2" shift="1" action="run_shortcut" params="11" />
<key name="Key3" shift="1" action="run_shortcut" params="12" />
<key name="Key4" shift="1" action="run_shortcut" params="13" />
<key name="Key5" shift="1" action="run_shortcut" params="14" />
<key name="Key6" shift="1" action="run_shortcut" params="15" />
<key name="Key7" shift="1" action="run_shortcut" params="16" />
<key name="Key8" shift="1" action="run_shortcut" params="17" />
<key name="Key9" shift="1" action="run_shortcut" params="18" />
<key name="Key0" shift="1" action="run_shortcut" params="19" />
<key name="Key1" ctrl="1" action="select_shortcut_bar" params="1" />
<key name="Key2" ctrl="1" action="select_shortcut_bar" params="2" />
<key name="Key3" ctrl="1" action="select_shortcut_bar" params="3" />
<key name="Key4" ctrl="1" action="select_shortcut_bar" params="4" />
<key name="Key5" ctrl="1" action="select_shortcut_bar" params="5" />
<key name="Key6" ctrl="1" action="select_shortcut_bar" params="6" />
<key name="Key7" ctrl="1" action="select_shortcut_bar" params="7" />
<key name="Key8" ctrl="1" action="select_shortcut_bar" params="8" />
<key name="Key9" ctrl="1" action="select_shortcut_bar" params="9" />
<key name="Key0" ctrl="1" action="select_shortcut_bar" params="10" />
<key name="KeyS" ctrl="1" action="phrase_cancel_cast" />
<!-- Quick messages
-->
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
<key name="Key1" menu="1" action="talk_message" params="00" />
<key name="Key2" menu="1" action="talk_message" params="01" />
<key name="Key3" menu="1" action="talk_message" params="02" />
<key name="Key4" menu="1" action="talk_message" params="03" />
<key name="Key5" menu="1" action="talk_message" params="04" />
<key name="Key6" menu="1" action="talk_message" params="05" />
<key name="Key7" menu="1" action="talk_message" params="06" />
<key name="Key8" menu="1" action="talk_message" params="07" />
<key name="Key9" menu="1" action="talk_message" params="08" />
<key name="Key0" menu="1" action="talk_message" params="09" />
<key name="Key1" menu="1" shift="1" action="talk_message" params="10" />
<key name="Key2" menu="1" shift="1" action="talk_message" params="11" />
<key name="Key3" menu="1" shift="1" action="talk_message" params="12" />
<key name="Key4" menu="1" shift="1" action="talk_message" params="13" />
<key name="Key5" menu="1" shift="1" action="talk_message" params="14" />
<key name="Key6" menu="1" shift="1" action="talk_message" params="15" />
<key name="Key7" menu="1" shift="1" action="talk_message" params="16" />
<key name="Key8" menu="1" shift="1" action="talk_message" params="17" />
<key name="Key9" menu="1" shift="1" action="talk_message" params="18" />
<key name="Key0" menu="1" shift="1" action="talk_message" params="19" />
<!-- Misc
-->
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
<key name="KeyF7" shift="0" action="mount_unmount" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
<key name="KeyD" shift="1" action="toggle_dodge_parry" />
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Status
-->
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
<key name="N/A" action="show_hide" params="player" />
<key name="N/A" action="show_hide" params="bonus_malus" />
<key name="KeyP" action="show_hide" params="info_player_skills" />
<key name="KeyJ" action="show_hide" params="info_player_journal" />
<key name="KeyG" action="show_hide" params="guild" />
<key name="KeyF" shift="1" action="show_hide" params="fame" />
<key name="KeyE" shift="1" action="show_hide" params="encyclopedia" />
<!-- Inventory
-->
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<!-- Map
<key name="KeyI" action="show_hide" params="inventory" />
<key name="KeyB" action="show_hide" params="phrase_book" />
<key name="N/A" action="show_hide" params="gestionsets" />
<key name="KeyP" shift="1" action="show_hide" params="animal_global" />
<!-- Map
-->
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<!-- Communication
<key name="N/A" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
<key name="KeyM" action="show_hide" params="map" />
<!-- Communication
-->
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="N/A" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig"/>
<key name="N/A" action="show_hide" params="appzone"/>
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
<key name="N/A" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="N/A" action="show_hide" params="team_list" />
<key name="N/A" action="show_hide" params="main_chat" />
<key name="N/A" action="dock_undock_chat" params="SYSTEM_INFO" />
<key name="KeyM" shift="1" action="show_hide" params="mailbox" />
<key name="KeyW" shift="1" action="show_hide" params="webig" />
<key name="N/A" action="show_hide" params="appzone" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<key name="KeyF5" action="talk_untalk" />
<key name="N/A" action="show_hide" params="r2ed_ring_window" />
<!--
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario_scores" />
-->
<!-- Options
-->
<key name="N/A" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="N/A" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test"/>
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
<key name="N/A" action="show_hide" params="keys" />
<key name="N/A" action="show_hide" params="macros" />
<key name="N/A" action="show_hide" params="game_config" />
<key name="KeyN" shift="1" action="show_hide" params="connection" />
<key name="N/A" action="show_hide" params="mp3_player" />
<key name="N/A" action="show_hide" params="links" />
<!-- R2ED Test mode -->
<key name="KeyF8" action="r2ed_stop_test" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyT" ctrl="1" action="r2ed_teleport" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config>

@ -1,236 +1,216 @@
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyUP" action="forward" />
<key name="KeyDOWN" action="backward" />
<key name="KeyLEFT" action="turn_left" />
<key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyUP" action="forward" />
<key name="KeyDOWN" action="backward" />
<key name="KeyLEFT" action="turn_left" />
<key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" />
-->
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
-->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" />
-->
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- r2ed windows -->
<key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
<!-- r2ed windows -->
<key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config>

@ -1,235 +1,214 @@
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyW" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyA" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyA" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyW" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyA" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyA" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" />
-->
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
-->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyQ" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" />
-->
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- r2ed windows -->
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
<!-- r2ed windows -->
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config>

@ -1,236 +1,216 @@
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyUP" action="forward" />
<key name="KeyDOWN" action="backward" />
<key name="KeyLEFT" action="turn_left" />
<key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyUP" action="forward" />
<key name="KeyDOWN" action="backward" />
<key name="KeyLEFT" action="turn_left" />
<key name="KeyRIGHT" action="turn_right" />
<key name="KeyLEFT" ctrl="1" action="strafe_left" />
<key name="KeyRIGHT" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" />
-->
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
-->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<key name="KeyG" shift="1" action="show_hide" params="guild_forum" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" />
-->
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- r2ed windows -->
<key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
<!-- r2ed windows -->
<key name="KeyS" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<key name="KeyF" action="r2ed_freeze_unfreeze_botobjects" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config>

@ -1,235 +1,214 @@
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyZ" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyQ" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyQ" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<!-- ***************************
-->
<!-- Ingame keyboard assignation
-->
<!-- ***************************
-->
<interface_config>
<!-- keys.xml are loaded after user key defs. don't replace its key/action defs -->
<define id="key_def_no_replace" value="1" />
<!-- every action bound here must be kept in the Keys interface, even if the key is unbound -->
<define id="key_def_force_display" value="1" />
<!-- Move
-->
<key name="KeyZ" action="forward" />
<key name="KeyS" action="backward" />
<key name="KeyQ" action="turn_left" />
<key name="KeyD" action="turn_right" />
<key name="KeyQ" ctrl="1" action="strafe_left" />
<key name="KeyD" ctrl="1" action="strafe_right" />
<key name="KeyPRIOR" action="look_up" />
<key name="KeyNEXT" action="look_down" />
<key name="KeyEND" action="toggle_auto_walk" />
<key name="KeyINSERT" action="toggle_sit_stand" />
<!--
<key name="KeyDELETE" action="toggle_run_walk" />
-->
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png"/>
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyPRIOR" ctrl="1" action="camera_up" />
<key name="KeyNEXT" ctrl="1" action="camera_down" />
<!-- View
-->
<key name="KeyV" action="toggle_camera" />
<key name="KeyNUMPAD0" action="rear_view" />
<key name="KeyNUMPAD1" action="camera_turn_left" />
<key name="KeyNUMPAD2" action="camera_turn_right" />
<key name="KeyDECIMAL" action="camera_turn_center" />
<key name="KeyF5" shift="1" action="toggle_chat" />
<key name="KeyF10" shift="1" action="screen_shot" />
<key name="KeyF10" ctrl="1" action="screen_shot_jpg" />
<key name="KeyF10" menu="1" action="screen_shot_png" />
<key name="KeyF4" menu="1" action="enter_modal" params="group=ui:interface:quit_dialog" />
<key name="KeyF11" shift="1" action="test" />
<key name="KeyL" ctrl="0" action="toggle_light" />
<key name="KeyF9" shift="1" action="free_mouse" />
<!--
<key name="KeyR" shift="0" action="reply_teller_once" />
<key name="KeyR" ctrl="1" action="reply_teller" />
-->
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<!-- <key name="KeyO" shift="0" action="toggle_names" /> -->
<!-- Movie recorder
-->
<key name="KeyF10" ctrl="1" shift="1" menu="1" action="toggle_camera_recorder" />
<key name="KeyF11" ctrl="1" shift="1" menu="1" action="camera_recorder_playback" />
<key name="KeyF12" ctrl="1" shift="1" menu="1" action="save_camera_record" />
<!-- Camera recorder
-->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" shift="1" menu="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" shift="1" menu="1" action="save_movie" />
<!-- Debug actions
-->
<key name="Key1" ctrl="1" menu="1" shift="1" action="command" params="mode 0 3" />
<key name="Key2" ctrl="1" menu="1" shift="1" action="command" params="mode 0 1" />
<key name="Key3" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 3" />
<key name="Key4" ctrl="1" menu="1" shift="1" action="command" params="a changeMode 1" />
<key name="Key5" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 1 root_combat_all_weapons.sbrick combat_stamina_2.sbrick" />
<key name="Key6" ctrl="1" menu="1" shift="1" action="command" params="a execPhrase 0 root_combat_all_weapons.sbrick melee_add_damage_1.sbrick combat_stamina_10.sbrick" />
<key name="KeyF1" shift="1" action="toggle_help" />
<key name="KeyF2" shift="1" action="display_infos" />
<key name="KeyF3" shift="1" action="render_mode" />
<key name="KeyF4" shift="1" action="toggle_render" />
<key name="KeyF6" shift="1" action="switch_console_display" />
<key name="KeyF7" shift="1" action="change_compass_mode" />
<key name="KeyF8" shift="1" action="toggle_fly" />
<key name="KeyINSERT" ctrl="1" menu="1" action="set_pos" />
<key name="KeyO" ctrl="1" menu="1" action="pacs_borders" />
<key name="KeyU" ctrl="1" menu="1" action="debug_clusters" />
<key name="KeyR" ctrl="1" menu="1" action="reload_landscape_ig" />
<key name="KeyF2" ctrl="1" action="profile" />
<key name="KeyF2" ctrl="1" menu="1" action="profile_vblock" />
<key name="KeyF2" menu="1" action="profile_texture" />
<key name="KeyF4" ctrl="1" menu="1" action="profile_fillrate" />
<key name="KeyF6" ctrl="1" shift="1" menu="1" action="memory_report" />
<key name="KeyF7" ctrl="1" shift="1" menu="1" action="toggle_primitive" />
<key name="KeyF8" ctrl="1" shift="1" menu="1" action="primitive_up" />
<key name="KeyF9" ctrl="1" shift="1" menu="1" action="primitive_down" />
<key name="Key1" ctrl="1" menu="1" action="toggle_3d_filter" params="0" />
<key name="Key2" ctrl="1" menu="1" action="toggle_3d_filter" params="1" />
<key name="Key3" ctrl="1" menu="1" action="toggle_3d_filter" params="2" />
<key name="Key4" ctrl="1" menu="1" action="toggle_3d_filter" params="3" />
<key name="Key5" ctrl="1" menu="1" action="toggle_3d_filter" params="4" />
<key name="Key6" ctrl="1" menu="1" action="toggle_3d_filter" params="5" />
<key name="Key7" ctrl="1" menu="1" action="toggle_3d_filter" params="6" />
<key name="Key8" ctrl="1" menu="1" action="toggle_3d_filter" params="7" />
<key name="Key9" ctrl="1" menu="1" action="toggle_3d_filter" params="8" />
<key name="Key0" ctrl="1" menu="1" action="toggle_3d_filter" params="9" />
<!-- Weather debug
-->
<key name="KeyADD" ctrl="1" menu="1" action="inc_time" />
<key name="KeySUBTRACT" ctrl="1" menu="1" action="dec_time" />
<key name="KeyS" ctrl="1" menu="1" action="toggle_season" />
<key name="KeyW" ctrl="1" menu="1" action="reload_season" />
<key name="KeyP" ctrl="1" menu="1" action="wind_test" />
<key name="KeyT" ctrl="1" menu="1" action="reel_weather" />
<key name="KeyC" ctrl="1" menu="1" action="update_clouds" />
<key name="KeyD" ctrl="1" menu="1" action="toggle_weather_function" />
<key name="KeyK" ctrl="1" menu="1" action="inc_hour" />
<key name="KeyL" ctrl="1" menu="1" action="dec_hour" />
<key name="KeyZ" ctrl="1" menu="1" action="show_timed_fx" />
<key name="KeyM" ctrl="1" menu="1" action="weather_stats" />
<key name="KeyB" ctrl="1" menu="1" action="dec_display_factor" />
<key name="KeyJ" ctrl="1" menu="1" action="inc_display_factor" />
<key name="KeyG" ctrl="1" menu="1" action="toggle_freeze_graph" />
<!-- UI debug
-->
<key name="KeyA" ctrl="1" shift="1" action="debug_ui_prev_element_under_mouse" />
<key name="KeyQ" ctrl="1" shift="1" action="debug_ui_inspect_element_under_mouse" />
<key name="KeyW" ctrl="1" shift="1" action="debug_ui_next_element_under_mouse" />
<!-- Sound debug
-->
<key name="KeyNUMPAD0" ctrl="1" menu="1" action="draw_sound" />
<key name="KeyPRIOR" ctrl="1" menu="1" action="inc_camera_height" />
<key name="KeyNEXT" ctrl="1" menu="1" action="dec_camera_height" />
<!-- Text edit
-->
<key name="KeyLEFT" shift="1" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" menu="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" shift="1" ctrl="1" menu="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" menu="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" shift="1" ctrl="1" menu="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" shift="1" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" menu="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" shift="1" ctrl="1" menu="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" shift="1" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" menu="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" shift="1" ctrl="1" menu="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" shift="1" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" shift="1" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<!--<key name="KeyINSERT" ctrl="1" action="edit_copy" context="edit" /> -->
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<!--<key name="KeyINSERT" shift="1" action="edit_paste" context="edit" /> -->
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<!-- <key name="KeyTAB" action="edit_expand" context="edit"/>
-->
<key name="KeyTAB" action="edit_expand_or_cycle_tell" context="edit" />
<key name="KeyTAB" action="cycle_tell" />
<key name="KeyBACK" action="edit_back" context="edit" />
<!-- Interface
-->
<key name="KeyESCAPE" shift="1" action="close_help" />
<!-- Map
-->
<!--
<key name="KeyC" action="show_hide" params="compass" />
<key name="KeyR" action="show_hide" params="radar" />
-->
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyCOMMA" action="show_hide" params="map" />
<!-- Communication
-->
<!--
<key name="KeyT" action="show_hide" params="target" />
<key name="KeyF" action="show_hide" params="contact_list" />
<key name="KeyY" action="show_hide" params="team_list" />
-->
<key name="KeyX" action="show_hide" params="main_chat" />
<!--
<key name="KeyW" action="show_hide" params="system_info" />
-->
<!-- TO DO : to be defined by patrick
<key name="" shift="0" action="show_hide" params="guild_chat" />
<key name="" shift="0" action="show_hide" params="team_chat" />
<key name="" shift="0" action="show_hide" params="tell" />
<key name="" shift="0" action="show_hide" params="around_me" />-->
<key name="KeyF5" action="talk_untalk" />
<!-- Options
-->
<key name="KeyK" shift="0" action="show_hide" params="keys" />
<!--
<key name="KeyK" shift="1" action="show_hide" params="macros" />
-->
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyU" shift="0" action="show_hide" params="game_config" />
<!--
<key name="KeyN" shift="0" action="show_hide" params="connection" />
-->
<!-- r2ed windows -->
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test"/>
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool"/>
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
<!-- r2ed windows -->
<key name="KeyS" shift="1" action="show_hide" params="r2ed_scenario" />
<key name="KeyP" action="show_hide" params="r2ed_palette" />
<!-- r2ed contextual commands -->
<key name="KeyDELETE" action="r2ed_context_command" params="commandId=delete" />
<key name="KeyG" action="r2ed_context_command" params="commandId=group" />
<key name="KeyG" menu="1" action="r2ed_context_command" params="commandId=ungroup" />
<key name="KeyL" action="r2ed_context_command" params="commandId=set_as_leader" />
<key name="KeyC" action="r2ed_context_command" params="commandId=customize_look" />
<key name="KeyW" action="r2ed_context_command" params="commandId=wander_route" />
<!-- r2ed misc -->
<key name="KeyF8" action="r2ed_try_go_test" />
<key name="KeyM" action="r2ed_select_move" />
<key name="KeyR" action="r2ed_select_rotate" />
<key name="KeyT" action="r2ed_teleport" />
<key name="KeyESCAPE" action="r2ed_cancel_tool" />
<key name="KeyZ" ctrl="1" action="r2ed_undo" />
<key name="KeyZ" ctrl="1" shift="1" action="r2ed_redo" />
<!-- reset to default -->
<define id="key_def_no_replace" value="0" />
<define id="key_def_force_display" value="0" />
</interface_config>

@ -1,375 +1,375 @@
<database_description>
<!-- Used because the skill points are locally updated (at buy phrase time) -->
<branch name="USER" bank="PLR">
<branch name="SKILL_POINTS_" bank="PLR" count="4">
<leaf name="VALUE" type="I32" />
</branch>
<branch name="FACTION_POINTS_" count="6">
<!-- game_share/pvp_clan.h (0 is BeginClans and size is EndClans-BeginClans+1 -->
<leaf name="VALUE" type="I32" />
</branch>
</branch>
<!-- The Inventory Local DB -->
<branch name="INVENTORY" bank="PLR">
<branch name="HAND">
<branch name="" count="2">
<!-- 0 Right 1 Left -->
<leaf name="INDEX_IN_BAG" type="I9" />
<!-- 0 nothing 1-256 index in bag from 0 to 255 -->
</branch>
</branch>
<branch name="BAG">
<branch name="" count="500">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" />
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<!-- MAX_INVENTORY_ANIMAL -->
<branch name="PACK_ANIMAL" count="7">
<branch name="" count="500">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
</branch>
</branch>
<branch name="EQUIP">
<!-- jewelry + armor -->
<branch name="" count="19">
<leaf name="INDEX_IN_BAG" type="I9" />
<!-- same as hand -->
</branch>
</branch>
<branch name="TEMP">
<!-- used for harvest loot and bag full -->
<leaf name="TYPE" type="I8" />
<!-- Type of temp inv see temp_inventory_mode in game_share -->
<branch name="" count="16">
<!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- No LOCKED state -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
<leaf name="ENABLE_TAKE" type="I1" />
<!-- Used only in forage -->
</branch>
<branch name="SHARE">
<!-- used to share items between team members (up to 8 players) -->
<leaf name="SESSION" type="I8" />
<!-- session id -->
<branch name="" count="16">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- Additionnal info -->
<leaf name="NB_MEMBER" type="I4" />
<!-- Number of team member who wants this item or phrase -->
<leaf name="WANTED" type="I1" />
<!-- Does the player wants this item or phrase ? -->
<leaf name="CHANCE" type="I7" />
<!-- Chance in percentage the player has to obtain this item -->
</branch>
<branch name="TM_" count="8">
<!-- all the team members -->
<leaf name="NAME" type="TEXT" />
<leaf name="VALID" type="I1" />
<!-- is the team member has validated its own selection ? -->
</branch>
</branch>
<branch name="ROOM">
<leaf name="SESSION" type="I16" />
<leaf name="BULK_MAX" type="I32" />
<leaf name="MONEY" type="I64" />
<branch name="" count="1000">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
</branch>
<leaf name="MONEY" type="I64" />
</branch>
<!-- gift from animator (dm) to player -->
<branch name="DM_GIFT" bank="PLR">
<leaf name="TEXT" type="I32" />
<!-- caption of the gift window -->
</branch>
<!-- player trade & gift to bot -->
<branch name="EXCHANGE">
<leaf name="TEXT" type="I32" />
<leaf name="ID" type="I8" />
<leaf name="BEGUN" type="I1" />
<leaf name="ACCEPTED" type="I1" />
<leaf name="MONEY" type="I64" />
<branch name="GIVE">
<branch name="" count="8">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
</branch>
<branch name="RECEIVE">
<branch name="" count="8">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
</branch>
</branch>
<!-- NB this is not a copy of the server db, but the concatenation of all ascensor pages -->
<branch name="ASCENSOR">
<branch name="" count="512">
<leaf name="ICON" type="I64" />
<leaf name="NAME" type="I32" />
</branch>
</branch>
<!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
<branch name="TRADING">
<branch name="" count="1024">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<!-- No LOCKED state -->
<leaf name="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- Special Trade -->
<leaf name="PRICE" type="I32" />
<leaf name="PRICE_RETIRE" type="I32" />
<leaf name="RESALE_TIME_LEFT" type="I16" />
<leaf name="VENDOR_NAMEID" type="I32" />
<!-- name id of player vendor -->
<leaf name="FACTION_TYPE" type="I4" />
<!-- game_share/pvp_clan.h -->
<leaf name="FACTION_POINT_PRICE" type="I32" />
<!-- 0 for standard behaviour -->
<!-- 1 if the sheet id is the one of an item, and if we got a plan for that item in the slot -->
<!-- 2 if the slot is for a skill. In this case the sheet ID must be interpreted as an enum for that skill -->
<!-- These values are defined as an enum in game_share/trade_slot_type.h -->
<leaf name="SLOT_TYPE" type="I2" />
<!-- see TBotChatSellerType -->
<leaf name="SELLER_TYPE" type="I2" />
</branch>
</branch>
<!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
<!--
<branch name="ITEMS_FOR_MISSIONS">
<branch name="" count="512">
-->
<!--<leaf name="SHEET" type="I32"/>
<leaf name="QUALITY" type="I16"/>
<leaf name="WEIGHT" type="I16"/>
<leaf name="NAMEID" type="I32"/>
<leaf name="INFO_VERSION" type="I8"/>
-->
<!-- the same than for TRADING:x:SLOT_type -->
<!--
<leaf name="SLOT_TYPE" type="I2"/>
<leaf name="LOGIC_TEXT_ID" type="I32"/>
<leaf name="DESC_TEXT_ID" type="I32"/>
</branch>
</branch>-->
<!-- NB this is not a copy of the server db, but the concatenation of all mission -->
<branch name="CHOOSE_MISSIONS">
<branch name="" count="512">
<leaf name="ICON" type="I32" />
<leaf name="TEXT" type="I32" />
<leaf name="DETAIL_TEXT" type="I32" />
<leaf name="PREREQ_STATE" type="I8" />
</branch>
</branch>
<branch name="CHARACTER_INFO" bank="PLR">
<branch name="CAREER" count="16">
<branch name="JOB" count="8">
<leaf name="JOB_CAP" type="I12" />
<!-- (0,no) (10-250,valid more later) -->
<leaf name="STATUS" type="I1" />
<!-- Bit 1 is the Frozen State. 1 for frozen -->
<leaf name="BEGIN_FREEZE_TIME" type="I32" />
<!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
<leaf name="END_FREEZE_TIME" type="I32" />
<!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
</branch>
</branch>
</branch>
<!-- context menu -->
<branch name="TARGET" bank="PLR">
<branch name="CONTEXT_MENU" bank="PLR" atom="1">
<leaf name="PROGRAMMES" type="I32" />
<!-- options for missions in the context menu -->
<branch name="MISSIONS_OPTIONS" bank="PLR">
<branch name="" count="8" atom="1">
<leaf name="TITLE" type="I32" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name="PLAYER_GIFT_NEEDED" type="I1" />
<!-- want a player gift ? -->
<leaf name="PRIORITY" type="I2" />
<!-- priority of the option : the higher it is, the higher the option will be displayed in the menu -->
</branch>
</branch>
<!-- A NPC may offer to view a webpage -->
<leaf name="WEB_PAGE_URL" type="I32" />
<!-- a text ID of 0 means there's no WebPage -->
<leaf name="WEB_PAGE_TITLE" type="I32" />
<!-- a text ID of 0 means there's no WebPage -->
<!-- A NPC may offer to view an outpost -->
<leaf name="OUTPOST" type="I32" />
<!-- outpost this bot give access to (sheet id inside) -->
<!-- Mission rings -->
<branch name="MISSION_RING">
<branch name="" count="4">
<leaf name="TITLE" type="I32" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name="ID" type="I32" />
<!-- the id of the action if selected -->
</branch>
</branch>
</branch>
</branch>
<!-- R2 specific -->
<branch name="R2">
<branch name="PLOT_ITEMS">
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
<branch name="" count="32" atom="">
<leaf name="SHEET" type="I32" />
</branch>
</branch>
<branch name="AVAILABLE_PLOT_ITEMS">
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
<branch name="" count="200" atom="">
<leaf name="SHEET" type="I32" />
</branch>
</branch>
<branch name="REFERENCE_PLOT_ITEMS">
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
<branch name="" count="200" atom="">
<leaf name="SHEET" type="I32" />
</branch>
</branch>
<branch name="CURR_PLOT_ITEM">
<leaf name="SHEET" type="I32" />
</branch>
<!-- DM GIFT -->
<branch name="DM_GIFT">
<branch name="" count="8" atom="">
<leaf name="SHEET" type="I32" />
<leaf name="QUANTITY" type="I32" />
</branch>
</branch>
</branch>
<!-- Used because the skill points are locally updated (at buy phrase time) -->
<branch name="USER" bank="PLR">
<branch name="SKILL_POINTS_" bank="PLR" count="4">
<leaf name="VALUE" type="I32" />
</branch>
<branch name="FACTION_POINTS_" count="6">
<!-- game_share/pvp_clan.h (0 is BeginClans and size is EndClans-BeginClans+1 -->
<leaf name="VALUE" type="I32" />
</branch>
</branch>
<!-- The Inventory Local DB -->
<branch name="INVENTORY" bank="PLR">
<branch name="HAND">
<branch name="" count="2">
<!-- 0 Right 1 Left -->
<leaf name="INDEX_IN_BAG" type="I9" />
<!-- 0 nothing 1-256 index in bag from 0 to 255 -->
</branch>
</branch>
<branch name="BAG">
<branch name="" count="500">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
<leaf name="WORNED" type="I1" />
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<!-- MAX_INVENTORY_ANIMAL -->
<branch name="PACK_ANIMAL" count="7">
<branch name="" count="500">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
</branch>
</branch>
<branch name="EQUIP">
<!-- jewelry + armor -->
<branch name="" count="19">
<leaf name="INDEX_IN_BAG" type="I9" />
<!-- same as hand -->
</branch>
</branch>
<branch name="TEMP">
<!-- used for harvest loot and bag full -->
<leaf name="TYPE" type="I8" />
<!-- Type of temp inv see temp_inventory_mode in game_share -->
<branch name="" count="16">
<!-- client/inventory_manager.h MAX_TEMPINV_ENTRIES and egs/player_inv_temp.h TempInvSize -->
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- No LOCKED state -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
<leaf name="ENABLE_TAKE" type="I1" />
<!-- Used only in forage -->
</branch>
<branch name="SHARE">
<!-- used to share items between team members (up to 8 players) -->
<leaf name="SESSION" type="I8" />
<!-- session id -->
<branch name="" count="16">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- Additionnal info -->
<leaf name="NB_MEMBER" type="I4" />
<!-- Number of team member who wants this item or phrase -->
<leaf name="WANTED" type="I1" />
<!-- Does the player wants this item or phrase ? -->
<leaf name="CHANCE" type="I7" />
<!-- Chance in percentage the player has to obtain this item -->
</branch>
<branch name="TM_" count="8">
<!-- all the team members -->
<leaf name="NAME" type="TEXT" />
<leaf name="VALID" type="I1" />
<!-- is the team member has validated its own selection ? -->
</branch>
</branch>
<branch name="ROOM">
<leaf name="SESSION" type="I16" />
<leaf name="BULK_MAX" type="I32" />
<leaf name="MONEY" type="I64" />
<branch name="" count="1000">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<leaf name="LOCKED" type="I10" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
</branch>
<leaf name="MONEY" type="I64" />
</branch>
<!-- gift from animator (dm) to player -->
<branch name="DM_GIFT" bank="PLR">
<leaf name="TEXT" type="I32" />
<!-- caption of the gift window -->
</branch>
<!-- player trade & gift to bot -->
<branch name="EXCHANGE">
<leaf name="TEXT" type="I32" />
<leaf name="ID" type="I8" />
<leaf name="BEGUN" type="I1" />
<leaf name="ACCEPTED" type="I1" />
<leaf name="MONEY" type="I64" />
<branch name="GIVE">
<branch name="" count="8">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
</branch>
<branch name="RECEIVE">
<branch name="" count="8">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10"/> No longer needed -->
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
</branch>
</branch>
</branch>
<!-- NB this is not a copy of the server db, but the concatenation of all ascensor pages -->
<branch name="ASCENSOR">
<branch name="" count="512">
<leaf name="ICON" type="I64" />
<leaf name="NAME" type="I32" />
</branch>
</branch>
<!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
<branch name="TRADING">
<branch name="" count="1024">
<!-- Common Item Data -->
<leaf name="SHEET" type="I32" />
<leaf name="QUALITY" type="I10" />
<leaf name="QUANTITY" type="I10" />
<leaf name="CREATE_TIME" type="I32" />
<leaf name="SERIAL" type="I32" />
<!-- No LOCKED state -->
<leaf name="USER_COLOR" type="I3" />
<leaf name="WEIGHT" type="I16" />
<!-- weight. see DB_WEIGHT_SCALE-->
<leaf name="NAMEID" type="I32" />
<!-- 0 or special name of item -->
<leaf name="INFO_VERSION" type="I8" />
<leaf name="ENCHANT" type="I10" />
<leaf name="RM_CLASS_TYPE" type="I3" />
<leaf name="RM_FABER_STAT_TYPE" type="I5" />
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- Special Trade -->
<leaf name="PRICE" type="I32" />
<leaf name="PRICE_RETIRE" type="I32" />
<leaf name="RESALE_TIME_LEFT" type="I16" />
<leaf name="VENDOR_NAMEID" type="I32" />
<!-- name id of player vendor -->
<leaf name="FACTION_TYPE" type="I4" />
<!-- game_share/pvp_clan.h -->
<leaf name="FACTION_POINT_PRICE" type="I32" />
<!-- 0 for standard behaviour -->
<!-- 1 if the sheet id is the one of an item, and if we got a plan for that item in the slot -->
<!-- 2 if the slot is for a skill. In this case the sheet ID must be interpreted as an enum for that skill -->
<!-- These values are defined as an enum in game_share/trade_slot_type.h -->
<leaf name="SLOT_TYPE" type="I2" />
<!-- see TBotChatSellerType -->
<leaf name="SELLER_TYPE" type="I2" />
</branch>
</branch>
<!-- NB this is not a copy of the server db, but the concatenation of all items pages -->
<!--
<branch name="ITEMS_FOR_MISSIONS">
<branch name="" count="512">
-->
<!--<leaf name="SHEET" type="I32"/>
<leaf name="QUALITY" type="I16"/>
<leaf name="WEIGHT" type="I16"/>
<leaf name="NAMEID" type="I32"/>
<leaf name="INFO_VERSION" type="I8"/>
-->
<!-- the same than for TRADING:x:SLOT_type -->
<!--
<leaf name="SLOT_TYPE" type="I2"/>
<leaf name="LOGIC_TEXT_ID" type="I32"/>
<leaf name="DESC_TEXT_ID" type="I32"/>
</branch>
</branch>-->
<!-- NB this is not a copy of the server db, but the concatenation of all mission -->
<branch name="CHOOSE_MISSIONS">
<branch name="" count="512">
<leaf name="ICON" type="I32" />
<leaf name="TEXT" type="I32" />
<leaf name="DETAIL_TEXT" type="I32" />
<leaf name="PREREQ_STATE" type="I8" />
</branch>
</branch>
<branch name="CHARACTER_INFO" bank="PLR">
<branch name="CAREER" count="16">
<branch name="JOB" count="8">
<leaf name="JOB_CAP" type="I12" />
<!-- (0,no) (10-250,valid more later) -->
<leaf name="STATUS" type="I1" />
<!-- Bit 1 is the Frozen State. 1 for frozen -->
<leaf name="BEGIN_FREEZE_TIME" type="I32" />
<!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
<leaf name="END_FREEZE_TIME" type="I32" />
<!-- Valide if STATUS (Frozen State) is 1 (frozen), in SERVER TICKS TIME, can unfreeze if gamecycle > FREEZE_TIME -->
</branch>
</branch>
</branch>
<!-- context menu -->
<branch name="TARGET" bank="PLR">
<branch name="CONTEXT_MENU" bank="PLR" atom="1">
<leaf name="PROGRAMMES" type="I32" />
<!-- options for missions in the context menu -->
<branch name="MISSIONS_OPTIONS" bank="PLR">
<branch name="" count="8" atom="1">
<leaf name="TITLE" type="I32" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name="PLAYER_GIFT_NEEDED" type="I1" />
<!-- want a player gift ? -->
<leaf name="PRIORITY" type="I2" />
<!-- priority of the option : the higher it is, the higher the option will be displayed in the menu -->
</branch>
</branch>
<!-- A NPC may offer to view a webpage -->
<leaf name="WEB_PAGE_URL" type="I32" />
<!-- a text ID of 0 means there's no WebPage -->
<leaf name="WEB_PAGE_TITLE" type="I32" />
<!-- a text ID of 0 means there's no WebPage -->
<!-- A NPC may offer to view an outpost -->
<leaf name="OUTPOST" type="I32" />
<!-- outpost this bot give access to (sheet id inside) -->
<!-- Mission rings -->
<branch name="MISSION_RING">
<branch name="" count="4">
<leaf name="TITLE" type="I32" />
<!-- a text ID of 0 means there's no action. Text ID are reseted when a new character is targeted -->
<leaf name="ID" type="I32" />
<!-- the id of the action if selected -->
</branch>
</branch>
</branch>
</branch>
<!-- R2 specific -->
<branch name="R2">
<branch name="PLOT_ITEMS">
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
<branch name="" count="32" atom="">
<leaf name="SHEET" type="I32" />
</branch>
</branch>
<branch name="AVAILABLE_PLOT_ITEMS">
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
<branch name="" count="200" atom="">
<leaf name="SHEET" type="I32" />
</branch>
</branch>
<branch name="REFERENCE_PLOT_ITEMS">
<!-- IMPORTANT : update the define in r2ed_scenario.xml if you change this value -->
<branch name="" count="200" atom="">
<leaf name="SHEET" type="I32" />
</branch>
</branch>
<branch name="CURR_PLOT_ITEM">
<leaf name="SHEET" type="I32" />
</branch>
<!-- DM GIFT -->
<branch name="DM_GIFT">
<branch name="" count="8" atom="">
<leaf name="SHEET" type="I32" />
<leaf name="QUANTITY" type="I32" />
</branch>
</branch>
</branch>
</database_description>

File diff suppressed because it is too large Load Diff

@ -1,34 +1,31 @@
<!-- ************************** -->
<!-- login keyboard assignation -->
<!-- ************************** -->
<interface_config>
<!-- Text edit -->
<key name="KeyLEFT" action="edit_previous_char" context="edit"/>
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit"/>
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit"/>
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit"/>
<key name="KeyRIGHT" action="edit_next_char" context="edit"/>
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit"/>
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit"/>
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit"/>
<key name="KeyHOME" action="edit_goto_line_begin" context="edit"/>
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit"/>
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit"/>
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit"/>
<key name="KeyEND" action="edit_goto_line_end" context="edit"/>
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit"/>
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit"/>
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit"/>
<key name="KeyUP" action="edit_previous_line" context="edit"/>
<key name="KeyDOWN" action="edit_next_line" context="edit"/>
<key name="KeyDELETE" action="edit_delete_char" context="edit"/>
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/>
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/>
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/>
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/>
<key name="KeyTAB" action="login_tab" context="edit"/>
<key name="KeyBACK" action="edit_back" context="edit" repeat="1"/>
<!-- Text edit -->
<key name="KeyLEFT" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyTAB" action="login_tab" context="edit" />
<key name="KeyBACK" action="edit_back" context="edit" repeat="1" />
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,635 +1,272 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="map.lua" />
<!-- flag for game:onLoadMap() handler to override map texture or not -->
<variable entry="UI:VARIABLES:SHOW_ALT_MAP" type="bool" value="0" />
<!-- icon for landmark menu user group -->
<template name="landmark_row_icon" keep="true"
id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18"
icon_id="icon" icon_x="0" icon_y="-4" icon_color="80 80 80 255" icon_texture="lm_user.tga">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h">
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color"
global_color="false" texture="#icon_texture" />
</group>
</template>
<!-- base menu of landmark -->
<group type="menu" id="land_mark_menu" extends="base_menu">
<action id="target" name="uiTargetLM" handler="land_mark_selected" params="" icon="ico_aim.tga" />
<action id="lmteleport" name="uiTeleport" handler="land_mark_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<separator/>
</group>
<!-- modal box to confirm removal of landmark -->
<group type="modal" id="remove_user_landmark_confirm" exit_click_out="true" posref="TL TL" x="-8" y="8" w="100" h="60" options="skin_modal">
<view type="bitmap" id="b" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="t" posref="TL TL" x="20" y="-5" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="uiRemove" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="remove_user_landmark" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- menu of user landmark -->
<group type="menu" id="user_land_mark_menu_base" extends="land_mark_menu">
<action id="remove" name="uiRemove" handler="enter_modal" params="group=ui:interface:remove_user_landmark_confirm" icon="ico_aim.tga"/>
<action id="rename" name="uiRename" handler="rename_user_landmark" params="" icon="r2ed_edit_dialog.tga"/>
<separator/>
</group>
<group type="menu" id="user_land_mark_menu" extends="user_land_mark_menu_base">
<!-- closest landmarks added from c++ at the end of the menu -->
</group>
<!-- menu of map -->
<group type="menu" id="map_menu" extends="base_menu"
on_active="lua"
on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end"
>
<action id="create" name="uiCreateUserLM" handler="create_user_landmark" params="" icon="lm_mission.tga"/>
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga"/>
<action id="create_at_user_pos" name="uiCreateUserLMAtUserPos" handler="create_user_landmark_at_user_pos" params="" icon="r2ed_entry_point_over.tga"/>
<separator/>
<action id="search" name="uiMapSearch" handler="proc" params="map_search_show" icon="ico_location.tga"/>
<separator/>
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga"/>
<separator/>
</group>
<!-- menu of map (ring version) -->
<group type="menu" id="map_menu_island" extends="base_menu"
on_active="lua"
on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end"
>
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga"/>
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga"/>
</group>
<variable entry="UI:VARIABLES:CDB_INIT_IN_PROGRESS" type="bool" value="1" />
<!-- ******************************************************************** -->
<!-- * WINDOW TO ENTER THE NAME OF A USER LANDMARK (or to rename one) * -->
<!-- ******************************************************************** -->
<variable entry="UI:TEMP:LANDMARKTYPE" type="sint8" value="0" />
<proc id="validate_user_landmark_name">
<action handler="set" params="target_property=ui:interface:create_new_party_chat:active|value=0"/>
<action handler="validate_user_landmark_name" params=""/>
</proc>
<group id="enter_landmark_name"
type="container"
modal="true"
escapable="true"
savable="false"
openable="false"
opened="true"
movable="true"
header_color="UI:SAVE:WIN:COLORS:LAB"
global_color="false"
on_close_button="set" on_close_button_params="target_property=ui:interface:enter_landmark_name:active|value=0"
active="false"
posparent="parent"
title_opened="uiCreateNewLandMark"
w="450"
h="96"
pop_min_w="300"
pop_min_h="96"
pop_max_w="1000"
pop_max_h="96">
<group id="header_opened"/>
<group id="content"
x="0"
y="0"
w="0"
h="0"
posref="TL TL">
<group type="combo_box"
id="landmarktypes"
w="160"
h="21"
value="UI:TEMP:LANDMARKTYPE"
posref="TR TR"
posparent="content"
x="-2"
y="-12">
<instance template="combo_box_def1" />
<combo_text name="uiLMMiscColor" />
<combo_text name="uiLMTribeColor" />
<combo_text name="uiLMBanditColor" />
<combo_text name="uiLMCitizenColor" />
<combo_text name="uiLMFaunaColor" />
<combo_text name="uiLMFaunaExcelColor" />
<combo_text name="uiLMFaunaSupColor" />
<combo_text name="uiLMForageColor" />
<combo_text name="uiLMForageExcelColor" />
<combo_text name="uiLMForageSupColor" />
<combo_text name="uiLMSapColor" />
<combo_text name="uiLMAmberColor" />
<combo_text name="uiLMNodeColor" />
<combo_text name="uiLMFiberColor" />
<combo_text name="uiLMBarkColor" />
<combo_text name="uiLMSeedColor" />
<combo_text name="uiLMShellColor" />
<combo_text name="uiLMResinColor" />
<combo_text name="uiLMWoodColor" />
<combo_text name="uiLMOilColor" />
<combo_text name="uiLMMissionColor" />
<combo_text name="uiLMFoodColor" />
<combo_text name="uiLMConstructionColor" />
<combo_text name="uiLMGooColor" />
<combo_text name="uiLMInsectColor" />
<combo_text name="uiLMKitinColor" />
<combo_text name="uiLMNociveColor" />
<combo_text name="uiLMPreservativeColor" />
<combo_text name="uiLMPassageColor" />
<combo_text name="uiLMTeleporterColor" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="map.lua" />
<!-- flag for game:onLoadMap() handler to override map texture or not -->
<variable entry="UI:VARIABLES:SHOW_ALT_MAP" type="bool" value="0" />
<!-- icon for landmark menu user group -->
<template name="landmark_row_icon" keep="true" id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18" icon_id="icon" icon_x="0" icon_y="-4" icon_color="80 80 80 255" icon_texture="lm_user.tga">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h">
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" global_color="false" texture="#icon_texture" />
</group>
<instance
template="edit_box_widget"
id="lm_name_eb"
sizeref="w"
posparent="content"
posref="TL TL" x="2" y="-12" w="-170"
onenter="proc" params="validate_user_landmark_name" entry_type="text"/>
<instance
posref="BR BR" sizeref="wh" x="-2" y="2"
template="button_ok_cancel"
onclick_ok="proc"
onclick_ok_param="validate_user_landmark_name"
onclick_cancel="set"
onclick_cancel_param="target_property=ui:interface:enter_landmark_name:active|value=0" />
</group>
</group>
<!-- ******************************************************************** -->
<!-- * USER MAP * -->
<!-- ******************************************************************** -->
<variable entry="UI:VARIABLES:ISACTIVE:MAP_SEARCH" type="sint32" value="0" />
<proc id="map_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=1" />
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
</proc>
<proc id="map_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=0" />
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
</proc>
<proc id="map_search_toggle">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)"/>
<action handler="proc" params="map_search_focus" cond="@UI:VARIABLES:ISACTIVE:MAP_SEARCH"/>
<action handler="proc" params="map_search_reset" cond="not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)"/>
</proc>
<proc id="map_search_focus">
<action handler="set_keyboard_focus" params="target=ui:interface:map:content:map_content:lm_search:search:eb|select_all=true" />
</proc>
<proc id="map_search_reset">
<action handler="proc" params="map_search_setfilter" />
</proc>
<proc id="map_search_show">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<action handler="proc" params="map_search_focus" />
</proc>
<proc id="map_search_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=0" />
</proc>
<proc id="map_search_setfilter">
<action handler="set" params="target_property=ui:interface:map:content:map_content:lm_search:search:eb:input_string|value='@0'" />
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|text=@0" />
</proc>
<!-- set search string from /mapsearch command -->
<proc id="map_search_show_set">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<action handler="proc" params="map_search_setfilter|@0" />
</proc>
<!-- hide search if focus was lost and input is empty (esc key) -->
<proc id="map_search_focuslost">
<action handler="proc" params="map_search_hide"
cond="eq(getprop('ui:interface:map:content:map_content:lm_search:search:eb:input_string'),'')" />
</proc>
<proc id="map_search_onchange">
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|group=@0" />
</proc>
<define id="map_min_size_h" value="256" />
<define id="map_min_size_w" value="256" />
<define id="map_respawn_min_size_h" value="256" />
<define id="map_respawn_min_size_w" value="260" />
<variable entry="UI:VARIABLES:ISACTIVE:MAP_EVENTS" type="sint32" value="0" />
<proc id="map_events_toggle">
<action handler="browse_home" params="name=ui:interface:map:content:map_content:lm_events:html" cond="not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)"/>
</proc>
<proc id="map_events_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=0)"/>
</proc>
<proc id="map_events_show">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=1)"/>
</proc>
<!-- used to override onclick handler -->
<proc id="dummy_proc" />
<template name="lm_search_result" keep="true" active="true" id="" x="0" y="0" w="0" h="17" posparent="parent" posref="TL TL"
hardtext="" fontsize="10" y_text="-2" onclick_l="lua" params_l="" tooltip="" index="0">
<group id="#id" active="#active" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" sizeref="w">
<ctrl type="button" id="over" sizeref="wh" w="0" h="0" posref="MM MM"
scale="true" tx_normal="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_over="255 255 255 127"
onclick_l="land_mark_result_selected" params_l="map=ui:interface:map:content:map_content:actual_map|index=#index"
onclick_r="proc" params_r="dummy_proc"
tooltip="#tooltip" />
<view type="bitmap" id="icon" posref="ML ML" w="16" h="16"
scale="true" color="255 255 255 255" global_color="false" texture="blank.tga" />
<view type="text" id="title" posref="TL TL" x="16" y="#y_text"
color="255 255 255 255" global_color="true" fontsize="#fontsize" shadow="true" hardtext="#hardtext"
auto_clamp="true" over_extend_view_text="false" over_extend_parent_rect="false" />
</group>
</template>
<group id="map" type="container" posref="BL TL" min_w="%map_min_size_w" max_w="16384" w="385" h="256" x="352" y="200" min_h="%map_min_size_h" max_h="16384"
resizer="true" pop_max_h="16384" pop_min_h="%map_min_size_h" pop_max_w="16384" pop_min_w="%map_min_size_w"
openable="false" opened="true"
movable="true" open_button="false"
savable="true"
title="uiMapTitle"
header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false"
on_active="proc" on_active_params="map_proc_active"
on_deactive="proc" on_deactive_params="map_proc_deactive"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" w="385" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="content" x="0" y="0" h="0" posref="TL TL" >
<group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-7" y="-6" >
<!-- back -->
<ctrl type="button" id="map_back" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_back_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_back" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittBack" />
<!-- zoom in -->
<ctrl type="button" id="zoom_in" button_type="push_button" posparent="map_back" posref="TR TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_in" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomIn" />
<!-- zoom out -->
<ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_out" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomOut" />
<!-- center on player -->
<ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_center" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittCenter" />
<!-- search -->
<ctrl type="button" id="lm_search_btn" button_type="push_button" posparent="center" posref="TR TL" y="0" x="4" tx_normal="w_help_1.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="map_search_toggle" tooltip="uittMapSearch" />
<!-- open dynamish events overlay-->
<ctrl type="button" id="lm_events_btn" button_type="push_button" posparent="lm_search_btn" posref="TR TL" global_color="false" scale="true" y="0" x="4" h="16" w="16" tx_normal="dyn_event.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="map_events_toggle" tooltip="uiR2Events" />
<view type="text" id="events" x="4" y="0" posref="BR BL" posparent="lm_events_btn" color="244 147 49 255" fontsize="12" shadow="true" hardtext="" global_color="false" />
<view type="text" id="time" x="4" y="-18" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
<view type="text" id="weather" x="4" y="-32" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
<ctrl type="tooltip" id="weather_tt" posparent="weather" sizeref="wh" w="0" h="0" tooltip="" tooltip_parent="ctrl" tooltip_posref="BL TL" />
<instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-50" x="1" y="-50" render_layer="0" />
<group type="map" id="actual_map" sizeref="wh" w="-4" h="-6" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1"
group_onclick_r="world_map_right_click"
group_params_r="map=ui:interface:map:content:map_content:actual_map"
continent_landmark_tex_normal="LM_continent.tga"
continent_landmark_tex_over="LM_over.tga"
continent_landmark_tex_pushed="LM_continent_pushed.tga"
continent_landmark_color_normal="255 255 255 255"
continent_landmark_color_over="255 255 255 255"
continent_landmark_color_pushed="255 255 255 255"
continent_landmark_menu="ui:interface:land_mark_menu"
user_landmark_tex_normal="LM_user.tga"
user_landmark_tex_over="LM_over.tga"
user_landmark_tex_pushed="LM_user_pushed.tga"
user_landmark_color_normal="255 255 255 255"
user_landmark_color_over="255 255 255 255"
user_landmark_color_pushed="255 255 255 255"
user_landmark_menu="ui:interface:user_land_mark_menu"
mission_landmark_tex_normal="LM_mission.tga"
mission_landmark_tex_over="LM_over.tga"
mission_landmark_tex_pushed="LM_mission_pushed.tga"
mission_landmark_color_normal="255 255 255 255"
mission_landmark_color_over="255 255 255 255"
mission_landmark_color_pushed="255 255 255 255"
mission_landmark_menu="ui:interface:land_mark_menu"
home_fyros_landmark_tex_normal="LM_home.tga"
home_fyros_landmark_tex_over="LM_home_over.tga"
home_fyros_landmark_tex_pushed="LM_home_pushed.tga"
home_fyros_landmark_color_normal="255 255 255 255"
home_fyros_landmark_color_over="255 255 255 255"
home_fyros_landmark_color_pushed="255 255 255 255"
home_fyros_landmark_menu="ui:interface:land_mark_menu"
home_tryker_landmark_tex_normal="LM_home.tga"
home_tryker_landmark_tex_over="LM_home_over.tga"
home_tryker_landmark_tex_pushed="LM_home_pushed.tga"
home_tryker_landmark_color_normal="255 255 255 255"
home_tryker_landmark_color_over="255 255 255 255"
home_tryker_landmark_color_pushed="255 255 255 255"
home_tryker_landmark_menu="ui:interface:land_mark_menu"
home_matis_landmark_tex_normal="LM_home.tga"
home_matis_landmark_tex_over="LM_home_over.tga"
home_matis_landmark_tex_pushed="LM_home_pushed.tga"
home_matis_landmark_color_normal="255 255 255 255"
home_matis_landmark_color_over="255 255 255 255"
home_matis_landmark_color_pushed="255 255 255 255"
home_matis_landmark_menu="ui:interface:land_mark_menu"
home_zorai_landmark_tex_normal="LM_home.tga"
home_zorai_landmark_tex_over="LM_home_over.tga"
home_zorai_landmark_tex_pushed="LM_home_pushed.tga"
home_zorai_landmark_color_normal="255 255 255 255"
home_zorai_landmark_color_over="255 255 255 255"
home_zorai_landmark_color_pushed="255 255 255 255"
home_zorai_landmark_menu="ui:interface:land_mark_menu"
target_landmark_tex_normal="LM_target.tga"
target_landmark_tex_over="LM_target_over.tga"
target_landmark_tex_pushed="LM_target_pushed.tga"
target_landmark_color_normal="255 255 255 255"
target_landmark_color_over="255 255 255 255"
target_landmark_color_pushed="255 255 255 255"
target_landmark_menu="ui:interface:land_mark_menu"
respawn_landmark_tex_normal="LM_respawn.tga"
respawn_landmark_tex_over="LM_respawn_over.tga"
respawn_landmark_tex_pushed="LM_respawn_pushed.tga"
respawn_landmark_color_normal="255 255 255 255"
respawn_landmark_color_over="255 255 255 255"
respawn_landmark_color_pushed="255 255 255 255"
respawn_landmark_menu="ui:interface:land_mark_menu"
animal_landmark_tex_normal="mektoub_map.tga"
animal_landmark_tex_over="mektoub_map_over.tga"
animal_landmark_tex_pushed="mektoub_map.tga"
animal_landmark_color_normal="255 255 255 255"
animal_landmark_color_over="255 255 255 255"
animal_landmark_color_pushed="255 255 255 255"
animal_landmark_menu="ui:interface:land_mark_menu"
animal_stable_landmark_tex_normal="building_state2.tga"
animal_stable_landmark_tex_over="mektoub_map_over.tga"
animal_stable_landmark_tex_pushed="mektoub_map.tga"
animal_stable_landmark_color_normal="255 255 255 255"
animal_stable_landmark_color_over="255 255 255 255"
animal_stable_landmark_color_pushed="255 255 255 255"
animal_stable_landmark_menu="ui:interface:land_mark_menu"
animal_dead_landmark_tex_normal="MP_skull.tga"
animal_dead_landmark_tex_over="mektoub_map_over.tga"
animal_dead_landmark_tex_pushed="mektoub_map.tga"
animal_dead_landmark_color_normal="255 255 255 255"
animal_dead_landmark_color_over="255 255 255 255"
animal_dead_landmark_color_pushed="255 255 255 255"
animal_dead_landmark_menu="ui:interface:land_mark_menu"
teammate_landmark_tex_normal="teammate_map.tga"
teammate_landmark_tex_over="teammate_map_over.tga"
teammate_landmark_tex_pushed="teammate_map.tga"
teammate_landmark_color_normal="255 255 255 255"
teammate_landmark_color_over="255 255 255 255"
teammate_landmark_color_pushed="255 255 255 255"
teammate_landmark_menu="ui:interface:land_mark_menu"
player_pos_tex="player_pos.tga"
frustum_view_texture = "r2_frustum.tga"
frustum_view_color = "255 255 255 255"
frustum_view_color_over = "255 255 255 63"
frustum_view_blend_time_in_ms = "600"
selection_axis_color = "0 0 0 127"
compass="ui:interface:compass"
/>
<!-- border around the map -->
<group id="lm_events"
posparent="back"
active="false"
posref="TL TL"
sizeref="h"
x="2"
y="2"
h="-4"
w="50"
child_resize_w="true">
<view type="bitmap" id="bg" posref="ML ML" sizeref="h" w="355"
scale="true" color="0 0 0 0" global_color="false" texture="blank.tga" />
<instance template="webig_html" />
</group>
<link expr="@UI:VARIABLES:ISACTIVE:MAP_EVENTS" target="lm_events:active" />
<group id="lm_search"
posparent="back"
posref="TR TR"
sizeref="h"
x="-2"
y="-2"
h="-4"
child_resize_w="true">
<view type="bitmap" id="bg" posref="ML ML" sizeref="wh" h="25"
scale="true" color="100 100 100 120" global_color="false" texture="blank.tga" />
<instance template="edit_box_widget"
id="search"
posref="TR TR"
w="150"
clear_on_escape="true"
enter_recover_focus="false"
on_focus_lost="proc" on_focus_lost_params="map_search_focuslost"
onenter=""
onchange="proc" onchange_params="map_search_onchange|ui:interface:map:content:map_content:lm_search:search:eb" />
<ctrl type="button"
id="reset"
button_type="push_button"
posparent="search"
posref="ML MR"
x="-2"
tx_normal="w_close_0.tga"
tx_pushed="w_close_0.tga"
tx_over="W_button_16_over"
onclick_l="proc" params_l="map_search_toggle"
tooltip="" />
<view type="text" id="lm_count" posparent="search" posref="BR TR" x="-2" color="200 200 200 255" fontsize="10" shadow="true" hardtext="0" />
<group id="result" posref="TR TR" x="0" y="-25" w="0" h="-20" over="true" sizeref="wh">
<group id="rows" x="10" w="-10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4" max_h="0" max_sizeref="h" max_sizeparent="parent">
<group id="lm_result" type="list" x="0" y="0" posref="TL TL" sizeref="w" dynamic_display_size="true" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" x="0" y="0" target="rows" />
</group>
</group>
<link expr="@UI:VARIABLES:ISACTIVE:MAP_SEARCH" target="lm_search:active" />
</group>
</group>
</group>
<!-- ******************************************************************** -->
<!-- * RESPAWN MAP * -->
<!-- ******************************************************************** -->
<!-- Change This to modify the delay before an auto respawn. In Server Ticks (300 => 30 seconds) -->
<define id="time_before_auto_respawn" value="600" />
<variable entry="UI:VARIABLES:RESPAWN:MSG_SENT" type="sint64" value="0" />
<proc id="respawn_map_activated">
<action handler="exit_free_look" />
<action handler="set" params="dblink=UI:VARIABLES:RESPAWN:MSG_SENT|value=0" />
<!-- <action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(div(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn),10))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" /> -->
<action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" />
<action handler="add_link" params="id=respawn_acttimer_link|expr=depends(@%player_hp_percent)|action=respawn_map_valid|params=map=ui:interface:respawn_map:content:map_content:actual_map|cond=and(eq(abs(@%player_hp_percent), %player_percent_max), and(lt(@%player_hp_percent,0), eq(@UI:VARIABLES:CDB_INIT_IN_PROGRESS, 0)) ,ne(@UI:VARIABLES:RESPAWN:MSG_SENT,1)) " />
<action handler="add_link" params="id=respawn_showtimer_link|expr=lt(abs(@%player_hp_percent), %player_percent_max)|target=ui:interface:respawn_map:content:map_content:timer:active" />
</proc>
<proc id="respawn_map_deactivated">
<action handler="remove_link" params="id=respawn_timer_link" />
<action handler="remove_link" params="id=respawn_acttimer_link" />
<action handler="remove_link" params="id=respawn_showtimer_link" />
</proc>
<!-- The Respawn Map Group -->
<group id="respawn_map" type="container" posref="BL TL" min_w="%map_respawn_min_size_w" max_w="16384" w="260" h="256" x="352" y="200" min_h="%map_respawn_min_size_h" max_h="16384"
resizer="true" pop_max_h="16384" pop_min_h="%map_respawn_min_size_h" pop_max_w="16384" pop_min_w="%map_respawn_min_size_w"
openable="false" opened="true" right_button="false"
movable="true" open_button="false"
savable="true" active_savable="false"
title="uiRespawnMapTitle"
header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false"
win_priority="%win_priority_high"
on_active="proc" on_active_params="respawn_map_activated"
on_deactive="proc" on_deactive_params="respawn_map_deactivated"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="16" w="260" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
<group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-12" y="-12" >
<!-- zoom in -->
<ctrl type="button" id="zoom_in" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_in" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomIn" />
<!-- zoom out -->
<ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_zoom_out" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomOut" />
<!-- center on player -->
<ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga"
onclick_l="map_center" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittCenter" />
<ctrl style="button_ok" id="respawn" posparent="center" x="16" posref="TR TL" onclick_l="respawn_map_valid" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" hardtext="uiRespawn"/>
<group id="timer" posparent="respawn" posref="TR TL" x="8" y="-2" child_resize_h="true" child_resize_w="true">
<view type="bar" id="b" ultra_mini="true" posref="TL TL" value="%player_hp_percent" range="%player_percent_max" color="255 255 255 255" color_negative="255 255 255 255" />
<view type="text" id="t" posparent="b" posref="TR TL" x="4" color="255 255 255 255" fontsize="8" shadow="true" hardtext="" />
</group>
<instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-22" x="1" y="-22" render_layer="0" />
<group type="map" id="actual_map" sizeref="wh" w="-4" h="-4" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1"
group_onclick_r="world_map_right_click"
group_params_r="map=ui:interface:respawn_map:content:map_content:actual_map"
map_mode="death"
respawn_selected="LM_respawn_over.tga"
respawn_button="ui:interface:respawn_map:content:map_content:respawn"
respawn_landmark_tex_normal="LM_respawn.tga"
respawn_landmark_tex_over="LM_respawn_over.tga"
respawn_landmark_tex_pushed="LM_respawn_pushed.tga"
respawn_landmark_color_normal="255 255 255 255"
respawn_landmark_color_over="255 255 255 255"
respawn_landmark_color_pushed="255 255 255 255"
respawn_landmark_menu="ui:interface:land_mark_menu"
player_pos_tex="player_pos.tga"
/>
<!-- border around the map -->
</group>
</group>
</group>
<!-- Change This to modify the delay after wich the Respawn Map opens. In Ms -->
<define id="time_to_open_respawn_map" value="4000" />
<variable entry="UI:VARIABLES:OPEN_RESPAWN" type="sint32" value="0" />
<variable entry="UI:VARIABLES:OPEN_RESPAWN_AT_TIME" type="sint32" value="0" />
<!-- Avoid set Active each frame for possible speed up: Use OPEN_RESPAWN intermediate -->
<link expr="@UI:VARIABLES:OPEN_RESPAWN" target="ui:interface:respawn_map:active" />
<!-- Set the Open Flag when the delay has expired -->
<link expr="and(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, le(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME))" target="@UI:VARIABLES:OPEN_RESPAWN" />
<!--
Verify player mode. because at init, mode == 0, => the window won't be opened by default
If Dead, then start The Timing counter, else reset.
NB: must not test player Life Percent, because inc each time => counter started when the user is in "coma mode"
</template>
<!-- base menu of landmark -->
<group type="menu" id="land_mark_menu" extends="base_menu">
<action id="target" name="uiTargetLM" handler="land_mark_selected" params="" icon="ico_aim.tga" />
<action id="lmteleport" name="uiTeleport" handler="land_mark_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<separator />
</group>
<!-- modal box to confirm removal of landmark -->
<group type="modal" id="remove_user_landmark_confirm" exit_click_out="true" posref="TL TL" x="-8" y="8" w="100" h="60" options="skin_modal">
<view type="bitmap" id="b" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="t" posref="TL TL" x="20" y="-5" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="uiRemove" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="remove_user_landmark" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- menu of user landmark -->
<group type="menu" id="user_land_mark_menu_base" extends="land_mark_menu">
<action id="remove" name="uiRemove" handler="enter_modal" params="group=ui:interface:remove_user_landmark_confirm" icon="ico_aim.tga" />
<action id="rename" name="uiRename" handler="rename_user_landmark" params="" icon="r2ed_edit_dialog.tga" />
<separator />
</group>
<group type="menu" id="user_land_mark_menu" extends="user_land_mark_menu_base">
<!-- closest landmarks added from c++ at the end of the menu -->
</group>
<!-- menu of map -->
<group type="menu" id="map_menu" extends="base_menu" on_active="lua" on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end">
<action id="create" name="uiCreateUserLM" handler="create_user_landmark" params="" icon="lm_mission.tga" />
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<action id="create_at_user_pos" name="uiCreateUserLMAtUserPos" handler="create_user_landmark_at_user_pos" params="" icon="r2ed_entry_point_over.tga" />
<separator />
<action id="search" name="uiMapSearch" handler="proc" params="map_search_show" icon="ico_location.tga" />
<separator />
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga" />
<separator />
</group>
<!-- menu of map (ring version) -->
<group type="menu" id="map_menu_island" extends="base_menu" on_active="lua" on_active_params="if r2 and r2.Mode == 'Edit' then r2:setCurrentTool('') end">
<action id="teleport" name="uiTeleport" handler="map_teleport" params="" icon="mp_batiment_noyau_maduk.tga" />
<action id="center" name="uiMenuCenter" handler="map_center" params="map=ui:interface:map:content:map_content:actual_map" icon="curs_pick.tga" />
</group>
<variable entry="UI:VARIABLES:CDB_INIT_IN_PROGRESS" type="bool" value="1" />
<!-- ******************************************************************** -->
<!-- * WINDOW TO ENTER THE NAME OF A USER LANDMARK (or to rename one) * -->
<!-- ******************************************************************** -->
<variable entry="UI:TEMP:LANDMARKTYPE" type="sint8" value="0" />
<proc id="validate_user_landmark_name">
<action handler="set" params="target_property=ui:interface:create_new_party_chat:active|value=0" />
<action handler="validate_user_landmark_name" params="" />
</proc>
<group id="enter_landmark_name" type="container" modal="true" escapable="true" savable="false" openable="false" opened="true" movable="true" header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false" on_close_button="set" on_close_button_params="target_property=ui:interface:enter_landmark_name:active|value=0" active="false" posparent="parent" title_opened="uiCreateNewLandMark" w="450" h="96" pop_min_w="300" pop_min_h="96" pop_max_w="1000" pop_max_h="96">
<group id="header_opened" />
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="combo_box" id="landmarktypes" w="160" h="21" value="UI:TEMP:LANDMARKTYPE" posref="TR TR" posparent="content" x="-2" y="-12">
<instance template="combo_box_def1" />
<combo_text name="uiLMMiscColor" />
<combo_text name="uiLMTribeColor" />
<combo_text name="uiLMBanditColor" />
<combo_text name="uiLMCitizenColor" />
<combo_text name="uiLMFaunaColor" />
<combo_text name="uiLMFaunaExcelColor" />
<combo_text name="uiLMFaunaSupColor" />
<combo_text name="uiLMForageColor" />
<combo_text name="uiLMForageExcelColor" />
<combo_text name="uiLMForageSupColor" />
<combo_text name="uiLMSapColor" />
<combo_text name="uiLMAmberColor" />
<combo_text name="uiLMNodeColor" />
<combo_text name="uiLMFiberColor" />
<combo_text name="uiLMBarkColor" />
<combo_text name="uiLMSeedColor" />
<combo_text name="uiLMShellColor" />
<combo_text name="uiLMResinColor" />
<combo_text name="uiLMWoodColor" />
<combo_text name="uiLMOilColor" />
<combo_text name="uiLMMissionColor" />
<combo_text name="uiLMFoodColor" />
<combo_text name="uiLMConstructionColor" />
<combo_text name="uiLMGooColor" />
<combo_text name="uiLMInsectColor" />
<combo_text name="uiLMKitinColor" />
<combo_text name="uiLMNociveColor" />
<combo_text name="uiLMPreservativeColor" />
<combo_text name="uiLMPassageColor" />
<combo_text name="uiLMTeleporterColor" />
</group>
<instance template="edit_box_widget" id="lm_name_eb" sizeref="w" posparent="content" posref="TL TL" x="2" y="-12" w="-170" onenter="proc" params="validate_user_landmark_name" entry_type="text" />
<instance posref="BR BR" sizeref="wh" x="-2" y="2" template="button_ok_cancel" onclick_ok="proc" onclick_ok_param="validate_user_landmark_name" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:enter_landmark_name:active|value=0" />
</group>
</group>
<!-- ******************************************************************** -->
<!-- * USER MAP * -->
<!-- ******************************************************************** -->
<variable entry="UI:VARIABLES:ISACTIVE:MAP_SEARCH" type="sint32" value="0" />
<proc id="map_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=1" />
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
</proc>
<proc id="map_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP|value=0" />
<action handler="lua" params="if (r2 and r2.Mode == 'Edit') then r2.ToolUI:updateToggleWindowButtons() end" />
</proc>
<proc id="map_search_toggle">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)" />
<action handler="proc" params="map_search_focus" cond="@UI:VARIABLES:ISACTIVE:MAP_SEARCH" />
<action handler="proc" params="map_search_reset" cond="not(@UI:VARIABLES:ISACTIVE:MAP_SEARCH)" />
</proc>
<proc id="map_search_focus">
<action handler="set_keyboard_focus" params="target=ui:interface:map:content:map_content:lm_search:search:eb|select_all=true" />
</proc>
<proc id="map_search_reset">
<action handler="proc" params="map_search_setfilter" />
</proc>
<proc id="map_search_show">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<action handler="proc" params="map_search_focus" />
</proc>
<proc id="map_search_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=0" />
</proc>
<proc id="map_search_setfilter">
<action handler="set" params="target_property=ui:interface:map:content:map_content:lm_search:search:eb:input_string|value='@0'" />
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|text=@0" />
</proc>
<!-- set search string from /mapsearch command -->
<proc id="map_search_show_set">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_SEARCH|value=1" />
<action handler="proc" params="map_search_setfilter|@0" />
</proc>
<!-- hide search if focus was lost and input is empty (esc key) -->
<proc id="map_search_focuslost">
<action handler="proc" params="map_search_hide" cond="eq(getprop('ui:interface:map:content:map_content:lm_search:search:eb:input_string'),'')" />
</proc>
<proc id="map_search_onchange">
<action handler="land_mark_filter" params="map=ui:interface:map:content:map_content:actual_map|group=@0" />
</proc>
<define id="map_min_size_h" value="256" />
<define id="map_min_size_w" value="256" />
<define id="map_respawn_min_size_h" value="256" />
<define id="map_respawn_min_size_w" value="260" />
<variable entry="UI:VARIABLES:ISACTIVE:MAP_EVENTS" type="sint32" value="0" />
<proc id="map_events_toggle">
<action handler="browse_home" params="name=ui:interface:map:content:map_content:lm_events:html" cond="not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=not(@UI:VARIABLES:ISACTIVE:MAP_EVENTS)" />
</proc>
<proc id="map_events_hide">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=0)" />
</proc>
<proc id="map_events_show">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MAP_EVENTS|value=1)" />
</proc>
<!-- used to override onclick handler -->
<proc id="dummy_proc" />
<template name="lm_search_result" keep="true" active="true" id="" x="0" y="0" w="0" h="17" posparent="parent" posref="TL TL" hardtext="" fontsize="10" y_text="-2" onclick_l="lua" params_l="" tooltip="" index="0">
<group id="#id" active="#active" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" sizeref="w">
<ctrl type="button" id="over" sizeref="wh" w="0" h="0" posref="MM MM" scale="true" tx_normal="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_over="255 255 255 127" onclick_l="land_mark_result_selected" params_l="map=ui:interface:map:content:map_content:actual_map|index=#index" onclick_r="proc" params_r="dummy_proc" tooltip="#tooltip" />
<view type="bitmap" id="icon" posref="ML ML" w="16" h="16" scale="true" color="255 255 255 255" global_color="false" texture="blank.tga" />
<view type="text" id="title" posref="TL TL" x="16" y="#y_text" color="255 255 255 255" global_color="true" fontsize="#fontsize" shadow="true" hardtext="#hardtext" auto_clamp="true" over_extend_view_text="false" over_extend_parent_rect="false" />
</group>
</template>
<group id="map" type="container" posref="BL TL" min_w="%map_min_size_w" max_w="16384" w="385" h="256" x="352" y="200" min_h="%map_min_size_h" max_h="16384" resizer="true" pop_max_h="16384" pop_min_h="%map_min_size_h" pop_max_w="16384" pop_min_w="%map_min_size_w" openable="false" opened="true" movable="true" open_button="false" savable="true" title="uiMapTitle" header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false" on_active="proc" on_active_params="map_proc_active" on_deactive="proc" on_deactive_params="map_proc_deactive">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="385" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" x="0" y="0" h="0" posref="TL TL">
<group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-7" y="-6">
<!-- back -->
<ctrl type="button" id="map_back" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_back_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_back" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittBack" />
<!-- zoom in -->
<ctrl type="button" id="zoom_in" button_type="push_button" posparent="map_back" posref="TR TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_in" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomIn" />
<!-- zoom out -->
<ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_out" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittZoomOut" />
<!-- center on player -->
<ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_center" params_l="map=ui:interface:map:content:map_content:actual_map" tooltip="uittCenter" />
<!-- search -->
<ctrl type="button" id="lm_search_btn" button_type="push_button" posparent="center" posref="TR TL" y="0" x="4" tx_normal="w_help_1.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="proc" params_l="map_search_toggle" tooltip="uittMapSearch" />
<!-- open dynamish events overlay-->
<ctrl type="button" id="lm_events_btn" button_type="push_button" posparent="lm_search_btn" posref="TR TL" global_color="false" scale="true" y="0" x="4" h="16" w="16" tx_normal="dyn_event.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="proc" params_l="map_events_toggle" tooltip="uiR2Events" />
<view type="text" id="events" x="4" y="0" posref="BR BL" posparent="lm_events_btn" color="244 147 49 255" fontsize="12" shadow="true" hardtext="" global_color="false" />
<view type="text" id="time" x="4" y="-18" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
<view type="text" id="weather" x="4" y="-32" posref="TL TL" color="255 255 255 255" fontsize="12" shadow="true" hardtext="" />
<ctrl type="tooltip" id="weather_tt" posparent="weather" sizeref="wh" w="0" h="0" tooltip="" tooltip_parent="ctrl" tooltip_posref="BL TL" />
<instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-50" x="1" y="-50" render_layer="0" />
<group type="map" id="actual_map" sizeref="wh" w="-4" h="-6" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1" group_onclick_r="world_map_right_click" group_params_r="map=ui:interface:map:content:map_content:actual_map" continent_landmark_tex_normal="LM_continent.tga" continent_landmark_tex_over="LM_over.tga" continent_landmark_tex_pushed="LM_continent_pushed.tga" continent_landmark_color_normal="255 255 255 255" continent_landmark_color_over="255 255 255 255" continent_landmark_color_pushed="255 255 255 255" continent_landmark_menu="ui:interface:land_mark_menu" user_landmark_tex_normal="LM_user.tga" user_landmark_tex_over="LM_over.tga" user_landmark_tex_pushed="LM_user_pushed.tga" user_landmark_color_normal="255 255 255 255" user_landmark_color_over="255 255 255 255" user_landmark_color_pushed="255 255 255 255" user_landmark_menu="ui:interface:user_land_mark_menu" mission_landmark_tex_normal="LM_mission.tga" mission_landmark_tex_over="LM_over.tga" mission_landmark_tex_pushed="LM_mission_pushed.tga" mission_landmark_color_normal="255 255 255 255" mission_landmark_color_over="255 255 255 255" mission_landmark_color_pushed="255 255 255 255" mission_landmark_menu="ui:interface:land_mark_menu" home_fyros_landmark_tex_normal="LM_home.tga" home_fyros_landmark_tex_over="LM_home_over.tga" home_fyros_landmark_tex_pushed="LM_home_pushed.tga" home_fyros_landmark_color_normal="255 255 255 255" home_fyros_landmark_color_over="255 255 255 255" home_fyros_landmark_color_pushed="255 255 255 255" home_fyros_landmark_menu="ui:interface:land_mark_menu" home_tryker_landmark_tex_normal="LM_home.tga" home_tryker_landmark_tex_over="LM_home_over.tga" home_tryker_landmark_tex_pushed="LM_home_pushed.tga" home_tryker_landmark_color_normal="255 255 255 255" home_tryker_landmark_color_over="255 255 255 255" home_tryker_landmark_color_pushed="255 255 255 255" home_tryker_landmark_menu="ui:interface:land_mark_menu" home_matis_landmark_tex_normal="LM_home.tga" home_matis_landmark_tex_over="LM_home_over.tga" home_matis_landmark_tex_pushed="LM_home_pushed.tga" home_matis_landmark_color_normal="255 255 255 255" home_matis_landmark_color_over="255 255 255 255" home_matis_landmark_color_pushed="255 255 255 255" home_matis_landmark_menu="ui:interface:land_mark_menu" home_zorai_landmark_tex_normal="LM_home.tga" home_zorai_landmark_tex_over="LM_home_over.tga" home_zorai_landmark_tex_pushed="LM_home_pushed.tga" home_zorai_landmark_color_normal="255 255 255 255" home_zorai_landmark_color_over="255 255 255 255" home_zorai_landmark_color_pushed="255 255 255 255" home_zorai_landmark_menu="ui:interface:land_mark_menu" target_landmark_tex_normal="LM_target.tga" target_landmark_tex_over="LM_target_over.tga" target_landmark_tex_pushed="LM_target_pushed.tga" target_landmark_color_normal="255 255 255 255" target_landmark_color_over="255 255 255 255" target_landmark_color_pushed="255 255 255 255" target_landmark_menu="ui:interface:land_mark_menu" respawn_landmark_tex_normal="LM_respawn.tga" respawn_landmark_tex_over="LM_respawn_over.tga" respawn_landmark_tex_pushed="LM_respawn_pushed.tga" respawn_landmark_color_normal="255 255 255 255" respawn_landmark_color_over="255 255 255 255" respawn_landmark_color_pushed="255 255 255 255" respawn_landmark_menu="ui:interface:land_mark_menu" animal_landmark_tex_normal="mektoub_map.tga" animal_landmark_tex_over="mektoub_map_over.tga" animal_landmark_tex_pushed="mektoub_map.tga" animal_landmark_color_normal="255 255 255 255" animal_landmark_color_over="255 255 255 255" animal_landmark_color_pushed="255 255 255 255" animal_landmark_menu="ui:interface:land_mark_menu" animal_stable_landmark_tex_normal="building_state2.tga" animal_stable_landmark_tex_over="mektoub_map_over.tga" animal_stable_landmark_tex_pushed="mektoub_map.tga" animal_stable_landmark_color_normal="255 255 255 255" animal_stable_landmark_color_over="255 255 255 255" animal_stable_landmark_color_pushed="255 255 255 255" animal_stable_landmark_menu="ui:interface:land_mark_menu" animal_dead_landmark_tex_normal="MP_skull.tga" animal_dead_landmark_tex_over="mektoub_map_over.tga" animal_dead_landmark_tex_pushed="mektoub_map.tga" animal_dead_landmark_color_normal="255 255 255 255" animal_dead_landmark_color_over="255 255 255 255" animal_dead_landmark_color_pushed="255 255 255 255" animal_dead_landmark_menu="ui:interface:land_mark_menu" teammate_landmark_tex_normal="teammate_map.tga" teammate_landmark_tex_over="teammate_map_over.tga" teammate_landmark_tex_pushed="teammate_map.tga" teammate_landmark_color_normal="255 255 255 255" teammate_landmark_color_over="255 255 255 255" teammate_landmark_color_pushed="255 255 255 255" teammate_landmark_menu="ui:interface:land_mark_menu" player_pos_tex="player_pos.tga" frustum_view_texture="r2_frustum.tga" frustum_view_color="255 255 255 255" frustum_view_color_over="255 255 255 63" frustum_view_blend_time_in_ms="600" selection_axis_color="0 0 0 127" compass="ui:interface:compass" />
<!-- border around the map -->
<group id="lm_events" posparent="back" active="false" posref="TL TL" sizeref="h" x="2" y="2" h="-4" w="50" child_resize_w="true">
<view type="bitmap" id="bg" posref="ML ML" sizeref="h" w="355" scale="true" color="0 0 0 0" global_color="false" texture="blank.tga" />
<instance template="webig_html" />
</group>
<link expr="@UI:VARIABLES:ISACTIVE:MAP_EVENTS" target="lm_events:active" />
<group id="lm_search" posparent="back" posref="TR TR" sizeref="h" x="-2" y="-2" h="-4" child_resize_w="true">
<view type="bitmap" id="bg" posref="ML ML" sizeref="wh" h="25" scale="true" color="100 100 100 120" global_color="false" texture="blank.tga" />
<instance template="edit_box_widget" id="search" posref="TR TR" w="150" clear_on_escape="true" enter_recover_focus="false" on_focus_lost="proc" on_focus_lost_params="map_search_focuslost" onenter="" onchange="proc" onchange_params="map_search_onchange|ui:interface:map:content:map_content:lm_search:search:eb" />
<ctrl type="button" id="reset" button_type="push_button" posparent="search" posref="ML MR" x="-2" tx_normal="w_close_0.tga" tx_pushed="w_close_0.tga" tx_over="W_button_16_over" onclick_l="proc" params_l="map_search_toggle" tooltip="" />
<view type="text" id="lm_count" posparent="search" posref="BR TR" x="-2" color="200 200 200 255" fontsize="10" shadow="true" hardtext="0" />
<group id="result" posref="TR TR" x="0" y="-25" w="0" h="-20" over="true" sizeref="wh">
<group id="rows" x="10" w="-10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4" max_h="0" max_sizeref="h" max_sizeparent="parent">
<group id="lm_result" type="list" x="0" y="0" posref="TL TL" sizeref="w" dynamic_display_size="true" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" x="0" y="0" target="rows" />
</group>
</group>
<link expr="@UI:VARIABLES:ISACTIVE:MAP_SEARCH" target="lm_search:active" />
</group>
</group>
</group>
<!-- ******************************************************************** -->
<!-- * RESPAWN MAP * -->
<!-- ******************************************************************** -->
<!-- Change This to modify the delay before an auto respawn. In Server Ticks (300 => 30 seconds) -->
<define id="time_before_auto_respawn" value="600" />
<variable entry="UI:VARIABLES:RESPAWN:MSG_SENT" type="sint64" value="0" />
<proc id="respawn_map_activated">
<action handler="exit_free_look" />
<action handler="set" params="dblink=UI:VARIABLES:RESPAWN:MSG_SENT|value=0" />
<!-- <action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(div(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn),10))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" /> -->
<action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" />
<action handler="add_link" params="id=respawn_acttimer_link|expr=depends(@%player_hp_percent)|action=respawn_map_valid|params=map=ui:interface:respawn_map:content:map_content:actual_map|cond=and(eq(abs(@%player_hp_percent), %player_percent_max), and(lt(@%player_hp_percent,0), eq(@UI:VARIABLES:CDB_INIT_IN_PROGRESS, 0)) ,ne(@UI:VARIABLES:RESPAWN:MSG_SENT,1))" />
<action handler="add_link" params="id=respawn_showtimer_link|expr=lt(abs(@%player_hp_percent), %player_percent_max)|target=ui:interface:respawn_map:content:map_content:timer:active" />
</proc>
<proc id="respawn_map_deactivated">
<action handler="remove_link" params="id=respawn_timer_link" />
<action handler="remove_link" params="id=respawn_acttimer_link" />
<action handler="remove_link" params="id=respawn_showtimer_link" />
</proc>
<!-- The Respawn Map Group -->
<group id="respawn_map" type="container" posref="BL TL" min_w="%map_respawn_min_size_w" max_w="16384" w="260" h="256" x="352" y="200" min_h="%map_respawn_min_size_h" max_h="16384" resizer="true" pop_max_h="16384" pop_min_h="%map_respawn_min_size_h" pop_max_w="16384" pop_min_w="%map_respawn_min_size_w" openable="false" opened="true" right_button="false" movable="true" open_button="false" savable="true" active_savable="false" title="uiRespawnMapTitle" header_color="UI:SAVE:WIN:COLORS:LAB" global_color="false" win_priority="%win_priority_high" on_active="proc" on_active_params="respawn_map_activated" on_deactive="proc" on_deactive_params="respawn_map_deactivated">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="16" w="260" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group id="map_content" posref="TL TL" sizeref="wh" w="0" h="-12" y="-12">
<!-- zoom in -->
<ctrl type="button" id="zoom_in" button_type="push_button" posref="TL TL" y="0" x="4" tx_normal="w_zoom_in.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_in" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomIn" />
<!-- zoom out -->
<ctrl type="button" id="zoom_out" button_type="push_button" posparent="zoom_in" posref="TR TL" y="0" x="4" tx_normal="w_zoom_out.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_zoom_out" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittZoomOut" />
<!-- center on player -->
<ctrl type="button" id="center" button_type="push_button" posparent="zoom_out" posref="TR TL" y="0" x="4" tx_normal="w_center_map.tga" tx_pushed="W_button_16_over.tga" tx_over="W_button_16_over.tga" onclick_l="map_center" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" tooltip="uittCenter" />
<ctrl style="button_ok" id="respawn" posparent="center" x="16" posref="TR TL" onclick_l="respawn_map_valid" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" hardtext="uiRespawn" />
<group id="timer" posparent="respawn" posref="TR TL" x="8" y="-2" child_resize_h="true" child_resize_w="true">
<view type="bar" id="b" ultra_mini="true" posref="TL TL" value="%player_hp_percent" range="%player_percent_max" color="255 255 255 255" color_negative="255 255 255 255" />
<view type="text" id="t" posparent="b" posref="TR TL" x="4" color="255 255 255 255" fontsize="8" shadow="true" hardtext="" />
</group>
<instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="-2" h="-22" x="1" y="-22" render_layer="0" />
<group type="map" id="actual_map" sizeref="wh" w="-4" h="-4" posparent="back" posref="TL TL" x="2" y="-2" render_layer="1" group_onclick_r="world_map_right_click" group_params_r="map=ui:interface:respawn_map:content:map_content:actual_map" map_mode="death" respawn_selected="LM_respawn_over.tga" respawn_button="ui:interface:respawn_map:content:map_content:respawn" respawn_landmark_tex_normal="LM_respawn.tga" respawn_landmark_tex_over="LM_respawn_over.tga" respawn_landmark_tex_pushed="LM_respawn_pushed.tga" respawn_landmark_color_normal="255 255 255 255" respawn_landmark_color_over="255 255 255 255" respawn_landmark_color_pushed="255 255 255 255" respawn_landmark_menu="ui:interface:land_mark_menu" player_pos_tex="player_pos.tga" />
<!-- border around the map -->
</group>
</group>
</group>
<!-- Change This to modify the delay after wich the Respawn Map opens. In Ms -->
<define id="time_to_open_respawn_map" value="4000" />
<variable entry="UI:VARIABLES:OPEN_RESPAWN" type="sint32" value="0" />
<variable entry="UI:VARIABLES:OPEN_RESPAWN_AT_TIME" type="sint32" value="0" />
<!-- Avoid set Active each frame for possible speed up: Use OPEN_RESPAWN intermediate -->
<link expr="@UI:VARIABLES:OPEN_RESPAWN" target="ui:interface:respawn_map:active" />
<!-- Set the Open Flag when the delay has expired -->
<link expr="and(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, le(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME))" target="@UI:VARIABLES:OPEN_RESPAWN" />
<!--
Verify player mode. because at init, mode == 0, => the window won't be opened by default
If Dead, then start The Timing counter, else reset.
NB: must not test player Life Percent, because inc each time => counter started when the user is in "coma mode"
-->
<link expr="depends(@SERVER:Entities:E0:P8)" action="set"
params="dblink=UI:VARIABLES:OPEN_RESPAWN_AT_TIME|value=ifthenelse(
isUserEntityDead(),
add(@UI:VARIABLES:CURRENT_TIME, %time_to_open_respawn_map),
0)" />
<tree node="enter_landmark_name">
</tree>
<tree node="map">
</tree>
<tree node="respawn_map">
</tree>
<link expr="depends(@SERVER:Entities:E0:P8)" action="set" params="dblink=UI:VARIABLES:OPEN_RESPAWN_AT_TIME|value=ifthenelse( isUserEntityDead(), add(@UI:VARIABLES:CURRENT_TIME, %time_to_open_respawn_map), 0)" />
<tree node="enter_landmark_name"></tree>
<tree node="map"></tree>
<tree node="respawn_map"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,144 +1,124 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** -->
<options name="text_selection">
<param name="back_select_color" value="255 255 255 255" />
<param name="text_select_color" value="0 0 0 255" />
</options>
<options name="system">
<param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="font" value="ryzom.ttf" />
<param name="monospace_font" value="ryzom_monospace.ttf" />
<param name="add_coef_font" value="0" />
<param name="mul_coef_anim" value="1.0" />
<param name="bubbles_timeout" value="10" />
<param name="messages_timeout" value="10" />
<param name="context_timeout" value="5" />
<param name="context_html_timeout" value="15" />
</options>
<!-- anim 0 is the default animation -->
<options type="animation_set" name="character_animations">
<param name="m0" value="FY_HOM_idle" />
<param name="m1" value="CP_HOM_pose" />
<param name="m2" value="CP_HOM_body" />
<param name="m3" value="CP_HOM_visage" />
<param name="m4" value="CP_HOM_course" />
<param name="m5" value="CP_HOM_view" />
<param name="m6" value="CP_FY_HOM_species" />
<param name="m7" value="CP_MA_HOM_species" />
<param name="m8" value="CP_TR_HOM_species" />
<param name="m9" value="CP_ZO_HOM_species" />
<param name="m10" value="CP_HOM_select" />
<!-- New anims CP -->
<param name="m11" value="CP_FY_HOM_view" />
<param name="m12" value="CP_MA_HOM_view" />
<param name="m13" value="CP_TR_HOM_view" />
<param name="m14" value="CP_ZO_HOM_view" />
<param name="f0" value="FY_HOF_A_idle" />
<param name="f1" value="CP_HOF_pose" />
<param name="f2" value="CP_HOF_body" />
<param name="f3" value="CP_HOF_visage" />
<param name="f4" value="CP_HOF_course" />
<param name="f5" value="CP_HOF_view" />
<param name="f6" value="CP_FY_HOF_species" />
<param name="f7" value="CP_MA_HOF_species" />
<param name="f8" value="CP_TR_HOF_species" />
<param name="f9" value="CP_ZO_HOF_species" />
<param name="f10" value="CP_HOF_select" />
<!-- New anims CP -->
<param name="f11" value="CP_FY_HOF_view" />
<param name="f12" value="CP_MA_HOF_view" />
<param name="f13" value="CP_TR_HOF_view" />
<param name="f14" value="CP_ZO_HOF_view" />
</options>
<!-- *********** -->
<!-- * MOUSE * -->
<!-- * POINTER * -->
<!-- *********** -->
<view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga"
tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga"
tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga"
tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga"
posref="BL MM" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0"/>
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" />
<!-- ***************************** -->
<!-- * COMMON DEFINE COLORS * -->
<!-- ***************************** -->
<define id="hp_color" value="255 64 0 255" />
<define id="hp_color_neg" value="127 32 0 255" />
<define id="sta_color" value="255 0 255 255" />
<define id="sap_color" value="72 255 0 255" />
<define id="focus_color" value="0 128 255 255" />
<define id="bulk_color" value="215 185 75 255" />
<!-- ***************************** -->
<!-- * STRING CASE OPTION * -->
<!-- ***************************** -->
<define id="case_normal" value="0" />
<define id="case_lower" value="1" />
<define id="case_upper" value="2" />
<define id="case_first_string_letter_up" value="3" />
<define id="case_first_sentence_letter_up" value="4" />
<define id="case_first_word_letter_up" value="5" />
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** -->
<options name="text_selection">
<param name="back_select_color" value="255 255 255 255" />
<param name="text_select_color" value="0 0 0 255" />
</options>
<options name="system">
<param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="font" value="ryzom.ttf" />
<param name="monospace_font" value="ryzom_monospace.ttf" />
<param name="add_coef_font" value="0" />
<param name="mul_coef_anim" value="1.0" />
<param name="bubbles_timeout" value="10" />
<param name="messages_timeout" value="10" />
<param name="context_timeout" value="5" />
<param name="context_html_timeout" value="15" />
</options>
<!-- anim 0 is the default animation -->
<options type="animation_set" name="character_animations">
<param name="m0" value="FY_HOM_idle" />
<param name="m1" value="CP_HOM_pose" />
<param name="m2" value="CP_HOM_body" />
<param name="m3" value="CP_HOM_visage" />
<param name="m4" value="CP_HOM_course" />
<param name="m5" value="CP_HOM_view" />
<param name="m6" value="CP_FY_HOM_species" />
<param name="m7" value="CP_MA_HOM_species" />
<param name="m8" value="CP_TR_HOM_species" />
<param name="m9" value="CP_ZO_HOM_species" />
<param name="m10" value="CP_HOM_select" />
<!-- New anims CP -->
<param name="m11" value="CP_FY_HOM_view" />
<param name="m12" value="CP_MA_HOM_view" />
<param name="m13" value="CP_TR_HOM_view" />
<param name="m14" value="CP_ZO_HOM_view" />
<param name="f0" value="FY_HOF_A_idle" />
<param name="f1" value="CP_HOF_pose" />
<param name="f2" value="CP_HOF_body" />
<param name="f3" value="CP_HOF_visage" />
<param name="f4" value="CP_HOF_course" />
<param name="f5" value="CP_HOF_view" />
<param name="f6" value="CP_FY_HOF_species" />
<param name="f7" value="CP_MA_HOF_species" />
<param name="f8" value="CP_TR_HOF_species" />
<param name="f9" value="CP_ZO_HOF_species" />
<param name="f10" value="CP_HOF_select" />
<!-- New anims CP -->
<param name="f11" value="CP_FY_HOF_view" />
<param name="f12" value="CP_MA_HOF_view" />
<param name="f13" value="CP_TR_HOF_view" />
<param name="f14" value="CP_ZO_HOF_view" />
</options>
<!-- *********** -->
<!-- * MOUSE * -->
<!-- * POINTER * -->
<!-- *********** -->
<view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga" tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga" tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga" tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga" posref="BL MM" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0" />
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" />
<!-- ***************************** -->
<!-- * COMMON DEFINE COLORS * -->
<!-- ***************************** -->
<define id="hp_color" value="255 64 0 255" />
<define id="hp_color_neg" value="127 32 0 255" />
<define id="sta_color" value="255 0 255 255" />
<define id="sap_color" value="72 255 0 255" />
<define id="focus_color" value="0 128 255 255" />
<define id="bulk_color" value="215 185 75 255" />
<!-- ***************************** -->
<!-- * STRING CASE OPTION * -->
<!-- ***************************** -->
<define id="case_normal" value="0" />
<define id="case_lower" value="1" />
<define id="case_upper" value="2" />
<define id="case_first_string_letter_up" value="3" />
<define id="case_first_sentence_letter_up" value="4" />
<define id="case_first_word_letter_up" value="5" />
</interface_config>

@ -1,84 +1,44 @@
<interface_config>
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<proc id="proc_con_test">
<action handler="anim_start" params="anim=anim_connection_outro"
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<proc id="proc_con_test2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_con_quit" >
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_connect" >
<action handler="anim_start" params="anim=anim_connection_intro" />
</proc>
<proc id="proc_restart_connect" >
</proc>
<proc id="proc_restart_viseur" >
</proc>
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" >
<!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="proc" params_l="proc_con_quit"/>
<view type="text" id="title" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20"/>
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
<!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<!-- ANIMATIONS -->
<anim id="anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
<track type="linear" target="connecting:black_screen:alpha" >
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
<anim id="anim_connection_outro" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_con_test2" >
<track type="linear" target="connecting:black_screen:alpha" >
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<proc id="proc_con_test">
<action handler="anim_start" params="anim=anim_connection_outro" cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<proc id="proc_con_test2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_connect">
<action handler="anim_start" params="anim=anim_connection_intro" />
</proc>
<proc id="proc_restart_connect"></proc>
<proc id="proc_restart_viseur"></proc>
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect">
<!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" />
<view type="text" id="title" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20" />
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
<!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<!-- ANIMATIONS -->
<anim id="anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="connecting:black_screen:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
<anim id="anim_connection_outro" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_con_test2">
<track type="linear" target="connecting:black_screen:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
</interface_config>

@ -1,32 +1,16 @@
<interface_config>
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<proc id="proc_startall_crash" >
</proc>
<group id="crashing" w="1024" h="768" posref="MM MM" on_active="" on_active_params="" >
<!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="quit" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="proc" params_l="proc_con_quit"/>
<view type="text" id="title1" posref="MM MM" y="48" hardtext="uiCrashing1" fontsize="20"/>
<view type="text" id="title2" posref="MM MM" y="24" hardtext="uiCrashing2" fontsize="20"/>
<view type="text" id="title3" posref="MM MM" y="0" hardtext="uiCrashing3" fontsize="20"/>
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
<!-- ANIMATIONS -->
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<proc id="proc_startall_crash"></proc>
<group id="crashing" w="1024" h="768" posref="MM MM" on_active="" on_active_params="">
<!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="quit" posref="BR BR" x="-40" y="130" hardtext="uiQuit" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" />
<view type="text" id="title1" posref="MM MM" y="48" hardtext="uiCrashing1" fontsize="20" />
<view type="text" id="title2" posref="MM MM" y="24" hardtext="uiCrashing2" fontsize="20" />
<view type="text" id="title3" posref="MM MM" y="0" hardtext="uiCrashing3" fontsize="20" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
<!-- ANIMATIONS -->
</interface_config>

@ -1,27 +1,18 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<!-- ************************ -->
<!-- * ui:outgame Hierarchy * -->
<!-- ************************ -->
<tree node="connecting"/>
<!--
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<!-- ************************ -->
<!-- * ui:outgame Hierarchy * -->
<!-- ************************ -->
<tree node="connecting" />
<!--
<tree node="global_background"/>
<tree node="specie"/>
<tree node="career"/>
<tree node="summary"/>
<tree node="logo_intro"/>
-->
<tree node="charsel"/>
<tree node="appear"/>
<tree node="location"/>
<tree node="crashing"/>
<tree node="charsel" />
<tree node="appear" />
<tree node="location" />
<tree node="crashing" />
</interface_config>

@ -1,249 +1,211 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1"/>
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<proc id="proc_next_screen_when_intro_logo_finished">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="anim_start" params="anim=anim_tryton_fadein_start" />
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
<action handler="set" params="target_property=ui:outgame:global_background:active|value=1" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" />
</proc>
<proc id="proc_intro_next_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_intro_back_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_tryton_fadeout_finished">
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc>
<proc id="proc_tryton_fadeout_finished2">
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" />
<action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
</proc>
<proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<action handler="anim_stop" params="anim=anim_intro_logo" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="" on_active_params="" >
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<!--
<view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128"
global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
-->
<!-- EXIT BUTTON -->
<!--
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255"
onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" />
<view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255"
onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" />
<view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0"
onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
-->
<!-- TRYTON's TEXT -->
<!--
<group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
-->
<!--
<view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255"
posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
-->
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<!-- Intro -->
<!--
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1" />
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<proc id="proc_next_screen_when_intro_logo_finished">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="anim_start" params="anim=anim_tryton_fadein_start" />
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
<action handler="set" params="target_property=ui:outgame:global_background:active|value=1" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" />
</proc>
<proc id="proc_intro_next_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_intro_back_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_tryton_fadeout_finished">
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc>
<proc id="proc_tryton_fadeout_finished2">
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" />
<action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
</proc>
<proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<action handler="anim_stop" params="anim=anim_intro_logo" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="" on_active_params="">
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<!--
<view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128"
global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
-->
<!-- EXIT BUTTON -->
<!--
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255"
onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" />
<view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255"
onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" />
<view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0"
onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
-->
<!-- TRYTON's TEXT -->
<!--
<group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
-->
<!--
<view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255"
posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
-->
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<!-- Intro -->
<!--
<anim id="anim_intro_logo" duration="60.0" disable_buttons="false" >
<track type="linear" target="global_background:back3d:cam:posx">
<key time="0.0" value="-5.0" />
<key time="60.0" value="-3.18"/>
</track>
<track type="linear" target="global_background:back3d:cam:posx">
<key time="0.0" value="-5.0" />
<key time="60.0" value="-3.18"/>
</track>
<track type="linear" target="global_background:back3d:cam:tgtx">
<key time="0.0" value="-25.0" />
<key time="60.0" value="-3.23"/>
</track>
<track type="linear" target="global_background:back3d:cam:tgtx">
<key time="0.0" value="-25.0" />
<key time="60.0" value="-3.23"/>
</track>
<track type="linear" target="global_background:back3d:cam:tgtz">
<key time="0.0" value="20.0" />
<key time="60.0" value="0"/>
</track>
<track type="linear" target="global_background:back3d:cam:tgtz">
<key time="0.0" value="20.0" />
<key time="60.0" value="0"/>
</track>
<track type="linear" target="global_background:back3d:cam:posy">
<key time="0.0" value="-45.0" />
<key time="60.0" value="-13.0"/>
</track>
<track type="linear" target="global_background:back3d:cam:posy">
<key time="0.0" value="-45.0" />
<key time="60.0" value="-13.0"/>
</track>
</anim>
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true" >
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
</anim>
<anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true" >
<track type="linear" target="global_background:stars:alpha">
<key time="0.0" value="0.0" />
<key time="1.0" value="0.0" />
<key time="3.0" value="255"/>
</track>
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="global_background:stars:alpha">
<key time="0.0" value="0.0" />
<key time="1.0" value="0.0" />
<key time="3.0" value="255"/>
</track>
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
</anim>
<anim id="anim_tryton_fadeout" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_tryton_fadeout_finished" >
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
</anim>
-->
</interface_config>

@ -1,42 +1,37 @@
<!-- **************************** -->
<!-- Outgame keyboard assignation -->
<!-- **************************** -->
<interface_config>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder"/>
<key name="KeyF4" ctrl="1" action="replay_movie"/>
<key name="KeyF5" ctrl="1" action="save_movie"/>
<!-- Debug Action -->
<key name="KeyF6" ctrl="1" action="memory_report" />
<!-- Text edit -->
<key name="KeyLEFT" action="edit_previous_char" context="edit"/>
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit"/>
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit"/>
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit"/>
<key name="KeyRIGHT" action="edit_next_char" context="edit"/>
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit"/>
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit"/>
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit"/>
<key name="KeyHOME" action="edit_goto_line_begin" context="edit"/>
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit"/>
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit"/>
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit"/>
<key name="KeyEND" action="edit_goto_line_end" context="edit"/>
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit"/>
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit"/>
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit"/>
<key name="KeyUP" action="edit_previous_line" context="edit"/>
<key name="KeyDOWN" action="edit_next_line" context="edit"/>
<key name="KeyDELETE" action="edit_delete_char" context="edit"/>
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/>
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/>
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/>
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/>
<key name="KeyTAB" action="edit_expand" context="edit"/>
<key name="KeyBACK" action="edit_back" context="edit"/>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" action="save_movie" />
<!-- Debug Action -->
<key name="KeyF6" ctrl="1" action="memory_report" />
<!-- Text edit -->
<key name="KeyLEFT" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyTAB" action="edit_expand" context="edit" />
<key name="KeyBACK" action="edit_back" context="edit" />
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,198 +1,85 @@
<!-- ****************************************** -->
<!-- * WIDGETS * -->
<!-- ****************************************** -->
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- BUTTONS STYLE -->
<!-- Big button on the left part of the screen -->
<style style="menu_button" type="text_button" button_type="radio_button"
tx_normal="Menu_off" tx_pushed="Menu_on" tx_over="Menu_off" wmin="200" wmargin="0"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 255 255 255"
text_y="54" fontsize="15" shadow="true"
text_color_normal="255 255 0 128"
text_color_pushed="255 255 255 255"
text_color_over="255 255 255 255"
text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255"
text_global_color_normal="false"
text_global_color_pushed="false"
text_global_color_over="false" />
<style style="job_fight" type="button" button_type="radio_button"
tx_normal="job_fight_off.tga" tx_pushed="job_fight_on.tga" tx_over="job_fight_over.tga"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="job_magic" type="button" button_type="radio_button"
tx_normal="job_magic_off.tga" tx_pushed="job_magic_on.tga" tx_over="job_magic_over.tga"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="job_forage" type="button" button_type="radio_button"
tx_normal="job_forage_off.tga" tx_pushed="job_forage_on.tga" tx_over="job_forage_over.tga"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="job_craft" type="button" button_type="radio_button"
tx_normal="job_craft_off.tga" tx_pushed="job_craft_on.tga" tx_over="job_craft_over.tga"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="opt_button" type="text_button" button_type="radio_button"
tx_normal="opt_off" tx_pushed="opt_off" tx_over="opt_off" wmargin="80"
global_color_normal="true" global_color_over="true" global_color_pushed="false"
color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255"
text_y="12" fontsize="15" shadow="true"
text_color_normal="108 158 16 255"
text_color_pushed="255 255 255 255"
text_color_over="138 188 46 255"
text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255"
text_global_color_normal="true"
text_global_color_pushed="false"
text_global_color_over="false" />
<style style="txt_button" type="text_button" button_type="radio_button"
tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmargin="24"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255"
text_y="-1" fontsize="13" shadow="true"
text_color_normal="222 201 182 255"
text_color_pushed="222 201 182 255"
text_color_over="255 255 255 255"
text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255"
text_global_color_normal="true"
text_global_color_pushed="false"
text_global_color_over="false" />
<style style="valid_txt_button" type="text_button" button_type="push_button"
tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="80" wmargin="40"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255"
text_y="2" fontsize="14" shadow="true"
text_color_normal="222 201 182 255"
text_color_pushed="222 201 182 255"
text_color_over="255 255 255 255"
text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255"
text_global_color_normal="true"
text_global_color_pushed="false"
text_global_color_over="false" />
<template name="outgame_popup" posparent="parent" sizeref="wh" >
<view type="bitmap" id="top" texture="pop_t.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="w" h="64" />
<view type="bitmap" id="bg" texture="pop_blank.tga" scale="true" posparent="#posparent" posref="TM TM" sizeref="hw" w="-32" h="-80" y="-64" avoid_resize_parent="true" />
<view type="bitmap" id="brb" texture="pop_br.tga" posref="BR BR" posparent="#posparent" avoid_resize_parent="true" />
<view type="bitmap" id="blb" texture="pop_bl.tga" posref="BL BL" posparent="#posparent" avoid_resize_parent="true" />
<view type="bitmap" id="bb" texture="pop_b.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-32" h="16" avoid_resize_parent="true" />
<view type="bitmap" id="lb" texture="pop_l.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
<view type="bitmap" id="rb" texture="pop_r.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
</template>
<template name="outgame_black_back" posparent="parent" sizeref="wh" color="0 0 0 128" x="x" y="y" >
<view type="bitmap" id="bg" texture="sub_menu_blank.tga" scale="true" color="#color" posref="MM MM" sizeref="hw" w="-32" h="-32"/>
<view type="bitmap" id="tlb" texture="sub_menu_tl.tga" posref="TL TL" color="#color" />
<view type="bitmap" id="trb" texture="sub_menu_tr.tga" posref="TR TR" color="#color" />
<view type="bitmap" id="brb" texture="sub_menu_br.tga" posref="BR BR" color="#color" />
<view type="bitmap" id="blb" texture="sub_menu_bl.tga" posref="BL BL" color="#color" />
<view type="bitmap" id="tb" texture="sub_menu_blank.tga" posref="TM TM" color="#color" scale="true" sizeref="w" w="-32" h="16"/>
<view type="bitmap" id="bb" texture="sub_menu_blank.tga" posref="BM BM" color="#color" scale="true" sizeref="w" w="-32" h="16"/>
<view type="bitmap" id="lb" texture="sub_menu_blank.tga" posref="ML ML" color="#color" scale="true" sizeref="h" h="-32" w="16"/>
<view type="bitmap" id="rb" texture="sub_menu_blank.tga" posref="MR MR" color="#color" scale="true" sizeref="h" h="-32" w="16"/>
</template>
<!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
<group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL" >
<!-- System, don'change the ids, nor the posref -->
<!-- color and modulate_color are replaced according to the view text to over -->
<view type="bitmap" id="midoutline" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="255 255 255 255" texture="blank.tga" />
<view type="bitmap" id="midback" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="64 64 64 255" texture="blank.tga" />
<!-- fontsize, shadow, text, color, modulate_color.... are replaced according to the view text to over -->
<view type="text" id="text" posref="BL BL" x="2" y="1" color="255 255 255 255" fontsize="12" shadow="true" multi_line="false" />
</group>
<define id="over_border_color" value="240 200 40 255" />
<group id="context_help" posref="BL BL"
child_resize_w="true" child_resize_wmargin="12"
child_resize_h="true" child_resize_hmargin="9" >
<!--Decoration-->
<view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-4" w="-4" scale="true" color="120 100 20 255" global_color="false" texture="blank.tga" />
<view type="bitmap" id="t" sizeref="w" posref="TM TM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_t.tga" />
<view type="bitmap" id="b" sizeref="w" posref="BM BM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_b.tga" />
<view type="bitmap" id="l" sizeref="h" posref="ML ML" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_l.tga" />
<view type="bitmap" id="r" sizeref="h" posref="MR MR" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_r.tga" />
<view type="bitmap" id="tl" avoid_resize_parent="true" posref="TL TL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tl.tga" />
<view type="bitmap" id="bl" avoid_resize_parent="true" posref="BL BL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_bl.tga" />
<view type="bitmap" id="tr" avoid_resize_parent="true" posref="TR TR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tr.tga" />
<view type="bitmap" id="br" avoid_resize_parent="true" posref="BR BR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_br.tga" />
<!--System, don'change the ids -->
<view type="text" id="text" posref="TM TM" y="-6" color="255 255 255 255" global_color="false"
fontsize="12" shadow="true" multi_line="true" multi_line_space="1"
line_maxw="300" multi_line_maxw_only="true" />
</group>
<template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" render_layer="0">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
<group id="bg" sizeref="hw" h="0" w="0" />
<view type="bitmap" render_layer="#render_layer" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="bgb" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="tlb" texture="W_box_top_left.tga" posref="TL TL" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="trb" texture="W_box_top_right.tga" posref="TR TR" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="brb" texture="W_box_bot_right.tga" posref="BR BR" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="blb" texture="W_box_bot_left.tga" posref="BL BL" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true"/>
<view type="bitmap" render_layer="#render_layer" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true"/>
</group>
</template>
<template name="combo_box_def1" keep="true" render_layer="0">
<!-- DECORATION -->
<instance template="box_widget" render_layer="#render_layer" id="back" sizeref="wh" w="0" h="0" />
<view type="bitmap" render_layer="#render_layer" id="arrow" posref="MR MR" x="-4" texture="W_arrow_down_2.tga" />
<!-- SYSTEM -->
<view type="text" id="text" render_layer="#render_layer" posref="ML ML" x="2" />
<ctrl type="button" render_layer="#render_layer" button_type="push_button" id="select" sizeref="wh" w="0" h="0" col_over="255 255 255 90" tx_over="blank.tga" scale="true" />
</template>
<!-- the modal Menu opened on a combo box 's click -->
<group type="menu" id="combo_box_select_menu" posref="BL TL" x="0" y="0"
mouse_pos="false"
space="2"
shadow="false"
color="255 255 255 128"
shadow_color="0 0 0 255"
color_over="255 255 255 255"
shadow_color_over="0 0 0 255"
color_grayed="0 0 0 255"
shadow_color_grayed="155 155 155 255"
fontsize="12"
highlight_over="255 255 255 128"
force_inside_screen="true"
>
</group>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- BUTTONS STYLE -->
<!-- Big button on the left part of the screen -->
<style style="menu_button" type="text_button" button_type="radio_button" tx_normal="Menu_off" tx_pushed="Menu_on" tx_over="Menu_off" wmin="200" wmargin="0" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="54" fontsize="15" shadow="true" text_color_normal="255 255 0 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="false" text_global_color_pushed="false" text_global_color_over="false" />
<style style="job_fight" type="button" button_type="radio_button" tx_normal="job_fight_off.tga" tx_pushed="job_fight_on.tga" tx_over="job_fight_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="job_magic" type="button" button_type="radio_button" tx_normal="job_magic_off.tga" tx_pushed="job_magic_on.tga" tx_over="job_magic_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="job_forage" type="button" button_type="radio_button" tx_normal="job_forage_off.tga" tx_pushed="job_forage_on.tga" tx_over="job_forage_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="job_craft" type="button" button_type="radio_button" tx_normal="job_craft_off.tga" tx_pushed="job_craft_on.tga" tx_over="job_craft_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="225 210 155 128" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<style style="opt_button" type="text_button" button_type="radio_button" tx_normal="opt_off" tx_pushed="opt_off" tx_over="opt_off" wmargin="80" global_color_normal="true" global_color_over="true" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="12" fontsize="15" shadow="true" text_color_normal="108 158 16 255" text_color_pushed="255 255 255 255" text_color_over="138 188 46 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
<style style="txt_button" type="text_button" button_type="radio_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmargin="24" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="-1" fontsize="13" shadow="true" text_color_normal="222 201 182 255" text_color_pushed="222 201 182 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
<style style="valid_txt_button" type="text_button" button_type="push_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="80" wmargin="40" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" text_y="2" fontsize="14" shadow="true" text_color_normal="222 201 182 255" text_color_pushed="222 201 182 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
<template name="outgame_popup" posparent="parent" sizeref="wh">
<view type="bitmap" id="top" texture="pop_t.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="w" h="64" />
<view type="bitmap" id="bg" texture="pop_blank.tga" scale="true" posparent="#posparent" posref="TM TM" sizeref="hw" w="-32" h="-80" y="-64" avoid_resize_parent="true" />
<view type="bitmap" id="brb" texture="pop_br.tga" posref="BR BR" posparent="#posparent" avoid_resize_parent="true" />
<view type="bitmap" id="blb" texture="pop_bl.tga" posref="BL BL" posparent="#posparent" avoid_resize_parent="true" />
<view type="bitmap" id="bb" texture="pop_b.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-32" h="16" avoid_resize_parent="true" />
<view type="bitmap" id="lb" texture="pop_l.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
<view type="bitmap" id="rb" texture="pop_r.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" h="-80" w="16" y="-64" avoid_resize_parent="true" />
</template>
<template name="outgame_black_back" posparent="parent" sizeref="wh" color="0 0 0 128" x="x" y="y">
<view type="bitmap" id="bg" texture="sub_menu_blank.tga" scale="true" color="#color" posref="MM MM" sizeref="hw" w="-32" h="-32" />
<view type="bitmap" id="tlb" texture="sub_menu_tl.tga" posref="TL TL" color="#color" />
<view type="bitmap" id="trb" texture="sub_menu_tr.tga" posref="TR TR" color="#color" />
<view type="bitmap" id="brb" texture="sub_menu_br.tga" posref="BR BR" color="#color" />
<view type="bitmap" id="blb" texture="sub_menu_bl.tga" posref="BL BL" color="#color" />
<view type="bitmap" id="tb" texture="sub_menu_blank.tga" posref="TM TM" color="#color" scale="true" sizeref="w" w="-32" h="16" />
<view type="bitmap" id="bb" texture="sub_menu_blank.tga" posref="BM BM" color="#color" scale="true" sizeref="w" w="-32" h="16" />
<view type="bitmap" id="lb" texture="sub_menu_blank.tga" posref="ML ML" color="#color" scale="true" sizeref="h" h="-32" w="16" />
<view type="bitmap" id="rb" texture="sub_menu_blank.tga" posref="MR MR" color="#color" scale="true" sizeref="h" h="-32" w="16" />
</template>
<!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
<group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL">
<!-- System, don'change the ids, nor the posref -->
<!-- color and modulate_color are replaced according to the view text to over -->
<view type="bitmap" id="midoutline" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="255 255 255 255" texture="blank.tga" />
<view type="bitmap" id="midback" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="64 64 64 255" texture="blank.tga" />
<!-- fontsize, shadow, text, color, modulate_color.... are replaced according to the view text to over -->
<view type="text" id="text" posref="BL BL" x="2" y="1" color="255 255 255 255" fontsize="12" shadow="true" multi_line="false" />
</group>
<define id="over_border_color" value="240 200 40 255" />
<group id="context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9">
<!--Decoration-->
<view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-4" w="-4" scale="true" color="120 100 20 255" global_color="false" texture="blank.tga" />
<view type="bitmap" id="t" sizeref="w" posref="TM TM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_t.tga" />
<view type="bitmap" id="b" sizeref="w" posref="BM BM" w="-16" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_b.tga" />
<view type="bitmap" id="l" sizeref="h" posref="ML ML" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_l.tga" />
<view type="bitmap" id="r" sizeref="h" posref="MR MR" w="8" h="-16" scale="true" color="%over_border_color" global_color="false" texture="W_hl_r.tga" />
<view type="bitmap" id="tl" avoid_resize_parent="true" posref="TL TL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tl.tga" />
<view type="bitmap" id="bl" avoid_resize_parent="true" posref="BL BL" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_bl.tga" />
<view type="bitmap" id="tr" avoid_resize_parent="true" posref="TR TR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_tr.tga" />
<view type="bitmap" id="br" avoid_resize_parent="true" posref="BR BR" w="8" h="8" scale="true" color="%over_border_color" global_color="false" texture="W_hl_br.tga" />
<!--System, don'change the ids -->
<view type="text" id="text" posref="TM TM" y="-6" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
</group>
<template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" render_layer="0">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
<group id="bg" sizeref="hw" h="0" w="0" />
<view type="bitmap" render_layer="#render_layer" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="bgb" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="tlb" texture="W_box_top_left.tga" posref="TL TL" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="trb" texture="W_box_top_right.tga" posref="TR TR" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="brb" texture="W_box_bot_right.tga" posref="BR BR" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="blb" texture="W_box_bot_left.tga" posref="BL BL" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true" />
<view type="bitmap" render_layer="#render_layer" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true" />
</group>
</template>
<template name="combo_box_def1" keep="true" render_layer="0">
<!-- DECORATION -->
<instance template="box_widget" render_layer="#render_layer" id="back" sizeref="wh" w="0" h="0" />
<view type="bitmap" render_layer="#render_layer" id="arrow" posref="MR MR" x="-4" texture="W_arrow_down_2.tga" />
<!-- SYSTEM -->
<view type="text" id="text" render_layer="#render_layer" posref="ML ML" x="2" />
<ctrl type="button" render_layer="#render_layer" button_type="push_button" id="select" sizeref="wh" w="0" h="0" col_over="255 255 255 90" tx_over="blank.tga" scale="true" />
</template>
<!-- the modal Menu opened on a combo box 's click -->
<group type="menu" id="combo_box_select_menu" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" shadow_color="0 0 0 255" color_over="255 255 255 255" shadow_color_over="0 0 0 255" color_grayed="0 0 0 255" shadow_color_grayed="155 155 155 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="true"></group>
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,128 +1,111 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** -->
<options name="text_selection">
<param name="back_select_color" value="255 255 255 255" />
<param name="text_select_color" value="0 0 0 255" />
</options>
<options name="system">
<param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="font" value="ryzom.ttf" />
<param name="monospace_font" value="ryzom_monospace.ttf" />
<param name="add_coef_font" value="3" />
<param name="mul_coef_anim" value="0.8" />
<param name="bubbles_timeout" value="10" />
<param name="messages_timeout" value="10" />
<param name="context_timeout" value="5" />
<param name="context_html_timeout" value="15" />
</options>
<!-- anim 0 is the default animation -->
<options type="animation_set" name="character_animations">
<param name="m0" value="FY_HOM_idle" />
<param name="m1" value="FY_HOM_Co_AB_engarde" />
<param name="m2" value="FY_HOM_Co_fu_engarde" />
<param name="m3" value="FY_HOM_Co_A1m_engarde" />
<param name="m4" value="FY_HOM_Co_A1mD_engarde" />
<param name="m5" value="FY_HOM_Pioche_loop" />
<param name="m6" value="FY_HOM_AD_idle" />
<param name="m7" value="FY_HOM_Co_L2m_engarde" />
<param name="m8" value="FY_HOM_Co_p_engarde" />
<param name="m9" value="FY_HOM_Host_Loop" />
<param name="m10" value="FY_HOM_Bienveillant_Loop" />
<param name="m11" value="FY_HOM_Neutre_loop" />
<param name="m12" value="FY_HOM_Co_A2m_engarde" />
<param name="m13" value="FY_HOM_Co_A2m_engarde" />
<param name="f0" value="FY_HOF_A_idle" />
<param name="f1" value="FY_HOF_Co_AB_engarde" />
<param name="f2" value="FY_HOF_Co_fu_engarde" />
<param name="f3" value="FY_HOF_Co_A1m_engarde" />
<param name="f4" value="FY_HOF_Co_A1mD_engarde" />
<param name="f5" value="FY_HOF_Pioche_loop" />
<param name="f6" value="FY_HOF_AD_idle" />
<param name="f7" value="FY_HOF_Co_L2m_engarde" />
<param name="f8" value="FY_HOF_Co_p_engarde" />
<param name="f9" value="FY_HOF_Host_Loop" />
<param name="f10" value="FY_HOF_Bienveillant_Loop" />
<param name="f11" value="FY_HOF_Neutre_loop" />
<param name="f12" value="FY_HOF_Co_A2m_coup1" />
<param name="f13" value="FY_HOF_Co_A2m_engarde" />
</options>
<!-- *********** -->
<!-- * MOUSE * -->
<!-- * POINTER * -->
<!-- *********** -->
<view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga"
tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga"
tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga"
tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga"
posref="BL MM" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0"/>
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0"/>
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" />
<!-- ***************************** -->
<!-- * COMMON DEFINE COLORS * -->
<!-- ***************************** -->
<define id="hp_color" value="255 64 0 255" />
<define id="hp_color_neg" value="127 32 0 255" />
<define id="sta_color" value="255 0 255 255" />
<define id="sap_color" value="72 255 0 255" />
<define id="focus_color" value="0 128 255 255" />
<define id="bulk_color" value="215 185 75 255" />
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** -->
<options name="text_selection">
<param name="back_select_color" value="255 255 255 255" />
<param name="text_select_color" value="0 0 0 255" />
</options>
<options name="system">
<param name="ctrl_sheet_gray_color" value="255 255 255 128" />
<param name="ctrl_sheet_redify_color" value="255 100 100 128" />
<param name="ctrl_text_redify_color" value="255 32 32 160" />
<param name="font" value="ryzom.ttf" />
<param name="monospace_font" value="ryzom_monospace.ttf" />
<param name="add_coef_font" value="3" />
<param name="mul_coef_anim" value="0.8" />
<param name="bubbles_timeout" value="10" />
<param name="messages_timeout" value="10" />
<param name="context_timeout" value="5" />
<param name="context_html_timeout" value="15" />
</options>
<!-- anim 0 is the default animation -->
<options type="animation_set" name="character_animations">
<param name="m0" value="FY_HOM_idle" />
<param name="m1" value="FY_HOM_Co_AB_engarde" />
<param name="m2" value="FY_HOM_Co_fu_engarde" />
<param name="m3" value="FY_HOM_Co_A1m_engarde" />
<param name="m4" value="FY_HOM_Co_A1mD_engarde" />
<param name="m5" value="FY_HOM_Pioche_loop" />
<param name="m6" value="FY_HOM_AD_idle" />
<param name="m7" value="FY_HOM_Co_L2m_engarde" />
<param name="m8" value="FY_HOM_Co_p_engarde" />
<param name="m9" value="FY_HOM_Host_Loop" />
<param name="m10" value="FY_HOM_Bienveillant_Loop" />
<param name="m11" value="FY_HOM_Neutre_loop" />
<param name="m12" value="FY_HOM_Co_A2m_engarde" />
<param name="m13" value="FY_HOM_Co_A2m_engarde" />
<param name="f0" value="FY_HOF_A_idle" />
<param name="f1" value="FY_HOF_Co_AB_engarde" />
<param name="f2" value="FY_HOF_Co_fu_engarde" />
<param name="f3" value="FY_HOF_Co_A1m_engarde" />
<param name="f4" value="FY_HOF_Co_A1mD_engarde" />
<param name="f5" value="FY_HOF_Pioche_loop" />
<param name="f6" value="FY_HOF_AD_idle" />
<param name="f7" value="FY_HOF_Co_L2m_engarde" />
<param name="f8" value="FY_HOF_Co_p_engarde" />
<param name="f9" value="FY_HOF_Host_Loop" />
<param name="f10" value="FY_HOF_Bienveillant_Loop" />
<param name="f11" value="FY_HOF_Neutre_loop" />
<param name="f12" value="FY_HOF_Co_A2m_coup1" />
<param name="f13" value="FY_HOF_Co_A2m_engarde" />
</options>
<!-- *********** -->
<!-- * MOUSE * -->
<!-- * POINTER * -->
<!-- *********** -->
<view type="pointer" id="cursor" x="8" y="-4" w="56" h="56" tx_default="curs_default.tga" tx_move_window="curs_move_window.tga" tx_resize_BR_TL="curs_resize_BR_TL.tga" tx_resize_BL_TR="curs_resize_BL_TR.tga" tx_resize_TB="curs_resize_TB.tga" tx_resize_LR="curs_resize_LR.tga" tx_rotate="curs_rotate.tga" tx_scale="curs_scale.tga" posref="BL MM" />
<!-- ************* -->
<!-- * CONSTANTES * -->
<!-- ************* -->
<variable entry="UI:CONST:127" type="sint32" value="127" />
<!-- ************* -->
<!-- * DEFINES * -->
<!-- ************* -->
<define id="screen_connecting" value="0" />
<define id="screen_intro" value="1" />
<define id="screen_select" value="2" />
<define id="screen_specie" value="3" />
<define id="screen_career" value="4" />
<define id="screen_career" value="5" />
<define id="screen_appear" value="6" />
<define id="screen_summary" value="7" />
<define id="screen_crashing" value="8" />
<define id="screen_location" value="9" />
<variable entry="UI:TEMP:SKIP_INTRO" type="bool" value="0" />
<variable entry="UI:SERVER_RECEIVED_CHARS" type="sint64" value="0" />
<variable entry="UI:SERVER_RECEIVED_VALID" type="sint64" value="0" />
<variable entry="UI:CURRENT_SCREEN" type="sint64" value="%screen_connecting" />
<variable entry="UI:NEXT_SCREEN" type="sint64" value="-1" />
<variable entry="UI:SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:NEW_SELECTED_SLOT" type="sint64" value="-1" />
<variable entry="UI:TEMP:CARACS:STR" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CON" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:AGI" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WIL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:WEL" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:INT" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:CHA" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:EMP" type="sint64" value="0" />
<variable entry="UI:TEMP:CARACS:PER" type="sint64" value="0" />
<!-- ****************************** -->
<!-- * MISC * -->
<!-- ****************************** -->
<variable entry="UI:VARIABLES:CURRENT_TIME" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK" type="sint64" value="0" />
<variable entry="UI:SAVE:COLOR:R" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:G" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:B" type="sint32" value="255" />
<variable entry="UI:SAVE:COLOR:A" type="sint32" value="255" />
<!-- ***************************** -->
<!-- * COMMON DEFINE COLORS * -->
<!-- ***************************** -->
<define id="hp_color" value="255 64 0 255" />
<define id="hp_color_neg" value="127 32 0 255" />
<define id="sta_color" value="255 0 255 255" />
<define id="sap_color" value="72 255 0 255" />
<define id="focus_color" value="0 128 255 255" />
<define id="bulk_color" value="215 185 75 255" />
</interface_config>

@ -1,163 +1,102 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<proc id="proc_con_quit" >
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="stop_music" params="name=music_intro" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_connect" >
<action handler="set" params="target_property=ui:outgame:connecting:back3d:fx1:started|value=1" />
<action handler="anim_start" params="anim=anim_connect" />
<action handler="anim_start" params="anim=anim_viseur" />
</proc>
<proc id="proc_restart_connect" >
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_connect" />
</proc>
<proc id="proc_restart_viseur" >
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_viseur" />
</proc>
<!-- Window Border2 -->
<template name="window_border2" posparent="parent">
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/>
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/>
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
</template>
<group id="connecting" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" >
<!-- BLACK BACK -->
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
<!-- ATYS -->
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam"
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
<camera id="cam" fov="45" pos="-5.0 -45.0 0.0" target="0.0 0.0 0.0" roll="0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<fx id="fx1" pos="-4.5 -39.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
</scene3d>
<group id="viseur" posref="MM MM" w="640" h="536" >
<instance template="window_border2" id="b_viseur" posref="MM MM" />
</group>
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<!-- Skip when click anywhere -->
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16"
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiConnecting" fontsize="20"/>
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
<proc id="proc_con_test">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_intro"
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<!-- ANIMATIONS -->
<anim id="anim_connect" duration="90.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_restart_connect" >
<track type="linear" target="connecting:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm1:rotx">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm2:rotz">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm1:rotz">
<key time="0.0" value="0.0" />
<key time="90.0" value="360.0"/>
</track>
<track type="linear" target="connecting:back3d:atm2:rotx">
<key time="0.0" value="0.0" />
<key time="90.0" value="360.0"/>
</track>
</anim>
<anim id="anim_viseur" duration="2.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_restart_viseur" >
<track type="tcb" target="connecting:viseur:w">
<key time="0.0" value="800" tension="1.0" easeto="1" />
<key time="1.5" value="128" tension="1.0" easefrom="1" />
</track>
<track type="tcb" target="connecting:viseur:h">
<key time="0.0" value="536" tension="1.0" easeto="1" />
<key time="1.5" value="128" tension="1.0" easefrom="1" />
</track>
<track type="tcb" target="connecting:viseur:alpha">
<key time="0.0" value="255" tension="1.0" />
<key time="0.75" value="255" tension="1.0" easeto="1" />
<key time="1.5" value="0" tension="1.0" easefrom="1" />
</track>
<track type="linear" target="connecting:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:connecting:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
<key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<proc id="proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="stop_music" params="name=music_intro" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_connect">
<action handler="set" params="target_property=ui:outgame:connecting:back3d:fx1:started|value=1" />
<action handler="anim_start" params="anim=anim_connect" />
<action handler="anim_start" params="anim=anim_viseur" />
</proc>
<proc id="proc_restart_connect">
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_connect" />
</proc>
<proc id="proc_restart_viseur">
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_viseur" />
</proc>
<!-- Window Border2 -->
<template name="window_border2" posparent="parent">
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2" />
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2" />
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
</template>
<group id="connecting" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect">
<!-- BLACK BACK -->
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
<!-- ATYS -->
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam" ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0">
<camera id="cam" fov="45" pos="-5.0 -45.0 0.0" target="0.0 0.0 0.0" roll="0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<fx id="fx1" pos="-4.5 -39.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
</scene3d>
<group id="viseur" posref="MM MM" w="640" h="536">
<instance template="window_border2" id="b_viseur" posref="MM MM" />
</group>
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<!-- Skip when click anywhere -->
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16" tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiConnecting" fontsize="20" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
<proc id="proc_con_test">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_intro" cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<!-- ANIMATIONS -->
<anim id="anim_connect" duration="90.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_restart_connect">
<track type="linear" target="connecting:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0" />
</track>
<track type="linear" target="connecting:back3d:atm1:rotx">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0" />
</track>
<track type="linear" target="connecting:back3d:atm2:rotz">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0" />
</track>
<track type="linear" target="connecting:back3d:atm1:rotz">
<key time="0.0" value="0.0" />
<key time="90.0" value="360.0" />
</track>
<track type="linear" target="connecting:back3d:atm2:rotx">
<key time="0.0" value="0.0" />
<key time="90.0" value="360.0" />
</track>
</anim>
<anim id="anim_viseur" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_restart_viseur">
<track type="tcb" target="connecting:viseur:w">
<key time="0.0" value="800" tension="1.0" easeto="1" />
<key time="1.5" value="128" tension="1.0" easefrom="1" />
</track>
<track type="tcb" target="connecting:viseur:h">
<key time="0.0" value="536" tension="1.0" easeto="1" />
<key time="1.5" value="128" tension="1.0" easefrom="1" />
</track>
<track type="tcb" target="connecting:viseur:alpha">
<key time="0.0" value="255" tension="1.0" />
<key time="0.75" value="255" tension="1.0" easeto="1" />
<key time="1.5" value="0" tension="1.0" easefrom="1" />
</track>
<track type="linear" target="connecting:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:connecting:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
<key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
</interface_config>

@ -1,118 +1,70 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<proc id="proc_con_quit" >
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="stop_music" params="name=music_intro" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_crash" >
<action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" />
<action handler="anim_start" params="anim=anim_crash" />
<action handler="anim_start" params="anim=anim_back_crash" />
</proc>
<proc id="proc_restart_back_crash" >
<action handler="anim_start" params="anim=anim_back_crash" />
</proc>
<group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash" >
<!-- BLACK BACK -->
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
<!-- ATYS -->
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam"
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
<camera id="cam" fov="45" pos="0 -10.0 0.0" target="0.0 0.0 0.0" roll="0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<fx id="fx1" pos="0 -7.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
</scene3d>
<!-- Skip when click anywhere -->
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16"
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCrashing" fontsize="20"/>
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
<!-- ANIMATIONS -->
<anim id="anim_crash" duration="90.0" disable_buttons="false" >
<track type="linear" target="crashing:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0"/>
</track>
<track type="linear" target="crashing:back3d:atm1:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-720.0"/>
</track>
<track type="linear" target="crashing:back3d:atm2:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="720.0"/>
</track>
<track type="tcb" target="crashing:back3d:atys:posz,crashing:back3d:atm1:posz,crashing:back3d:atm2:posz">
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<key time="12.0" value="-10.0" tension="1.0" />
</track>
<track type="tcb" target="crashing:back3d:atys:posy,crashing:back3d:atm1:posy,crashing:back3d:atm2:posy">
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<key time="12.0" value="-10.0" tension="1.0" />
</track>
</anim>
<anim id="anim_back_crash" duration="2.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_restart_back_crash" >
<track type="linear" target="crashing:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:crashing:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
<key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<proc id="proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="stop_music" params="name=music_intro" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_crash">
<action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" />
<action handler="anim_start" params="anim=anim_crash" />
<action handler="anim_start" params="anim=anim_back_crash" />
</proc>
<proc id="proc_restart_back_crash">
<action handler="anim_start" params="anim=anim_back_crash" />
</proc>
<group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash">
<!-- BLACK BACK -->
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
<!-- ATYS -->
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam" ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0">
<camera id="cam" fov="45" pos="0 -10.0 0.0" target="0.0 0.0 0.0" roll="0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<fx id="fx1" pos="0 -7.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
</scene3d>
<!-- Skip when click anywhere -->
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16" tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCrashing" fontsize="20" />
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
<!-- ANIMATIONS -->
<anim id="anim_crash" duration="90.0" disable_buttons="false">
<track type="linear" target="crashing:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-360.0" />
</track>
<track type="linear" target="crashing:back3d:atm1:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="-720.0" />
</track>
<track type="linear" target="crashing:back3d:atm2:roty">
<key time="0.0" value="0.0" />
<key time="90.0" value="720.0" />
</track>
<track type="tcb" target="crashing:back3d:atys:posz,crashing:back3d:atm1:posz,crashing:back3d:atm2:posz">
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<key time="12.0" value="-10.0" tension="1.0" />
</track>
<track type="tcb" target="crashing:back3d:atys:posy,crashing:back3d:atm1:posy,crashing:back3d:atm2:posy">
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
<key time="12.0" value="-10.0" tension="1.0" />
</track>
</anim>
<anim id="anim_back_crash" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_restart_back_crash">
<track type="linear" target="crashing:bg:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:crashing:bg:alpha')" />
<key time="0.4" value="rand(64,160)" />
<key time="0.8" value="rand(64,160)" />
<key time="1.2" value="rand(64,160)" />
<key time="1.6" value="rand(64,160)" />
<key time="2.0" value="rand(64,160)" />
</track>
</anim>
</interface_config>

@ -1,23 +1,16 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<!-- ************************ -->
<!-- * ui:outgame Hierarchy * -->
<!-- ************************ -->
<tree node="connecting"/>
<tree node="global_background"/>
<tree node="logo_intro"/>
<tree node="character_selection"/>
<tree node="specie"/>
<tree node="career"/>
<tree node="appear"/>
<tree node="summary"/>
<tree node="location"/>
<tree node="crashing"/>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<!-- ************************ -->
<!-- * ui:outgame Hierarchy * -->
<!-- ************************ -->
<tree node="connecting" />
<tree node="global_background" />
<tree node="logo_intro" />
<tree node="character_selection" />
<tree node="specie" />
<tree node="career" />
<tree node="appear" />
<tree node="summary" />
<tree node="location" />
<tree node="crashing" />
</interface_config>

@ -1,287 +1,201 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1"/>
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<proc id="proc_next_screen_when_intro_logo_finished">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="anim_start" params="anim=anim_tryton_fadein_start" />
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
<action handler="set" params="target_property=ui:outgame:global_background:active|value=1" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" />
</proc>
<proc id="proc_intro_next_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_intro_back_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_tryton_fadeout_finished">
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc>
<proc id="proc_tryton_fadeout_finished2">
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" />
<action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
</proc>
<!-- Skip intro -->
<proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<action handler="anim_stop" params="anim=anim_intro_logo" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<!-- loop forever -->
<proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<group id="global_background" sizeref="wh" w="0" h="0" on_active="anim_start" on_active_params="anim=anim_atys_turn" active="false" overlappable="false" >
<view type="bitmap" id="stars" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="0" sizeref="wh" w="0" h="0" texture="default_bg.tga" scale="true" />
<!-- ATYS -->
<scene3d id="back3d" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" curcam="cam"
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
<camera id="cam" fov="45" pos="-3.18 -13.0 0.0" target="-3.23 0 0.0" roll="0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
</scene3d>
</group>
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="proc" on_active_params="proc_active_intro_logo" >
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<!--
<view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128"
global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
-->
<!-- EXIT BUTTON -->
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255"
onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" />
<view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255"
onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" />
<view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0"
onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<!-- TRYTON's TEXT -->
<!--
<group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
-->
<view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255"
posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<!-- Intro -->
<anim id="anim_intro_logo" duration="60.0" disable_buttons="false" >
<track type="linear" target="global_background:back3d:cam:posx">
<key time="0.0" value="-5.0" />
<key time="60.0" value="-3.18"/>
</track>
<track type="linear" target="global_background:back3d:cam:tgtx">
<key time="0.0" value="-25.0" />
<key time="60.0" value="-3.23"/>
</track>
<track type="linear" target="global_background:back3d:cam:tgtz">
<key time="0.0" value="20.0" />
<key time="60.0" value="0"/>
</track>
<track type="linear" target="global_background:back3d:cam:posy">
<key time="0.0" value="-45.0" />
<key time="60.0" value="-13.0"/>
</track>
</anim>
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true" >
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255"/>
</track>
</anim>
<anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true" >
<track type="linear" target="global_background:stars:alpha">
<key time="0.0" value="0.0" />
<key time="1.0" value="0.0" />
<key time="3.0" value="255"/>
</track>
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0"/>
<key time="4.0" value="255"/>
</track>
</anim>
<anim id="anim_tryton_fadeout" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_tryton_fadeout_finished" >
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0"/>
</track>
</anim>
<!-- atys is turning around forever -->
<anim id="anim_atys_turn" duration="360.0" disable_buttons="false"
on_finish="proc" on_finish_params="proc_when_atys_turn_finished" >
<track type="linear" target="global_background:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="-360.0"/>
</track>
<track type="linear" target="global_background:back3d:atm1:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="720.0"/>
</track>
<track type="linear" target="global_background:back3d:atm2:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="-720.0"/>
</track>
</anim>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1" />
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<proc id="proc_next_screen_when_intro_logo_finished">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="anim_start" params="anim=anim_tryton_fadein_start" />
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
<action handler="set" params="target_property=ui:outgame:global_background:active|value=1" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" />
</proc>
<proc id="proc_intro_next_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_intro_back_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_tryton_fadeout_finished">
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc>
<proc id="proc_tryton_fadeout_finished2">
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,2)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton3.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,3)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton4.tga'" />
<action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
</proc>
<!-- Skip intro -->
<proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<action handler="anim_stop" params="anim=anim_intro_logo" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posx|value=-3.18" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:posy|value=-13.0" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtx|value=-3.23" />
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<!-- loop forever -->
<proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<group id="global_background" sizeref="wh" w="0" h="0" on_active="anim_start" on_active_params="anim=anim_atys_turn" active="false" overlappable="false">
<view type="bitmap" id="stars" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600" global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="0" sizeref="wh" w="0" h="0" texture="default_bg.tga" scale="true" />
<!-- ATYS -->
<scene3d id="back3d" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" curcam="cam" ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0">
<camera id="cam" fov="45" pos="-3.18 -13.0 0.0" target="-3.23 0 0.0" roll="0" />
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
</scene3d>
</group>
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="proc" on_active_params="proc_active_intro_logo">
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<!--
<view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="presents" render_layer="1" txtoffsetx="0" txtoffsety="176" txtwidth="128" txtheight="32"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128"
global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
-->
<!-- EXIT BUTTON -->
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 128 0 255" onclick_l="proc" params_l="proc_intro_skip" tooltip="uiSkipIntro" />
<view type="text" id="skip_txt" posparent="skip" posref="MR MR" x="-36" y="-1" hardtext="uiSkipTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" color="255 255 255 255" onclick_l="proc" params_l="proc_intro_next_step" tooltip="uiNextStep" />
<view type="text" id="next_txt" posparent="next" posref="MR MR" x="-36" y="-1" hardtext="uiNextTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16" tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" color="255 255 255 0" onclick_l="proc" params_l="proc_intro_back_step" tooltip="uiPrevStep" />
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
<!-- TRYTON's TEXT -->
<!--
<group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<group type="list" id="text_list" hardtext="uiTryton1" shadow="true" fontsize="36" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
-->
<view type="bitmap" id="tryton_text" render_layer="1" global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<!-- Intro -->
<anim id="anim_intro_logo" duration="60.0" disable_buttons="false">
<track type="linear" target="global_background:back3d:cam:posx">
<key time="0.0" value="-5.0" />
<key time="60.0" value="-3.18" />
</track>
<track type="linear" target="global_background:back3d:cam:tgtx">
<key time="0.0" value="-25.0" />
<key time="60.0" value="-3.23" />
</track>
<track type="linear" target="global_background:back3d:cam:tgtz">
<key time="0.0" value="20.0" />
<key time="60.0" value="0" />
</track>
<track type="linear" target="global_background:back3d:cam:posy">
<key time="0.0" value="-45.0" />
<key time="60.0" value="-13.0" />
</track>
</anim>
<anim id="anim_tryton_fadein" duration="1.0" disable_buttons="true">
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_tryton_fadein_start" duration="4.0" disable_buttons="true">
<track type="linear" target="global_background:stars:alpha">
<key time="0.0" value="0.0" />
<key time="1.0" value="0.0" />
<key time="3.0" value="255" />
</track>
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0" />
<key time="4.0" value="255" />
</track>
<track type="linear" target="logo_intro:skip:alpha,logo_intro:skip_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0" />
<key time="4.0" value="255" />
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="0" />
<key time="3.0" value="0" />
<key time="4.0" value="255" />
</track>
</anim>
<anim id="anim_tryton_fadeout" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_tryton_fadeout_finished">
<track type="linear" target="logo_intro:tryton_text:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="logo_intro:next:alpha,logo_intro:next_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="logo_intro:back:alpha,logo_intro:back_txt:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
<!-- atys is turning around forever -->
<anim id="anim_atys_turn" duration="360.0" disable_buttons="false" on_finish="proc" on_finish_params="proc_when_atys_turn_finished">
<track type="linear" target="global_background:back3d:atys:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="-360.0" />
</track>
<track type="linear" target="global_background:back3d:atm1:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="720.0" />
</track>
<track type="linear" target="global_background:back3d:atm2:roty">
<key time="0.0" value="0.0" />
<key time="360.0" value="-720.0" />
</track>
</anim>
</interface_config>

@ -1,39 +1,35 @@
<!-- **************************** -->
<!-- Outgame keyboard assignation -->
<!-- **************************** -->
<interface_config>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder"/>
<key name="KeyF4" ctrl="1" action="replay_movie"/>
<key name="KeyF5" ctrl="1" action="save_movie"/>
<!-- Text edit -->
<key name="KeyLEFT" action="edit_previous_char" context="edit"/>
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit"/>
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit"/>
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit"/>
<key name="KeyRIGHT" action="edit_next_char" context="edit"/>
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit"/>
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit"/>
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit"/>
<key name="KeyHOME" action="edit_goto_line_begin" context="edit"/>
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit"/>
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit"/>
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit"/>
<key name="KeyEND" action="edit_goto_line_end" context="edit"/>
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit"/>
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit"/>
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit"/>
<key name="KeyUP" action="edit_previous_line" context="edit"/>
<key name="KeyDOWN" action="edit_next_line" context="edit"/>
<key name="KeyDELETE" action="edit_delete_char" context="edit"/>
<key name="KeyC" ctrl="1" action="edit_copy" context="edit"/>
<key name="KeyV" ctrl="1" action="edit_paste" context="edit"/>
<key name="KeyX" ctrl="1" action="edit_cut" context="edit"/>
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit"/>
<key name="KeyTAB" action="edit_expand" context="edit"/>
<key name="KeyBACK" action="edit_back" context="edit"/>
<!-- Movie recorder -->
<key name="KeyF3" ctrl="1" action="toggle_movie_recorder" />
<key name="KeyF4" ctrl="1" action="replay_movie" />
<key name="KeyF5" ctrl="1" action="save_movie" />
<!-- Text edit -->
<key name="KeyLEFT" action="edit_previous_char" context="edit" />
<key name="KeyLEFT" shift="1" action="edit_select_previous_char" context="edit" />
<key name="KeyLEFT" ctrl="1" action="edit_previous_word" context="edit" />
<key name="KeyLEFT" ctrl="1" shift="1" action="edit_select_previous_word" context="edit" />
<key name="KeyRIGHT" action="edit_next_char" context="edit" />
<key name="KeyRIGHT" shift="1" action="edit_select_next_char" context="edit" />
<key name="KeyRIGHT" ctrl="1" action="edit_next_word" context="edit" />
<key name="KeyRIGHT" ctrl="1" shift="1" action="edit_select_next_word" context="edit" />
<key name="KeyHOME" action="edit_goto_line_begin" context="edit" />
<key name="KeyHOME" shift="1" action="edit_select_to_line_begin" context="edit" />
<key name="KeyHOME" ctrl="1" action="edit_goto_block_begin" context="edit" />
<key name="KeyHOME" ctrl="1" shift="1" action="edit_select_to_block_begin" context="edit" />
<key name="KeyEND" action="edit_goto_line_end" context="edit" />
<key name="KeyEND" shift="1" action="edit_select_to_line_end" context="edit" />
<key name="KeyEND" ctrl="1" action="edit_goto_block_end" context="edit" />
<key name="KeyEND" ctrl="1" shift="1" action="edit_select_to_block_end" context="edit" />
<key name="KeyUP" action="edit_previous_line" context="edit" />
<key name="KeyDOWN" action="edit_next_line" context="edit" />
<key name="KeyDELETE" action="edit_delete_char" context="edit" />
<key name="KeyC" ctrl="1" action="edit_copy" context="edit" />
<key name="KeyV" ctrl="1" action="edit_paste" context="edit" />
<key name="KeyX" ctrl="1" action="edit_cut" context="edit" />
<key name="KeyA" ctrl="1" action="edit_select_all" context="edit" />
<key name="KeyTAB" action="edit_expand" context="edit" />
<key name="KeyBACK" action="edit_back" context="edit" />
</interface_config>

@ -1,512 +1,319 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:LOCCLICKINFO" type="sint64" value="-1"/>
<variable entry="UI:TEMP:LOCCLICKDEST" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CHAR3D:LOC" type="sint64" value="-1"/>
<variable entry="UI:TEMP:LOCATIONBACKHOME" type="sint64" value="-1"/>
<variable entry="UI:TEMP:CHAR3D:DEST" type="sint64" value="-1"/>
<proc id="location_start">
<action handler="reset_pushed" params="dblink=ui:outgame:location" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:next:alpha|value=255" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-2" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-1" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=1" />
<action handler="anim_start" params="anim=anim_location_intro" />
</proc>
<proc id="location_finish">
</proc>
<proc id="location_when_outro_finished">
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D:DEST|dbsrc=UI:TEMP:LOCCLICKDEST" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="proc" params="proc_big_buttons_deactive" />
<action handler="anim_start" params="anim=anim_location_outro2" />
</proc>
<proc id="location_when_outro_finished2">
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<action handler="ask_create_char" cond="eq(@UI:TEMP:FROM,1)" params="name=ui:outgame:summary:eb|caracs=UI:TEMP:CARACS|charsum=UI:TEMP:CHAR3D|loc=UI:TEMP:CHAR3D:DEST" />
</proc>
<proc id="location_when_back_finished">
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="proc" params="proc_big_buttons_deactive" />
<action handler="anim_start" params="anim=anim_location_back2" />
</proc>
<proc id="location_when_back_finished2">
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,0)" params="dblink=UI:CURRENT_SCREEN|value=%screen_summary" />
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,1)" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_choice_location">
<action handler="play_sound" params="name=career_but_click" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=1"/>
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=@0" />
</proc>
<!-- BACK -->
<proc id="proc_choice_back_screen_location">
<action handler="play_sound" params="name=generic_prev_click" />
<action handler="anim_start" params="anim=anim_location_back" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=0" />
</proc>
<!-- HOME -->
<proc id="proc_choice_home_screen_location">
<action handler="play_sound" params="name=generic_home_click" />
<action handler="anim_start" params="anim=anim_location_back" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=1" />
</proc>
<!-- NEXT -->
<proc id="proc_choice_next_screen_location">
<action handler="play_sound" params="name=generic_next_click" />
<action handler="anim_start" params="anim=anim_location_outro" />
</proc>
<proc id="proc_loc_next_screen2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<!-- SERVER CREATE THE CHARACTER -->
<proc id="proc_loc_server_test">
<action handler="proc" params="proc_loc_next_screen2"
cond="and(eq(@UI:CURRENT_SCREEN,%screen_location),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_CHARS)"
action="proc" params="proc_loc_server_test" />
<!-- BIG BUTTONS PROC -->
<proc id="proc_big_buttons_active">
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=1" />
</proc>
<proc id="proc_big_buttons_deactive">
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=0" />
</proc>
<proc id="proc_big_location_1">
<action handler="set" params="target_property=ui:outgame:location:dest_1:pushed|value=1" />
<action handler="proc" params="proc_choice_location|1" />
</proc>
<proc id="proc_big_location_2">
<action handler="set" params="target_property=ui:outgame:location:dest_2:pushed|value=1" />
<action handler="proc" params="proc_choice_location|2" />
</proc>
<proc id="proc_big_location_3">
<action handler="set" params="target_property=ui:outgame:location:dest_3:pushed|value=1" />
<action handler="proc" params="proc_choice_location|3" />
</proc>
<proc id="proc_big_location_4">
<action handler="set" params="target_property=ui:outgame:location:dest_4:pushed|value=1" />
<action handler="proc" params="proc_choice_location|4" />
</proc>
<proc id="proc_big_location_5">
<action handler="set" params="target_property=ui:outgame:location:dest_5:pushed|value=1" />
<action handler="proc" params="proc_choice_location|5" />
</proc>
<!-- ******************* -->
<!-- * Select Location * -->
<!-- ******************* -->
<group id="location" w="800" h="600" posref="MM MM"
on_active="proc" on_active_params="location_start">
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-4" texture="blank.tga" color="0 0 0 255" scale="true" w="800" h="488" global_color="false" active="false" />
<!-- LOCATION BACK -->
<view type="bitmap" id="location_bg" render_layer="-3" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="newbie_map.tga" active="true" />
<view type="bitmap" id="dest1_sel" posparent="location_bg" posref="TL TL" x="140" y="-51" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest2_sel" posparent="location_bg" posref="TL TL" x="368" y="-168" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest3_sel" posparent="location_bg" posref="TR TR" x="-105" y="-169" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest4_sel" posparent="location_bg" posref="BL BL" x="204" y="155" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest5_sel" posparent="location_bg" posref="BR BR" x="-207" y="99" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,1)" target="dest1_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,2)" target="dest2_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,3)" target="dest3_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,4)" target="dest4_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,5)" target="dest5_sel:active" />
<!-- BLACK BOX (sert a faire les transition...) -->
<view type="bitmap" id="blackbox" posref="TL TL" x="0" y="-32" render_layer="1" texture="blank.tga" color="0 0 0 0" scale="true" w="800" h="488" global_color="false" />
<!-- Title -->
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiLocationTitle" fontsize="20"/>
<!-- BIG BUTTONS -->
<ctrl type="button" id="bdest_1" button_type="radio_button" posparent="location_bg" posref="TL TL" x="140" y="-51"
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga"
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255"
global_color_normal="false" global_color_pushed="false" global_color_over="false"
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest1"
onclick_l="proc" params_l="proc_big_location_1" />
<ctrl type="button" id="bdest_2" button_type="radio_button" posparent="location_bg" posref="TL TL" x="368" y="-168"
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga"
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255"
global_color_normal="false" global_color_pushed="false" global_color_over="false"
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest2"
onclick_l="proc" params_l="proc_big_location_2" />
<ctrl type="button" id="bdest_3" button_type="radio_button" posparent="location_bg" posref="TR TR" x="-105" y="-169"
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga"
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255"
global_color_normal="false" global_color_pushed="false" global_color_over="false"
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest3"
onclick_l="proc" params_l="proc_big_location_3" />
<ctrl type="button" id="bdest_4" button_type="radio_button" posparent="location_bg" posref="BL BL" x="204" y="155"
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga"
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255"
global_color_normal="false" global_color_pushed="false" global_color_over="false"
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest4"
onclick_l="proc" params_l="proc_big_location_4" />
<ctrl type="button" id="bdest_5" button_type="radio_button" posparent="location_bg" posref="BR BR" x="-207" y="99"
tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga"
color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255"
global_color_normal="false" global_color_pushed="false" global_color_over="false"
onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest5"
onclick_l="proc" params_l="proc_big_location_5" />
<!-- TIMELINE -->
<group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16" >
<view type="bitmap" id="b3" posref="MM MM" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b2" posparent="b3" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b4" posparent="b3" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b1" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b5" posparent="b4" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="back_bg" posref="TL TL" x="0" y="0" texture="time_back.tga" global_color="false" />
<view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" />
<view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" />
<view type="bitmap" id="line" posparent="next_bg" posref="ML MR" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" />
</group>
<!-- Buttons timeline -->
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16"
tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga"
onover="play_sound" params_over="name=generic_prev_over"
onclick_l="proc" params_l="proc_choice_back_screen_location" tooltip="uiPrevStep" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" color="255 255 255 255"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga"
onover="play_sound" params_over="name=generic_next_over"
onclick_l="proc" params_l="proc_choice_next_screen_location" tooltip="uiNextStep" active="false" />
<!-- Buttons Home -->
<ctrl type="button" id="home" button_type="push_button" posref="TR MM" x="-24" y="-16"
tx_normal="button_home.tga" tx_pushed="button_home.tga" tx_over="button_home_over.tga"
onover="play_sound" params_over="name=generic_home_over"
onclick_l="proc" params_l="proc_choice_home_screen_location" tooltip="uiReturnCharSel" />
<!-- Buttons locations -->
<ctrl type="button" button_type="radio_button" id="dest_1" posref="BL MM" x="288" y="32"
tx_normal="logo_d1.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d1_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|1" tooltip="uiLocDest1"/>
<ctrl type="button" button_type="radio_button" id="dest_2" posref="BL MM" x="344" y="32"
tx_normal="logo_d2.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d2_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|2" tooltip="uiLocDest2"/>
<ctrl type="button" button_type="radio_button" id="dest_3" posref="BL MM" x="400" y="32"
tx_normal="logo_d3.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d3_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|3" tooltip="uiLocDest3"/>
<ctrl type="button" button_type="radio_button" id="dest_4" posref="BL MM" x="456" y="32"
tx_normal="logo_d4.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d4_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|4" tooltip="uiLocDest4"/>
<ctrl type="button" button_type="radio_button" id="dest_5" posref="BL MM" x="512" y="32"
tx_normal="logo_d5.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d5_pushed.tga"
onover="play_sound" params_over="name=career_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|5" tooltip="uiLocDest5"/>
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" posparent="blackbox" x="0" y="1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="bot_line" posref="BL BL" posparent="blackbox" x="0" y="-1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="vertical_line" posparent="blackbox" posref="ML ML" x="290" y="0" render_layer="1" texture="border_ver.tga" scale="true" w="1" sizeref="h" h="0" color="255 255 255 0" global_color="false" />
</group>
<link expr="eq(@UI:CURRENT_SCREEN, %screen_location)" target="location:active" />
<anim id="anim_location_intro" duration="3.0" loop="false" reverse="false" on_finish="proc" on_finish_params="proc_big_buttons_active" >
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="0" />
<key time="0.35" value="488" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-276" />
<key time="0.35" value="-32" />
</track>
<track type="linear" target="location:location_bg:alpha">
<key time="0.5" value="0" />
<key time="1.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="0.0" value="20" />
<key time="1.0" value="-6" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:back:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="2.5" value="255" />
<key time="3.0" value="0" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_location_outro" duration="2.0" on_finish="proc" on_finish_params="location_when_outro_finished" >
<track type="linear" target="location:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:next:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:location:next:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_location_outro2" duration="0.35" on_finish="proc" on_finish_params="location_when_outro_finished2" >
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_location_back" duration="2.0" on_finish="proc" on_finish_params="location_when_back_finished" >
<track type="linear" target="location:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_location_back2" duration="0.35" on_finish="proc" on_finish_params="location_when_back_finished2" >
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:LOCCLICKINFO" type="sint64" value="-1" />
<variable entry="UI:TEMP:LOCCLICKDEST" type="sint64" value="-1" />
<variable entry="UI:TEMP:CHAR3D:LOC" type="sint64" value="-1" />
<variable entry="UI:TEMP:LOCATIONBACKHOME" type="sint64" value="-1" />
<variable entry="UI:TEMP:CHAR3D:DEST" type="sint64" value="-1" />
<proc id="location_start">
<action handler="reset_pushed" params="dblink=ui:outgame:location" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:next:alpha|value=255" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-2" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=-1" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=1" />
<action handler="anim_start" params="anim=anim_location_intro" />
</proc>
<proc id="location_finish"></proc>
<proc id="location_when_outro_finished">
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D:DEST|dbsrc=UI:TEMP:LOCCLICKDEST" />
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="proc" params="proc_big_buttons_deactive" />
<action handler="anim_start" params="anim=anim_location_outro2" />
</proc>
<proc id="location_when_outro_finished2">
<action handler="set" params="target_property=ui:outgame:location:next:active|value=0" />
<action handler="ask_create_char" cond="eq(@UI:TEMP:FROM,1)" params="name=ui:outgame:summary:eb|caracs=UI:TEMP:CARACS|charsum=UI:TEMP:CHAR3D|loc=UI:TEMP:CHAR3D:DEST" />
</proc>
<proc id="location_when_back_finished">
<action handler="set" params="target_property=ui:outgame:location:location_bg:active|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=-1" />
<action handler="proc" params="proc_big_buttons_deactive" />
<action handler="anim_start" params="anim=anim_location_back2" />
</proc>
<proc id="location_when_back_finished2">
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,0)" params="dblink=UI:CURRENT_SCREEN|value=%screen_summary" />
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,1)" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_choice_location">
<action handler="play_sound" params="name=career_but_click" />
<action handler="set" params="target_property=ui:outgame:location:next:active|value=1" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=@0" />
</proc>
<!-- BACK -->
<proc id="proc_choice_back_screen_location">
<action handler="play_sound" params="name=generic_prev_click" />
<action handler="anim_start" params="anim=anim_location_back" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=0" />
</proc>
<!-- HOME -->
<proc id="proc_choice_home_screen_location">
<action handler="play_sound" params="name=generic_home_click" />
<action handler="anim_start" params="anim=anim_location_back" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=1" />
</proc>
<!-- NEXT -->
<proc id="proc_choice_next_screen_location">
<action handler="play_sound" params="name=generic_next_click" />
<action handler="anim_start" params="anim=anim_location_outro" />
</proc>
<proc id="proc_loc_next_screen2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<!-- SERVER CREATE THE CHARACTER -->
<proc id="proc_loc_server_test">
<action handler="proc" params="proc_loc_next_screen2" cond="and(eq(@UI:CURRENT_SCREEN,%screen_location),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_loc_server_test" />
<!-- BIG BUTTONS PROC -->
<proc id="proc_big_buttons_active">
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=1" />
</proc>
<proc id="proc_big_buttons_deactive">
<action handler="set" params="target_property=ui:outgame:location:bdest_1:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_3:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_4:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:bdest_5:active|value=0" />
</proc>
<proc id="proc_big_location_1">
<action handler="set" params="target_property=ui:outgame:location:dest_1:pushed|value=1" />
<action handler="proc" params="proc_choice_location|1" />
</proc>
<proc id="proc_big_location_2">
<action handler="set" params="target_property=ui:outgame:location:dest_2:pushed|value=1" />
<action handler="proc" params="proc_choice_location|2" />
</proc>
<proc id="proc_big_location_3">
<action handler="set" params="target_property=ui:outgame:location:dest_3:pushed|value=1" />
<action handler="proc" params="proc_choice_location|3" />
</proc>
<proc id="proc_big_location_4">
<action handler="set" params="target_property=ui:outgame:location:dest_4:pushed|value=1" />
<action handler="proc" params="proc_choice_location|4" />
</proc>
<proc id="proc_big_location_5">
<action handler="set" params="target_property=ui:outgame:location:dest_5:pushed|value=1" />
<action handler="proc" params="proc_choice_location|5" />
</proc>
<!-- ******************* -->
<!-- * Select Location * -->
<!-- ******************* -->
<group id="location" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="location_start">
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-4" texture="blank.tga" color="0 0 0 255" scale="true" w="800" h="488" global_color="false" active="false" />
<!-- LOCATION BACK -->
<view type="bitmap" id="location_bg" render_layer="-3" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="newbie_map.tga" active="true" />
<view type="bitmap" id="dest1_sel" posparent="location_bg" posref="TL TL" x="140" y="-51" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest2_sel" posparent="location_bg" posref="TL TL" x="368" y="-168" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest3_sel" posparent="location_bg" posref="TR TR" x="-105" y="-169" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest4_sel" posparent="location_bg" posref="BL BL" x="204" y="155" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<view type="bitmap" id="dest5_sel" posparent="location_bg" posref="BR BR" x="-207" y="99" render_layer="1" texture="dest_pushed.tga" global_color="false" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,1)" target="dest1_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,2)" target="dest2_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,3)" target="dest3_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,4)" target="dest4_sel:active" />
<link expr="eq(@UI:TEMP:LOCCLICKDEST,5)" target="dest5_sel:active" />
<!-- BLACK BOX (sert a faire les transition...) -->
<view type="bitmap" id="blackbox" posref="TL TL" x="0" y="-32" render_layer="1" texture="blank.tga" color="0 0 0 0" scale="true" w="800" h="488" global_color="false" />
<!-- Title -->
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiLocationTitle" fontsize="20" />
<!-- BIG BUTTONS -->
<ctrl type="button" id="bdest_1" button_type="radio_button" posparent="location_bg" posref="TL TL" x="140" y="-51" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest1" onclick_l="proc" params_l="proc_big_location_1" />
<ctrl type="button" id="bdest_2" button_type="radio_button" posparent="location_bg" posref="TL TL" x="368" y="-168" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest2" onclick_l="proc" params_l="proc_big_location_2" />
<ctrl type="button" id="bdest_3" button_type="radio_button" posparent="location_bg" posref="TR TR" x="-105" y="-169" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest3" onclick_l="proc" params_l="proc_big_location_3" />
<ctrl type="button" id="bdest_4" button_type="radio_button" posparent="location_bg" posref="BL BL" x="204" y="155" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest4" onclick_l="proc" params_l="proc_big_location_4" />
<ctrl type="button" id="bdest_5" button_type="radio_button" posparent="location_bg" posref="BR BR" x="-207" y="99" tx_normal="dest_over.tga" tx_pushed="dest_pushed.tga" tx_over="dest_over.tga" color="255 255 255 0" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_normal="false" global_color_pushed="false" global_color_over="false" onover="play_sound" params_over="name=specie_but_over" tooltip="uiLocDest5" onclick_l="proc" params_l="proc_big_location_5" />
<!-- TIMELINE -->
<group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16">
<view type="bitmap" id="b3" posref="MM MM" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b2" posparent="b3" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b4" posparent="b3" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b1" posparent="b2" posref="TL TR" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="b5" posparent="b4" posref="TR TL" x="0" y="0" texture="time_button.tga" global_color="false" />
<view type="bitmap" id="back_bg" posref="TL TL" x="0" y="0" texture="time_back.tga" global_color="false" />
<view type="bitmap" id="next_bg" posref="TR TR" x="0" y="0" texture="time_next.tga" global_color="false" />
<view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" />
<view type="bitmap" id="line" posparent="next_bg" posref="ML MR" x="0" y="0" texture="time_line.tga" scale="true" w="188" h="4" global_color="false" />
</group>
<!-- Buttons timeline -->
<ctrl type="button" id="back" button_type="push_button" posref="BL BL" x="8" y="16" tx_normal="button_back.tga" tx_pushed="button_back_over.tga" tx_over="button_back_over.tga" onover="play_sound" params_over="name=generic_prev_over" onclick_l="proc" params_l="proc_choice_back_screen_location" tooltip="uiPrevStep" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" color="255 255 255 255" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" onover="play_sound" params_over="name=generic_next_over" onclick_l="proc" params_l="proc_choice_next_screen_location" tooltip="uiNextStep" active="false" />
<!-- Buttons Home -->
<ctrl type="button" id="home" button_type="push_button" posref="TR MM" x="-24" y="-16" tx_normal="button_home.tga" tx_pushed="button_home.tga" tx_over="button_home_over.tga" onover="play_sound" params_over="name=generic_home_over" onclick_l="proc" params_l="proc_choice_home_screen_location" tooltip="uiReturnCharSel" />
<!-- Buttons locations -->
<ctrl type="button" button_type="radio_button" id="dest_1" posref="BL MM" x="288" y="32" tx_normal="logo_d1.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d1_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|1" tooltip="uiLocDest1" />
<ctrl type="button" button_type="radio_button" id="dest_2" posref="BL MM" x="344" y="32" tx_normal="logo_d2.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d2_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|2" tooltip="uiLocDest2" />
<ctrl type="button" button_type="radio_button" id="dest_3" posref="BL MM" x="400" y="32" tx_normal="logo_d3.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d3_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|3" tooltip="uiLocDest3" />
<ctrl type="button" button_type="radio_button" id="dest_4" posref="BL MM" x="456" y="32" tx_normal="logo_d4.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d4_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|4" tooltip="uiLocDest4" />
<ctrl type="button" button_type="radio_button" id="dest_5" posref="BL MM" x="512" y="32" tx_normal="logo_d5.tga" tx_over="button_blank_over.tga" tx_pushed="logo_d5_pushed.tga" onover="play_sound" params_over="name=career_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_choice_location|5" tooltip="uiLocDest5" />
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" posparent="blackbox" x="0" y="1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="bot_line" posref="BL BL" posparent="blackbox" x="0" y="-1" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
<view type="bitmap" id="vertical_line" posparent="blackbox" posref="ML ML" x="290" y="0" render_layer="1" texture="border_ver.tga" scale="true" w="1" sizeref="h" h="0" color="255 255 255 0" global_color="false" />
</group>
<link expr="eq(@UI:CURRENT_SCREEN, %screen_location)" target="location:active" />
<anim id="anim_location_intro" duration="3.0" loop="false" reverse="false" on_finish="proc" on_finish_params="proc_big_buttons_active">
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="0" />
<key time="0.35" value="488" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-276" />
<key time="0.35" value="-32" />
</track>
<track type="linear" target="location:location_bg:alpha">
<key time="0.5" value="0" />
<key time="1.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="0.0" value="20" />
<key time="1.0" value="-6" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:back:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="2.5" value="255" />
<key time="3.0" value="0" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_location_outro" duration="2.0" on_finish="proc" on_finish_params="location_when_outro_finished">
<track type="linear" target="location:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:next:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:location:next:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_location_outro2" duration="0.35" on_finish="proc" on_finish_params="location_when_outro_finished2">
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_location_back" duration="2.0" on_finish="proc" on_finish_params="location_when_back_finished">
<track type="linear" target="location:back:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_1:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_2:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_3:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_4:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:dest_5:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="location:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="location:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="location:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_location_back2" duration="0.35" on_finish="proc" on_finish_params="location_when_back_finished2">
<track type="linear" target="location:bg:h,location:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="location:bg:y,location:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,258 +1,204 @@
<!-- ****************************************** -->
<!-- * WIDGETS * -->
<!-- ****************************************** -->
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<proc id="proc_nothing">
</proc>
<!-- *********** -->
<!-- * MODES * -->
<!-- *********** -->
<template name="modes" id="" posparent="parent" posref="TL TL" x="0" y="0" w="40" h="28"
onlist_modal="" restore_value="" mode_min="" mode_max="" >
<!-- the big button is used to restore the current specific mode -->
<ctrl type="button" id="#id" button_type="radio_button" posparent="#posparent" x="#x" y="#y" posref="#posref"
tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="W_button_28_over.tga"
color="255 255 255 128" col_pushed="255 255 255 255"
onclick_l="copy" params_l="dbdst=UI:SAVE:CURRENT_MODE|dbsrc=#restore_value" global_color_pushed="false" />
<view type="bitmap" id="sep#id" posparent="#id" posref="BR BL" scale="true" x="0" y="2" w="2" h="10" texture="W_line_ver.tga" />
<!-- the arrow button open a modal to select the new specific mode -->
<ctrl type="button" id="arrow_up#id" button_type="push_button" posparent="sep#id" posref="TR TL"
tx_normal="W_arrow_up_2.tga" tx_pushed="W_arrow_up_2.tga" tx_over="W_button_10_over.tga"
color="255 255 255 128" col_pushed="255 255 255 255"
onclick_l="enter_modal" params_l="group=#onlist_modal" />
<!-- the big button is pushed if one of our mode -->
<link expr="and( ge(@UI:SAVE:CURRENT_MODE,#mode_min), le(@UI:SAVE:CURRENT_MODE,#mode_max) )" target="#id:pushed"/>
</template>
<!-- ******************* -->
<!-- * SELECT NUMBER * -->
<!-- ******************* -->
<template name="SNH" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="26" h="16" delta="1" >
<group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta" >
<view type="bitmap" id="slot_number" posref="TL TL" texture="W_slot_number.tga" />
<view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
<ctrl type="button" id="arrow_up" button_type="push_button" posref="TR TR" tx_normal="W_arrow_up_3.tga" tx_pushed="W_arrow_up_3.tga" tx_over="W_button_08_over.tga" />
<ctrl type="button" id="arrow_down" button_type="push_button" posref="BR BR" tx_normal="W_arrow_down_3.tga" tx_pushed="W_arrow_down_3.tga" tx_over="W_button_08_over.tga" />
</group>
</template>
<template name="SNV" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="16" h="40" delta="1" >
<group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta" >
<view type="bitmap" id="slot_number" posref="MM MM" texture="W_slot_number.tga" />
<view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
<ctrl type="button" id="arrow_up" button_type="push_button" posref="TM TM" tx_normal="W_arrow_up_1.tga" tx_pushed="W_arrow_up_1.tga" tx_over="W_button_12_over.tga" />
<ctrl type="button" id="arrow_down" button_type="push_button" posref="BM BM" tx_normal="W_arrow_down_1.tga" tx_pushed="W_arrow_down_1.tga" tx_over="W_button_12_over.tga" />
</group>
</template>
<!-- template for border inside of a group -->
<template name="inner_thin_border" posparent="parent" keep="true">
<view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posparent="#posparent" posref="MM MM" sizeref="hw" w="-8" h="-8"/>
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" posparent="#posparent"/>
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" posparent="#posparent"/>
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" posparent="#posparent"/>
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" posparent="#posparent"/>
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4"/>
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4"/>
<view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4"/>
<view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4"/>
</template>
<!-- ********** -->
<!-- * CHAT * -->
<!-- ********** -->
<template name="chat_box" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="64" sizeref="" min_height="64" max_height="256" maxelements="100" keep="true" chat="false">
<group type="scroll_text" id="#id" w="#w" sizeref="#sizeref" posparent="#posparent" posref="#posref" y="#y" x="#x" min_height="#min_height" max_height="#max_height">
<ctrl type="button" id="button_add" posref="TR TR" button_type="push_button" tx_normal="W_scale_more_3.tga" tx_pushed="W_scale_more_3.tga" tx_over="W_button_08_over.tga"/>
<ctrl type="button" id="button_sub" posref="TL TR" posparent="button_add" x="-4" button_type="push_button" tx_normal="W_scale_less_3.tga" tx_pushed="W_scale_less_3.tga" tx_over="W_button_08_over.tga"/>
<group id="black" posref="BR BR" sizeref="hw" w="-12" h="-12" />
<instance template="inner_thin_border" posparent="black" />
<group type="list" id="text_list" chat="#chat" posref="BL BL" posparent="black" x="2" y="2" space="3" sizeref="hw" w="-4" h="-4" maxelements="#maxelements"/>
<ctrl type="scroll" id="scroll_bar" posref="BL BL" w="8" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga"/>
</group>
</template>
<!-- ********************* -->
<!-- * EDIT BOX WIDGET * -->
<!-- ********************* -->
<template name="edit_box_widget" posref="TL TL" text_x="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0"
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
enter_loose_focus="true" prompt="&gt;"
max_num_chars="255"
max_num_bytes="0"
menu_r=""
onchange=""
onchange_params=""
entry_type="text"
keep="true"
max_historic="40"
fontsize="12"
>
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h">
<group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_bytes="#max_num_bytes" prompt="#prompt" enter_loose_focus="#enter_loose_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" >
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga"/>
<view id="edit_text" type="text" x="#text_x" posref="#text_ref" multi_line="#multi_line" fontsize="#fontsize" shadow="true" hardtext="" global_color="false"/>
</group>
<!-- border around the list -->
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" />
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" />
<view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4"/>
<view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4"/>
<view type="bitmap" id="lb" texture="W_box_left.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="4"/>
<view type="bitmap" id="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4"/>
</group>
</template>
<!-- **************** -->
<!-- * BOX WIDGET * -->
<!-- **************** -->
<template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
<group id="bg" sizeref="hw" h="0" w="0" />
<view type="bitmap" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga"/>
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga"/>
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4"/>
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4"/>
<view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4"/>
<view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4"/>
</group>
</template>
<!-- template for the inner border of a dialog, with thick border on the left -->
<template name="inner_thick_border" id="inner_thick_border" posparent="parent" keep="true">
<group id="#id" posref="TL TL" sizeref="hw">
<view type="bitmap" id="tlb" texture="W_L0_TL.tga" posparent="#posparent" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_L0_TR.tga" posparent="#posparent" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_L0_BR.tga" posparent="#posparent" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_L0_BL.tga" posparent="#posparent" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_L0_T.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="bb" texture="W_L0_B.tga" posparent="#posparent" posref="BL BL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="lb" texture="W_L0_L.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="h" h="-16" w="24" y="-8" />
<view type="bitmap" id="rb" texture="W_L0_R.tga" posparent="#posparent" posref="TR TR" scale="true" sizeref="h" h="-16" w="8" y="-8" />
</group>
</template>
<template name="window_border_black" posparent="parent">
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
</template>
<group type="modal" id="warning_box" exit_click_out="true" posref="BL TL" w="400" child_resize_h="true" child_resize_hmargin="16" mouse_pos="false" on_enter="leave_modal"
>
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="123 8 8 192" global_color="false" />
<instance template="window_border_black" id="bord" posref="MM MM" />
<view type="text" id="text" posref="MM MM" x="10" w="120" y="0" color="233 197 42 255" fontsize="18" shadow="true" multi_line="true" />
<view type="bitmap" id="warn" posparent="text" posref="ML MR" x="-2" y="2" texture="warning.tga" global_color="false" />
<!--
<ctrl type="button" id="ok" button_type="push_button" posparent="text" posref="BM TM" x="-10" y="-8" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
-->
</group>
<!-- ***************** -->
<!-- * CONTEXT HELP * -->
<!-- ***************** -->
<group id="context_help" h="16" child_resize_w="true" child_resize_wmargin="12" posref="BL BL" >
<!--Decoration-->
<view type="bitmap" id="midblack" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="0 0 0 255" texture="blank.tga" />
<view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="255 210 40 255" texture="blank.tga" />
<!--System-->
<view type="text" id="text" posref="MM MM" color="0 0 0 255" fontsize="12" shadow="false" multi_line="false" />
</group>
<!-- modal box to choose the number of item to drop/destroy -->
<!--
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<proc id="proc_nothing"></proc>
<!-- *********** -->
<!-- * MODES * -->
<!-- *********** -->
<template name="modes" id="" posparent="parent" posref="TL TL" x="0" y="0" w="40" h="28" onlist_modal="" restore_value="" mode_min="" mode_max="">
<!-- the big button is used to restore the current specific mode -->
<ctrl type="button" id="#id" button_type="radio_button" posparent="#posparent" x="#x" y="#y" posref="#posref" tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="W_button_28_over.tga" color="255 255 255 128" col_pushed="255 255 255 255" onclick_l="copy" params_l="dbdst=UI:SAVE:CURRENT_MODE|dbsrc=#restore_value" global_color_pushed="false" />
<view type="bitmap" id="sep#id" posparent="#id" posref="BR BL" scale="true" x="0" y="2" w="2" h="10" texture="W_line_ver.tga" />
<!-- the arrow button open a modal to select the new specific mode -->
<ctrl type="button" id="arrow_up#id" button_type="push_button" posparent="sep#id" posref="TR TL" tx_normal="W_arrow_up_2.tga" tx_pushed="W_arrow_up_2.tga" tx_over="W_button_10_over.tga" color="255 255 255 128" col_pushed="255 255 255 255" onclick_l="enter_modal" params_l="group=#onlist_modal" />
<!-- the big button is pushed if one of our mode -->
<link expr="and( ge(@UI:SAVE:CURRENT_MODE,#mode_min), le(@UI:SAVE:CURRENT_MODE,#mode_max) )" target="#id:pushed" />
</template>
<!-- ******************* -->
<!-- * SELECT NUMBER * -->
<!-- ******************* -->
<template name="SNH" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="26" h="16" delta="1">
<group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta">
<view type="bitmap" id="slot_number" posref="TL TL" texture="W_slot_number.tga" />
<view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
<ctrl type="button" id="arrow_up" button_type="push_button" posref="TR TR" tx_normal="W_arrow_up_3.tga" tx_pushed="W_arrow_up_3.tga" tx_over="W_button_08_over.tga" />
<ctrl type="button" id="arrow_down" button_type="push_button" posref="BR BR" tx_normal="W_arrow_down_3.tga" tx_pushed="W_arrow_down_3.tga" tx_over="W_button_08_over.tga" />
</group>
</template>
<template name="SNV" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="16" h="40" delta="1">
<group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta">
<view type="bitmap" id="slot_number" posref="MM MM" texture="W_slot_number.tga" />
<view type="text" id="number" posparent="slot_number" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
<ctrl type="button" id="arrow_up" button_type="push_button" posref="TM TM" tx_normal="W_arrow_up_1.tga" tx_pushed="W_arrow_up_1.tga" tx_over="W_button_12_over.tga" />
<ctrl type="button" id="arrow_down" button_type="push_button" posref="BM BM" tx_normal="W_arrow_down_1.tga" tx_pushed="W_arrow_down_1.tga" tx_over="W_button_12_over.tga" />
</group>
</template>
<!-- template for border inside of a group -->
<template name="inner_thin_border" posparent="parent" keep="true">
<view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posparent="#posparent" posref="MM MM" sizeref="hw" w="-8" h="-8" />
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" posparent="#posparent" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" posparent="#posparent" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" posparent="#posparent" />
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" posparent="#posparent" />
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4" />
<view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4" />
</template>
<!-- ********** -->
<!-- * CHAT * -->
<!-- ********** -->
<template name="chat_box" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="64" sizeref="" min_height="64" max_height="256" maxelements="100" keep="true" chat="false">
<group type="scroll_text" id="#id" w="#w" sizeref="#sizeref" posparent="#posparent" posref="#posref" y="#y" x="#x" min_height="#min_height" max_height="#max_height">
<ctrl type="button" id="button_add" posref="TR TR" button_type="push_button" tx_normal="W_scale_more_3.tga" tx_pushed="W_scale_more_3.tga" tx_over="W_button_08_over.tga" />
<ctrl type="button" id="button_sub" posref="TL TR" posparent="button_add" x="-4" button_type="push_button" tx_normal="W_scale_less_3.tga" tx_pushed="W_scale_less_3.tga" tx_over="W_button_08_over.tga" />
<group id="black" posref="BR BR" sizeref="hw" w="-12" h="-12" />
<instance template="inner_thin_border" posparent="black" />
<group type="list" id="text_list" chat="#chat" posref="BL BL" posparent="black" x="2" y="2" space="3" sizeref="hw" w="-4" h="-4" maxelements="#maxelements" />
<ctrl type="scroll" id="scroll_bar" posref="BL BL" w="8" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
</group>
</template>
<!-- ********************* -->
<!-- * EDIT BOX WIDGET * -->
<!-- ********************* -->
<template name="edit_box_widget" posref="TL TL" text_x="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt="&gt;" max_num_chars="255" max_num_bytes="0" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="12">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h">
<group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_bytes="#max_num_bytes" prompt="#prompt" enter_loose_focus="#enter_loose_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" />
<view id="edit_text" type="text" x="#text_x" posref="#text_ref" multi_line="#multi_line" fontsize="#fontsize" shadow="true" hardtext="" global_color="false" />
</group>
<!-- border around the list -->
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" />
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" />
<view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4" />
<view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4" />
<view type="bitmap" id="lb" texture="W_box_left.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="4" />
<view type="bitmap" id="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4" />
</group>
</template>
<!-- **************** -->
<!-- * BOX WIDGET * -->
<!-- **************** -->
<template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
<group id="bg" sizeref="hw" h="0" w="0" />
<view type="bitmap" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" />
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" />
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" />
<view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" />
</group>
</template>
<!-- template for the inner border of a dialog, with thick border on the left -->
<template name="inner_thick_border" id="inner_thick_border" posparent="parent" keep="true">
<group id="#id" posref="TL TL" sizeref="hw">
<view type="bitmap" id="tlb" texture="W_L0_TL.tga" posparent="#posparent" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_L0_TR.tga" posparent="#posparent" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_L0_BR.tga" posparent="#posparent" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_L0_BL.tga" posparent="#posparent" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_L0_T.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="bb" texture="W_L0_B.tga" posparent="#posparent" posref="BL BL" scale="true" sizeref="w" w="-32" h="8" x="24" />
<view type="bitmap" id="lb" texture="W_L0_L.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="h" h="-16" w="24" y="-8" />
<view type="bitmap" id="rb" texture="W_L0_R.tga" posparent="#posparent" posref="TR TR" scale="true" sizeref="h" h="-16" w="8" y="-8" />
</group>
</template>
<template name="window_border_black" posparent="parent">
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-2" h="1" color="0 0 0 255" />
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="1" h="0" color="0 0 0 255" />
</template>
<group type="modal" id="warning_box" exit_click_out="true" posref="BL TL" w="400" child_resize_h="true" child_resize_hmargin="16" mouse_pos="false" on_enter="leave_modal">
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="123 8 8 192" global_color="false" />
<instance template="window_border_black" id="bord" posref="MM MM" />
<view type="text" id="text" posref="MM MM" x="10" w="120" y="0" color="233 197 42 255" fontsize="18" shadow="true" multi_line="true" />
<view type="bitmap" id="warn" posparent="text" posref="ML MR" x="-2" y="2" texture="warning.tga" global_color="false" />
<!--
<ctrl type="button" id="ok" button_type="push_button" posparent="text" posref="BM TM" x="-10" y="-8" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
-->
</group>
<!-- ***************** -->
<!-- * CONTEXT HELP * -->
<!-- ***************** -->
<group id="context_help" h="16" child_resize_w="true" child_resize_wmargin="12" posref="BL BL">
<!--Decoration-->
<view type="bitmap" id="midblack" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="0 0 0 255" texture="blank.tga" />
<view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="255 210 40 255" texture="blank.tga" />
<!--System-->
<view type="text" id="text" posref="MM MM" color="0 0 0 255" fontsize="12" shadow="false" multi_line="false" />
</group>
<!-- modal box to choose the number of item to drop/destroy -->
<!--
<group type="modal" id="drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8"
on_active="proc" on_active_params="setup_drop_destroy_item_modal"
on_enter="proc"
on_enter_params="drop_destroy_item_quantity_modal_ok"
>
<view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DESTROY" global_color="false" color="233 197 42 255" />
<view type="text" id="drop_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DROP" global_color="false" color="233 197 42 255" />
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" />
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
<instance template="edit_box_widget" entry_type="positive_integer" id="edit" posparent="sheet" posref="MR ML" x="16" text_x="-2" text_ref="BR BR" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="2"
onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:QUANTITY|update_text=false" onenter="proc" params="drop_destroy_item_quantity_modal_ok" max_historic="0" />
<ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="drop_destroy_item_quantity_modal_ok" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
<! - link to display the right text (drop or destroy) - >
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
<view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DESTROY" global_color="false" color="233 197 42 255" />
<view type="text" id="drop_text" posref="TL TL" x="20" y="-4" fontsize="12" shadow="true" hardtext="QUANTITY TO DROP" global_color="false" color="233 197 42 255" />
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" />
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
<instance template="edit_box_widget" entry_type="positive_integer" id="edit" posparent="sheet" posref="MR ML" x="16" text_x="-2" text_ref="BR BR" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="2"
onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:QUANTITY|update_text=false" onenter="proc" params="drop_destroy_item_quantity_modal_ok" max_historic="0" />
<ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="drop_destroy_item_quantity_modal_ok" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
<! - link to display the right text (drop or destroy) - >
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
</group>
-->
<!-- confirm drop/destroy item -->
<!--
<!-- confirm drop/destroy item -->
<!--
<proc id="confirm_drop_destroy_item">
<action handler="leave_modal" params=""/>
<action cond="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="drop_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/>
<action cond="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="destroy_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/>
<action handler="leave_modal" params=""/>
<action cond="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="drop_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/>
<action cond="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="destroy_item" params="quantity=@@UI:DROP_DESTROY_ITEM:QUANTITY"/>
</proc>
-->
<!-- modal box to confirm destruction of the item -->
<!--
<!-- modal box to confirm destruction of the item -->
<!--
<group type="modal" id="drop_destroy_item_confirm_modal" exit_click_out="true" posref="TL TL" x="-8" y="8" w="104" h="96"
on_enter="proc"
on_enter_params="confirm_drop_destroy_item"
>
<view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DESTROY"/>
<view type="text" id="drop_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DROP"/>
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" y="0" x="0" use_quantity="false"/>
<view type="text" id="disp_number" posref="BM TM" posparent="sheet" x="0" y="-4" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext=""/>
<! - link to display the right number of item - >
<link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:QUANTITY, 1), '', str(' X ', @UI:DROP_DESTROY_ITEM:QUANTITY))" target="disp_number:hardtext"/>
<ctrl type="button" id="ok" button_type="push_button" posparent="parent" posref="BR BR" y="4" x="-4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="confirm_drop_destroy_item" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
<! - link to display the right text (drop or destroy) - >
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
<view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
<view type="text" id="destroy_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DESTROY"/>
<view type="text" id="drop_text" posref="TL TL" x="20" y="-4" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="DROP"/>
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" y="0" x="0" use_quantity="false"/>
<view type="text" id="disp_number" posref="BM TM" posparent="sheet" x="0" y="-4" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext=""/>
<! - link to display the right number of item - >
<link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:QUANTITY, 1), '', str(' X ', @UI:DROP_DESTROY_ITEM:QUANTITY))" target="disp_number:hardtext"/>
<ctrl type="button" id="ok" button_type="push_button" posparent="parent" posref="BR BR" y="4" x="-4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="confirm_drop_destroy_item" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
<! - link to display the right text (drop or destroy) - >
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
</group>
-->
<!-- modal box -->
<template name="modal_border" posparent="parent">
<view type="bitmap" id="tlb" texture="W_modal_TL.tga" posparent="#posparent" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_modal_TR.tga" posparent="#posparent" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_modal_BR.tga" posparent="#posparent" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_modal_BL.tga" posparent="#posparent" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_modal_T.tga" posparent="#posparent" posref="TM TM" scale="true" sizeref="w" w="-8" h="4"/>
<view type="bitmap" id="bb" texture="W_modal_B.tga" posparent="#posparent" posref="BM BM" scale="true" sizeref="w" w="-8" h="4"/>
<view type="bitmap" id="lb" texture="W_modal_L.tga" posparent="#posparent" posref="ML ML" scale="true" sizeref="h" h="-8" w="4"/>
<view type="bitmap" id="rb" texture="W_modal_R.tga" posparent="#posparent" posref="MR MR" scale="true" sizeref="h" h="-8" w="4"/>
</template>
<!-- modal box -->
<template name="modal_border" posparent="parent">
<view type="bitmap" id="tlb" texture="W_modal_TL.tga" posparent="#posparent" posref="TL TL" />
<view type="bitmap" id="trb" texture="W_modal_TR.tga" posparent="#posparent" posref="TR TR" />
<view type="bitmap" id="brb" texture="W_modal_BR.tga" posparent="#posparent" posref="BR BR" />
<view type="bitmap" id="blb" texture="W_modal_BL.tga" posparent="#posparent" posref="BL BL" />
<view type="bitmap" id="tb" texture="W_modal_T.tga" posparent="#posparent" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="bb" texture="W_modal_B.tga" posparent="#posparent" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" />
<view type="bitmap" id="lb" texture="W_modal_L.tga" posparent="#posparent" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" />
<view type="bitmap" id="rb" texture="W_modal_R.tga" posparent="#posparent" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" />
</template>
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,394 +1,378 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="player.lua" />
<lua file="taskbar.lua" />
<!-- ********** -->
<!-- * PLAYER * -->
<!-- ********** -->
<variable entry="UI:TEMP:ACTIONVAL" type="sint64" value="0" />
<variable entry="UI:VARIABLES:DISPLAYBARSTOTAL" type="sint64" value="3" />
<variable entry="UI:TEMP:PVP_FACTION:TAG_PVP" type="bool" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_MODE" type="sint32" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_PUSHED" type="sint32" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_TIMER" type="sint32" value="0" />
<define id="user_name_id" value="SERVER:Entities:E0:P6" />
<!-- jauges with tooltips -->
<template name="jauges_player" x="0" y="0" posref="TR TR">
<view type="bar3" id="jauges" posref="#posref" x="#x" y="#y" color1="%focus_color" value1="%player_focus_percent" range1="%player_percent_max" color2="%sap_color" value2="%player_sap_percent" range2="%player_percent_max" color3="%sta_color" value3="%player_sta_percent" range3="%player_percent_max" />
<ctrl type="tooltip" id="tt1" on_tooltip="player_tt_stamina" color="%sta_color" posparent="jauges" posref="TL TL" x="0" y="-1" sizeref="wh3" w="0" h="0" />
<ctrl type="tooltip" id="tt2" on_tooltip="player_tt_sap" color="%sap_color" posparent="tt1" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" />
<ctrl type="tooltip" id="tt3" on_tooltip="player_tt_focus" color="%focus_color" posparent="tt2" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" />
</template>
<!-- the Main Group -->
<proc id="player_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=1" />
<!--
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="player.lua" />
<lua file="taskbar.lua" />
<!-- ********** -->
<!-- * PLAYER * -->
<!-- ********** -->
<variable entry="UI:TEMP:ACTIONVAL" type="sint64" value="0" />
<variable entry="UI:VARIABLES:DISPLAYBARSTOTAL" type="sint64" value="3" />
<variable entry="UI:TEMP:PVP_FACTION:TAG_PVP" type="bool" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_MODE" type="sint32" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_PUSHED" type="sint32" value="0" />
<variable entry="UI:TEMP:PVP_FACTION:DSP_TIMER" type="sint32" value="0" />
<define id="user_name_id" value="SERVER:Entities:E0:P6" />
<!-- jauges with tooltips -->
<template name="jauges_player" x="0" y="0" posref="TR TR">
<view type="bar3" id="jauges" posref="#posref" x="#x" y="#y" color1="%focus_color" value1="%player_focus_percent" range1="%player_percent_max" color2="%sap_color" value2="%player_sap_percent" range2="%player_percent_max" color3="%sta_color" value3="%player_sta_percent" range3="%player_percent_max" />
<ctrl type="tooltip" id="tt1" on_tooltip="player_tt_stamina" color="%sta_color" posparent="jauges" posref="TL TL" x="0" y="-1" sizeref="wh3" w="0" h="0" />
<ctrl type="tooltip" id="tt2" on_tooltip="player_tt_sap" color="%sap_color" posparent="tt1" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" />
<ctrl type="tooltip" id="tt3" on_tooltip="player_tt_focus" color="%focus_color" posparent="tt2" posref="BL TL" x="0" y="0" sizeref="wh" w="0" h="0" />
</template>
<!-- the Main Group -->
<proc id="player_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=1" />
<!--
<action handler="set" params="target_property=ui:interface:player:char3d:char:anim|value=0" />
<action handler="set" params="target_property=ui:interface:player:char3d:cam:posz|value=add(0.15,getprop('ui:interface:player:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:player:char3d:cam:tgtz|value=add(0.15,getprop('ui:interface:player:char3d:char:headz'))" />
<action handler="anim_start" params="anim=anim_refresh_player" />
-->
</proc>
<proc id="player_cam_position">
<action handler="set" params="target_property=ui:interface:player:char3d:cam:posz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:player:char3d:cam:tgtz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" />
</proc>
<anim id="anim_refresh_player" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="player_cam_position"></anim>
<template name="jauge_score" posparent="parent" x="0" y="0" h="16" posref="TL TL" id="" w="156" color="" color_gray="" text="" val="" maxval="" val_bar="" tooltip="">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<group id="jauge_bar" posref="TL TL" w="#w" h="16">
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge.tga" color="#color" global_color="false" />
</group>
<view type="text" id="t" posref="TL TL" x="16" y="-1" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="#text" />
<view type="text_number" id="max" posref="MR MR" x="-12" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#maxval" positive="true" />
<view type="text" id="sep" posparent="max" posref="TL TR" x="-1" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="/" />
<view type="text_number" id="val" posparent="max" posref="TL TR" x="-10" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#val" positive="true" />
<link expr="div(mul(abs(@#val_bar), #w), %player_percent_max)" target="jauge_bar:w" />
<link expr="ifthenelse(le(@#val_bar,0), '#color_gray', '#color')" target="jauge_bar:jauge_graph:color" />
</group>
<instance template="text_tt" posparent="#id" tooltip="#tooltip" tooltip_parent="win" />
</template>
<!-- ******************** -->
<!-- AFFICHAGE DES BARRES -->
<!-- ******************** -->
<group type="menu" id="player_jauge_menu" extends="base_menu_with_color">
<action id="sap_bardisplay" name="uiSapBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=not(@UI:SAVE:PLAYER:DISP_SAP)" icon="ico_wisdom.tga" />
<action id="sta_bardisplay" name="uiStaBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=not(@UI:SAVE:PLAYER:DISP_STA)" icon="ico_wellbalanced.tga" />
<action id="foc_bardisplay" name="uiFocBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=not(@UI:SAVE:PLAYER:DISP_FOC)" icon="ico_will.tga" />
</group>
<link expr="depends(@UI:SAVE:PLAYER:DISP_SAP, @UI:SAVE:PLAYER:DISP_STA, @UI:SAVE:PLAYER:DISP_FOC)" action="lua" params="game:updatePlayerBars()" />
<link expr="depends(@SERVER:CHARACTER_INFO:PVP_FACTION_TAG)" action="lua" params="game:updatePvpTag()" />
<!-- ************** -->
<!-- CURRENT ACTION -->
<!-- ************** -->
<!-- Must pass through an other DB, to allow multiple instances of the action bar template -->
<variable entry="UI:PHRASE:ACT_BAR_LEN" type="sint32" value="0" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:PHRASE" type="sint32" value="0" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" type="sint32" value="0" />
<link expr="depends(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK)" action="set" cond="and(ne(@SERVER:USER:ACT_TEND,0),ne(sub(@%player_act_end,@%player_act_start),0))" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=div(mul(sub(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK,@%player_act_start), 92), sub(@%player_act_end,@%player_act_start))" />
<link expr="eq(@SERVER:USER:ACT_TEND,0)" action="set" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=0" />
<!-- The template (instanciated 2 times) -->
<template name="t_current_action_bar" id="" x="" y="" posref="TL TL" tooltip_parent="" tooltip_special_parent="" active="true">
<group id="#id" x="#x" y="#y" posref="#posref" w="166" h="32" active="#active">
<!-- Backs -->
<view type="bitmap" id="slot_action1" posref="TL TL" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="slot_action2" posref="TR TR" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="progression" posref="TM TM" y="-7" texture="slot_jauge_action.tga" inherit_gc_alpha="false" />
<instance template="text_tt" tooltip="uittGaugesActionBar" posparent="progression" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" />
<!-- Next Action + Cycle bmp -->
<ctrl type="sheet" id="execute_phrase_next" nature="sphraseid" value="UI:PHRASE:EXECUTE_NEXT" posparent="slot_action2" posref="TL TL" x="1" y="-1" tooltip="uittNextExecutingPhrase" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" />
<view type="bitmap" id="view_cycle_action" texture="action_cycle.tga" global_color="false" active="false" posparent="execute_phrase_next" posref="TL TL" x="0" y="0" render_layer="3" />
<link expr="@UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" target="view_cycle_action:active" />
<!-- Action in progress -->
<ctrl type="sheet" id="execute_phrase" nature="sphraseid" value="SERVER:EXECUTE_PHRASE" posparent="slot_action1" posref="TL TL" x="1" y="-1" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" />
<ctrl type="sheet" id="execute_special_action" nature="sbrick" value="SERVER:EXECUTE_PHRASE" posparent="execute_phrase" posref="BL BL" x="0" y="0" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" />
<link expr="@SERVER:EXECUTE_PHRASE:SHEET" target="execute_special_action:active" />
<!-- Action Bar -->
<group id="action_bar" posref="TL TL" posparent="progression" w="0" h="20">
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge_action.tga" color="255 255 255 255" global_color="false" />
</group>
<link expr="@UI:PHRASE:ACT_BAR_LEN" target="action_bar:w" />
</group>
</template>
<!-- The Current Action bar Window -->
<group type="container" id="current_action" w="182" h="40" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="false" active="false" opened="true" openable="false" options="compass" locked="false" savable="false">
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="182" h="40" posref="TL TL">
<instance template="t_current_action_bar" id="current_action" x="0" y="0" posref="MM MM" tooltip_parent="special" tooltip_special_parent="ui:interface:milko_pad" />
</group>
</group>
<tree node="current_action" />
<!-- Display the current action bar if wanted and usefull. update its position under memory bar. Usefull if:
- some special action casted
- some phrase casted
- some phrase casted next
- some action bar setuped
- if the player is in combat mode
</proc>
<proc id="player_cam_position">
<action handler="set" params="target_property=ui:interface:player:char3d:cam:posz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:interface:player:char3d:cam:tgtz|value=add(0.12,getprop('ui:interface:player:char3d:char:headz'))" />
</proc>
<anim id="anim_refresh_player" duration="0.1" disable_buttons="false" on_finish="proc" on_finish_params="player_cam_position"></anim>
<template name="jauge_score" posparent="parent" x="0" y="0" h="16" posref="TL TL" id="" w="156" color="" color_gray="" text="" val="" maxval="" val_bar="" tooltip="">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<group id="jauge_bar" posref="TL TL" w="#w" h="16">
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge.tga" color="#color" global_color="false" />
</group>
<view type="text" id="t" posref="TL TL" x="16" y="-1" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="#text" />
<view type="text_number" id="max" posref="MR MR" x="-12" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#maxval" positive="true" />
<view type="text" id="sep" posparent="max" posref="TL TR" x="-1" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="/" />
<view type="text_number" id="val" posparent="max" posref="TL TR" x="-10" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#val" positive="true" />
<link expr="div(mul(abs(@#val_bar), #w), %player_percent_max)" target="jauge_bar:w" />
<link expr="ifthenelse(le(@#val_bar,0), '#color_gray', '#color')" target="jauge_bar:jauge_graph:color" />
</group>
<instance template="text_tt" posparent="#id" tooltip="#tooltip" tooltip_parent="win" />
</template>
<!-- ******************** -->
<!-- AFFICHAGE DES BARRES -->
<!-- ******************** -->
<group type="menu" id="player_jauge_menu" extends="base_menu_with_color">
<action id="sap_bardisplay" name="uiSapBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=not(@UI:SAVE:PLAYER:DISP_SAP)" icon="ico_wisdom.tga" />
<action id="sta_bardisplay" name="uiStaBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=not(@UI:SAVE:PLAYER:DISP_STA)" icon="ico_wellbalanced.tga" />
<action id="foc_bardisplay" name="uiFocBarDisplay" handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=not(@UI:SAVE:PLAYER:DISP_FOC)" icon="ico_will.tga" />
</group>
<link expr="depends(@UI:SAVE:PLAYER:DISP_SAP, @UI:SAVE:PLAYER:DISP_STA, @UI:SAVE:PLAYER:DISP_FOC)" action="lua" params="game:updatePlayerBars()" />
<link expr="depends(@SERVER:CHARACTER_INFO:PVP_FACTION_TAG)" action="lua" params="game:updatePvpTag()" />
<!-- ************** -->
<!-- CURRENT ACTION -->
<!-- ************** -->
<!-- Must pass through an other DB, to allow multiple instances of the action bar template -->
<variable entry="UI:PHRASE:ACT_BAR_LEN" type="sint32" value="0" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:PHRASE" type="sint32" value="0" />
<variable entry="UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" type="sint32" value="0" />
<link expr="depends(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK)" action="set" cond="and(ne(@SERVER:USER:ACT_TEND,0),ne(sub(@%player_act_end,@%player_act_start),0))" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=div(mul(sub(@UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK,@%player_act_start), 92), sub(@%player_act_end,@%player_act_start))" />
<link expr="eq(@SERVER:USER:ACT_TEND,0)" action="set" params="dblink=UI:PHRASE:ACT_BAR_LEN|value=0" />
<!-- The template (instanciated 2 times) -->
<template name="t_current_action_bar" id="" x="" y="" posref="TL TL" tooltip_parent="" tooltip_special_parent="" active="true">
<group id="#id" x="#x" y="#y" posref="#posref" w="166" h="32" active="#active">
<!-- Backs -->
<view type="bitmap" id="slot_action1" posref="TL TL" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="slot_action2" posref="TR TR" y="-3" texture="slot_brick.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="progression" posref="TM TM" y="-7" texture="slot_jauge_action.tga" inherit_gc_alpha="false" />
<instance template="text_tt" tooltip="uittGaugesActionBar" posparent="progression" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" />
<!-- Next Action + Cycle bmp -->
<ctrl type="sheet" id="execute_phrase_next" nature="sphraseid" value="UI:PHRASE:EXECUTE_NEXT" posparent="slot_action2" posref="TL TL" x="1" y="-1" tooltip="uittNextExecutingPhrase" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" />
<view type="bitmap" id="view_cycle_action" texture="action_cycle.tga" global_color="false" active="false" posparent="execute_phrase_next" posref="TL TL" x="0" y="0" render_layer="3" />
<link expr="@UI:PHRASE:EXECUTE_NEXT:ISCYCLIC" target="view_cycle_action:active" />
<!-- Action in progress -->
<ctrl type="sheet" id="execute_phrase" nature="sphraseid" value="SERVER:EXECUTE_PHRASE" posparent="slot_action1" posref="TL TL" x="1" y="-1" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" />
<ctrl type="sheet" id="execute_special_action" nature="sbrick" value="SERVER:EXECUTE_PHRASE" posparent="execute_phrase" posref="BL BL" x="0" y="0" tooltip_parent="#tooltip_parent" tooltip_special_parent="#tooltip_special_parent" onclick_l="phrase_cancel_cast" on_tooltip="lua:game:getMilkoTooltipWithKey('', 'uittExecutingPhrase', 'uittExecutingPhrase', 'phrase_cancel_cast', '')" />
<link expr="@SERVER:EXECUTE_PHRASE:SHEET" target="execute_special_action:active" />
<!-- Action Bar -->
<group id="action_bar" posref="TL TL" posparent="progression" w="0" h="20">
<view type="bitmap" id="jauge_graph" posref="TL TL" texture="jauge_action.tga" color="255 255 255 255" global_color="false" />
</group>
<link expr="@UI:PHRASE:ACT_BAR_LEN" target="action_bar:w" />
</group>
</template>
<!-- The Current Action bar Window -->
<group type="container" id="current_action" w="182" h="40" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="false" active="false" opened="true" openable="false" options="compass" locked="false" savable="false">
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="182" h="40" posref="TL TL">
<instance template="t_current_action_bar" id="current_action" x="0" y="0" posref="MM MM" tooltip_parent="special" tooltip_special_parent="ui:interface:milko_pad" />
</group>
</group>
<tree node="current_action" />
<!-- Display the current action bar if wanted and usefull. update its position under memory bar. Usefull if:
- some special action casted
- some phrase casted
- some phrase casted next
- some action bar setuped
- if the player is in combat mode
-->
<link expr="and(eq(@UI:SAVE:ACT_BAR_OUT,1), eq(@UI:VARIABLES:ISACTIVE:SETS,1), or(
ne(@SERVER:EXECUTE_PHRASE:SHEET,0),
ne(@SERVER:EXECUTE_PHRASE:PHRASE,0),
ne(@UI:PHRASE:EXECUTE_NEXT:PHRASE,0),
ne(@SERVER:USER:ACT_TEND,0),
eq(@SERVER:Entities:E0:P8,3)) )" target="current_action:active" action="lua:game:updateCurrentActionPosition()" />
<!-- ************* -->
<!-- JAUGES PLAYER -->
<!-- ************* -->
<!-- Tag Button -->
<template name="t_pvp_tag_button" id="" tx="" mode="">
<ctrl type="button" id="#id" button_type="toggle_button" posref="TR TR" x="0" y="0" active="false" tx_normal="#tx" tx_pushed="#tx" tx_over="W_button_24_over.tga" w="24" h="24" scale="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="false" onclick_l="lua:game:pvpTag()" on_tooltip="lua:game:playerTTPvp()" tooltip_parent="win" />
<link expr="eq(@UI:TEMP:PVP_FACTION:DSP_MODE, #mode)" target="#id:active" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="#id:pushed" />
</template>
<!-- Player container -->
<group type="container" id="player" w="182" h="512" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="false" opened="true" openable="false" on_active="proc" on_active_params="player_active" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=0" on_open="set" on_open_params="dblink=%inventory_touched|value=1" on_close="set" on_close_params="dblink=%inventory_touched|value=1" help_page="interf_my_gauges.html" title_delta_max_w="-42" title_over_extend_view_text="true" group_onclick_l="self_target" on_begin_move="self_target">
<group id="header_closed" x="0" y="0" h="34" posref="TL TL" group_onclick_l="self_target"></group>
<group id="header_opened" x="0" y="0" h="32" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:player_jauge_menu" group_onclick_l="self_target">
<!-- The Player Name -->
<view type="text" id="player_title" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="Refugee" line_maxw="140" over_extend_view_text="true" />
<!-- PVP Tag Button -->
<instance template="t_pvp_tag_button" id="pvp_tag_button_0" tx="no_pvp.tga" mode="0" />
<instance template="t_pvp_tag_button" id="pvp_tag_button_1" tx="pvp_tag.tga" mode="1" />
<instance template="t_pvp_tag_button" id="pvp_tag_button_2" tx="pvp_flag.tga" mode="2" />
<!-- PVP Tag special overed pushed icon. pushed == over rotated !!. (NB: Ugly to save icon space) -->
<view type="bitmap" id="pvp_tag_pushed" posref="TR TR" x="0" y="0" w="24" h="24" scale="true" rot="2" texture="W_button_24_over.tga" color="255 255 255 255" active="false" global_color="false" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="pvp_tag_pushed:active" />
<!-- PVP Tag timer -->
<view type="bitmap" id="pvp_timer_bg" posref="TR TL" x="-24" y="-25" w="24" h="4" scale="true" texture="blank.tga" color="8 60 8 255" active="false" />
<view type="bitmap" id="pvp_timer" posref="TR TL" x="-24" y="-26" w="24" h="2" scale="true" texture="blank.tga" color="32 220 32 255" active="false" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_TIMER" target="pvp_timer_bg:active, pvp_timer:active" />
</group>
<group id="content" x="0" y="-2" w="166" child_resize_h="true" posref="TL TL" group_onclick_l="self_target">
<!-- new Jauges -->
<view type="bitmap" id="b_lif" posref="TL TL" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="b_sap" posref="TL TL" y="-20" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="b_sta" posref="TL TL" y="-35" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="b_foc" posref="TL TL" y="-50" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<instance template="jauge_score" id="jlife" posparent="b_lif" posref="TL TL" color="214 56 7 255" color_gray="160 42 5 255" text="uiHP" val="%player_hp" maxval="%player_hp_max" val_bar="%player_hp_percent" tooltip="uittGaugesHP" />
<instance template="jauge_score" id="jsap" posparent="b_sap" posref="TL TL" color="133 189 5 255" color_gray="100 141 3 255" text="uiSap" val="%player_sap" maxval="%player_sap_max" val_bar="%player_sap_percent" tooltip="uittGaugesSap" />
<instance template="jauge_score" id="jsta" posparent="b_sta" posref="TL TL" color="202 67 152 255" color_gray="151 50 114 255" text="uiStamina" val="%player_sta" maxval="%player_sta_max" val_bar="%player_sta_percent" tooltip="uittGaugesSta" />
<instance template="jauge_score" id="jfoc" posparent="b_foc" posref="TL TL" color="31 155 197 255" color_gray="23 116 147 255" text="uiFocus" val="%player_focus" maxval="%player_focus_max" val_bar="%player_focus_percent" tooltip="uittGaugesFoc" />
<!-- Action Progression (display only if user wants to). Important to set active by default, to have correct reset.xml behaviour -->
<instance template="t_current_action_bar" id="current_action" x="0" y="-65" tooltip_parent="win" active="false" />
<link expr="eq(@UI:SAVE:ACT_BAR_OUT,0)" target="current_action:active" />
</group>
</group>
<tree node="player" />
<!-- ************************* -->
<!-- * BONUS MALUS * -->
<!-- ************************* -->
<!-- constants -->
<define id="num_server_bonus_malus" value="12" />
<define id="num_local_bonus_malus" value="16" />
<!-- server + DeathPenalty/XPCat/RingXPCat/PVP Outpost -->
<!-- Temp DB that may contains other static bonus (XPcatalyzer, RingXPcatalyzer, PVP Outpost) -->
<variable entry="UI:VARIABLES:BONUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:SHOW_BONUS" type="sint32" value="0" />
<variable entry="UI:VARIABLES:SHOW_MALUS" type="sint32" value="0" />
<!-- Link that copy server DB to local DB -->
<link expr="depends(@SERVER:USER:DEATH_XP_MALUS, @SERVER:CHARACTER_INFO:XP_CATALYSER, @SERVER:CHARACTER_INFO:RING_XP_CATALYSER, @SERVER:CHARACTER_INFO:PVP_OUTPOST, @%malus, @%bonus)" action="lua:game:updatePlayerBonusMalus()" />
<template name="t_text_bonus" id="" x="" y="">
<group id="#id" child_resize_w="true" child_resize_h="true" child_resize_wmargin="1" child_resize_hmargin="1" posref="TL TM" x="#x" y="#y" avoid_resize_parent="true" active="false">
<!-- seconds shadow for better readibility (fake bold) -->
<view type="text" id="shade0" x="0" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="shade1" x="2" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="shade2" x="1" y="2" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="shade3" x="1" y="0" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<!-- standard text. 2 for more readibility -->
<view type="text" id="text" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="text2" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
</group>
</template>
<!-- The Bonus Malus Window -->
<group type="container" id="bonus_malus" w="118" h="80" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="true" opened="true" openable="false" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=0" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" options="compass">
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="118" child_resize_h="true" child_resize_hmargin="7" posref="TL TL">
<!-- WINDOW TOOLTIP -->
<!-- display the tooltip only when the window is empty (so players understand what it is) -->
<ctrl type="tooltip" id="tt_empty" instant_help="true" posref="TM TM" x="0" y="-3" sizeref="w" w="-6" h="22" tooltip="uittBonusMalusWindow" tooltip_parent="win" />
<link expr="and(not(@UI:VARIABLES:SHOW_BONUS), not(@UI:VARIABLES:SHOW_MALUS))" target="tt_empty:active" />
<!-- BONUS -->
<group id="bonus" x="2" y="-4" sizeref="w" w="0" child_resize_h="true" posref="TL TL">
<!-- Special list_sheet that display some disable bitmap if needed according to DB -->
<group type="list_sheet_bonus_malus" id="bonuses" sizeref="w" w="0" value="UI:VARIABLES:BONUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="2" rmargin="2" tmargin="0" bmargin="1" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickBonus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group>
<!-- small texts under icons. For now do only the first 4th bonus. Do it later for other if needed -->
<instance template="t_text_bonus" id="text0" x="13" y="-26" />
<instance template="t_text_bonus" id="text1" x="41" y="-26" />
<instance template="t_text_bonus" id="text2" x="69" y="-26" />
<instance template="t_text_bonus" id="text3" x="97" y="-26" />
<!-- Always display at least a line here, for better readability of malus (always under) -->
<!--<link expr="@UI:VARIABLES:SHOW_BONUS" target="active" />-->
</group>
<!-- sep -->
<view type="bitmap" id="sep" sizeparent="parent" sizeref="w" w="0" h="2" posparent="bonus" posref="BL TL" scale="true" texture="W_line_hor.tga" />
<link expr="and(@UI:VARIABLES:SHOW_BONUS, @UI:VARIABLES:SHOW_MALUS)" target="sep:active" />
<group id="dummy_pos" posparent="sep" posref="TL TL" sizeref="w" h="2" />
<!-- MALUS -->
<group id="malus" y="-2" sizeparent="parent" sizeref="w" w="0" child_resize_h="true" posparent="dummy_pos" posref="BL TL">
<!-- Special list_sheet that display some disable bitmap if needed according to DB -->
<group type="list_sheet_bonus_malus" id="maluses" sizeref="w" w="0" value="UI:VARIABLES:MALUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="0" rmargin="0" tmargin="0" bmargin="0" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickMalus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group>
<link expr="@UI:VARIABLES:SHOW_MALUS" target="active" />
</group>
</group>
</group>
<tree node="bonus_malus" />
<!-- ************************* -->
<!-- * ANIMALS GLOBAL * -->
<!-- ************************* -->
<!-- Animals MENU -->
<!-- Each Option is enabled/disabled at open according to the animal selected -->
<group type="menu" id="animal_menu_all" extends="base_menu_with_color" on_active="animal_menu_option">
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" />
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" />
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" />
<separator />
</group>
<!-- Each Option is enabled/disabled at open according to the animal selected -->
<group type="menu" id="animal_menu" extends="base_menu" on_active="animal_menu_option">
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" />
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" />
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" />
<action id="enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_enter.tga" />
<action id="leave_bag" name="uimLeaveBag" handler="beast_order" params="order=leave_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_leave.tga" />
<action id="mount" name="uimMount" handler="beast_order" params="order=mount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_mount.tga" />
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_unmount.tga" />
</group>
<!-- temp variable to store the animal selected
<link expr="and(eq(@UI:SAVE:ACT_BAR_OUT,1), eq(@UI:VARIABLES:ISACTIVE:SETS,1), or( ne(@SERVER:EXECUTE_PHRASE:SHEET,0), ne(@SERVER:EXECUTE_PHRASE:PHRASE,0), ne(@UI:PHRASE:EXECUTE_NEXT:PHRASE,0), ne(@SERVER:USER:ACT_TEND,0), eq(@SERVER:Entities:E0:P8,3)) )" target="current_action:active" action="lua:game:updateCurrentActionPosition()" />
<!-- ************* -->
<!-- JAUGES PLAYER -->
<!-- ************* -->
<!-- Tag Button -->
<template name="t_pvp_tag_button" id="" tx="" mode="">
<ctrl type="button" id="#id" button_type="toggle_button" posref="TR TR" x="0" y="0" active="false" tx_normal="#tx" tx_pushed="#tx" tx_over="W_button_24_over.tga" w="24" h="24" scale="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="false" onclick_l="lua:game:pvpTag()" on_tooltip="lua:game:playerTTPvp()" tooltip_parent="win" />
<link expr="eq(@UI:TEMP:PVP_FACTION:DSP_MODE, #mode)" target="#id:active" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="#id:pushed" />
</template>
<!-- Player container -->
<group type="container" id="player" w="182" h="512" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="false" opened="true" openable="false" on_active="proc" on_active_params="player_active" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:PLAYER|value=0" on_open="set" on_open_params="dblink=%inventory_touched|value=1" on_close="set" on_close_params="dblink=%inventory_touched|value=1" help_page="interf_my_gauges.html" title_delta_max_w="-42" title_over_extend_view_text="true" group_onclick_l="self_target" on_begin_move="self_target">
<group id="header_closed" x="0" y="0" h="34" posref="TL TL" group_onclick_l="self_target"></group>
<group id="header_opened" x="0" y="0" h="32" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:player_jauge_menu" group_onclick_l="self_target">
<!-- The Player Name -->
<view type="text" id="player_title" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="Refugee" line_maxw="140" over_extend_view_text="true" />
<!-- PVP Tag Button -->
<instance template="t_pvp_tag_button" id="pvp_tag_button_0" tx="no_pvp.tga" mode="0" />
<instance template="t_pvp_tag_button" id="pvp_tag_button_1" tx="pvp_tag.tga" mode="1" />
<instance template="t_pvp_tag_button" id="pvp_tag_button_2" tx="pvp_flag.tga" mode="2" />
<!-- PVP Tag special overed pushed icon. pushed == over rotated !!. (NB: Ugly to save icon space) -->
<view type="bitmap" id="pvp_tag_pushed" posref="TR TR" x="0" y="0" w="24" h="24" scale="true" rot="2" texture="W_button_24_over.tga" color="255 255 255 255" active="false" global_color="false" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_PUSHED" target="pvp_tag_pushed:active" />
<!-- PVP Tag timer -->
<view type="bitmap" id="pvp_timer_bg" posref="TR TL" x="-24" y="-25" w="24" h="4" scale="true" texture="blank.tga" color="8 60 8 255" active="false" />
<view type="bitmap" id="pvp_timer" posref="TR TL" x="-24" y="-26" w="24" h="2" scale="true" texture="blank.tga" color="32 220 32 255" active="false" />
<link expr="@UI:TEMP:PVP_FACTION:DSP_TIMER" target="pvp_timer_bg:active, pvp_timer:active" />
</group>
<group id="content" x="0" y="-2" w="166" child_resize_h="true" posref="TL TL" group_onclick_l="self_target">
<!-- new Jauges -->
<view type="bitmap" id="b_lif" posref="TL TL" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="b_sap" posref="TL TL" y="-20" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="b_sta" posref="TL TL" y="-35" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<view type="bitmap" id="b_foc" posref="TL TL" y="-50" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<instance template="jauge_score" id="jlife" posparent="b_lif" posref="TL TL" color="214 56 7 255" color_gray="160 42 5 255" text="uiHP" val="%player_hp" maxval="%player_hp_max" val_bar="%player_hp_percent" tooltip="uittGaugesHP" />
<instance template="jauge_score" id="jsap" posparent="b_sap" posref="TL TL" color="133 189 5 255" color_gray="100 141 3 255" text="uiSap" val="%player_sap" maxval="%player_sap_max" val_bar="%player_sap_percent" tooltip="uittGaugesSap" />
<instance template="jauge_score" id="jsta" posparent="b_sta" posref="TL TL" color="202 67 152 255" color_gray="151 50 114 255" text="uiStamina" val="%player_sta" maxval="%player_sta_max" val_bar="%player_sta_percent" tooltip="uittGaugesSta" />
<instance template="jauge_score" id="jfoc" posparent="b_foc" posref="TL TL" color="31 155 197 255" color_gray="23 116 147 255" text="uiFocus" val="%player_focus" maxval="%player_focus_max" val_bar="%player_focus_percent" tooltip="uittGaugesFoc" />
<!-- Action Progression (display only if user wants to). Important to set active by default, to have correct reset.xml behaviour -->
<instance template="t_current_action_bar" id="current_action" x="0" y="-65" tooltip_parent="win" active="false" />
<link expr="eq(@UI:SAVE:ACT_BAR_OUT,0)" target="current_action:active" />
</group>
</group>
<tree node="player" />
<!-- ************************* -->
<!-- * BONUS MALUS * -->
<!-- ************************* -->
<!-- constants -->
<define id="num_server_bonus_malus" value="12" />
<define id="num_local_bonus_malus" value="16" />
<!-- server + DeathPenalty/XPCat/RingXPCat/PVP Outpost -->
<!-- Temp DB that may contains other static bonus (XPcatalyzer, RingXPcatalyzer, PVP Outpost) -->
<variable entry="UI:VARIABLES:BONUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:BONUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:SHEET" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:DISABLED_TIME" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:MALUS:$i:SPECIAL_TOOLTIP" type="sint32" value="0" size="%num_local_bonus_malus" />
<variable entry="UI:VARIABLES:SHOW_BONUS" type="sint32" value="0" />
<variable entry="UI:VARIABLES:SHOW_MALUS" type="sint32" value="0" />
<!-- Link that copy server DB to local DB -->
<link expr="depends(@SERVER:USER:DEATH_XP_MALUS, @SERVER:CHARACTER_INFO:XP_CATALYSER, @SERVER:CHARACTER_INFO:RING_XP_CATALYSER, @SERVER:CHARACTER_INFO:PVP_OUTPOST, @%malus, @%bonus)" action="lua:game:updatePlayerBonusMalus()" />
<template name="t_text_bonus" id="" x="" y="">
<group id="#id" child_resize_w="true" child_resize_h="true" child_resize_wmargin="1" child_resize_hmargin="1" posref="TL TM" x="#x" y="#y" avoid_resize_parent="true" active="false">
<!-- seconds shadow for better readibility (fake bold) -->
<view type="text" id="shade0" x="0" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="shade1" x="2" y="1" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="shade2" x="1" y="2" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="shade3" x="1" y="0" color="0 0 0 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<!-- standard text. 2 for more readibility -->
<view type="text" id="text" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
<view type="text" id="text2" x="1" y="1" color="255 255 255 255" global_color="false" fontsize="9" shadow="false" hardtext="" multi_line="true" multi_line_space="0" multi_line_maxw_only="true" />
</group>
</template>
<!-- The Bonus Malus Window -->
<group type="container" id="bonus_malus" w="118" h="80" title="" global_color="false" global_color_over="true" resizer="false" header_active="false" right_button="false" movable="true" active="true" opened="true" openable="false" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:BONUS_MALUS|value=0" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" options="compass">
<group id="header_closed" x="0" y="0" h="0" posref="TL TL" />
<group id="header_opened" x="0" y="0" w="118" child_resize_h="true" child_resize_hmargin="7" posref="TL TL">
<!-- WINDOW TOOLTIP -->
<!-- display the tooltip only when the window is empty (so players understand what it is) -->
<ctrl type="tooltip" id="tt_empty" instant_help="true" posref="TM TM" x="0" y="-3" sizeref="w" w="-6" h="22" tooltip="uittBonusMalusWindow" tooltip_parent="win" />
<link expr="and(not(@UI:VARIABLES:SHOW_BONUS), not(@UI:VARIABLES:SHOW_MALUS))" target="tt_empty:active" />
<!-- BONUS -->
<group id="bonus" x="2" y="-4" sizeref="w" w="0" child_resize_h="true" posref="TL TL">
<!-- Special list_sheet that display some disable bitmap if needed according to DB -->
<group type="list_sheet_bonus_malus" id="bonuses" sizeref="w" w="0" value="UI:VARIABLES:BONUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="2" rmargin="2" tmargin="0" bmargin="1" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickBonus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group>
<!-- small texts under icons. For now do only the first 4th bonus. Do it later for other if needed -->
<instance template="t_text_bonus" id="text0" x="13" y="-26" />
<instance template="t_text_bonus" id="text1" x="41" y="-26" />
<instance template="t_text_bonus" id="text2" x="69" y="-26" />
<instance template="t_text_bonus" id="text3" x="97" y="-26" />
<!-- Always display at least a line here, for better readability of malus (always under) -->
<!--<link expr="@UI:VARIABLES:SHOW_BONUS" target="active" />-->
</group>
<!-- sep -->
<view type="bitmap" id="sep" sizeparent="parent" sizeref="w" w="0" h="2" posparent="bonus" posref="BL TL" scale="true" texture="W_line_hor.tga" />
<link expr="and(@UI:VARIABLES:SHOW_BONUS, @UI:VARIABLES:SHOW_MALUS)" target="sep:active" />
<group id="dummy_pos" posparent="sep" posref="TL TL" sizeref="w" h="2" />
<!-- MALUS -->
<group id="malus" y="-2" sizeparent="parent" sizeref="w" w="0" child_resize_h="true" posparent="dummy_pos" posref="BL TL">
<!-- Special list_sheet that display some disable bitmap if needed according to DB -->
<group type="list_sheet_bonus_malus" id="maluses" sizeref="w" w="0" value="UI:VARIABLES:MALUS" posref="TL TL" y="0" wspace="2" hspace="16" maxitem="%num_local_bonus_malus" rowmin="1" rowmax="4" nature="sbrick" array="false" lmargin="0" rmargin="0" tmargin="0" bmargin="0" column_max="4" column_center="false" disable_texture="MG_suppression.tga" onclick_r="open_sbrick_help" params_r="test_aura_disabled=1" onclick_l="lua:game:onLeftClickMalus()" on_tooltip="aura_modifier_tooltip" child_resize_h="true" tooltip_parent="win" regen_text="true" regen_text_y="-12" regen_text_fontsize="9" regen_text_color="255 255 0" regen_text_disabled_color="200 200 200"></group>
<link expr="@UI:VARIABLES:SHOW_MALUS" target="active" />
</group>
</group>
</group>
<tree node="bonus_malus" />
<!-- ************************* -->
<!-- * ANIMALS GLOBAL * -->
<!-- ************************* -->
<!-- Animals MENU -->
<!-- Each Option is enabled/disabled at open according to the animal selected -->
<group type="menu" id="animal_menu_all" extends="base_menu_with_color" on_active="animal_menu_option">
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" />
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" />
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" />
<separator />
</group>
<!-- Each Option is enabled/disabled at open according to the animal selected -->
<group type="menu" id="animal_menu" extends="base_menu" on_active="animal_menu_option">
<action id="follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:BEAST_SELECTED" icon="lm_target.tga" />
<action id="stop" name="uimStop" handler="beast_order" params="order=stop|beast_index=@UI:BEAST_SELECTED" icon="r2ed_icon_stop.tga" />
<action id="free" name="uimFree" handler="beast_order" params="order=free|beast_index=@UI:BEAST_SELECTED" icon="r2_icon_despawn.tga" />
<action id="enter_stable" name="uimEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_enter.tga" />
<action id="leave_stable" name="uimLeaveStable" handler="beast_order" params="order=leave_stable|beast_index=@UI:BEAST_SELECTED" icon="stable_leave.tga" />
<action id="enter_bag" name="uimEnterBag" handler="beast_order" params="order=enter_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_enter.tga" />
<action id="leave_bag" name="uimLeaveBag" handler="beast_order" params="order=leave_bag|beast_index=@UI:BEAST_SELECTED" icon="bag_leave.tga" />
<action id="mount" name="uimMount" handler="beast_order" params="order=mount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_mount.tga" />
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=@UI:BEAST_SELECTED" icon="mektoub_unmount.tga" />
</group>
<!-- temp variable to store the animal selected
0: All animals
1 to 5: Pack animals
-->
<variable entry="UI:BEAST_SELECTED" type="sint64" value="0" />
<group type="container" id="animal_global" w="236" h="96" title="uiAnimalsTitle" opened="true" openable="false" resizer="false" movable="true" active="false" pop_min_h="62" pop_max_h="512" min_w="236" max_w="236" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=0" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" help_page="interf_animals.html">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|0"></group>
<group id="content" h="0" posref="TR TR" child_resize_h="true">
<group id="no_available_animals" x="0" y="0" sizeref="w" w="0" h="70" posref="TL TL" active="false">
<group id="main" sizeref="w" w="-16" posref="MM MM" child_resize_h="true" y="-8">
<view type="text" id="text" global_color="true" fontsize="14" shadow="true" hardtext="uiNoAvailableAnimals" multi_line="true" continuous_update="true" />
</group>
</group>
</group>
</group>
<!-- proc : right click on a animal -->
<proc id="right_click_on_animal_proc">
<!-- set index of current animal -->
<action handler="set" params="dblink=UI:BEAST_SELECTED|value=@0" />
<!-- If ALL MENU, display the menu. Only if some animal present -->
<!-- MAX_INVENTORY_ANIMAL -->
<action cond="and(eq(@0,0), or( isAnimalStatusPresent(@%pa_beast0:STATUS),
isAnimalStatusPresent(@%pa_beast1:STATUS),
isAnimalStatusPresent(@%pa_beast2:STATUS),
isAnimalStatusPresent(@%pa_beast3:STATUS) ) )" handler="active_menu" params="menu=ui:interface:animal_menu_all" />
<!-- If SINGLE MENU, display the menu -->
<action cond="ne(@0,0)" handler="active_menu" params="menu=ui:interface:animal_menu" />
</proc>
<!-- ****************** -->
<!-- * PA TEMPLATE * -->
<!-- ****************** -->
<template name="pa_template" index="" beast_db_entry="" bars_entry="" startitem="" bag_path="">
<group type="container" id="userpa#index" w="220" title="uiPATitleMount#index" resizer="false" opened="true" openable="false" active_savable="false" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" title_delta_max_w="-150" title_over_extend_view_text="true" on_tooltip="userpa_name_tooltip" on_tooltip_params="#index">
<group id="header_closed" h="12" posref="TL TL"></group>
<group id="header_opened" h="14" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|#index">
<view type="bar3" id="jauges" posref="MR MR" mini="true" x="-16" color1="%bulk_color" range1="#beast_db_entry:BULK_MAX" color2="255 255 255 255" value2="#beast_db_entry:HUNGER" range2="31" color3="%hp_color" value3="#bars_entry:HP" range3="127" />
<ctrl type="tooltip" id="tt" instant_help="true" posparent="jauges" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittAnimalBar" tooltip_parent="win" />
<!-- if animal is dead, display despawn timer bar instead of jauges -->
<view type="bar" id="death_timer" posref="MR MR" mini="true" x="-16" color="255 255 255 255" value="#beast_db_entry:DESPAWN" range="71" />
<ctrl type="tooltip" id="tt_death_timer" instant_help="true" posparent="death_timer" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittDeathTimer" tooltip_parent="win" />
<link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="death_timer:active,tt_death_timer:active" />
<!-- animal status icon -->
<view type="bitmap" id="animal_alive_landscape" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="mektoub_map.tga" />
<instance template="text_tt" tooltip="uittAliveLandscape" posparent="animal_alive_landscape" tooltip_parent="win" />
<link expr="and(isAnimalStatusAlive(@#beast_db_entry:STATUS),not(isAnimalStatusInStable(@#beast_db_entry:STATUS)),not(isAnimalStatusInBag(@#beast_db_entry:STATUS)))" target="animal_alive_landscape:active,tt_animal_alive_landscape:active" />
<view type="bitmap" id="animal_stable" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="building_state2.tga" />
<instance template="text_tt" tooltip="uittStable" posparent="animal_stable" tooltip_parent="win" />
<link expr="isAnimalStatusInStable(@#beast_db_entry:STATUS)" target="animal_stable:active,tt_animal_stable:active" />
<view type="bitmap" id="animal_dead" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="MP_skull.tga" />
<instance template="text_tt" tooltip="uittDead" posparent="animal_dead" tooltip_parent="win" />
<link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="animal_dead:active,tt_animal_dead:active" />
<view type="bitmap" id="animal_in_bag" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="ico_mission_purse.tga" />
<instance template="text_tt" tooltip="uittInBag" posparent="animal_in_bag" tooltip_parent="win" />
<link expr="isAnimalStatusInBag(@#beast_db_entry:STATUS)" target="animal_in_bag:active,tt_animal_in_bag:active" />
<view type="bitmap" id="weight" posref="MR MR" x="-84" texture="W_weight.tga" />
<ctrl type="tooltip" id="tt_weight" posparent="weight" posref="MR MR" x="0" y="0" sizeref="wh" w="28" h="14" tooltip="uittAnimalWeight" tooltip_parent="win" />
<view type="text" id="weight_txt" posparent="weight" posref="TL TR" x="-2" y="-2" color="255 255 255 255" shadow="true" fontsize="8" />
<!-- set the weight -->
<link expr="identity(getItemsWeight('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="weight_txt:hardtext" />
<!-- set the bulk bar -->
<link expr="identity(getItemsBulk('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="jauges:value1" />
<!-- if animal is dead we don't display the jauges and weight -->
<link expr="not(isAnimalStatusDead(@#beast_db_entry:STATUS))" target="jauges:active,weight:active,weight_txt:active" />
<!-- Open Inventory button -->
<ctrl type="button" id="open_inv" button_type="push_button" posref="MR MR" x="-1" w="14" h="14" scale="true" tx_normal="animal_inventory.tga" tx_pushed="animal_inventory.tga" tx_over="W_button_14_over.tga" global_color_normal="false" global_color_over="true" global_color_pushed="false" onclick_l="animal_open_inventory" params_l="#index" tooltip="uittAnimalInv" tooltip_parent="win" />
<!-- BIG TRANSPARENT BUTTON TO TARGET THE PACK_ANIMAL. w="-16" to let the "inventory" button work -->
<ctrl type="button" id="select_button" button_type="push_button" posref="ML ML" sizeref="wh" w="-16" h="0" scale="true" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="255 255 255 32" onclick_l="animal_target" params_l="#index" />
</group>
<!-- links to change the name color if it is the target -->
<link expr="ifthenelse(eq(@#beast_db_entry:UID,@UI:VARIABLES:TARGET:UID),
'255 0 0 255',
'255 255 255 255')" target="title_color" />
</group>
<link expr="isAnimalStatusPresent(@#beast_db_entry:STATUS)" target="userpa#index:active" />
<link expr="switch(@#beast_db_entry:TYPE, 'uiPATitleMount#index', 'uiPATitleMount#index', 'uiPATitlePacker#index', 'uiPATitleDemon#index')" target="userpa#index:title" />
</template>
<!-- MAX_INVENTORY_ANIMAL -->
<instance template="pa_template" index="1" bars_entry="UI:VARIABLES:BARS:ANIMAL:0" beast_db_entry="%pa_beast0" bag_path="%pa_bag0" />
<instance template="pa_template" index="2" bars_entry="UI:VARIABLES:BARS:ANIMAL:1" beast_db_entry="%pa_beast1" bag_path="%pa_bag1" />
<instance template="pa_template" index="3" bars_entry="UI:VARIABLES:BARS:ANIMAL:2" beast_db_entry="%pa_beast2" bag_path="%pa_bag2" />
<instance template="pa_template" index="4" bars_entry="UI:VARIABLES:BARS:ANIMAL:3" beast_db_entry="%pa_beast3" bag_path="%pa_bag3" />
<instance template="pa_template" index="5" bars_entry="UI:VARIABLES:BARS:ANIMAL:4" beast_db_entry="%pa_beast4" bag_path="%pa_bag4" />
<instance template="pa_template" index="6" bars_entry="UI:VARIABLES:BARS:ANIMAL:5" beast_db_entry="%pa_beast5" bag_path="%pa_bag5" />
<instance template="pa_template" index="7" bars_entry="UI:VARIABLES:BARS:ANIMAL:6" beast_db_entry="%pa_beast6" bag_path="%pa_bag6" />
<!-- ***************************** -->
<!-- * ANIMAL(S) DEAD WINDOW * -->
<!-- ***************************** -->
<group type="container" id="animal_dead_popup" w="80" h="60" min_w="60" max_w="120" min_h="45" max_h="180" resizer="false" global_color="false" global_color_over="true" movable="true" active="false" opened="true" openable="false" right_button="false" header_active="false">
<group id="content" x="0" y="0" w="80" h="60" posref="MM MM">
<view type="bitmap" id="dead_animal_bp" x="0" y="8" posref="MM MM" texture="MP_skull.tga" />
<ctrl type="tooltip" id="dead_animal_tooltip" tooltip="" on_tooltip="animal_dead_popup_tooltip" color="0 0 0 255" posparent="dead_animal_bp" posref="TL TL" x="0" y="0" sizeref="wh" />
</group>
</group>
<tree node="animal_dead_popup" />
<link expr="or( ne(@SERVER:PACK_ANIMAL:BEAST0:DESPAWN,0),
ne(@SERVER:PACK_ANIMAL:BEAST1:DESPAWN,0),
ne(@SERVER:PACK_ANIMAL:BEAST2:DESPAWN,0),
ne(@SERVER:PACK_ANIMAL:BEAST3:DESPAWN,0)))" target="ui:interface:animal_dead_popup:active" />
<!-- *************************** -->
<!-- * ANIMALS INVENTORIES * -->
<!-- *************************** -->
<!-- The Template Animal Inventory -->
<template name="animal_inventory_template" id="" title="" info_entry="" bag_entry="" icon_db="">
<group style="inv_container" id="#id" title="uiPABagTitleMount#title" header_color="UI:SAVE:WIN:COLORS:ANI" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=0">
<group id="header_closed" h="12" posref="TL TL"></group>
<!-- Animal Header Info -->
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_bulk_max="#info_entry:BULK_MAX" />
</group>
<group id="content" posref="TL TL" h="218">
<instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_type="#icon_db" animal_status="#info_entry:STATUS" />
<!-- Text To say why the inventory is disabled or not. Middle to be visible -->
<view type="text" id="disable_txt" posref="BL BL" x="2" y="2" color="255 255 255 255" shadow="true" fontsize="10" />
<!-- According to the beast state, display text -->
<link expr="getAnimalInventoryStateText(@#info_entry:STATUS)" target="disable_txt:hardtext" />
</group>
<!-- Hide The window if the STATUS become "Not Present" -->
<link expr="@#info_entry:STATUS" action="hide" cond="not(isAnimalStatusPresent(@#info_entry:STATUS))" params="#id" />
</group>
<!-- Title name depends on the type of the animal -->
<link expr="switch(@#info_entry:TYPE, 'uiPABagTitleMount#title', 'uiPABagTitleMount#title', 'uiPABagTitlePacker#title', 'uiPABagTitleDemon#title')" target="#id:title" />
<!-- Create the node here -->
<tree node="#id" />
</template>
<!-- Pack Animals (packer, mount, demon) Instanciation -->
<!-- MAX_INVENTORY_ANIMAL -->
<instance template="animal_inventory_template" id="inv_pa0" title="0" info_entry="%pa_beast0" bag_entry="%pa_bag0" icon_db="INV_PA0" />
<instance template="animal_inventory_template" id="inv_pa1" title="1" info_entry="%pa_beast1" bag_entry="%pa_bag1" icon_db="INV_PA1" />
<instance template="animal_inventory_template" id="inv_pa2" title="2" info_entry="%pa_beast2" bag_entry="%pa_bag2" icon_db="INV_PA2" />
<instance template="animal_inventory_template" id="inv_pa3" title="3" info_entry="%pa_beast3" bag_entry="%pa_bag3" icon_db="INV_PA3" />
<instance template="animal_inventory_template" id="inv_pa4" title="4" info_entry="%pa_beast4" bag_entry="%pa_bag4" icon_db="INV_PA4" />
<instance template="animal_inventory_template" id="inv_pa5" title="5" info_entry="%pa_beast5" bag_entry="%pa_bag5" icon_db="INV_PA5" />
<instance template="animal_inventory_template" id="inv_pa6" title="6" info_entry="%pa_beast6" bag_entry="%pa_bag6" icon_db="INV_PA6" />
<tree node="animal_global">
<!-- MAX_INVENTORY_ANIMAL -->
<tree node="userpa1" />
<tree node="userpa2" />
<tree node="userpa3" />
<tree node="userpa4" />
<tree node="userpa5" />
<tree node="userpa6" />
<tree node="userpa7" />
</tree>
<variable entry="UI:BEAST_SELECTED" type="sint64" value="0" />
<group type="container" id="animal_global" w="236" h="96" title="uiAnimalsTitle" opened="true" openable="false" resizer="false" movable="true" active="false" pop_min_h="62" pop_max_h="512" min_w="236" max_w="236" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL|value=0" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" help_page="interf_animals.html">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|0"></group>
<group id="content" h="0" posref="TR TR" child_resize_h="true">
<group id="no_available_animals" x="0" y="0" sizeref="w" w="0" h="70" posref="TL TL" active="false">
<group id="main" sizeref="w" w="-16" posref="MM MM" child_resize_h="true" y="-8">
<view type="text" id="text" global_color="true" fontsize="14" shadow="true" hardtext="uiNoAvailableAnimals" multi_line="true" continuous_update="true" />
</group>
</group>
</group>
</group>
<!-- proc : right click on a animal -->
<proc id="right_click_on_animal_proc">
<!-- set index of current animal -->
<action handler="set" params="dblink=UI:BEAST_SELECTED|value=@0" />
<!-- If ALL MENU, display the menu. Only if some animal present -->
<!-- MAX_INVENTORY_ANIMAL -->
<action cond="and(eq(@0,0), or( isAnimalStatusPresent(@%pa_beast0:STATUS), isAnimalStatusPresent(@%pa_beast1:STATUS), isAnimalStatusPresent(@%pa_beast2:STATUS), isAnimalStatusPresent(@%pa_beast3:STATUS) ) )" handler="active_menu" params="menu=ui:interface:animal_menu_all" />
<!-- If SINGLE MENU, display the menu -->
<action cond="ne(@0,0)" handler="active_menu" params="menu=ui:interface:animal_menu" />
</proc>
<!-- ****************** -->
<!-- * PA TEMPLATE * -->
<!-- ****************** -->
<template name="pa_template" index="" beast_db_entry="" bars_entry="" startitem="" bag_path="">
<group type="container" id="userpa#index" w="220" title="uiPATitleMount#index" resizer="false" opened="true" openable="false" active_savable="false" global_color="false" global_color_over="true" header_color="UI:SAVE:WIN:COLORS:ANI" title_delta_max_w="-150" title_over_extend_view_text="true" on_tooltip="userpa_name_tooltip" on_tooltip_params="#index">
<group id="header_closed" h="12" posref="TL TL"></group>
<group id="header_opened" h="14" posref="TL TL" group_onclick_r="proc" group_params_r="right_click_on_animal_proc|#index">
<view type="bar3" id="jauges" posref="MR MR" mini="true" x="-16" color1="%bulk_color" range1="#beast_db_entry:BULK_MAX" color2="255 255 255 255" value2="#beast_db_entry:HUNGER" range2="31" color3="%hp_color" value3="#bars_entry:HP" range3="127" />
<ctrl type="tooltip" id="tt" instant_help="true" posparent="jauges" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittAnimalBar" tooltip_parent="win" />
<!-- if animal is dead, display despawn timer bar instead of jauges -->
<view type="bar" id="death_timer" posref="MR MR" mini="true" x="-16" color="255 255 255 255" value="#beast_db_entry:DESPAWN" range="71" />
<ctrl type="tooltip" id="tt_death_timer" instant_help="true" posparent="death_timer" posref="TL TL" x="0" y="0" sizeref="wh" tooltip="uittDeathTimer" tooltip_parent="win" />
<link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="death_timer:active,tt_death_timer:active" />
<!-- animal status icon -->
<view type="bitmap" id="animal_alive_landscape" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="mektoub_map.tga" />
<instance template="text_tt" tooltip="uittAliveLandscape" posparent="animal_alive_landscape" tooltip_parent="win" />
<link expr="and(isAnimalStatusAlive(@#beast_db_entry:STATUS),not(isAnimalStatusInStable(@#beast_db_entry:STATUS)),not(isAnimalStatusInBag(@#beast_db_entry:STATUS)))" target="animal_alive_landscape:active,tt_animal_alive_landscape:active" />
<view type="bitmap" id="animal_stable" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="building_state2.tga" />
<instance template="text_tt" tooltip="uittStable" posparent="animal_stable" tooltip_parent="win" />
<link expr="isAnimalStatusInStable(@#beast_db_entry:STATUS)" target="animal_stable:active,tt_animal_stable:active" />
<view type="bitmap" id="animal_dead" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="MP_skull.tga" />
<instance template="text_tt" tooltip="uittDead" posparent="animal_dead" tooltip_parent="win" />
<link expr="isAnimalStatusDead(@#beast_db_entry:STATUS)" target="animal_dead:active,tt_animal_dead:active" />
<view type="bitmap" id="animal_in_bag" posref="MR MR" x="-124" w="14" h="14" scale="true" texture="ico_mission_purse.tga" />
<instance template="text_tt" tooltip="uittInBag" posparent="animal_in_bag" tooltip_parent="win" />
<link expr="isAnimalStatusInBag(@#beast_db_entry:STATUS)" target="animal_in_bag:active,tt_animal_in_bag:active" />
<view type="bitmap" id="weight" posref="MR MR" x="-84" texture="W_weight.tga" />
<ctrl type="tooltip" id="tt_weight" posparent="weight" posref="MR MR" x="0" y="0" sizeref="wh" w="28" h="14" tooltip="uittAnimalWeight" tooltip_parent="win" />
<view type="text" id="weight_txt" posparent="weight" posref="TL TR" x="-2" y="-2" color="255 255 255 255" shadow="true" fontsize="8" />
<!-- set the weight -->
<link expr="identity(getItemsWeight('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="weight_txt:hardtext" />
<!-- set the bulk bar -->
<link expr="identity(getItemsBulk('#bag_path', 0, %max_animal_invslot), @#bag_path)" target="jauges:value1" />
<!-- if animal is dead we don't display the jauges and weight -->
<link expr="not(isAnimalStatusDead(@#beast_db_entry:STATUS))" target="jauges:active,weight:active,weight_txt:active" />
<!-- Open Inventory button -->
<ctrl type="button" id="open_inv" button_type="push_button" posref="MR MR" x="-1" w="14" h="14" scale="true" tx_normal="animal_inventory.tga" tx_pushed="animal_inventory.tga" tx_over="W_button_14_over.tga" global_color_normal="false" global_color_over="true" global_color_pushed="false" onclick_l="animal_open_inventory" params_l="#index" tooltip="uittAnimalInv" tooltip_parent="win" />
<!-- BIG TRANSPARENT BUTTON TO TARGET THE PACK_ANIMAL. w="-16" to let the "inventory" button work -->
<ctrl type="button" id="select_button" button_type="push_button" posref="ML ML" sizeref="wh" w="-16" h="0" scale="true" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="255 255 255 32" onclick_l="animal_target" params_l="#index" />
</group>
<!-- links to change the name color if it is the target -->
<link expr="ifthenelse(eq(@#beast_db_entry:UID,@UI:VARIABLES:TARGET:UID), '255 0 0 255', '255 255 255 255')" target="title_color" />
</group>
<link expr="isAnimalStatusPresent(@#beast_db_entry:STATUS)" target="userpa#index:active" />
<link expr="switch(@#beast_db_entry:TYPE, 'uiPATitleMount#index', 'uiPATitleMount#index', 'uiPATitlePacker#index', 'uiPATitleDemon#index')" target="userpa#index:title" />
</template>
<!-- MAX_INVENTORY_ANIMAL -->
<instance template="pa_template" index="1" bars_entry="UI:VARIABLES:BARS:ANIMAL:0" beast_db_entry="%pa_beast0" bag_path="%pa_bag0" />
<instance template="pa_template" index="2" bars_entry="UI:VARIABLES:BARS:ANIMAL:1" beast_db_entry="%pa_beast1" bag_path="%pa_bag1" />
<instance template="pa_template" index="3" bars_entry="UI:VARIABLES:BARS:ANIMAL:2" beast_db_entry="%pa_beast2" bag_path="%pa_bag2" />
<instance template="pa_template" index="4" bars_entry="UI:VARIABLES:BARS:ANIMAL:3" beast_db_entry="%pa_beast3" bag_path="%pa_bag3" />
<instance template="pa_template" index="5" bars_entry="UI:VARIABLES:BARS:ANIMAL:4" beast_db_entry="%pa_beast4" bag_path="%pa_bag4" />
<instance template="pa_template" index="6" bars_entry="UI:VARIABLES:BARS:ANIMAL:5" beast_db_entry="%pa_beast5" bag_path="%pa_bag5" />
<instance template="pa_template" index="7" bars_entry="UI:VARIABLES:BARS:ANIMAL:6" beast_db_entry="%pa_beast6" bag_path="%pa_bag6" />
<!-- ***************************** -->
<!-- * ANIMAL(S) DEAD WINDOW * -->
<!-- ***************************** -->
<group type="container" id="animal_dead_popup" w="80" h="60" min_w="60" max_w="120" min_h="45" max_h="180" resizer="false" global_color="false" global_color_over="true" movable="true" active="false" opened="true" openable="false" right_button="false" header_active="false">
<group id="content" x="0" y="0" w="80" h="60" posref="MM MM">
<view type="bitmap" id="dead_animal_bp" x="0" y="8" posref="MM MM" texture="MP_skull.tga" />
<ctrl type="tooltip" id="dead_animal_tooltip" tooltip="" on_tooltip="animal_dead_popup_tooltip" color="0 0 0 255" posparent="dead_animal_bp" posref="TL TL" x="0" y="0" sizeref="wh" />
</group>
</group>
<tree node="animal_dead_popup" />
<link expr="or( ne(@SERVER:PACK_ANIMAL:BEAST0:DESPAWN,0), ne(@SERVER:PACK_ANIMAL:BEAST1:DESPAWN,0), ne(@SERVER:PACK_ANIMAL:BEAST2:DESPAWN,0), ne(@SERVER:PACK_ANIMAL:BEAST3:DESPAWN,0)))" target="ui:interface:animal_dead_popup:active" />
<!-- *************************** -->
<!-- * ANIMALS INVENTORIES * -->
<!-- *************************** -->
<!-- The Template Animal Inventory -->
<template name="animal_inventory_template" id="" title="" info_entry="" bag_entry="" icon_db="">
<group style="inv_container" id="#id" title="uiPABagTitleMount#title" header_color="UI:SAVE:WIN:COLORS:ANI" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:#icon_db|value=0">
<group id="header_closed" h="12" posref="TL TL"></group>
<!-- Animal Header Info -->
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_bulk_max="#info_entry:BULK_MAX" />
</group>
<group id="content" posref="TL TL" h="218">
<instance template="tinv_item_list" id="iil" y="-8" sizeref="wh" h="-8" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_type="#icon_db" animal_status="#info_entry:STATUS" />
<!-- Text To say why the inventory is disabled or not. Middle to be visible -->
<view type="text" id="disable_txt" posref="BL BL" x="2" y="2" color="255 255 255 255" shadow="true" fontsize="10" />
<!-- According to the beast state, display text -->
<link expr="getAnimalInventoryStateText(@#info_entry:STATUS)" target="disable_txt:hardtext" />
</group>
<!-- Hide The window if the STATUS become "Not Present" -->
<link expr="@#info_entry:STATUS" action="hide" cond="not(isAnimalStatusPresent(@#info_entry:STATUS))" params="#id" />
</group>
<!-- Title name depends on the type of the animal -->
<link expr="switch(@#info_entry:TYPE, 'uiPABagTitleMount#title', 'uiPABagTitleMount#title', 'uiPABagTitlePacker#title', 'uiPABagTitleDemon#title')" target="#id:title" />
<!-- Create the node here -->
<tree node="#id" />
</template>
<!-- Pack Animals (packer, mount, demon) Instanciation -->
<!-- MAX_INVENTORY_ANIMAL -->
<instance template="animal_inventory_template" id="inv_pa0" title="0" info_entry="%pa_beast0" bag_entry="%pa_bag0" icon_db="INV_PA0" />
<instance template="animal_inventory_template" id="inv_pa1" title="1" info_entry="%pa_beast1" bag_entry="%pa_bag1" icon_db="INV_PA1" />
<instance template="animal_inventory_template" id="inv_pa2" title="2" info_entry="%pa_beast2" bag_entry="%pa_bag2" icon_db="INV_PA2" />
<instance template="animal_inventory_template" id="inv_pa3" title="3" info_entry="%pa_beast3" bag_entry="%pa_bag3" icon_db="INV_PA3" />
<instance template="animal_inventory_template" id="inv_pa4" title="4" info_entry="%pa_beast4" bag_entry="%pa_bag4" icon_db="INV_PA4" />
<instance template="animal_inventory_template" id="inv_pa5" title="5" info_entry="%pa_beast5" bag_entry="%pa_bag5" icon_db="INV_PA5" />
<instance template="animal_inventory_template" id="inv_pa6" title="6" info_entry="%pa_beast6" bag_entry="%pa_bag6" icon_db="INV_PA6" />
<tree node="animal_global">
<!-- MAX_INVENTORY_ANIMAL -->
<tree node="userpa1" />
<tree node="userpa2" />
<tree node="userpa3" />
<tree node="userpa4" />
<tree node="userpa5" />
<tree node="userpa6" />
<tree node="userpa7" />
</tree>
</interface_config>

@ -1,378 +1,230 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- some initialisations to do when the player trade window is opened -->
<proc id="open_player_trade">
<!-- reset the price that the player proposes -->
<action handler="set" params="dblink=%money_proposal|value=0"/>
<!-- allow the user to validate the trade -->
<action handler="set" params="dblink=%can_valid_player_trade|value=1"/>
</proc>
<!-- selection of the number of seeds that the player wants to give -->
<proc id="sel_seed">
<action handler="editbox_number" params="value=@1|max_value=@2"/>
<action handler="validate_seed_sel" params="quantity=@1"/>
</proc>
<!-- validation of trade by the player -->
<proc id="valid_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=0"/>
<action handler="accept_exchange" params="counter=@@%exchange_id"/>
</proc>
<!-- invalidation of trade by the player -->
<proc id="invalidate_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=1"/>
<action handler="invalidate_exchange" params="counter=@@%exchange_id"/>
</proc>
<!-- reset the quantity of money that the player wants to trade -->
<proc id="reset_money_quantity">
<!-- copy the values that have been entered in the box -->
<action handler="set" params="dblink=%money_proposal|value=0"/>
<!-- send the new value to the server -->
<!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=0"/>
</proc>
<!-- popup to choose an item in the bag (the item must not be worn) -->
<group type="modal" id="exchange_choose_in_bag" options="skin_modal" x="0" y="0" posref="BL TL" child_resize_h="true" child_resize_hmargin="4" child_resize_w="true" child_resize_wmargin="4" exit_click_b="true">
<group type="list_sheet_filter_exchangeable" id="list" posref="TL TL" value="%bag" wspace="2" hspace="2" array="false" x="0" y="0"
child_resize_h="true" child_resize_w="true"
child_resize_wmargin="4"
child_resize_hmargin="4"
display_empty_slot="true"
squarify="true"
onclick_l="put_bag_item_to_exchange"
onclick_r="open_help_auto" lmargin="4" rmargin="4" tmargin="4" bmargin="4" column_max="16"
auto_grayed="true"
maxitem="%max_bag_invslot" >
</group>
</group>
<!-- Interface for trade between players -->
<group id="player_trade" type="container" x="400" y="650" w="196" h="417" pop_max_h="438" title="uiTrade2Player" global_color="false"
on_active="proc" on_active_params="open_player_trade" active="false" openable="false" opened="true" movable="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:TRADE"
escapable="true"
on_escape="end_exchange"
on_close_button="end_exchange"
>
<group id="header_opened" w="184" h="410" posref="TL TL">
<!-- 1/ TITLE & INTRO -->
<!--
<view type="text" id="text" posref="TL TL" x="16" y="-8" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTrade2Player" global_color="false" />
-->
<!-- 2/ QUIT TRADE -->
<!--
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-10" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="end_exchange" tooltip="uittClose" />
-->
<!-- 3/ RECEIVING -->
<instance template="box_widget" id="receive_back" posref="TM TM" w="184" h="176" x="0" y="-19"/>
<view type="text" id="receive_text" posref="TL TL" posparent="receive_back" x="4" y="-4" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiOtherGive" global_color="true" />
<group id="receive" posref="TM TM" x="0" y="-18" posparent="receive_back" w="174" h="156" >
<!-- Money received -->
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" />
<instance template="argent" id="money_received" posref="TL TL" x="0" y="-12" value="%exchange_receive_money"/>
<!--
<instance template="thunes" id="money_received" posref="TL TL" x="0" y="-12"
value_1="%money_offer_from_other:SMALL_SEED"
value_2="%money_offer_from_other:MEDIUM_SEED"
value_3="%money_offer_from_other:BIG_SEED"
value_4="%money_offer_from_other:VERY_BIG_SEED"
/>
-->
<!-- Items received (inventories:exchange_proposition in the database) -->
<group id="received_items" posref="BL TL" posparent="money_received" x="0" y="-16" h="86" w="174">
<!-- 8 sheets that can't be drag and dropped -->
<ctrl type="sheet" id="slot0" value="%exchange_receive:0" posparent="parent" posref="TL TL" x="0" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot1" value="%exchange_receive:1" posparent="slot0" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot2" value="%exchange_receive:2" posparent="slot1" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot3" value="%exchange_receive:3" posparent="slot2" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot4" value="%exchange_receive:4" posparent="slot0" posref="BL TL" x="0" y="-2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot5" value="%exchange_receive:5" posparent="slot4" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot6" value="%exchange_receive:6" posparent="slot5" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot7" value="%exchange_receive:7" posparent="slot6" posref="TR TL" x="2" onclick_r="open_help_auto" />
</group>
<view type="text" id="items_r" posref="TL BL" posparent="received_items" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiItems" />
</group>
<!-- 4/ YOU GIVE -->
<instance template="box_widget" id="give_back" posref="BM TM" posparent="receive_back" w="184" h="176" x="0" y="-18"/>
<view type="text" id="give_text" posref="TL TL" posparent="give_back" x="4" y="-4" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPlayerGive" global_color="true" />
<group id="give" posref="TM TM" posparent="give_back" x="0" y="-18" w="174" h="156">
<!-- Money to give -->
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" />
<instance template="argent" id="money_given" posref="TL TL" x="0" y="-12" value="%money_proposal"/>
<!-- <instance template="thunes" id="money_given" posref="TL TL" x="0" y="-12"
value_1="%money_proposal_1"
value_2="%money_proposal_2"
value_3="%money_proposal_3"
value_4="%money_proposal_4"
/>
-->
<!-- Set money -->
<view type="bitmap" id="sep" posparent="money_given" posref="TR TL" x="2" y="-2" scale="true" h="36" w="2" texture="W_line_ver.tga" />
<!-- Set money -->
<ctrl type="button" id="choose_money" button_type="push_button" posparent="sep" posref="BR BL" y="0" x="4" tx_normal="w_button_edit.tga" tx_pushed="w_button_edit.tga" tx_over="W_button_16_over.tga"
onclick_l="enter_modal" params_l="group=ui:interface:money_choose_dialog" tooltip="uittSetMoney" />
<!-- Reset money -->
<ctrl type="button" id="reset_money" button_type="push_button" posparent="choose_money" posref="TL BL" y="1" x="0" tx_normal="w_button_reset.tga" tx_pushed="w_button_reset.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="reset_money_quantity" tooltip="uittClearMoney" />
<!-- Items to give -->
<group id="given_items" posref="BL TL" posparent="money_given" x="0" y="-32" h="86" w="174">
<!-- 8 sheets that can't be drag and dropped -->
<ctrl type="sheet" id="slot0" onclick_r="open_help_auto" value="%exchange_give:0" oncandrop="can_drop_to_exchange" dragable="true" posparent="parent" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TL TL" x="0" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
<ctrl type="sheet" id="slot1" onclick_r="open_help_auto" value="%exchange_give:1" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
<ctrl type="sheet" id="slot2" onclick_r="open_help_auto" value="%exchange_give:2" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot1" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
<ctrl type="sheet" id="slot3" onclick_r="open_help_auto" value="%exchange_give:3" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot2" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
<ctrl type="sheet" id="slot4" onclick_r="open_help_auto" value="%exchange_give:4" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="BL TL" x="0" y="-2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
<ctrl type="sheet" id="slot5" onclick_r="open_help_auto" value="%exchange_give:5" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot4" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
<ctrl type="sheet" id="slot6" onclick_r="open_help_auto" value="%exchange_give:6" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot5" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
<ctrl type="sheet" id="slot7" onclick_r="open_help_auto" value="%exchange_give:7" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot6" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot"/>
</group>
<view type="text" id="items_r" posref="TL BL" posparent="given_items" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiItems" />
</group>
<!-- 5/ VALIDATIONS -->
<group id="validation" posparent="receive_back" w="40" h="20" posref="BM TM" x="0" y="1">
<view type="bitmap" id="not_ready" posref="TL TL" texture="W_trade_not_ready.tga"/>
<!-- Player validation -->
<group id="player_validation" posref="BR BR" x="0" y="0" w="12" h="14" >
<!-- display 'ready' bitmap -->
<view type="bitmap" id="player_ready" posref="TL TL" texture="W_trade_player_ready.tga" global_color="true" active="false"/>
</group>
<!-- links to display the right bitmap for player validation -->
<!--<link expr="@%can_valid_player_trade" target="player_validation:player_not_ready:active"/>-->
<link expr="not(@%can_valid_player_trade)" target="player_validation:player_ready:active"/>
<!-- Other validation -->
<group id="other_player_validation" posref="TL TL" x="0" y="0" w="12" h="14" >
<!-- display 'ready' bitmap -->
<view type="bitmap" id="other_ready" posref="TL TL" texture="W_trade_other_ready.tga" global_color="true" active="false"/>
</group>
<!-- links to display the right bitmap for other player validation -->
<!--<link expr="not(@%other_player_accepted_trade)" target="other_player_validation:other_not_ready:active"/>-->
<link expr="@%exchange_accepted" target="other_player_validation:other_ready:active"/>
</group>
<!-- group that allows the user to confirm the trade -->
<group id="confirm_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true">
<ctrl style="text_button_16" id="confirm_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="valid_player_trade" hardtext="uiAccept" />
</group>
<!-- group that allows the user to invalidate the trade -->
<group id="invalidate_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true" active="false">
<ctrl style="text_button_16" id="invalidate_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="invalidate_player_trade" hardtext="uiRefuse" />
</group>
<!-- connect the 'confirm_trade' group to the 'can_valid_player_trade' flag -->
<link expr="@%can_valid_player_trade" target="confirm_trade:active"/>
<link expr="not(@%can_valid_player_trade)" target="invalidate_trade:active"/>
<!-- if money or item have been modified, should allow the player to validate again, so set the 'can_valid_player_trade' flag to 1 -->
<link expr="depends(@%exchange_receive, @%exchange_give, @%money_proposal, @%exchange_receive_money, @SERVER:EXCHANGE:FORCE_REFUSE)"
action="set" params="dblink=%can_valid_player_trade|value=1"/>
</group>
</group>
<!-- link to connect the activation of this dialog to the database entry that given the signal to start -->
<link expr="@%exchange_begun" action="player_trade_start" target="player_trade:active" />
<link expr="depends(@%exchange_text)" action="set_server_string" params="value=@%exchange_text|target=ui:interface:player_trade:title" />
<!-- ************************************* -->
<!-- * MONEY SELECTION FOR PLAYER TRADE * -->
<!-- ************************************* -->
<!-- define for variables that contains initial quantity -->
<define id="choose_money" value="UI:VARIABLES:CHOOSE_MONEY" />
<!-- declare variables that contains initial quantity -->
<variable entry="%choose_money" type="sint32" value="0"/>
<!-- proc that is executed when the user has confirmed the new quantity of money -->
<proc id="confirm_money_quantity">
<!-- copy the values that have been entered in the box -->
<action handler="set" params="dblink=%money_proposal|value=@@%choose_money"/>
<!-- send the new valu to the server -->
<!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=@@%money_proposal"/>
<!-- leave the modal box -->
<action handler="leave_modal" params=""/>
</proc>
<!-- proc that is executed when the modal box to choose money is opened -->
<proc id="choose_money_opened">
<!-- copy the current money value in the temp variables -->
<action handler="set" params="dblink=%choose_money|value=@@%money_proposal"/>
<!-- copy the value as strings in the modal box -->
<action handler="set" params="target_property=ui:interface:money_choose_dialog:box1:eb:input_string|value=@@%money_proposal"/>
<!-- set the focus on the first selection box -->
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:money_choose_dialog:box1:eb"/>
</proc>
<!-- QUANTITY OF MONEY MODAL BOX -->
<group type="modal" id="money_choose_dialog" exit_click_out="true" posref="MM MM" w="170" h="64"
on_active="proc" on_active_params="choose_money_opened" options="skin_modal"
>
<!-- info text -->
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
<!-- bitmap for the seeds -->
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" />
<!-- edit box for the seeds -->
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true"
max_historic="0"
onchange="editbox_number"
onchange_params="value=%choose_money|max_value=@%money|update_text=false"
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12"
onenter="proc" color="135 243 28 255"
params="confirm_money_quantity"
entry_type="positive_integer"
/>
<!-- ok / cancel -->
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
onclick_ok="proc"
onclick_ok_param="confirm_money_quantity"
onclick_cancel="leave_modal"
onclick_cancel_param="" />
</group>
<!-- the player accept the invitation -->
<proc id="player_accept_invitation">
<action handler="accept_exchange_invitation"/>
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0"/>
</proc>
<!-- the player decline the invitation -->
<proc id="player_decline_invitation">
<action handler="decline_exchange_invitation"/>
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0"/>
</proc>
<!-- init the trade invitation modal box -->
<proc id="init_invitation_box">
<!-- set the name of the player that propose the invitation -->
<action handler="set_server_string" params="value=@@%other_player_name_id|target=other_player_name:hardtext" />
</proc>
<!-- INVITATION TO TRADE -->
<!--<group type="modal" id="accept_trade_invitation" posref="MM MM" w="192" h="56"
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- some initialisations to do when the player trade window is opened -->
<proc id="open_player_trade">
<!-- reset the price that the player proposes -->
<action handler="set" params="dblink=%money_proposal|value=0" />
<!-- allow the user to validate the trade -->
<action handler="set" params="dblink=%can_valid_player_trade|value=1" />
</proc>
<!-- selection of the number of seeds that the player wants to give -->
<proc id="sel_seed">
<action handler="editbox_number" params="value=@1|max_value=@2" />
<action handler="validate_seed_sel" params="quantity=@1" />
</proc>
<!-- validation of trade by the player -->
<proc id="valid_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=0" />
<action handler="accept_exchange" params="counter=@@%exchange_id" />
</proc>
<!-- invalidation of trade by the player -->
<proc id="invalidate_player_trade">
<action handler="set" params="dblink=%can_valid_player_trade|value=1" />
<action handler="invalidate_exchange" params="counter=@@%exchange_id" />
</proc>
<!-- reset the quantity of money that the player wants to trade -->
<proc id="reset_money_quantity">
<!-- copy the values that have been entered in the box -->
<action handler="set" params="dblink=%money_proposal|value=0" />
<!-- send the new value to the server -->
<!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=0" />
</proc>
<!-- popup to choose an item in the bag (the item must not be worn) -->
<group type="modal" id="exchange_choose_in_bag" options="skin_modal" x="0" y="0" posref="BL TL" child_resize_h="true" child_resize_hmargin="4" child_resize_w="true" child_resize_wmargin="4" exit_click_b="true">
<group type="list_sheet_filter_exchangeable" id="list" posref="TL TL" value="%bag" wspace="2" hspace="2" array="false" x="0" y="0" child_resize_h="true" child_resize_w="true" child_resize_wmargin="4" child_resize_hmargin="4" display_empty_slot="true" squarify="true" onclick_l="put_bag_item_to_exchange" onclick_r="open_help_auto" lmargin="4" rmargin="4" tmargin="4" bmargin="4" column_max="16" auto_grayed="true" maxitem="%max_bag_invslot"></group>
</group>
<!-- Interface for trade between players -->
<group id="player_trade" type="container" x="400" y="650" w="196" h="417" pop_max_h="438" title="uiTrade2Player" global_color="false" on_active="proc" on_active_params="open_player_trade" active="false" openable="false" opened="true" movable="true" resizer="false" header_color="UI:SAVE:WIN:COLORS:TRADE" escapable="true" on_escape="end_exchange" on_close_button="end_exchange">
<group id="header_opened" w="184" h="410" posref="TL TL">
<!-- 1/ TITLE & INTRO -->
<!--
<view type="text" id="text" posref="TL TL" x="16" y="-8" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTrade2Player" global_color="false" />
-->
<!-- 2/ QUIT TRADE -->
<!--
<ctrl type="button" id="close" button_type="push_button" posref="TR TR" x="-8" y="-10" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
onclick_l="end_exchange" tooltip="uittClose" />
-->
<!-- 3/ RECEIVING -->
<instance template="box_widget" id="receive_back" posref="TM TM" w="184" h="176" x="0" y="-19" />
<view type="text" id="receive_text" posref="TL TL" posparent="receive_back" x="4" y="-4" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiOtherGive" global_color="true" />
<group id="receive" posref="TM TM" x="0" y="-18" posparent="receive_back" w="174" h="156">
<!-- Money received -->
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" />
<instance template="argent" id="money_received" posref="TL TL" x="0" y="-12" value="%exchange_receive_money" />
<!--
<instance template="thunes" id="money_received" posref="TL TL" x="0" y="-12"
value_1="%money_offer_from_other:SMALL_SEED"
value_2="%money_offer_from_other:MEDIUM_SEED"
value_3="%money_offer_from_other:BIG_SEED"
value_4="%money_offer_from_other:VERY_BIG_SEED"
/>
-->
<!-- Items received (inventories:exchange_proposition in the database) -->
<group id="received_items" posref="BL TL" posparent="money_received" x="0" y="-16" h="86" w="174">
<!-- 8 sheets that can't be drag and dropped -->
<ctrl type="sheet" id="slot0" value="%exchange_receive:0" posparent="parent" posref="TL TL" x="0" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot1" value="%exchange_receive:1" posparent="slot0" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot2" value="%exchange_receive:2" posparent="slot1" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot3" value="%exchange_receive:3" posparent="slot2" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot4" value="%exchange_receive:4" posparent="slot0" posref="BL TL" x="0" y="-2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot5" value="%exchange_receive:5" posparent="slot4" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot6" value="%exchange_receive:6" posparent="slot5" posref="TR TL" x="2" onclick_r="open_help_auto" />
<ctrl type="sheet" id="slot7" value="%exchange_receive:7" posparent="slot6" posref="TR TL" x="2" onclick_r="open_help_auto" />
</group>
<view type="text" id="items_r" posref="TL BL" posparent="received_items" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiItems" />
</group>
<!-- 4/ YOU GIVE -->
<instance template="box_widget" id="give_back" posref="BM TM" posparent="receive_back" w="184" h="176" x="0" y="-18" />
<view type="text" id="give_text" posref="TL TL" posparent="give_back" x="4" y="-4" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPlayerGive" global_color="true" />
<group id="give" posref="TM TM" posparent="give_back" x="0" y="-18" w="174" h="156">
<!-- Money to give -->
<view type="text" id="money_r" posref="TL TL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiMoneyTitle" />
<instance template="argent" id="money_given" posref="TL TL" x="0" y="-12" value="%money_proposal" />
<!-- <instance template="thunes" id="money_given" posref="TL TL" x="0" y="-12"
value_1="%money_proposal_1"
value_2="%money_proposal_2"
value_3="%money_proposal_3"
value_4="%money_proposal_4"
/>
-->
<!-- Set money -->
<view type="bitmap" id="sep" posparent="money_given" posref="TR TL" x="2" y="-2" scale="true" h="36" w="2" texture="W_line_ver.tga" />
<!-- Set money -->
<ctrl type="button" id="choose_money" button_type="push_button" posparent="sep" posref="BR BL" y="0" x="4" tx_normal="w_button_edit.tga" tx_pushed="w_button_edit.tga" tx_over="W_button_16_over.tga" onclick_l="enter_modal" params_l="group=ui:interface:money_choose_dialog" tooltip="uittSetMoney" />
<!-- Reset money -->
<ctrl type="button" id="reset_money" button_type="push_button" posparent="choose_money" posref="TL BL" y="1" x="0" tx_normal="w_button_reset.tga" tx_pushed="w_button_reset.tga" tx_over="W_button_16_over.tga" onclick_l="proc" params_l="reset_money_quantity" tooltip="uittClearMoney" />
<!-- Items to give -->
<group id="given_items" posref="BL TL" posparent="money_given" x="0" y="-32" h="86" w="174">
<!-- 8 sheets that can't be drag and dropped -->
<ctrl type="sheet" id="slot0" onclick_r="open_help_auto" value="%exchange_give:0" oncandrop="can_drop_to_exchange" dragable="true" posparent="parent" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TL TL" x="0" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot1" onclick_r="open_help_auto" value="%exchange_give:1" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot2" onclick_r="open_help_auto" value="%exchange_give:2" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot1" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot3" onclick_r="open_help_auto" value="%exchange_give:3" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot2" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot4" onclick_r="open_help_auto" value="%exchange_give:4" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot0" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="BL TL" x="0" y="-2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot5" onclick_r="open_help_auto" value="%exchange_give:5" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot4" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot6" onclick_r="open_help_auto" value="%exchange_give:6" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot5" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
<ctrl type="sheet" id="slot7" onclick_r="open_help_auto" value="%exchange_give:7" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot6" ondrop="proc" params_drop="drop_item" oncannotdrop="put_exchange_item_to_bag" posref="TR TL" x="2" selection_group="inventory_selection" onclick_l="exchange_left_click_on_slot" />
</group>
<view type="text" id="items_r" posref="TL BL" posparent="given_items" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiItems" />
</group>
<!-- 5/ VALIDATIONS -->
<group id="validation" posparent="receive_back" w="40" h="20" posref="BM TM" x="0" y="1">
<view type="bitmap" id="not_ready" posref="TL TL" texture="W_trade_not_ready.tga" />
<!-- Player validation -->
<group id="player_validation" posref="BR BR" x="0" y="0" w="12" h="14">
<!-- display 'ready' bitmap -->
<view type="bitmap" id="player_ready" posref="TL TL" texture="W_trade_player_ready.tga" global_color="true" active="false" />
</group>
<!-- links to display the right bitmap for player validation -->
<!--<link expr="@%can_valid_player_trade" target="player_validation:player_not_ready:active"/>-->
<link expr="not(@%can_valid_player_trade)" target="player_validation:player_ready:active" />
<!-- Other validation -->
<group id="other_player_validation" posref="TL TL" x="0" y="0" w="12" h="14">
<!-- display 'ready' bitmap -->
<view type="bitmap" id="other_ready" posref="TL TL" texture="W_trade_other_ready.tga" global_color="true" active="false" />
</group>
<!-- links to display the right bitmap for other player validation -->
<!--<link expr="not(@%other_player_accepted_trade)" target="other_player_validation:other_not_ready:active"/>-->
<link expr="@%exchange_accepted" target="other_player_validation:other_ready:active" />
</group>
<!-- group that allows the user to confirm the trade -->
<group id="confirm_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true">
<ctrl style="text_button_16" id="confirm_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="valid_player_trade" hardtext="uiAccept" />
</group>
<!-- group that allows the user to invalidate the trade -->
<group id="invalidate_trade" posparent="give_back" posref="BR TR" x="-4" y="-4" child_resize_h="true" child_resize_w="true" active="false">
<ctrl style="text_button_16" id="invalidate_button" posref="TR TR" x="0" y="0" onclick_l="proc" params_l="invalidate_player_trade" hardtext="uiRefuse" />
</group>
<!-- connect the 'confirm_trade' group to the 'can_valid_player_trade' flag -->
<link expr="@%can_valid_player_trade" target="confirm_trade:active" />
<link expr="not(@%can_valid_player_trade)" target="invalidate_trade:active" />
<!-- if money or item have been modified, should allow the player to validate again, so set the 'can_valid_player_trade' flag to 1 -->
<link expr="depends(@%exchange_receive, @%exchange_give, @%money_proposal, @%exchange_receive_money, @SERVER:EXCHANGE:FORCE_REFUSE)" action="set" params="dblink=%can_valid_player_trade|value=1" />
</group>
</group>
<!-- link to connect the activation of this dialog to the database entry that given the signal to start -->
<link expr="@%exchange_begun" action="player_trade_start" target="player_trade:active" />
<link expr="depends(@%exchange_text)" action="set_server_string" params="value=@%exchange_text|target=ui:interface:player_trade:title" />
<!-- ************************************* -->
<!-- * MONEY SELECTION FOR PLAYER TRADE * -->
<!-- ************************************* -->
<!-- define for variables that contains initial quantity -->
<define id="choose_money" value="UI:VARIABLES:CHOOSE_MONEY" />
<!-- declare variables that contains initial quantity -->
<variable entry="%choose_money" type="sint32" value="0" />
<!-- proc that is executed when the user has confirmed the new quantity of money -->
<proc id="confirm_money_quantity">
<!-- copy the values that have been entered in the box -->
<action handler="set" params="dblink=%money_proposal|value=@@%choose_money" />
<!-- send the new valu to the server -->
<!-- for now, these are 4 msg => should use only one -->
<action handler="validate_seed_sel" params="quantity=@@%money_proposal" />
<!-- leave the modal box -->
<action handler="leave_modal" params="" />
</proc>
<!-- proc that is executed when the modal box to choose money is opened -->
<proc id="choose_money_opened">
<!-- copy the current money value in the temp variables -->
<action handler="set" params="dblink=%choose_money|value=@@%money_proposal" />
<!-- copy the value as strings in the modal box -->
<action handler="set" params="target_property=ui:interface:money_choose_dialog:box1:eb:input_string|value=@@%money_proposal" />
<!-- set the focus on the first selection box -->
<action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:money_choose_dialog:box1:eb" />
</proc>
<!-- QUANTITY OF MONEY MODAL BOX -->
<group type="modal" id="money_choose_dialog" exit_click_out="true" posref="MM MM" w="170" h="64" on_active="proc" on_active_params="choose_money_opened" options="skin_modal">
<!-- info text -->
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
<!-- bitmap for the seeds -->
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" />
<!-- edit box for the seeds -->
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true" max_historic="0" onchange="editbox_number" onchange_params="value=%choose_money|max_value=@%money|update_text=false" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="12" onenter="proc" color="135 243 28 255" params="confirm_money_quantity" entry_type="positive_integer" />
<!-- ok / cancel -->
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="proc" onclick_ok_param="confirm_money_quantity" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- the player accept the invitation -->
<proc id="player_accept_invitation">
<action handler="accept_exchange_invitation" />
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0" />
</proc>
<!-- the player decline the invitation -->
<proc id="player_decline_invitation">
<action handler="decline_exchange_invitation" />
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0" />
</proc>
<!-- init the trade invitation modal box -->
<proc id="init_invitation_box">
<!-- set the name of the player that propose the invitation -->
<action handler="set_server_string" params="value=@@%other_player_name_id|target=other_player_name:hardtext" />
</proc>
<!-- INVITATION TO TRADE -->
<!--<group type="modal" id="accept_trade_invitation" posref="MM MM" w="192" h="56"
on_active="proc" on_active_params="init_invitation_box"
mouse_pos="false" exit_click_out="false"
on_enter="proc"
on_enter_params="player_accept_invitation"
>-->
<!-- Title -->
<!-- <view type="text" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTradeWith" global_color="false" />-->
<!-- name of the other user -->
<!-- <view type="text" id="other_player_name" posref="MM MM" x="0" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiPlayerName" /> -->
<!--<view type="text_id" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" />-->
<!-- ok / cancel buttons -->
<!--<ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="player_accept_invitation" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="player_decline_invitation" global_color_normal="false" global_color_pushed="false" />
<!-- Title -->
<!-- <view type="text" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiTradeWith" global_color="false" />-->
<!-- name of the other user -->
<!-- <view type="text" id="other_player_name" posref="MM MM" x="0" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiPlayerName" /> -->
<!--<view type="text_id" id="invite_phrase" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" />-->
<!-- ok / cancel buttons -->
<!--<ctrl type="button" id="ok" button_type="push_button" posref="BR BR" x="-4" y="4" tx_normal="w_answer_16_valid.tga" tx_pushed="w_answer_16_valid.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="player_accept_invitation" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="cancel" button_type="push_button" posparent="ok" posref="TL TR" x="-4" tx_normal="w_answer_16_cancel.tga" tx_pushed="w_answer_16_cancel.tga" tx_over="W_button_16_over.tga"
onclick_l="proc" params_l="player_decline_invitation" global_color_normal="false" global_color_pushed="false" />
</group>-->
<group type="container"
id="accept_trade_invitation"
w="260"
h="512"
resizer="false"
pop_max_h="512"
active="false"
savable="false"
openable="false"
opened="true"
movable="true"
on_close_button="proc"
on_close_button_params="player_decline_invitation"
title_opened="uiTradeInvitation" >
<group id="content"
child_resize_h="true"
child_resize_hmargin="10" >
<group id="inside"
sizeref="w"
posref="TL TL"
y="-4"
child_resize_h="true"
child_resize_hmargin="6">
<view type="text_id"
id="invite_phrase"
posref="MM MM"
x="0"
y="0"
color="255 255 255 255"
fontsize="12"
shadow="true"
multi_line="true"
multi_line_space="0"
line_maxw="250" />
</group>
<instance template="button_ok_cancel"
posparent="inside"
posref="BR TR"
x="-4"
y="-4"
ok_text="uiAccept"
cancel_text="uiDecline"
onclick_ok="proc"
onclick_ok_param="player_accept_invitation"
onclick_cancel="proc"
onclick_cancel_param="player_decline_invitation" />
</group>
</group>
<tree node="player_trade">
</tree>
<tree node="accept_trade_invitation">
</tree>
<group type="container" id="accept_trade_invitation" w="260" h="512" resizer="false" pop_max_h="512" active="false" savable="false" openable="false" opened="true" movable="true" on_close_button="proc" on_close_button_params="player_decline_invitation" title_opened="uiTradeInvitation">
<group id="content" child_resize_h="true" child_resize_hmargin="10">
<group id="inside" sizeref="w" posref="TL TL" y="-4" child_resize_h="true" child_resize_hmargin="6">
<view type="text_id" id="invite_phrase" posref="MM MM" x="0" y="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" line_maxw="250" />
</group>
<instance template="button_ok_cancel" posparent="inside" posref="BR TR" x="-4" y="-4" ok_text="uiAccept" cancel_text="uiDecline" onclick_ok="proc" onclick_ok_param="player_accept_invitation" onclick_cancel="proc" onclick_cancel_param="player_decline_invitation" />
</group>
</group>
<tree node="player_trade"></tree>
<tree node="accept_trade_invitation"></tree>
</interface_config>

@ -1,574 +1,281 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- horizontal label/menu template -->
<template name="template_label_menu_border" keep="true" active="true" id="" x="0" y="0" sizeref="" w="" h="" posparent=""
posref="" w_label="0" w_combo="0" hardtext="" on_change_params="" y_text="4">
<group id="#id" active="#active" x="#x" y="#y" sizeref="#sizeref" w="#w" h="#h" posparent="#posparent" posref="#posref" >
<!-- label -->
<group id="label" sizeref="w5h" w="#w_label" h="0" x="0" y="0" posref="TL TL" posparent="parent" >
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="back" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 200" />
<group id="text_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="-5" y="0" h="0" >
<view type="text" id="name_text" posref="BL BL" x="2" y="#y_text" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="#hardtext"
auto_clamp="true" over_extend_view_text="true" over_extend_parent_rect="true"/>
</group>
<ctrl type="button" button_type="push_button" id="tooltip" sizeref="wh" w="0" h="0"
col_over="255 255 255 0" tx_over="blank.tga" scale="true" />
</group>
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="label"
posref="TR TL" w="#w_combo" h="0" params_l="#on_change_params" />
</group>
</template>
<!-- sequence elements template -->
<template name="menus_list_template" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h= "0" x="0" y="0"
title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed=""
params_over="">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="text" id="title" active="true" posparent="parent" posref="TL TL"
x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40" >
<group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0" >
<instance template="inner_thin_border" inherit_gc_alpha="true"/>
</group>
<group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="20" >
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" >
<view type="text" id="label1" active="true" posparent="parent" posref="TL TL"
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" />
</group>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<view type="text" id="label2" active="true" posparent="parent" posref="TL TL"
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" />
</group>
</group>
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-25" h="-25" >
</group>
<group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
</group>
<ctrl type="scroll" id="scroll_bar" posparent="back" posref="TR TR" w="8" x="13" y="-25" target="menus_list" align="T"
tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga"/>
</group>
</group>
</template>
<!-- sequence elements template bis -->
<template name="menus_list_template_bis" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h= "0" x="0" y="0"
title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed=""
params_over="" on_change_params="">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="text" id="title" active="true" posparent="parent" posref="TL TL"
x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40" >
<group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0" >
<instance template="inner_thin_border" inherit_gc_alpha="true"/>
</group>
<group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="17" >
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" >
<view type="text" id="label1" active="true" posparent="parent" posref="TL TL"
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" />
</group>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<view type="text" id="label2" active="true" posparent="parent" posref="TL TL"
x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" />
</group>
</group>
<instance template="template_label_menu_border" id="what_action" sizeref="w" w="0" h="30" x="0" y="0"
posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext=""
on_change_params="#on_change_params"/>
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-75" h="-75" >
</group>
<group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
</group>
<ctrl type="scroll" id="scroll_bar" posparent="back_list" posref="TR TR" w="8" x="13" y="0" target="menus_list" align="T"
tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga"/>
</group>
</group>
</template>
<!-- two menus template -->
<template name="two_menu_template" keep="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25"
params_left="" params_right="" params_over="">
<group id="#id" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<instance template="menu_button_template" id="left_menu" x="0" y="0" sizeref="w5h" posparent="parent"
posref="TL TL" w="0" h="0" params_l="#params_left" params_over="#params_over" />
<instance template="menu_button_template" id="right_menu" x="0" y="0" sizeref="wh" posparent="left_menu"
posref="BR BL" w="0" h="0" params_l="#params_right" params_over="#params_over" />
</group>
</template>
<!-- two menus / trash button template -->
<template name="two_menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25"
params_left="" params_right="" remove_pair="" col_pushed="255 255 255 255" params_over="">
<group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<group id="button_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<instance template="r2ed_triggers_little_button" id="remove_menu_pair" x="0" y="-3" posparent="parent" posref="TL TL"
onclick_l="lua" params_l="#remove_pair" active="false"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
<instance template="two_menu_template" id="menu_pair" sizeref="w" posparent="parent"
posref="TL TL" x="23" y="0" w="-23" h="25" params_left="#params_left"
params_right="#params_right" params_over="#params_over" />
</group>
</template>
<!-- menu / trash button template -->
<template name="menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25"
params_l="" remove_menu="" col_pushed="255 255 255 255" params_over="">
<group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="parent"
posref="TL TL" w="-25" h="0" params_l="#params_l" params_over="#params_over" />
<group id="button_group" posparent="menu" posref="TR TL" sizeref="h" x="5" w="20" y="0" h="0" >
<instance template="r2ed_triggers_little_button" id="remove_menu" x="0" y="0" posparent="parent" posref="TL TL"
onclick_l="lua" params_l="#remove_menu" active="false"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
</group>
</template>
<!-- button tab style -->
<style style="tab_button_logic_entity" type="tab_button" button_type="radio_button"
x="0" posref="TR TL"
text_x="4"
text_posref="ML ML"
tx_normal="r2_tab_wide_normal" tx_pushed="r2_tab_wide_pushed" tx_over="r2_tab_wide_over"
global_color_normal="true" global_color_over="true" global_color_pushed="true"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
text_y="-2" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
text_global_color_normal="true"
text_global_color_pushed="false"
text_global_color_over="true"
/>
<group type="menu" id="r2ed_logic_entity_menu" extends="base_menu" mouse_pos="false">
</group>
<!-- ************************************************************************************************** -->
<!-- *********************************** LOGIC ENTITIES GUI ******************************************** -->
<!-- ************************************************************************************************** -->
<group type="container" id="r2ed_logic_entities" title="uiR2EDChatStepEditor" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_CHAT_STEPS"
pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="700" pop_max_h="800" active="false" escapable = "true"
on_close="" on_close_params="" on_deactive="" on_deactive_params=""
savable="true"
>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<!-- MENU -->
<group id="menu" x="0" y="0" sizeref="wh" w="0" h="0" posparent="parent" posref="TL TL" >
<group type="tab" id="sequence_tabs" child_resize_w="true" h="24" posref="TL TL" x="0" y="-4" >
<ctrl style="tab_button_logic_entity" id="tab0" x="0" posref="TL TL" group="actions"
hardtext="uiR2EdEvents" onclick_r="" params_r="" onclick_l="" params_l=""/>
<view type="bitmap" id="tab0_bm" posparent="tab0" posref="TL TL" w="24" h="24" x="4" y="-2 "
color="255 255 255 255" />
<ctrl style="tab_button_logic_entity" id="tab1" posparent="tab0" group="reactions"
hardtext="uiR2EdTriggers" onclick_r="" params_r="" onclick_l="" params_l=""/>
<view type="bitmap" id="tab1_bm" posparent="tab1" posref="TL TL" w="24" h="24" x="4" y="-2 "
color="255 255 255 255" />
</group>
<view type="bitmap" id="sep" posparent="logic_entities_tabs" posref="BL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<!-- ************************************ ACTIONS ************************************************** -->
<group id="actions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5" >
<group id="actions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newAction(true)"
new_elt_text="uiR2EdNewAction" elt_order_text="action order" up_elt="r2:upAction()"
down_elt="r2:downAction()" max_min_elts="r2:maximizeMinimizeActions()"
down_up_color="200 150 0 255" y="-10" />
</group>
</group>
<!-- ************************************ REACTIONS ************************************************ -->
<group id="reactions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5" >
<group id="reactions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newReaction(true)"
new_elt_text="uiR2EdNewReaction" elt_order_text="reaction order" up_elt="r2:upReaction()"
down_elt="r2:downReaction()" max_min_elts="r2:maximizeMinimizeReactions()"
down_up_color="120 45 185 255" y="-10" />
</group>
</group>
</group>
</group>
</group>
<tree node="r2ed_logic_entities">
</tree>
<group type="container" id="r2ed_events" title="uiR2EdEvents" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_EVENTS"
pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="1000" pop_max_h="800" active="false" escapable = "true"
on_close="" on_close_params="" on_deactive="" on_deactive_params=""
savable="true"
>
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="header_opened" x="0" y="0" w="1000" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<instance template="template_label_menu" id="filterMenu" w="250" h="20" x="15" y="-15" y_text="0"
posparent="parent" posref="TL TL" w_label="-50" w_combo="100" hardtext="uiR2EDEventFilter"
on_change_params="r2.events:initFilterMenu()" color_text="255 255 0 255" />
<ctrl style="button_ok" id="add" x="10" y="0" posref="BR BL" posparent="filterMenu"
text_y="0" onclick_l="lua" params_l="r2.events:refreshEvents()" hardtext="uiR2EDRefreshEvents"
fontsize="10" text_color_normal="255 255 255 170" />
<instance template="sequence_elements_template" id="sequence_elts" x="0" y="-10" h="-45" posparent="filterMenu" posref="BL TL"
new_elt="r2.events:newElementInst()" new_elt_text="uiR2EdNewAction" />
</group>
</group>
<tree node="r2ed_events">
</tree>
<!-- ************************************************ ACTION EDITOR
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- horizontal label/menu template -->
<template name="template_label_menu_border" keep="true" active="true" id="" x="0" y="0" sizeref="" w="" h="" posparent="" posref="" w_label="0" w_combo="0" hardtext="" on_change_params="" y_text="4">
<group id="#id" active="#active" x="#x" y="#y" sizeref="#sizeref" w="#w" h="#h" posparent="#posparent" posref="#posref">
<!-- label -->
<group id="label" sizeref="w5h" w="#w_label" h="0" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="back" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 200" />
<group id="text_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="-5" y="0" h="0">
<view type="text" id="name_text" posref="BL BL" x="2" y="#y_text" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" auto_clamp="true" over_extend_view_text="true" over_extend_parent_rect="true" />
</group>
<ctrl type="button" button_type="push_button" id="tooltip" sizeref="wh" w="0" h="0" col_over="255 255 255 0" tx_over="blank.tga" scale="true" />
</group>
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="label" posref="TR TL" w="#w_combo" h="0" params_l="#on_change_params" />
</group>
</template>
<!-- sequence elements template -->
<template name="menus_list_template" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h="0" x="0" y="0" title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed="" params_over="">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="text" id="title" active="true" posparent="parent" posref="TL TL" x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40">
<group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0">
<instance template="inner_thin_border" inherit_gc_alpha="true" />
</group>
<group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="20">
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0">
<view type="text" id="label1" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" />
</group>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
<view type="text" id="label2" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" />
</group>
</group>
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-25" h="-25"></group>
<group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"></group>
<ctrl type="scroll" id="scroll_bar" posparent="back" posref="TR TR" w="8" x="13" y="-25" target="menus_list" align="T" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
</group>
</group>
</template>
<!-- sequence elements template bis -->
<template name="menus_list_template_bis" keep="true" posref="TL TL" posparent="" active="true" id="" sizeref="wh" w="0" h="0" x="0" y="0" title="" label1="" label2="" params_right="" params_left="" remove_pair="" col_pushed="" params_over="" on_change_params="">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" w="#w" y="#y" h="#h" active="#active">
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="text" id="title" active="true" posparent="parent" posref="TL TL" x="33" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#title" />
<group id="content" posref="TL TL" sizeref="wh" x="5" w="-10" y="-30" h="-40">
<group id="back" posref="TL TL" sizeref="wh" x="23" w="-43" y="0" h="0">
<instance template="inner_thin_border" inherit_gc_alpha="true" />
</group>
<group id="label_group" posparent="back" posref="TL TL" sizeref="w" x="0" w="0" y="-10" h="17">
<group id="label1_group" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0">
<view type="text" id="label1" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label1" />
</group>
<group id="label2_group" posparent="label1_group" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
<view type="text" id="label2" active="true" posparent="parent" posref="TL TL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#label2" />
</group>
</group>
<instance template="template_label_menu_border" id="what_action" sizeref="w" w="0" h="30" x="0" y="0" posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext="" on_change_params="#on_change_params" />
<group id="back_list" posparent="back" posref="TL TL" sizeref="wh" x="-23" w="23" y="-75" h="-75"></group>
<group id="menus_list" type="list" posparent="back_list" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"></group>
<ctrl type="scroll" id="scroll_bar" posparent="back_list" posref="TR TR" w="8" x="13" y="0" target="menus_list" align="T" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
</group>
</group>
</template>
<!-- two menus template -->
<template name="two_menu_template" keep="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25" params_left="" params_right="" params_over="">
<group id="#id" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<instance template="menu_button_template" id="left_menu" x="0" y="0" sizeref="w5h" posparent="parent" posref="TL TL" w="0" h="0" params_l="#params_left" params_over="#params_over" />
<instance template="menu_button_template" id="right_menu" x="0" y="0" sizeref="wh" posparent="left_menu" posref="BR BL" w="0" h="0" params_l="#params_right" params_over="#params_over" />
</group>
</template>
<!-- two menus / trash button template -->
<template name="two_menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25" params_left="" params_right="" remove_pair="" col_pushed="255 255 255 255" params_over="">
<group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<group id="button_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0">
<instance template="r2ed_triggers_little_button" id="remove_menu_pair" x="0" y="-3" posparent="parent" posref="TL TL" onclick_l="lua" params_l="#remove_pair" active="false" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
</group>
<instance template="two_menu_template" id="menu_pair" sizeref="w" posparent="parent" posref="TL TL" x="23" y="0" w="-23" h="25" params_left="#params_left" params_right="#params_right" params_over="#params_over" />
</group>
</template>
<!-- menu / trash button template -->
<template name="menu_trash_template" keep="true" active="true" id="" posparent="" sizeref="w" posref="TL TL" x="0" y="0" w="0" h="25" params_l="" remove_menu="" col_pushed="255 255 255 255" params_over="">
<group id="#id" active="#active" sizeref="#sizeref" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h">
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="wh" posparent="parent" posref="TL TL" w="-25" h="0" params_l="#params_l" params_over="#params_over" />
<group id="button_group" posparent="menu" posref="TR TL" sizeref="h" x="5" w="20" y="0" h="0">
<instance template="r2ed_triggers_little_button" id="remove_menu" x="0" y="0" posparent="parent" posref="TL TL" onclick_l="lua" params_l="#remove_menu" active="false" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
</group>
</group>
</template>
<!-- button tab style -->
<style style="tab_button_logic_entity" type="tab_button" button_type="radio_button" x="0" posref="TR TL" text_x="4" text_posref="ML ML" tx_normal="r2_tab_wide_normal" tx_pushed="r2_tab_wide_pushed" tx_over="r2_tab_wide_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" text_y="-2" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="true" />
<group type="menu" id="r2ed_logic_entity_menu" extends="base_menu" mouse_pos="false"></group>
<!-- ************************************************************************************************** -->
<!-- *********************************** LOGIC ENTITIES GUI ******************************************** -->
<!-- ************************************************************************************************** -->
<group type="container" id="r2ed_logic_entities" title="uiR2EDChatStepEditor" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_CHAT_STEPS" pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="700" pop_max_h="800" active="false" escapable="true" on_close="" on_close_params="" on_deactive="" on_deactive_params="" savable="true">
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<!-- MENU -->
<group id="menu" x="0" y="0" sizeref="wh" w="0" h="0" posparent="parent" posref="TL TL">
<group type="tab" id="sequence_tabs" child_resize_w="true" h="24" posref="TL TL" x="0" y="-4">
<ctrl style="tab_button_logic_entity" id="tab0" x="0" posref="TL TL" group="actions" hardtext="uiR2EdEvents" onclick_r="" params_r="" onclick_l="" params_l="" />
<view type="bitmap" id="tab0_bm" posparent="tab0" posref="TL TL" w="24" h="24" x="4" y="-2" color="255 255 255 255" />
<ctrl style="tab_button_logic_entity" id="tab1" posparent="tab0" group="reactions" hardtext="uiR2EdTriggers" onclick_r="" params_r="" onclick_l="" params_l="" />
<view type="bitmap" id="tab1_bm" posparent="tab1" posref="TL TL" w="24" h="24" x="4" y="-2" color="255 255 255 255" />
</group>
<view type="bitmap" id="sep" posparent="logic_entities_tabs" posref="BL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<!-- ************************************ ACTIONS ************************************************** -->
<group id="actions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5">
<group id="actions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0">
<instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newAction(true)" new_elt_text="uiR2EdNewAction" elt_order_text="action order" up_elt="r2:upAction()" down_elt="r2:downAction()" max_min_elts="r2:maximizeMinimizeActions()" down_up_color="200 150 0 255" y="-10" />
</group>
</group>
<!-- ************************************ REACTIONS ************************************************ -->
<group id="reactions" posref="TL TL" sizeref="wh" x="0" w="0" y="-20" h="-5">
<group id="reactions_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0">
<instance template="sequence_elements_template" id="sequence_elts" new_elt="r2:newReaction(true)" new_elt_text="uiR2EdNewReaction" elt_order_text="reaction order" up_elt="r2:upReaction()" down_elt="r2:downReaction()" max_min_elts="r2:maximizeMinimizeReactions()" down_up_color="120 45 185 255" y="-10" />
</group>
</group>
</group>
</group>
</group>
<tree node="r2ed_logic_entities"></tree>
<group type="container" id="r2ed_events" title="uiR2EdEvents" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_EVENTS" pop_min_w="350" pop_min_h="146" w="400" h="590" pop_max_w="1000" pop_max_h="800" active="false" escapable="true" on_close="" on_close_params="" on_deactive="" on_deactive_params="" savable="true">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_opened" x="0" y="0" w="1000" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<instance template="template_label_menu" id="filterMenu" w="250" h="20" x="15" y="-15" y_text="0" posparent="parent" posref="TL TL" w_label="-50" w_combo="100" hardtext="uiR2EDEventFilter" on_change_params="r2.events:initFilterMenu()" color_text="255 255 0 255" />
<ctrl style="button_ok" id="add" x="10" y="0" posref="BR BL" posparent="filterMenu" text_y="0" onclick_l="lua" params_l="r2.events:refreshEvents()" hardtext="uiR2EDRefreshEvents" fontsize="10" text_color_normal="255 255 255 170" />
<instance template="sequence_elements_template" id="sequence_elts" x="0" y="-10" h="-45" posparent="filterMenu" posref="BL TL" new_elt="r2.events:newElementInst()" new_elt_text="uiR2EdNewAction" />
</group>
</group>
<tree node="r2ed_events"></tree>
<!-- ************************************************ ACTION EDITOR
<template name="template_edit_action" keep="true" sizeref="w" active="false" w="0" h="435" id=""
col_pushed="200 150 0 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL" >
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL" >
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true"
onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:actions')" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true"
onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:actions')" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<group id="action_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20" >
<view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="" />
</group>
<group id="action_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20" >
<view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="" />
</group>
<view type="bitmap" id="sep" posparent="action_name" posref="BL BL" sizeref="w" w="0" h="1"
x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<view type="bitmap" id="sep" posparent="action_name" posref="BL BL" sizeref="w" w="0" h="1"
x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40">
<group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" >
<view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" />
</group>
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" >
<view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" />
</group>
<group id="on_which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" />
</group>
</group>
<group id="on_which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" />
</group>
</group>
<instance template="template_label_menu_border" id="which_event" sizeref="w" w="0" h="25" x="0" y="0"
posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext=""
on_change_params="r2:openRightMenu(false, 'Events', 'r2:actionWhichEvent')"/>
</group>
<instance template="template_label_menu_border" id="which_event" sizeref="w" w="0" h="25" x="0" y="0"
posparent="label_group" posref="BL TL" w_label="0" w_combo="0" hardtext=""
on_change_params="r2:openRightMenu(false, 'Events', 'r2:actionWhichEvent')"/>
</group>
<instance template="menus_list_template" id="actions_list" posparent="triggers" posref="BL TL"
sizeref="w" x="0" y="-20" w="0" h="165" title="uiR2EdActionsList" label1="Which entity" label2="What action"
params_left="r2:openWhichEntityMenu('ActionStep', 'actions', 'Actions')"
params_right="r2:openRightMenu(true, 'ApplicableActions', 'r2:actionWhatAction')"
remove_pair="" col_pushed=""/>
<instance template="menus_list_template" id="actions_list" posparent="triggers" posref="BL TL"
sizeref="w" x="0" y="-20" w="0" h="165" title="uiR2EdActionsList" label1="Which entity" label2="What action"
params_left="r2:openWhichEntityMenu('ActionStep', 'actions', 'Actions')"
params_right="r2:openRightMenu(true, 'ApplicableActions', 'r2:actionWhatAction')"
remove_pair="" col_pushed=""/>
<instance template="menus_list_template" id="conditions_list" posparent="actions_list" posref="BL TL"
sizeref="w" x="0" y="-20" w="0" h="115" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition"
params_left="r2:openWhichEntityMenu('ConditionStep', 'actions', 'Conditions')"
params_right="r2:openRightMenu(true, 'Conditions', 'r2:actionWhatCondition')"
remove_pair="" col_pushed=""/>
<instance template="menus_list_template" id="conditions_list" posparent="actions_list" posref="BL TL"
sizeref="w" x="0" y="-20" w="0" h="115" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition"
params_left="r2:openWhichEntityMenu('ConditionStep', 'actions', 'Conditions')"
params_right="r2:openRightMenu(true, 'Conditions', 'r2:actionWhatCondition')"
remove_pair="" col_pushed=""/>
<group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0">
<group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL"
onclick_l="lua" params_l="r2:removeAction()"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL"
onclick_l="lua" params_l="r2:removeAction()"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
</group>
</group>
</template>
-->
<!-- ************************************************ EVENT EDITOR *********************************************** -->
<template name="template_edit_events" keep="true" sizeref="w" active="false" w="0" id=""
col_pushed="200 150 0 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" >
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
onclick_l="lua" params_l="r2.events:closeElementEditor()" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<view type="bitmap" id="dismatch_filter" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
x="0" scale="false" tile="true" texture="r2ed_dismatch_filter.tga" color="255 255 255 255" />
<group id="event_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="-25" y="0" min_h="28" child_resize_h="true" child_resize_hmargin="8">
<view type="text" id="name" posref="TL TL" x="5" y="-4" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="" multi_line="true" multi_max_line="2"
justification="clip_word" />
</group>
<group id="event_validity" posparent="parent" posref="TR TR" x="-5" h="24" w="24" y="-5" >
<ctrl type="button" button_type="toggle_button" id="invalid_event" active="false" posref="TL TL" sizeref="wh"
w="0" h="0" x="0" y="0" tooltip="uiR2EDInvalidEvent"
tx_normal="r2ed_invalid_event_small.tga" tx_over="r2ed_invalid_event_small.tga" tx_pushed="r2ed_invalid_event_small.tga" scale="true" />
<ctrl type="button" button_type="toggle_button" id="valid_event" active="false" posparent="parent" posref="TL TL"
sizeref="wh" w="0" h="0" x="0" y="0" tooltip=""
tx_normal="r2ed_not_current_act.tga" tx_over="r2ed_not_current_act.tga" tx_pushed="r2ed_not_current_act.tga" scale="true" />
</group>
<view type="bitmap" id="sep" posparent="event_name" posref="BL BL" sizeref="w" w="0" h="1"
x="5" y="0" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="when" posref="BL TL" posparent="sep" sizeref="w" h="45" x="0" w="25" y="-10">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<view type="text" id="when_label" active="true" posparent="parent" posref="BL BL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHEN" />
</group>
<instance template="menu_button_template" id="when_menu" x="0" y="0" sizeref="wh" posparent="label_group"
posref="BL TL" w="0" h="0" params_l="r2.events:initEventMenu('Events')" />
</group>
<group id="what_happens" posref="BL TL" posparent="when" sizeref="w" child_resize_h="true" child_resize_hmargin="5"
x="0" w="0" y="-10">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<view type="text" id="what_happens_label" active="true" posparent="parent" posref="BL BL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHAT HAPPENS" />
</group>
<group id="actions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="1" >
<group id="actions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
</group>
</group>
<ctrl style="button_ok" id="add" active="false" x="0" y="-8" wmin="130" posref="BL TL" posparent="actions_list_gr"
text_y="0" onclick_l="lua" params_l="r2.events:newActionUI()" hardtext="uiR2EDAddAction" fontsize="10" text_color_normal="255 255 255 170" />
</group>
<group id="conditions" active="false" posref="BL TL" posparent="what_happens" sizeref="w" child_resize_h="true" child_resize_hmargin="0"
x="0" w="0" y="-10">
<group id="conditions_gr" active="false" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" child_resize_h="true" child_resize_hmargin="8" >
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<view type="text" id="conditions_label" active="true" posparent="parent" posref="BL BL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="CONDITIONS" />
</group>
<group id="conditions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="1" >
<group id="conditions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
</group>
</group>
</group>
<ctrl style="button_ok" id="add" x="0" y="0" wmin="130" posref="BL TL" posparent="conditions_gr"
text_y="0" onclick_l="lua" params_l="r2.events:newConditionUI()" hardtext="uiR2EDAddCondition" fontsize="10" text_color_normal="255 255 255 170" />
</group>
<group id="element_manage" active="true" posparent="conditions" sizeref="w" w="20" h="30" posref="BL TL" x="-10" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL"
onclick_l="lua" params_l="r2.events:removeElementInst()"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
<ctrl style="button_ok" id="advanced" x="-3" y="3" posref="BR BR" posparent="parent"
text_y="0" onclick_l="lua" params_l="r2.events:advancedEditor('true')" hardtext="Advanced..." fontsize="12" text_color_normal="255 255 255 150" />
</group>
</group>
</template>
<!-- *********************************************** REACTION EDITOR ********************************************** -->
<template name="template_edit_reaction" keep="true" sizeref="w" active="false" w="0" h="440" id=""
col_pushed="120 45 185 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL" >
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true"
onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:reactions')" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<group id="reaction_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20" >
<view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="" />
</group>
<view type="bitmap" id="sep" posparent="reaction_name" posref="BL BL" sizeref="w" w="0" h="1"
x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20" >
<group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0" >
<view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" />
</group>
<group id="which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0" >
<view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" />
</group>
</group>
<instance template="two_menu_template" id="combos" sizeref="w" posparent="label_group"
posref="BL TL" x="0" y="0" w="0" h="25" params_left="r2:openWhichEntityMenu(nil, 'reactions', nil)" params_right="r2:openRightMenu(true, 'Events', 'r2:reactionWhichEvent')"/>
</group>
<instance template="menus_list_template_bis" active="true" id="actions_list" posparent="triggers" posref="BL TL"
sizeref="w" h="165" x="0" y="-20" w="0" title="uiR2EdActionsList" label1="Which entity" label2="What action"
params_left=""
params_right=""
remove_pair="" col_pushed="" on_change_params="r2:openRightMenu(false, 'ApplicableActions', 'r2:reactionWhatMainAction')"/>
<instance template="menus_list_template" active="true" id="conditions_list" posparent="actions_list" posref="BL TL"
sizeref="w" h="115" x="0" y="-20" w="0" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition"
params_left="r2:openWhichEntityMenu('ConditionStep', 'reactions', 'Conditions')"
params_right="r2:openRightMenu(true, 'Conditions', 'r2:reactionWhatCondition')"
remove_pair="" col_pushed=""/>
<group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL"
onclick_l="lua" params_l="r2:removeReaction()"
icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
</group>
</group>
</template>
<!-- ************************************************ EVENT EDITOR *********************************************** -->
<template name="template_edit_events" keep="true" sizeref="w" active="false" w="0" id="" col_pushed="200 150 0 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" child_resize_h="true" child_resize_hmargin="0" posref="TL TL">
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" onclick_l="lua" params_l="r2.events:closeElementEditor()" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<view type="bitmap" id="dismatch_filter" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" x="0" scale="false" tile="true" texture="r2ed_dismatch_filter.tga" color="255 255 255 255" />
<group id="event_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="-25" y="0" min_h="28" child_resize_h="true" child_resize_hmargin="8">
<view type="text" id="name" posref="TL TL" x="5" y="-4" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" multi_line="true" multi_max_line="2" justification="clip_word" />
</group>
<group id="event_validity" posparent="parent" posref="TR TR" x="-5" h="24" w="24" y="-5">
<ctrl type="button" button_type="toggle_button" id="invalid_event" active="false" posref="TL TL" sizeref="wh" w="0" h="0" x="0" y="0" tooltip="uiR2EDInvalidEvent" tx_normal="r2ed_invalid_event_small.tga" tx_over="r2ed_invalid_event_small.tga" tx_pushed="r2ed_invalid_event_small.tga" scale="true" />
<ctrl type="button" button_type="toggle_button" id="valid_event" active="false" posparent="parent" posref="TL TL" sizeref="wh" w="0" h="0" x="0" y="0" tooltip="" tx_normal="r2ed_not_current_act.tga" tx_over="r2ed_not_current_act.tga" tx_pushed="r2ed_not_current_act.tga" scale="true" />
</group>
<view type="bitmap" id="sep" posparent="event_name" posref="BL BL" sizeref="w" w="0" h="1" x="5" y="0" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="when" posref="BL TL" posparent="sep" sizeref="w" h="45" x="0" w="25" y="-10">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
<view type="text" id="when_label" active="true" posparent="parent" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHEN" />
</group>
<instance template="menu_button_template" id="when_menu" x="0" y="0" sizeref="wh" posparent="label_group" posref="BL TL" w="0" h="0" params_l="r2.events:initEventMenu('Events')" />
</group>
<group id="what_happens" posref="BL TL" posparent="when" sizeref="w" child_resize_h="true" child_resize_hmargin="5" x="0" w="0" y="-10">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
<view type="text" id="what_happens_label" active="true" posparent="parent" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="WHAT HAPPENS" />
</group>
<group id="actions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1">
<group id="actions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
</group>
<ctrl style="button_ok" id="add" active="false" x="0" y="-8" wmin="130" posref="BL TL" posparent="actions_list_gr" text_y="0" onclick_l="lua" params_l="r2.events:newActionUI()" hardtext="uiR2EDAddAction" fontsize="10" text_color_normal="255 255 255 170" />
</group>
<group id="conditions" active="false" posref="BL TL" posparent="what_happens" sizeref="w" child_resize_h="true" child_resize_hmargin="0" x="0" w="0" y="-10">
<group id="conditions_gr" active="false" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" child_resize_h="true" child_resize_hmargin="8">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
<view type="text" id="conditions_label" active="true" posparent="parent" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="CONDITIONS" />
</group>
<group id="conditions_list_gr" posparent="label_group" posref="BL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1">
<group id="conditions_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
</group>
</group>
<ctrl style="button_ok" id="add" x="0" y="0" wmin="130" posref="BL TL" posparent="conditions_gr" text_y="0" onclick_l="lua" params_l="r2.events:newConditionUI()" hardtext="uiR2EDAddCondition" fontsize="10" text_color_normal="255 255 255 170" />
</group>
<group id="element_manage" active="true" posparent="conditions" sizeref="w" w="20" h="30" posref="BL TL" x="-10" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL" onclick_l="lua" params_l="r2.events:removeElementInst()" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
<ctrl style="button_ok" id="advanced" x="-3" y="3" posref="BR BR" posparent="parent" text_y="0" onclick_l="lua" params_l="r2.events:advancedEditor('true')" hardtext="Advanced..." fontsize="12" text_color_normal="255 255 255 150" />
</group>
</group>
</template>
<!-- *********************************************** REACTION EDITOR ********************************************** -->
<template name="template_edit_reaction" keep="true" sizeref="w" active="false" w="0" h="440" id="" col_pushed="120 45 185 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL">
<group id="back" x="0" y="0" sizeref="wh" w="-20" h="0" posref="TL TL" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" col_over="#col_pushed" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true" onclick_l="lua" params_l="r2:closeElementEditor('r2ed_logic_entities:content:menu:reactions')" />
<instance template="back_widget" id="back_color" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<group id="reaction_name" posparent="back" posref="TL TL" sizeref="w" x="5" w="0" y="0" h="20">
<view type="text" id="name" posref="BL BL" x="5" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" />
</group>
<view type="bitmap" id="sep" posparent="reaction_name" posref="BL BL" sizeref="w" w="0" h="1" x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="triggers" posref="TL TL" posparent="back" sizeref="w" h="45" x="10" w="0" y="-40">
<group id="label_group" posparent="parent" posref="TL TL" sizeref="w" x="0" w="0" y="0" h="20">
<group id="what_triggers" posref="TL TL" posparent="parent" sizeref="w5h" x="0" w="0" y="0" h="0">
<view type="text" id="label_what_triggers" active="true" posparent="parent" posref="TL TL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhatTriggers" />
</group>
<group id="which_event" posparent="what_triggers" posref="TR TL" sizeref="wh" x="0" w="0" y="0" h="0">
<view type="text" id="label_which_event" active="true" posparent="parent" posref="TL TL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdWhichEvent" />
</group>
</group>
<instance template="two_menu_template" id="combos" sizeref="w" posparent="label_group" posref="BL TL" x="0" y="0" w="0" h="25" params_left="r2:openWhichEntityMenu(nil, 'reactions', nil)" params_right="r2:openRightMenu(true, 'Events', 'r2:reactionWhichEvent')" />
</group>
<instance template="menus_list_template_bis" active="true" id="actions_list" posparent="triggers" posref="BL TL" sizeref="w" h="165" x="0" y="-20" w="0" title="uiR2EdActionsList" label1="Which entity" label2="What action" params_left="" params_right="" remove_pair="" col_pushed="" on_change_params="r2:openRightMenu(false, 'ApplicableActions', 'r2:reactionWhatMainAction')" />
<instance template="menus_list_template" active="true" id="conditions_list" posparent="actions_list" posref="BL TL" sizeref="w" h="115" x="0" y="-20" w="0" title="uiR2EdExtraConditions" label1="Which entity" label2="What condition" params_left="r2:openWhichEntityMenu('ConditionStep', 'reactions', 'Conditions')" params_right="r2:openRightMenu(true, 'Conditions', 'r2:reactionWhatCondition')" remove_pair="" col_pushed="" />
<group id="element_manage" active="true" posparent="parent" sizeref="w" w="0" h="20" posref="BL BL" x="0" y="0">
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL" onclick_l="lua" params_l="r2:removeReaction()" icon="r2ed_triggers_little_trash.tga" icon_over="r2ed_triggers_little_trash.tga" icon_pushed="r2ed_triggers_little_trash.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
</group>
</group>
</template>
</interface_config>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,697 +1,269 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ecosystem template -->
<template name="ecosystem_template" keep="true" id="" h="0" x="0" y="0"
posparent="" posref="" w="0" params_l="" hardtext="" wmin="160" tx_ecosystem="" tx_ecosystem_pushed=""
text_color="" col_over="" tooltip="" >
<group id="#id" sizeref="w" y="#y" x="#x" w="#w" h="#h" posparent="#posparent" posref="#posref"
child_resize_h="true" child_resize_hmargin="0" >
<ctrl type="text_button" button_type="toggle_button" id="eco_button" x="10" y="0" posref="TL TL"
text_y="0" onclick_l="lua" params_l="#params_l" hardtext="#hardtext" wmin="#wmin"
tx_normal="#tx_ecosystem" tx_pushed="#tx_ecosystem_pushed" tx_over="#tx_ecosystem"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="#text_color" text_color_pushed="#text_color" text_color_over="#text_color"
color="255 255 255 255" col_over="#col_over" over_when_pushed="false"
tooltip="#tooltip"
/>
<group id="two_lists" active="true" posparent="eco_button" posref="BL TL" x="0" y="-8" sizeparent="eco_button" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="1">
<group id="islands_list1" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0" >
</group>
<group id="islands_list2" type="list" posparent="parent" posref="TR TR" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0" >
</group>
</group>
</group>
</template>
<template name="template_line" id="" h="" >
<group id="#id" type="list" addelt="R" align="L" posparent="parent" posref="TL TL" sizeref="w"
w="0" h="#h" x="0" y="0" >
</group>
</template>
<template name="template_lines" id="" posref="TL TL" >
<group id="#id" type="list" posparent="parent" posref="TL TL" sizeref="w" w="0" h="500" child_resize_h="true"
child_resize_hmargin="1" >
</group>
</template>
<template name="act_button_template" keep="true" id="" active="true" h="" w="0" posparent="" posref="" sizeref="w"
h_button="" w_button="" x_button="" y_button="" x="0" y="0"
h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon=""
tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over=""
group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255" >
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" >
<group id="button" active="#active" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent"
w="#w_button" h="#h_button" group_onclick_l="lua" group_params_l="#group_params_l" >
<view type="bitmap" id="bl" w="8" h="8" posref="BL BL" texture="r2ed_island_corner.tga" rot="3" color="#color" global_color="false" />
<view type="bitmap" id="tl" w="8" h="8" posref="TL TL" texture="r2ed_island_corner.tga" rot="0" color="#color" global_color="false" />
<view type="bitmap" id="tr" w="8" h="8" posref="TR TR" texture="r2ed_island_corner.tga" rot="1" color="#color" global_color="false" />
<view type="bitmap" id="br" w="8" h="8" posref="BR BR" texture="r2ed_island_corner.tga" rot="2" color="#color" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="2" scale="true" color="#color" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="0" scale="true" color="#color" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="3" scale="true" color="#color" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="1" scale="true" color="#color" global_color="false" />
<ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent"
w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture"
tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip"
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
onclick_l="lua" params_l="#params_l" col_over="#col_over" over_when_pushed="true" scale="#scale"
/>
<ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent"
x="5" y="-5" sizeref="wh" w="-10" h="-10"
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip"
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over"
onclick_l="lua" params_l="#params_l" />
</group>
<group id="selected_button" active="false" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent"
w="#w_button" h="#h_button" >
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="#selected_color" global_color="false" />
<view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="#selected_color" global_color="false" />
<view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="#selected_color" global_color="false" />
<view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="#selected_color" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="#selected_color" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="#selected_color" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="#selected_color" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="#selected_color" global_color="false" />
<ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent"
w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture"
tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip"
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
onclick_l="lua" params_l="" over_when_pushed="false" scale="#scale" col_over="#col_over" />
<ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent"
x="6" y="-6" sizeref="wh" w="-12" h="-12"
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip"
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over"
onclick_l="lua" params_l="" />
</group>
</group>
</template>
<template name="previous_loc_template" keep="true" id="" active="true" x="0" y="0" h="" w="0" posparent="" posref="" sizeref="w"
x_act="" y_act="" h_act="" w_act="" sizeref_act=""
h_button="" w_button="" x_button="" y_button="" h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon=""
tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over=""
group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255"
w_text="" x_text="" h_text="" y_text="" >
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" >
<instance template="act_button_template" id="act_button" h="#h_act" w="#w_act" posparent="parent"
posref="TL TL" sizeref="#sizeref_act" x="#x_act" y="#y_act"
h_button="#h_button" w_button="#w_button" x_button="#x_button" y_button="#y_button"
h_button_texture="#h_button_texture" w_button_texture="#w_button_texture"
x_button_texture="#x_button_texture" y_button_texture="#y_button_texture" icon="#icon"
tooltip="#tooltip" scale="#scale" scale_over="#scale_over"
color="#color" selected_color="#selected_color" col_over="#col_over"
group_params_l="#group_params_l" params_l="#params_l" over_active="#over_active"
back_texture="#back_texture" back_color="0#back_color" />
<group id="" x="#x_text" y="#y_text" posparent="act_button" posref="TR TL" sizeparent="parent" sizeref="wh" h="#h_text" w="#w_text" >
<group id="text_list" posparent="parent" sizeref="wh" w="0" h="" posref="TL TL" x="0" y="0">
<group id="crop" posparent="parent" posref="TL TL" x="4" y="-4" sizeref="wh" w="-8" h="-8" />
<group id="list" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" child_resize_h="true"
child_resize_hmargin="1" w="-15" max_sizeparent="crop" max_sizeref="h" max_h="0" >
<group type="scroll_text" id="list_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="1"
child_resize_hmargin="0" posref="TL TL" x="0" y="0">
<group type="list" id="previous_text" hardtext="" shadow="true" fontsize="12"
justification="justified" color="255 255 255 160" space="3"
global_color="true" posref="TL TL" x="0" y="0" sizeref="hw" w="0" h="0" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_previous" align="T" target="list" posparent="crop" posref="TR TR"
x="-5" y="0" />
</group>
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
</group>
</template>
<template name="entry_point_template" keep="true" id="" h="0" posparent="" >
<group id="#id" active="true" sizeref="wh" w="0" h="0" x="0" y="0" posref="TL TL" posparent="#posparent">
<ctrl type="button" id="flag" button_type="push_button" posref="TL TL" posparent="parent"
w="10" h="10" x="0" y="0"
tx_normal="r2ed_entry_point.tga" tx_pushed="r2ed_entry_point_pushed.tga" tx_over="r2ed_entry_point_over.tga" tooltip=""
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
onclick_l="lua" params_l="r2.acts:selectEntryPoint()" over_when_pushed="false" render_layer="1" />
</group>
</template>
<template name="image_island_template" keep="true" id="" h="0" w="0" x="0" y="0" espace="" posref="TL TL" posparent="parent"
params_l="" >
<group id="#id" active="true" w="#w" h="#h" x="#x" y="#y" posref="#posref" posparent="#posparent">
<group id="decal" sizeref="wh" h="0" w="-10" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="bl" w="4" h="4" posref="BL BL" texture="r2ed_little_island_corner_select.tga" rot="3" color="255 0 0 255" />
<view type="bitmap" id="tl" w="4" h="4" posref="TL TL" texture="r2ed_little_island_corner_select.tga" rot="0" color="255 0 0 255" />
<view type="bitmap" id="tr" w="4" h="4" posref="TR TR" texture="r2ed_little_island_corner_select.tga" rot="1" color="255 0 0 255" />
<view type="bitmap" id="br" w="4" h="4" posref="BR BR" texture="r2ed_little_island_corner_select.tga" rot="2" color="255 0 0 255" />
<view type="bitmap" id="bg" x="4" y="-4" sizeref="wh" w="-8" h="-8" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0"/>
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" />
<view type="bitmap" id="top" posref="TL TL" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" />
<view type="bitmap" id="left" posref="BL BL" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" />
<view type="bitmap" id="right" posref="BR BR" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" />
<ctrl type="button" id="island_bitmap" button_type="push_button" posref="TL TL" posparent="parent"
w="" h="" x="" y=""
tx_normal="" tx_pushed="" tx_over="" tooltip=""
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
onclick_l="lua" params_l="#params_l" over_when_pushed = "true" col_over="" />
</group>
</group>
</template>
<style style="style_ok_act" type="text_button" button_type="push_button"
tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="208" wmargin="8"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192"
text_y="-2" fontsize="12" shadow="true"
text_color_normal="255 255 255 255"
text_color_pushed="255 255 255 255"
text_color_over="255 255 255 255"
text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255"
text_global_color_normal="false"
text_global_color_pushed="false"
text_global_color_over="false" force_text_over="true" />
<group id="r2ed_acts" active="true" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"
on_enter="lua" on_enter_params="r2.acts:openPopupName()" >
<view type="bitmap" id="back" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" texture="Skin_Blank.tga"
scale="true" tile="true" color="200 200 200 255" />
<group id="content" x="0" y="-5" sizeref="wh" w="0" h="-5" posref="TL TL" >
<!-- PREVIOUS LOCATION -->
<group id="previous_location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<group id="previous_location_gr" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="wh" w="-20" h="-15" >
<ctrl type="text_button" button_type="toggle_button" id="new_previous_title" x="0" y="0" posref="TL TL"
text_y="0" hardtext="Choose new or previous location" wmin="170"
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
tooltip="uiR2EDTooltipChooseIsland"
/>
<group id="new _previous_island" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" h="-53" w="0" >
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
</group>
<group id="create_island" posparent="parent" posref="TL TL" x="10" y="-10" sizeref="w" h="160" w="-20" >
<instance template="act_button_template" id="new_location_mode_2" sizeref="" h="150" w="150"
x="8" y="0" posparent="parent" posref="TL TL" tooltip="uiR2EDCreateLocation"
h_button="0" w_button="0" x_button="0" y_button="0"
h_button_texture="138" w_button_texture="138"
x_button_texture="6" y_button_texture="-6" icon="r2ed_create_location.tga"
scale="true" color="255 255 0 255" back_color="255 255 0 255" selected_color="255 255 0 255" col_over="255 200 0 100"
group_params_l="r2.acts:locationIsland(getUICaller())" params_l="r2.acts:locationIsland()"
over_active="false" />
</group>
<group id="choose_previous_island" posparent="create_island" posref="BL TL" x="0" y="0" sizeparent="parent" sizeref="wh" h="-180" w="-20" >
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
<group id="crop_previous" posparent="parent" posref="TL TL" x="8" y="-8"
sizeref="wh" w="-8" h="-16" />
<group id="previous_location_list" posparent="crop_previous" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="1" max_sizeparent="crop_previous" max_sizeref="h" max_h="0" >
<group id="location_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
</group>
</group>
<ctrl style="skin_scroll" id="scroll_previous_islands" align="T" target="previous_location_list" posparent="crop_previous" posref="TR TR"
x="0" y="0" step_value="10" />
</group>
</group>
<ctrl style="style_ok_act" id="previous_loc_ok" active="true" posparent="parent" posref="BR BR" x="0" y="0" hardtext="uiR2EDValidateForm"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:createLocationOrCreateAct()" />
<ctrl style="style_ok_act" id="previous_loc_cancel" active="true" posparent="previous_loc_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
</group>
</group>
<!-- LOCATION -->
<group id="location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<group id="choose_island" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="w" w="-20" h="203" >
<ctrl type="text_button" button_type="toggle_button" id="choose_island_title" x="0" y="0" posref="TL TL"
text_y="0" hardtext="Choose island" wmin="170"
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
tooltip="uiR2EDTooltipChooseIsland"
/>
<group id="choose_island_gr" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" w="0" h="-23" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<group id="choose_ecosystem" posparent="parent" posref="TL TL" x="0" y="0" sizeref="h" w="190" h="0" >
<group id="crop" posparent="parent" posref="TL TL" x="0" y="-10" sizeref="wh" w="0" h="-10" />
<group id="islands_list_gr" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="1" max_sizeparent="crop" max_sizeref="h" max_h="0" >
<group id="ecosystem_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
<instance template="ecosystem_template" id="r2_desert" posparent="parent" posref="TL TL" x="10" y ="0"
hardtext="uiR2EDEcosystemDesert" params_l="r2.acts:openEcosystemIslands('r2_desert')"
tx_ecosystem="r2ed_desert" tx_ecosystem_pushed="r2ed_desert_pushed" text_color="152 60 39 255"
col_over="127 48 33 80" />
<instance template="ecosystem_template" id="r2_jungle" posparent="r2_desert" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemJungle" params_l="r2.acts:openEcosystemIslands('r2_jungle')"
tx_ecosystem="r2ed_jungle" tx_ecosystem_pushed="r2ed_jungle_pushed" text_color="18 156 51 255"
col_over="0 150 80 80" />
<instance template="ecosystem_template" id="r2_lakes" posparent="r2_jungle" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemLacustre" params_l="r2.acts:openEcosystemIslands('r2_lakes')"
tx_ecosystem="r2ed_lakes" tx_ecosystem_pushed="r2ed_lakes_pushed" text_color="66 93 82 255"
col_over="73 148 150 80" />
<instance template="ecosystem_template" id="r2_forest" posparent="r2_lakes" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemForest" params_l="r2.acts:openEcosystemIslands('r2_forest')"
tx_ecosystem="r2ed_forest" tx_ecosystem_pushed="r2ed_forest_pushed" text_color="163 66 43 255"
col_over="170 0 0 80" />
<instance template="ecosystem_template" id="r2_roots" posparent="r2_forest" posref="BL TL" x="0" y ="0"
hardtext="uiR2EDEcosystemPrimeRoots" params_l="r2.acts:openEcosystemIslands('r2_roots')"
tx_ecosystem="r2ed_prime_roots" tx_ecosystem_pushed="r2ed_prime_roots_pushed" text_color="93 168 142 255"
col_over="86 150 180 80" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_islands" align="T" target="islands_list_gr" posparent="crop" posref="TR TR"
x="-5" y="0"/>
</group>
<group id="choose_island_2" posparent="parent" posref="TR TR" x="0" y="-8" sizeref="wh" h="-18" w="-180" >
<group id="crop_2" posparent="parent" posref="TL TL" x="4" y="-2" sizeref="wh" w="-4" h="-4" />
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="-15" h="0" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
<group id="islands_list_gr_2" posparent="crop_2" posref="TL TL" x="0" y="0" sizeref="w" w="-20" child_resize_h="true"
child_resize_hmargin="1" max_sizeparent="crop_2" max_sizeref="h" max_h="0" >
<group id="ecosystem_list_2" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
</group>
</group>
<ctrl style="skin_scroll" id="scroll_islands_2" align="T" target="islands_list_gr_2" posparent="crop_2" posref="TR TR"
x="-5" y="0" step_value="10" />
</group>
</group>
</group>
<!-- ISLAND IMAGES -->
<group id="island_images" x="190" y="-218" w="-200" sizeref="wh" h="-218" posref="TL TL" >
<ctrl type="text_button" button_type="toggle_button" id="card_title" x="0" y="0" posref="TL TL"
text_y="0" hardtext="Island zoom" wmin="170"
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
tooltip="uiR2EDTooltipIslandZoom"
/>
<group id="island_current_image_gr" x="0" y="-23" w="0" sizeref="wh" h="-63" posref="TL TL" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<group id="island_current_image" x="5" y="-5" sizeref="wh" h="-10" w="-10" posref="TL TL" win_priority="2" >
<group id="selected_button" active="true" sizeref="wh" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="island_bitmap" posref="TL TL" posparent="parent"
w="" h="" x="" y=""
texture="blank.tga" scale="true" color="255 255 255 255" global_color="false" />
<group id="entry_points" posparent="island_bitmap" posref="TL TL" sizeparent="parent" sizeref="wh" >
<vector template="entry_point_template" _size="10"
_firstpos="TL TL" _nextpos="BL TL" id="entrypoint$i" active="true"
/>
</group>
</group>
</group>
</group>
<group id="island_cancel_ok" x="0" y="0" w="0" sizeref="w" h="40" posref="BL BL" posparent="parent" >
<view type="text" render_layer="2" id="ring_level" auto_clamp="true" posref="TL TL" x="10" y="-15" posparent="parent"
global_color="false" hardtext="RING LEVEL" over_extend_view_text="true" over_extend_parent_rect="true"/>
<ctrl style="style_ok_act" id="island_ok" active="false" posparent="parent" posref="BR BR" x="0" y="10" hardtext="uiR2EDEnterMap"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:openLocationName()" />
<ctrl style="style_ok_act" id="island_precedent" active="false" posparent="island_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDBack"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:backPreviousLocations()" />
<ctrl style="style_ok_act" id="island_cancel" active="false" posparent="island_precedent" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm"
color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
</group>
</group>
<!-- SEASONS -->
<group id="island_season" x="10" y="-218" w="170" sizeref="h" h="-258" posref="TL TL" >
<ctrl type="text_button" button_type="toggle_button" id="season_title" x="0" y="0" posref="TL TL"
text_y="0" hardtext="uiR2EDSeason" wmin="170"
tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
tooltip="uiR2EDTooltipSeason"
/>
<group id="season_gr" x="0" y="-23" sizeref="wh" w="0" h="-23" posref="TL TL" >
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3"
scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3"
y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3"
y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0"
y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<instance template="label_toggle_button" id="manual_season_2" posparent="parent"
x="30" y="-30" posref="TL TL" w="150" hardtext="uiR2EDManualSeason" fontsize="12" y_text="-5" params_l="r2.acts:manualSeason()"/>
<group id="season_list_2" type="list" posparent="manual_season_2" posref="BL TL" x="10" y="-30"
sizeparent="parent" sizeref="wh" w="0" h="0" >
<instance template="act_button_template" id="Spring" sizeref="" h="90" w="80"
x="10" y="-10" posparent="parent" posref="TL TL" tooltip="uiR2EDSpring"
h_button="-10" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_spring.tga"
scale="true" color="254 254 95 255" back_color="254 254 95 255" selected_color="255 255 0 255" col_over="255 255 0 255"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
<instance template="act_button_template" id="Summer" sizeref="" h="90" w="80"
x="0" y="-15" posparent="Spring" posref="BL TL" tooltip="uiR2EDSummer"
h_button="-10" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_summer.tga"
scale="true" color="13 92 3 255" back_color="13 92 3 255" selected_color="106 250 94 255" col_over="13 92 3 100"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
<instance template="act_button_template" id="Autumn" sizeref="" h="90" w="80"
x="0" y="-15" posparent="Summer" posref="BL TL" tooltip="uiR2EDAutumn"
h_button="-10" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_fall.tga"
scale="true" color="255 60 20 255" back_color="255 60 20 255" selected_color="250 50 25 255" col_over="255 60 20 100"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
<instance template="act_button_template" id="Winter" sizeref="" h="80" w="80"
x="0" y="-15" posparent="Autumn" posref="BL TL" tooltip="uiR2EDWinter"
h_button="0" w_button="0" x_button="0" y_button="0"
h_button_texture="68" w_button_texture="68"
x_button_texture="6" y_button_texture="-6" icon="r2ed_winter.tga"
scale="true" color="0 6 114 255" back_color="0 6 114 255" selected_color="25 107 250 255" col_over="0 6 114 100"
group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()"
over_active="false" />
</group>
</group>
</group>
</group>
</group>
</group>
<!-- ********************************* scenario/act names ********************** -->
<group type="modal" id="r2ed_choose_scenario_act_name" exit_click_out="false" posref="ML ML" x="0" y="0"
w="350" child_resize_h="true" child_resize_hmargin="15" on_enter="lua" on_enter_params="r2.acts:chooseScenarioActName()"
options="skin_modal">
<group id="scenario_name" x="20" y="0" sizeref="w" w="-10" h="60" posparent="parent" posref="TL TL" >
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent" >
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDScenarioName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-30"
posparent="label" posref="BL TL" x="0" y="-6" h="20"
max_num_chars="30" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r=""
onenter="lua" params="r2.acts:chooseScenarioActName()" >
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
</group>
<group id="act_name" x="0" y="0" sizeparent="parent" sizeref="w" w="-40" h="60" posparent="scenario_name" posref="BL TL" >
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent" >
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDActName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="0"
posparent="label" posref="BL TL" x="0" y="-6" h="20"
max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r=""
onenter="lua" params="r2.acts:chooseScenarioActName()" >
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
</group>
<ctrl style="style_ok_act" id="name_ok" active="true" posparent="act_name" posref="BR TR" x="0" y="-10"
hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:chooseScenarioActName()" />
</group>
<!-- ********************************* location name ************************* -->
<group type="modal" id="r2ed_choose_location_name" exit_click_out="false" posref="ML ML" x="0" y="0" w="350" h="85"
options="skin_modal" on_enter="lua" on_enter_params="r2.acts:chooseLocationName()" >
<group id="name_group" x="20" y="-20" sizeref="wh" w="-40" h="-40" posparent="parent" posref="TL TL" >
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="0" posref="TL TL" posparent="parent" >
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDLocationName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-70"
posparent="label" posref="BL TL" x="0" y="-6" h="20"
max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r=""
onenter="lua" params="r2.acts:chooseLocationName()" >
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
<ctrl style="style_ok_act" id="name_ok" active="true" posparent="edit_box_group" posref="BR BL" x="20" y="0"
hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
wmin="50" onclick_l="lua" params_l="r2.acts:chooseLocationName()" />
</group>
</group>
<tree node="r2ed_acts">
</tree>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ecosystem template -->
<template name="ecosystem_template" keep="true" id="" h="0" x="0" y="0" posparent="" posref="" w="0" params_l="" hardtext="" wmin="160" tx_ecosystem="" tx_ecosystem_pushed="" text_color="" col_over="" tooltip="">
<group id="#id" sizeref="w" y="#y" x="#x" w="#w" h="#h" posparent="#posparent" posref="#posref" child_resize_h="true" child_resize_hmargin="0">
<ctrl type="text_button" button_type="toggle_button" id="eco_button" x="10" y="0" posref="TL TL" text_y="0" onclick_l="lua" params_l="#params_l" hardtext="#hardtext" wmin="#wmin" tx_normal="#tx_ecosystem" tx_pushed="#tx_ecosystem_pushed" tx_over="#tx_ecosystem" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="#text_color" text_color_pushed="#text_color" text_color_over="#text_color" color="255 255 255 255" col_over="#col_over" over_when_pushed="false" tooltip="#tooltip" />
<group id="two_lists" active="true" posparent="eco_button" posref="BL TL" x="0" y="-8" sizeparent="eco_button" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="1">
<group id="islands_list1" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0"></group>
<group id="islands_list2" type="list" posparent="parent" posref="TR TR" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0"></group>
</group>
</group>
</template>
<template name="template_line" id="" h="">
<group id="#id" type="list" addelt="R" align="L" posparent="parent" posref="TL TL" sizeref="w" w="0" h="#h" x="0" y="0"></group>
</template>
<template name="template_lines" id="" posref="TL TL">
<group id="#id" type="list" posparent="parent" posref="TL TL" sizeref="w" w="0" h="500" child_resize_h="true" child_resize_hmargin="1"></group>
</template>
<template name="act_button_template" keep="true" id="" active="true" h="" w="0" posparent="" posref="" sizeref="w" h_button="" w_button="" x_button="" y_button="" x="0" y="0" h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255">
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref">
<group id="button" active="#active" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent" w="#w_button" h="#h_button" group_onclick_l="lua" group_params_l="#group_params_l">
<view type="bitmap" id="bl" w="8" h="8" posref="BL BL" texture="r2ed_island_corner.tga" rot="3" color="#color" global_color="false" />
<view type="bitmap" id="tl" w="8" h="8" posref="TL TL" texture="r2ed_island_corner.tga" rot="0" color="#color" global_color="false" />
<view type="bitmap" id="tr" w="8" h="8" posref="TR TR" texture="r2ed_island_corner.tga" rot="1" color="#color" global_color="false" />
<view type="bitmap" id="br" w="8" h="8" posref="BR BR" texture="r2ed_island_corner.tga" rot="2" color="#color" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="2" scale="true" color="#color" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="0" scale="true" color="#color" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="3" scale="true" color="#color" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="1" scale="true" color="#color" global_color="false" />
<ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture" tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="#params_l" col_over="#col_over" over_when_pushed="true" scale="#scale" />
<ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" x="5" y="-5" sizeref="wh" w="-10" h="-10" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over" onclick_l="lua" params_l="#params_l" />
</group>
<group id="selected_button" active="false" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent" w="#w_button" h="#h_button">
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="#selected_color" global_color="false" />
<view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="#selected_color" global_color="false" />
<view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="#selected_color" global_color="false" />
<view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="#selected_color" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="#selected_color" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="#selected_color" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="#selected_color" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="#selected_color" global_color="false" />
<ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture" tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="" over_when_pushed="false" scale="#scale" col_over="#col_over" />
<ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" x="6" y="-6" sizeref="wh" w="-12" h="-12" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over" onclick_l="lua" params_l="" />
</group>
</group>
</template>
<template name="previous_loc_template" keep="true" id="" active="true" x="0" y="0" h="" w="0" posparent="" posref="" sizeref="w" x_act="" y_act="" h_act="" w_act="" sizeref_act="" h_button="" w_button="" x_button="" y_button="" h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255" w_text="" x_text="" h_text="" y_text="">
<group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref">
<instance template="act_button_template" id="act_button" h="#h_act" w="#w_act" posparent="parent" posref="TL TL" sizeref="#sizeref_act" x="#x_act" y="#y_act" h_button="#h_button" w_button="#w_button" x_button="#x_button" y_button="#y_button" h_button_texture="#h_button_texture" w_button_texture="#w_button_texture" x_button_texture="#x_button_texture" y_button_texture="#y_button_texture" icon="#icon" tooltip="#tooltip" scale="#scale" scale_over="#scale_over" color="#color" selected_color="#selected_color" col_over="#col_over" group_params_l="#group_params_l" params_l="#params_l" over_active="#over_active" back_texture="#back_texture" back_color="0#back_color" />
<group id="" x="#x_text" y="#y_text" posparent="act_button" posref="TR TL" sizeparent="parent" sizeref="wh" h="#h_text" w="#w_text">
<group id="text_list" posparent="parent" sizeref="wh" w="0" h="" posref="TL TL" x="0" y="0">
<group id="crop" posparent="parent" posref="TL TL" x="4" y="-4" sizeref="wh" w="-8" h="-8" />
<group id="list" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" child_resize_h="true" child_resize_hmargin="1" w="-15" max_sizeparent="crop" max_sizeref="h" max_h="0">
<group type="scroll_text" id="list_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="1" child_resize_hmargin="0" posref="TL TL" x="0" y="0">
<group type="list" id="previous_text" hardtext="" shadow="true" fontsize="12" justification="justified" color="255 255 255 160" space="3" global_color="true" posref="TL TL" x="0" y="0" sizeref="hw" w="0" h="0" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_previous" align="T" target="list" posparent="crop" posref="TR TR" x="-5" y="0" />
</group>
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
</group>
</template>
<template name="entry_point_template" keep="true" id="" h="0" posparent="">
<group id="#id" active="true" sizeref="wh" w="0" h="0" x="0" y="0" posref="TL TL" posparent="#posparent">
<ctrl type="button" id="flag" button_type="push_button" posref="TL TL" posparent="parent" w="10" h="10" x="0" y="0" tx_normal="r2ed_entry_point.tga" tx_pushed="r2ed_entry_point_pushed.tga" tx_over="r2ed_entry_point_over.tga" tooltip="" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="r2.acts:selectEntryPoint()" over_when_pushed="false" render_layer="1" />
</group>
</template>
<template name="image_island_template" keep="true" id="" h="0" w="0" x="0" y="0" espace="" posref="TL TL" posparent="parent" params_l="">
<group id="#id" active="true" w="#w" h="#h" x="#x" y="#y" posref="#posref" posparent="#posparent">
<group id="decal" sizeref="wh" h="0" w="-10" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="bl" w="4" h="4" posref="BL BL" texture="r2ed_little_island_corner_select.tga" rot="3" color="255 0 0 255" />
<view type="bitmap" id="tl" w="4" h="4" posref="TL TL" texture="r2ed_little_island_corner_select.tga" rot="0" color="255 0 0 255" />
<view type="bitmap" id="tr" w="4" h="4" posref="TR TR" texture="r2ed_little_island_corner_select.tga" rot="1" color="255 0 0 255" />
<view type="bitmap" id="br" w="4" h="4" posref="BR BR" texture="r2ed_little_island_corner_select.tga" rot="2" color="255 0 0 255" />
<view type="bitmap" id="bg" x="4" y="-4" sizeref="wh" w="-8" h="-8" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" />
<view type="bitmap" id="top" posref="TL TL" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" />
<view type="bitmap" id="left" posref="BL BL" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" />
<view type="bitmap" id="right" posref="BR BR" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" />
<ctrl type="button" id="island_bitmap" button_type="push_button" posref="TL TL" posparent="parent" w="" h="" x="" y="" tx_normal="" tx_pushed="" tx_over="" tooltip="" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="#params_l" over_when_pushed="true" col_over="" />
</group>
</group>
</template>
<style style="style_ok_act" type="text_button" button_type="push_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="208" wmargin="8" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192" text_y="-2" fontsize="12" shadow="true" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="false" text_global_color_pushed="false" text_global_color_over="false" force_text_over="true" />
<group id="r2ed_acts" active="true" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" on_enter="lua" on_enter_params="r2.acts:openPopupName()">
<view type="bitmap" id="back" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" texture="Skin_Blank.tga" scale="true" tile="true" color="200 200 200 255" />
<group id="content" x="0" y="-5" sizeref="wh" w="0" h="-5" posref="TL TL">
<!-- PREVIOUS LOCATION -->
<group id="previous_location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="previous_location_gr" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="wh" w="-20" h="-15">
<ctrl type="text_button" button_type="toggle_button" id="new_previous_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="Choose new or previous location" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipChooseIsland" />
<group id="new _previous_island" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" h="-53" w="0">
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
</group>
<group id="create_island" posparent="parent" posref="TL TL" x="10" y="-10" sizeref="w" h="160" w="-20">
<instance template="act_button_template" id="new_location_mode_2" sizeref="" h="150" w="150" x="8" y="0" posparent="parent" posref="TL TL" tooltip="uiR2EDCreateLocation" h_button="0" w_button="0" x_button="0" y_button="0" h_button_texture="138" w_button_texture="138" x_button_texture="6" y_button_texture="-6" icon="r2ed_create_location.tga" scale="true" color="255 255 0 255" back_color="255 255 0 255" selected_color="255 255 0 255" col_over="255 200 0 100" group_params_l="r2.acts:locationIsland(getUICaller())" params_l="r2.acts:locationIsland()" over_active="false" />
</group>
<group id="choose_previous_island" posparent="create_island" posref="BL TL" x="0" y="0" sizeparent="parent" sizeref="wh" h="-180" w="-20">
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
<group id="crop_previous" posparent="parent" posref="TL TL" x="8" y="-8" sizeref="wh" w="-8" h="-16" />
<group id="previous_location_list" posparent="crop_previous" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1" max_sizeparent="crop_previous" max_sizeref="h" max_h="0">
<group id="location_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
</group>
<ctrl style="skin_scroll" id="scroll_previous_islands" align="T" target="previous_location_list" posparent="crop_previous" posref="TR TR" x="0" y="0" step_value="10" />
</group>
</group>
<ctrl style="style_ok_act" id="previous_loc_ok" active="true" posparent="parent" posref="BR BR" x="0" y="0" hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:createLocationOrCreateAct()" />
<ctrl style="style_ok_act" id="previous_loc_cancel" active="true" posparent="previous_loc_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
</group>
</group>
<!-- LOCATION -->
<group id="location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="choose_island" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="w" w="-20" h="203">
<ctrl type="text_button" button_type="toggle_button" id="choose_island_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="Choose island" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipChooseIsland" />
<group id="choose_island_gr" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" w="0" h="-23">
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<group id="choose_ecosystem" posparent="parent" posref="TL TL" x="0" y="0" sizeref="h" w="190" h="0">
<group id="crop" posparent="parent" posref="TL TL" x="0" y="-10" sizeref="wh" w="0" h="-10" />
<group id="islands_list_gr" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="1" max_sizeparent="crop" max_sizeref="h" max_h="0">
<group id="ecosystem_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0">
<instance template="ecosystem_template" id="r2_desert" posparent="parent" posref="TL TL" x="10" y="0" hardtext="uiR2EDEcosystemDesert" params_l="r2.acts:openEcosystemIslands('r2_desert')" tx_ecosystem="r2ed_desert" tx_ecosystem_pushed="r2ed_desert_pushed" text_color="152 60 39 255" col_over="127 48 33 80" />
<instance template="ecosystem_template" id="r2_jungle" posparent="r2_desert" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemJungle" params_l="r2.acts:openEcosystemIslands('r2_jungle')" tx_ecosystem="r2ed_jungle" tx_ecosystem_pushed="r2ed_jungle_pushed" text_color="18 156 51 255" col_over="0 150 80 80" />
<instance template="ecosystem_template" id="r2_lakes" posparent="r2_jungle" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemLacustre" params_l="r2.acts:openEcosystemIslands('r2_lakes')" tx_ecosystem="r2ed_lakes" tx_ecosystem_pushed="r2ed_lakes_pushed" text_color="66 93 82 255" col_over="73 148 150 80" />
<instance template="ecosystem_template" id="r2_forest" posparent="r2_lakes" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemForest" params_l="r2.acts:openEcosystemIslands('r2_forest')" tx_ecosystem="r2ed_forest" tx_ecosystem_pushed="r2ed_forest_pushed" text_color="163 66 43 255" col_over="170 0 0 80" />
<instance template="ecosystem_template" id="r2_roots" posparent="r2_forest" posref="BL TL" x="0" y="0" hardtext="uiR2EDEcosystemPrimeRoots" params_l="r2.acts:openEcosystemIslands('r2_roots')" tx_ecosystem="r2ed_prime_roots" tx_ecosystem_pushed="r2ed_prime_roots_pushed" text_color="93 168 142 255" col_over="86 150 180 80" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_islands" align="T" target="islands_list_gr" posparent="crop" posref="TR TR" x="-5" y="0" />
</group>
<group id="choose_island_2" posparent="parent" posref="TR TR" x="0" y="-8" sizeref="wh" h="-18" w="-180">
<group id="crop_2" posparent="parent" posref="TL TL" x="4" y="-2" sizeref="wh" w="-4" h="-4" />
<group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="-15" h="0">
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
</group>
<group id="islands_list_gr_2" posparent="crop_2" posref="TL TL" x="0" y="0" sizeref="w" w="-20" child_resize_h="true" child_resize_hmargin="1" max_sizeparent="crop_2" max_sizeref="h" max_h="0">
<group id="ecosystem_list_2" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0"></group>
</group>
<ctrl style="skin_scroll" id="scroll_islands_2" align="T" target="islands_list_gr_2" posparent="crop_2" posref="TR TR" x="-5" y="0" step_value="10" />
</group>
</group>
</group>
<!-- ISLAND IMAGES -->
<group id="island_images" x="190" y="-218" w="-200" sizeref="wh" h="-218" posref="TL TL">
<ctrl type="text_button" button_type="toggle_button" id="card_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="Island zoom" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipIslandZoom" />
<group id="island_current_image_gr" x="0" y="-23" w="0" sizeref="wh" h="-63" posref="TL TL">
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<group id="island_current_image" x="5" y="-5" sizeref="wh" h="-10" w="-10" posref="TL TL" win_priority="2">
<group id="selected_button" active="true" sizeref="wh" x="0" y="0" posref="TL TL" posparent="parent">
<view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0" global_color="false" />
<view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" global_color="false" />
<view type="bitmap" id="island_bitmap" posref="TL TL" posparent="parent" w="" h="" x="" y="" texture="blank.tga" scale="true" color="255 255 255 255" global_color="false" />
<group id="entry_points" posparent="island_bitmap" posref="TL TL" sizeparent="parent" sizeref="wh">
<vector template="entry_point_template" _size="10" _firstpos="TL TL" _nextpos="BL TL" id="entrypoint$i" active="true" />
</group>
</group>
</group>
</group>
<group id="island_cancel_ok" x="0" y="0" w="0" sizeref="w" h="40" posref="BL BL" posparent="parent">
<view type="text" render_layer="2" id="ring_level" auto_clamp="true" posref="TL TL" x="10" y="-15" posparent="parent" global_color="false" hardtext="RING LEVEL" over_extend_view_text="true" over_extend_parent_rect="true" />
<ctrl style="style_ok_act" id="island_ok" active="false" posparent="parent" posref="BR BR" x="0" y="10" hardtext="uiR2EDEnterMap" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:openLocationName()" />
<ctrl style="style_ok_act" id="island_precedent" active="false" posparent="island_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDBack" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:backPreviousLocations()" />
<ctrl style="style_ok_act" id="island_cancel" active="false" posparent="island_precedent" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
</group>
</group>
<!-- SEASONS -->
<group id="island_season" x="10" y="-218" w="170" sizeref="h" h="-258" posref="TL TL">
<ctrl type="text_button" button_type="toggle_button" id="season_title" x="0" y="0" posref="TL TL" text_y="0" hardtext="uiR2EDSeason" wmin="170" tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255" tooltip="uiR2EDTooltipSeason" />
<group id="season_gr" x="0" y="-23" sizeref="wh" w="0" h="-23" posref="TL TL">
<instance template="inner_thin_border_group" />
<view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
<view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
<instance template="label_toggle_button" id="manual_season_2" posparent="parent" x="30" y="-30" posref="TL TL" w="150" hardtext="uiR2EDManualSeason" fontsize="12" y_text="-5" params_l="r2.acts:manualSeason()" />
<group id="season_list_2" type="list" posparent="manual_season_2" posref="BL TL" x="10" y="-30" sizeparent="parent" sizeref="wh" w="0" h="0">
<instance template="act_button_template" id="Spring" sizeref="" h="90" w="80" x="10" y="-10" posparent="parent" posref="TL TL" tooltip="uiR2EDSpring" h_button="-10" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_spring.tga" scale="true" color="254 254 95 255" back_color="254 254 95 255" selected_color="255 255 0 255" col_over="255 255 0 255" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
<instance template="act_button_template" id="Summer" sizeref="" h="90" w="80" x="0" y="-15" posparent="Spring" posref="BL TL" tooltip="uiR2EDSummer" h_button="-10" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_summer.tga" scale="true" color="13 92 3 255" back_color="13 92 3 255" selected_color="106 250 94 255" col_over="13 92 3 100" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
<instance template="act_button_template" id="Autumn" sizeref="" h="90" w="80" x="0" y="-15" posparent="Summer" posref="BL TL" tooltip="uiR2EDAutumn" h_button="-10" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_fall.tga" scale="true" color="255 60 20 255" back_color="255 60 20 255" selected_color="250 50 25 255" col_over="255 60 20 100" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
<instance template="act_button_template" id="Winter" sizeref="" h="80" w="80" x="0" y="-15" posparent="Autumn" posref="BL TL" tooltip="uiR2EDWinter" h_button="0" w_button="0" x_button="0" y_button="0" h_button_texture="68" w_button_texture="68" x_button_texture="6" y_button_texture="-6" icon="r2ed_winter.tga" scale="true" color="0 6 114 255" back_color="0 6 114 255" selected_color="25 107 250 255" col_over="0 6 114 100" group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" over_active="false" />
</group>
</group>
</group>
</group>
</group>
</group>
<!-- ********************************* scenario/act names ********************** -->
<group type="modal" id="r2ed_choose_scenario_act_name" exit_click_out="false" posref="ML ML" x="0" y="0" w="350" child_resize_h="true" child_resize_hmargin="15" on_enter="lua" on_enter_params="r2.acts:chooseScenarioActName()" options="skin_modal">
<group id="scenario_name" x="20" y="0" sizeref="w" w="-10" h="60" posparent="parent" posref="TL TL">
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent">
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDScenarioName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-30" posparent="label" posref="BL TL" x="0" y="-6" h="20" max_num_chars="30" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" onenter="lua" params="r2.acts:chooseScenarioActName()">
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
</group>
</group>
<group id="act_name" x="0" y="0" sizeparent="parent" sizeref="w" w="-40" h="60" posparent="scenario_name" posref="BL TL">
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent">
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDActName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="0" posparent="label" posref="BL TL" x="0" y="-6" h="20" max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" onenter="lua" params="r2.acts:chooseScenarioActName()">
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
</group>
</group>
<ctrl style="style_ok_act" id="name_ok" active="true" posparent="act_name" posref="BR TR" x="0" y="-10" hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:chooseScenarioActName()" />
</group>
<!-- ********************************* location name ************************* -->
<group type="modal" id="r2ed_choose_location_name" exit_click_out="false" posref="ML ML" x="0" y="0" w="350" h="85" options="skin_modal" on_enter="lua" on_enter_params="r2.acts:chooseLocationName()">
<group id="name_group" x="20" y="-20" sizeref="wh" w="-40" h="-40" posparent="parent" posref="TL TL">
<!-- label -->
<group id="label" sizeref="w" w="0" h="12" x="0" y="0" posref="TL TL" posparent="parent">
<view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDLocationName" />
</group>
<!-- edit box -->
<group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-70" posparent="label" posref="BL TL" x="0" y="-6" h="20" max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" onenter="lua" params="r2.acts:chooseLocationName()">
<instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
</group>
<ctrl style="style_ok_act" id="name_ok" active="true" posparent="edit_box_group" posref="BR BL" x="20" y="0" hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255" wmin="50" onclick_l="lua" params_l="r2.acts:chooseLocationName()" />
</group>
</group>
<tree node="r2ed_acts"></tree>
</interface_config>

@ -1,50 +1,25 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<proc id="r2ed_proc_con_quit" >
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
</proc>
<proc id="r2ed_proc_startall_connect" >
<action handler="anim_start" params="anim=r2ed_anim_connection_intro" />
</proc>
<group id="r2ed_connecting" posref="TL TL" w="0" h="0" sizeref="wh" on_active="proc" on_active_params="r2ed_proc_startall_connect" >
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="quit_ryzom_now" params_l=""/>
<view type="text" id="title" global_color="false" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20"/>
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<tree node="r2ed_connecting">
</tree>
<!-- ANIMATIONS -->
<anim id="r2ed_anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
<track type="linear" target="ui:interface:r2ed_connecting:black_screen:alpha" >
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<proc id="r2ed_proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
</proc>
<proc id="r2ed_proc_startall_connect">
<action handler="anim_start" params="anim=r2ed_anim_connection_intro" />
</proc>
<group id="r2ed_connecting" posref="TL TL" w="0" h="0" sizeref="wh" on_active="proc" on_active_params="r2ed_proc_startall_connect">
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="quit_ryzom_now" params_l="" />
<view type="text" id="title" global_color="false" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20" />
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<tree node="r2ed_connecting"></tree>
<!-- ANIMATIONS -->
<anim id="r2ed_anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="ui:interface:r2ed_connecting:black_screen:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -3,534 +3,460 @@
<!-- ****************************************** -->
<!-- A container is ALWAYS defined in BL TL hotspot when poped (layer0) else (layer > 0) it is a TL TL -->
<!-- Take care that if the container is not active a getProp of w or h will return 0 -->
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:TEMP:ACTIVE" type="sint64" value="0" />
<proc id="pri_top_center" >
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" />
<action handler="set" params="target='@0:active'|value=1" />
<!--<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:interface:w'),getprop('@0:w')),2)" />-->
<action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" />
<action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" />
</proc>
<proc id="base_desktop" >
<action handler="reset_interface" params="" />
<action handler="unlock_all_container" params="" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:active'|value=1" />
<action handler="set" params="target='ui:interface:player:x'|value=4" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:player" />
<!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" />
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Target -->
<action handler="set" params="target='ui:interface:target:active'|value=1" />
<action handler="set" params="target='ui:interface:target:x'|value=4" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),8)" />
<action handler="set_transparent" params="ui:interface:target" />
<!-- Team -->
<action handler="set" params="target='ui:interface:team_list:x'|value=4" />
<action handler="set" params="target='ui:interface:team_list:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),getprop('ui:interface:target:h')),12)" />
<!-- Compass -->
<action handler="set" params="target='ui:interface:compass:active'|value=1" />
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:compass" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:active'|value=1" />
<action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Info Player Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=sub(getprop('ui:interface:h'),113)" />
<action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" />
<!-- Milko -->
<action handler="set" params="target='ui:interface:milko_pad:active'|value=1" />
<action handler="set" params="target='ui:interface:milko_pad:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:milko_pad:w')),4)" />
<action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" />
<action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" />
<!-- Map -->
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<action handler="set" params="target='ui:interface:map:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:map:w')),4)" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 8)" />
<action handler="set" params="target='ui:interface:map:active'|value=0" />
<!-- Contacts -->
<action handler="set" params="target='ui:interface:contact_list:active'|value=1" />
<action handler="set" params="target='ui:interface:contact_list:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:contact_list:w')),4)" />
<action handler="set" params="target='ui:interface:contact_list:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 12)" />
<action handler="set" params="target='ui:interface:contact_list:active'|value=0" />
<!-- Mailbox -->
<action handler="set" params="target='ui:interface:mailbox:w'|value=480" />
<action handler="set" params="target='ui:interface:mailbox:h'|value=360" />
<!-- Gestion Windows (the popup in middle of the screen) -->
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('ui:interface:gestion_windows:active')" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=1" />
<action handler="set" params="target='ui:interface:gestion_windows:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestion_windows:w')),2)" />
<action handler="set" params="target='ui:interface:gestion_windows:y'|value=add(getprop('ui:interface:gestion_windows:h'),div(sub(getprop('ui:interface:h'),getprop('ui:interface:gestion_windows:h')),2))" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=@UI:TEMP:ACTIVE" />
<!-- AppZone -->
<action handler="set" params="target='ui:interface:appzone:active'|value=1" />
<action handler="set" params="target='ui:interface:appzone:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:appzone:w')),2)" />
<action handler="set" params="target='ui:interface:appzone:y'|value=add(getprop('ui:interface:appzone:h'),2)" />
</proc>
<proc id="proc_reset_interface">
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<!-- Reset all the items that are trivial -->
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:PLA|value=makeRGB(167,205,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:ANI|value=makeRGB(189,154,123)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:COM|value=makeRGB(255,237,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INV|value=makeRGB(74,162,243)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:OPT|value=makeRGB(255,79,69)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:LAB|value=makeRGB(251,163,60)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MEM|value=makeRGB(237,112,200)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MAP|value=makeRGB(237,200,30)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:HELP|value=makeRGB(255,96,16)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FORM|value=makeRGB(24,142,249)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK|value=makeRGB(239,170,33)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_DIALOGS|value=makeRGB(117,163,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_EVENTS|value=makeRGB(252,255,162)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_ACTIVITIES|value=makeRGB(228,118,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FEATURE_HELP|value=makeRGB(117,255,189)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CONNECT|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER|value=makeRGB(255,113,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GROUP|value=makeRGB(185,76,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GUILD|value=makeRGB(120,0,200)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:NPC|value=makeRGB(192,192,192)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:FAUNA|value=makeRGB(249,179,29)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:TARGET|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:SOURCE|value=makeRGB(65,255,112)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:MOUNT|value=makeRGB(217,255,114)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:BEAST|value=makeRGB(158,216,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPENEMY|value=makeRGB(185,0,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLY|value=makeRGB(0,200,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:HP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:STA|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:SAP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:FOCUS|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ACTION|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:MESSAGES|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:HP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:STA|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:SAP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:FOCUS|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCNAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCTITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MISSION_ICON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:HP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CITIZEN|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNA|value=makeRGB(255,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL|value=makeRGB(255,50,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNASUP|value=makeRGB(200,0,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGE|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL|value=makeRGB(50,200,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGESUP|value=makeRGB(0,150,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SAP|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:AMBER|value=makeRGB(255,150,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NODE|value=makeRGB(200,100,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FIBER|value=makeRGB(255,255,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BARK|value=makeRGB(150,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SEED|value=makeRGB(100,50,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SHELL|value=makeRGB(200,150,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:RESIN|value=makeRGB(50,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:WOOD|value=makeRGB(100,100,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:OIL|value=makeRGB(200,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISSION|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FOOD|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CONSTRUCTION|value=makeRGB(255,0,100)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:GOO|value=makeRGB(100,0,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:INSECT|value=makeRGB(50,100,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:KITIN|value=makeRGB(50,0,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NOCIVE|value=makeRGB(50,0,100)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" />
<action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:ALPHA_ROLLOVER_SPEED|value=5" />
<action handler="set" params="dblink=UI:SAVE:DOUBLE_CLICK_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:KEY_REPEAT_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_FADE|value=0" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_OPA_MIN|value=160" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" />
<action handler="set" params="dblink=UI:SAVE:SHOW_ICON_BUFFS|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=1" />
<action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SAY:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SHOUT:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TEAM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:GUILD:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:CIVILIZATION:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TERRITORY:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:UNIVERSE:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TELL:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:PLAYER:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ARROUND:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SYSTEM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:REGION:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:FONT_SIZE|value=10" />
<action handler="set" params="dblink=UI:SAVE:CHAT:MULTI_LINE_SPACE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHADOWED_TEXT|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SPEAKER|value=makeRGB(220,220,50)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SAY|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SHOUT|value=makeRGB(255,70,70)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:GROUP|value=makeRGB(170,170,255)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CLADE|value=makeRGB(70,255,70)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CIVILIZATION|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TERRITORY|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:UNIVERSE_NEW|value=makeRGB(255,127,0)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:REGION|value=makeRGB(255,200,200)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TELL|value=makeRGB(170,170,170)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:DYN|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:SYSTEM_INFO|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:AROUND_ME|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:CHAT_GROUP|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:USER_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:UNIVERSE_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:REGION_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:AROUND_ME|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:REGION_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:TEAM_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=0" />
<action handler="reset_virtual_desktop" params="vdesk=1" />
<action handler="reset_virtual_desktop" params="vdesk=2" />
<action handler="reset_virtual_desktop" params="vdesk=3" />
<!-- ********* -->
<!-- DESKTOP 1 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<action handler="proc" params="base_desktop" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- ********* -->
<!-- DESKTOP 2 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=1" />
<action handler="proc" params="base_desktop" />
<!-- Compass -->
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:player:w')),4)" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" />
<!-- Target -->
<action handler="set" params="target='ui:interface:target:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:target:w')),4)" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')), getprop('ui:interface:compass:h')), 12)" />
<!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:bonus_malus:w')),4)" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(sub(sub(sub(getprop('ui:interface:h'), getprop('ui:interface:target:h')), getprop('ui:interface:compass:h')), getprop('ui:interface:player:h')), 16)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=132" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Map -->
<action handler="set" params="target='ui:interface:map:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" />
<action handler="set" params="target='ui:interface:map:x'|value=4" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:map:h')),4)" />
<action handler="set" params="target='ui:interface:map:locked'|value=0" />
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<!-- ********* -->
<!-- DESKTOP 3 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=2" />
<action handler="reset_interface" params="" />
<!-- ********* -->
<!-- DESKTOP 4 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=3" />
<action handler="proc" params="base_desktop" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- SAUVEGARDE DU DESKTOP 4 ET RETOUR AU DESKTOP 0 -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<!-- ************ -->
<!-- INFO WINDOWS -->
<!-- ************ -->
<action handler="help_reset_pos" params="y=-100" />
<action handler="lua" params="local tbw = getUI('ui:interface:r2ed_toolbar_window', false) if tbw then tbw.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- ************ -->
<!-- MISC -->
<!-- ************ -->
<action handler="lua" params="getUI('ui:interface:keys').title = i18n.get('uiKeysTitle')"/>
<action handler="lua" params="local w = getUI('ui:interface:r2ed_toolbar_window', false) if w then w.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end"/>
<!-- reenable missions, possibly hidden after a ring session -->
<action handler="lua:game:updateMissionJournalMode()"/>
<action handler="lua" params="local animals = getUI('ui:interface:animal_global');
if animals then
animals.content.no_available_animals.active = false;
animals.header_opened.active = true;
animals.header_closed.active = false;
if animals.list then
animals.list.active = true;
end;
end"/>
<action handler="lua" params="if r2 and r2.initDMToolbarWindowPos then r2:initDMToolbarWindowPos() end" />
</proc>
<proc id="proc_reset_r2ed_interface">
</proc>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:TEMP:ACTIVE" type="sint64" value="0" />
<proc id="pri_top_center">
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" />
<action handler="set" params="target='@0:active'|value=1" />
<!--<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:interface:w'),getprop('@0:w')),2)" />-->
<action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" />
<action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" />
</proc>
<proc id="base_desktop">
<action handler="reset_interface" params="" />
<action handler="unlock_all_container" params="" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:active'|value=1" />
<action handler="set" params="target='ui:interface:player:x'|value=4" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:player" />
<!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" />
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Target -->
<action handler="set" params="target='ui:interface:target:active'|value=1" />
<action handler="set" params="target='ui:interface:target:x'|value=4" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),8)" />
<action handler="set_transparent" params="ui:interface:target" />
<!-- Team -->
<action handler="set" params="target='ui:interface:team_list:x'|value=4" />
<action handler="set" params="target='ui:interface:team_list:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),getprop('ui:interface:target:h')),12)" />
<!-- Compass -->
<action handler="set" params="target='ui:interface:compass:active'|value=1" />
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:compass" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:active'|value=1" />
<action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Info Player Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=sub(getprop('ui:interface:h'),113)" />
<action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" />
<!-- Milko -->
<action handler="set" params="target='ui:interface:milko_pad:active'|value=1" />
<action handler="set" params="target='ui:interface:milko_pad:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:milko_pad:w')),4)" />
<action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" />
<action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" />
<!-- Map -->
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<action handler="set" params="target='ui:interface:map:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:map:w')),4)" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 8)" />
<action handler="set" params="target='ui:interface:map:active'|value=0" />
<!-- Contacts -->
<action handler="set" params="target='ui:interface:contact_list:active'|value=1" />
<action handler="set" params="target='ui:interface:contact_list:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:contact_list:w')),4)" />
<action handler="set" params="target='ui:interface:contact_list:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 12)" />
<action handler="set" params="target='ui:interface:contact_list:active'|value=0" />
<!-- Mailbox -->
<action handler="set" params="target='ui:interface:mailbox:w'|value=480" />
<action handler="set" params="target='ui:interface:mailbox:h'|value=360" />
<!-- Gestion Windows (the popup in middle of the screen) -->
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('ui:interface:gestion_windows:active')" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=1" />
<action handler="set" params="target='ui:interface:gestion_windows:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestion_windows:w')),2)" />
<action handler="set" params="target='ui:interface:gestion_windows:y'|value=add(getprop('ui:interface:gestion_windows:h'),div(sub(getprop('ui:interface:h'),getprop('ui:interface:gestion_windows:h')),2))" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=@UI:TEMP:ACTIVE" />
<!-- AppZone -->
<action handler="set" params="target='ui:interface:appzone:active'|value=1" />
<action handler="set" params="target='ui:interface:appzone:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:appzone:w')),2)" />
<action handler="set" params="target='ui:interface:appzone:y'|value=add(getprop('ui:interface:appzone:h'),2)" />
</proc>
<proc id="proc_reset_interface">
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<!-- Reset all the items that are trivial -->
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:PLA|value=makeRGB(167,205,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:ANI|value=makeRGB(189,154,123)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:COM|value=makeRGB(255,237,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INV|value=makeRGB(74,162,243)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:OPT|value=makeRGB(255,79,69)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:LAB|value=makeRGB(251,163,60)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MEM|value=makeRGB(237,112,200)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MAP|value=makeRGB(237,200,30)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:HELP|value=makeRGB(255,96,16)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FORM|value=makeRGB(24,142,249)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK|value=makeRGB(239,170,33)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_DIALOGS|value=makeRGB(117,163,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_EVENTS|value=makeRGB(252,255,162)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_ACTIVITIES|value=makeRGB(228,118,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FEATURE_HELP|value=makeRGB(117,255,189)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CONNECT|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER|value=makeRGB(255,113,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GROUP|value=makeRGB(185,76,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GUILD|value=makeRGB(120,0,200)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:NPC|value=makeRGB(192,192,192)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:FAUNA|value=makeRGB(249,179,29)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:TARGET|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:SOURCE|value=makeRGB(65,255,112)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:MOUNT|value=makeRGB(217,255,114)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:BEAST|value=makeRGB(158,216,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPENEMY|value=makeRGB(185,0,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLY|value=makeRGB(0,200,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:HP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:STA|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:SAP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:FOCUS|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ACTION|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:MESSAGES|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:HP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:STA|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:SAP|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:FOCUS|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCNAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCTITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MISSION_ICON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:HP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CITIZEN|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNA|value=makeRGB(255,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL|value=makeRGB(255,50,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNASUP|value=makeRGB(200,0,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGE|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL|value=makeRGB(50,200,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGESUP|value=makeRGB(0,150,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SAP|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:AMBER|value=makeRGB(255,150,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NODE|value=makeRGB(200,100,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FIBER|value=makeRGB(255,255,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BARK|value=makeRGB(150,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SEED|value=makeRGB(100,50,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SHELL|value=makeRGB(200,150,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:RESIN|value=makeRGB(50,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:WOOD|value=makeRGB(100,100,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:OIL|value=makeRGB(200,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISSION|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FOOD|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CONSTRUCTION|value=makeRGB(255,0,100)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:GOO|value=makeRGB(100,0,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:INSECT|value=makeRGB(50,100,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:KITIN|value=makeRGB(50,0,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NOCIVE|value=makeRGB(50,0,100)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" />
<action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:ALPHA_ROLLOVER_SPEED|value=5" />
<action handler="set" params="dblink=UI:SAVE:DOUBLE_CLICK_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:KEY_REPEAT_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_FADE|value=0" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_OPA_MIN|value=160" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" />
<action handler="set" params="dblink=UI:SAVE:SHOW_ICON_BUFFS|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=1" />
<action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:DE:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:RU:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ES:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SAY:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SHOUT:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TEAM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:GUILD:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:CIVILIZATION:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TERRITORY:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:UNIVERSE:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:TELL:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:PLAYER:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ARROUND:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SYSTEM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:REGION:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:FONT_SIZE|value=10" />
<action handler="set" params="dblink=UI:SAVE:CHAT:MULTI_LINE_SPACE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHADOWED_TEXT|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SPEAKER|value=makeRGB(220,220,50)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SAY|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SHOUT|value=makeRGB(255,70,70)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:GROUP|value=makeRGB(170,170,255)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CLADE|value=makeRGB(70,255,70)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CIVILIZATION|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TERRITORY|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:UNIVERSE_NEW|value=makeRGB(255,127,0)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:REGION|value=makeRGB(255,200,200)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TELL|value=makeRGB(170,170,170)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:DYN|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA4:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA5:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA6:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_PET|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:SYSTEM_INFO|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:AROUND_ME|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:CHAT_GROUP|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:USER_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:UNIVERSE_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:REGION_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:AROUND_ME|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:REGION_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:TEAM_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=0" />
<action handler="reset_virtual_desktop" params="vdesk=1" />
<action handler="reset_virtual_desktop" params="vdesk=2" />
<action handler="reset_virtual_desktop" params="vdesk=3" />
<!-- ********* -->
<!-- DESKTOP 1 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<action handler="proc" params="base_desktop" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- ********* -->
<!-- DESKTOP 2 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=1" />
<action handler="proc" params="base_desktop" />
<!-- Compass -->
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:player:w')),4)" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" />
<!-- Target -->
<action handler="set" params="target='ui:interface:target:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:target:w')),4)" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')), getprop('ui:interface:compass:h')), 12)" />
<!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:bonus_malus:w')),4)" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(sub(sub(sub(getprop('ui:interface:h'), getprop('ui:interface:target:h')), getprop('ui:interface:compass:h')), getprop('ui:interface:player:h')), 16)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=132" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Map -->
<action handler="set" params="target='ui:interface:map:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" />
<action handler="set" params="target='ui:interface:map:x'|value=4" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:map:h')),4)" />
<action handler="set" params="target='ui:interface:map:locked'|value=0" />
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<!-- ********* -->
<!-- DESKTOP 3 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=2" />
<action handler="reset_interface" params="" />
<!-- ********* -->
<!-- DESKTOP 4 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=3" />
<action handler="proc" params="base_desktop" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- SAUVEGARDE DU DESKTOP 4 ET RETOUR AU DESKTOP 0 -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<!-- ************ -->
<!-- INFO WINDOWS -->
<!-- ************ -->
<action handler="help_reset_pos" params="y=-100" />
<action handler="lua" params="local tbw = getUI('ui:interface:r2ed_toolbar_window', false) if tbw then tbw.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- ************ -->
<!-- MISC -->
<!-- ************ -->
<action handler="lua" params="getUI('ui:interface:keys').title = i18n.get('uiKeysTitle')" />
<action handler="lua" params="local w = getUI('ui:interface:r2ed_toolbar_window', false) if w then w.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- reenable missions, possibly hidden after a ring session -->
<action handler="lua:game:updateMissionJournalMode()" />
<action handler="lua" params="local animals = getUI('ui:interface:animal_global'); if animals then animals.content.no_available_animals.active = false; animals.header_opened.active = true; animals.header_closed.active = false; if animals.list then animals.list.active = true; end; end" />
<action handler="lua" params="if r2 and r2.initDMToolbarWindowPos then r2:initDMToolbarWindowPos() end" />
</proc>
<proc id="proc_reset_r2ed_interface"></proc>
</interface_config>

@ -1,64 +1,26 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="ring_access_point_filter.lua" />
<group type="container" id="ring_access_point_filter" title="uiR2EDScenarioFilters" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:OPT"
on_close="" on_close_params="" on_deactive="" on_deactive_params=""
pop_min_w="300" pop_min_h="270" w="300" h="270" pop_max_w="300" pop_max_h="270"
>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<!-- owner -->
<instance template="h_label_edit_box" id="owner" y="-20" x="10" posparent="parent" posref="TL TL"
hardtext="OWNER" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" />
<!-- level -->
<instance template="h_label_combo_box" id="level"
posref="BL TL" posparent="owner" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="LEVEL"
on_change_params="" />
<!-- genre -->
<instance template="h_label_combo_box" id="genre"
posref="BL TL" posparent="level" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="GENRE"
on_change_params="" />
<!-- name -->
<instance template="h_label_edit_box" id="name" y="-10" x="0" posparent="genre" posref="BL TL"
hardtext="NAME" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" />
<!-- label -->
<group id="label_gr" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="20" x="0" y="-10"
posref="BL TL" posparent="name" >
<view type="text" id="name_text" posref="TL TL" x="10" y="-10" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" multi_line="true" hardtext="uiFilterScenarioText" />
</group>
<view type="bitmap" id="sep_top" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="label_gr" posref="BR BR" sizeparent="label_gr" sizeref="h" h="0" w="1"
y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="label_gr" posref="BL BL" sizeparent="label_gr" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<ctrl style="button_ok" id="ok" active="true" x="0" y="-10" posref="BR TR" posparent="label_gr"
text_y="0" onclick_l="lua" params_l="game.RingAccessPointFilter:validate()" hardtext="OK" fontsize="10" />
</group>
</group>
<tree node="ring_access_point_filter">
</tree>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="ring_access_point_filter.lua" />
<group type="container" id="ring_access_point_filter" title="uiR2EDScenarioFilters" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:OPT" on_close="" on_close_params="" on_deactive="" on_deactive_params="" pop_min_w="300" pop_min_h="270" w="300" h="270" pop_max_w="300" pop_max_h="270">
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<!-- owner -->
<instance template="h_label_edit_box" id="owner" y="-20" x="10" posparent="parent" posref="TL TL" hardtext="OWNER" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" />
<!-- level -->
<instance template="h_label_combo_box" id="level" posref="BL TL" posparent="owner" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="LEVEL" on_change_params="" />
<!-- genre -->
<instance template="h_label_combo_box" id="genre" posref="BL TL" posparent="level" w="270" w_label="70" w_combo="195" x="0" y="-10" hardtext="GENRE" on_change_params="" />
<!-- name -->
<instance template="h_label_edit_box" id="name" y="-10" x="0" posparent="genre" posref="BL TL" hardtext="NAME" w="265" w_label="65" w_box="200" fontsize="12" max_num_chars="20" onchange_params="" />
<!-- label -->
<group id="label_gr" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="20" x="0" y="-10" posref="BL TL" posparent="name">
<view type="text" id="name_text" posref="TL TL" x="10" y="-10" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" multi_line="true" hardtext="uiFilterScenarioText" />
</group>
<view type="bitmap" id="sep_top" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="label_gr" posref="TL TL" sizeparent="label_gr" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" posparent="label_gr" posref="BR BR" sizeparent="label_gr" sizeref="h" h="0" w="1" y="0" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_bottom" posparent="label_gr" posref="BL BL" sizeparent="label_gr" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<ctrl style="button_ok" id="ok" active="true" x="0" y="-10" posref="BR TR" posparent="label_gr" text_y="0" onclick_l="lua" params_l="game.RingAccessPointFilter:validate()" hardtext="OK" fontsize="10" />
</group>
</group>
<tree node="ring_access_point_filter"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,445 +1,123 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="ryzhome_toolbar.lua" />
<style style="button_over"
type="button"
id="button_over"
button_type="push_button"
posref="TR TR"
x="0"
y="0"
h="39"
w="44"
scale="true"
tx_over="W_button_32_over.tga"
global_color_normal="false"
global_color_pushed="false" />
<group type="container"
id="webig_ryzhome_toolbar"
x="0" y="0" w="200" h="56" posref="MM MM"
max_w="1600" pop_max_w="1600"
max_h="1600" pop_max_h="1600"
min_w="26" pop_min_w="26"
min_h="26" pop_min_h="26"
title=""
global_color="true"
global_color_over="true"
header_active="false"
right_button="false"
options="layer0_pad"
movable="true"
active="true"
opened="true"
openable="false"
resizer="false">
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
<group id="content" x="0#" y="0#" w="200" h="56" posref="TL TL">
<view id="action_title"
type="text"
posref="TL TL"
x="2"
y="-2"
color="255 255 255 255"
fontsize="12"
shadow="true"
global_color="false"
hardtext="Ryzhome" />
<ctrl id="close"
type="button"
style="button_close"
button_type="push_button"
posref="TR TR"
x="1"
y="1"
tx_normal="w_win_close.tga"
tx_pushed="w_win_close.tga"
tooltip="uiNoteClose"
onclick_l="lua"
params_l="RyzhomeBar:close()"/>
<ctrl id="config"
type="button"
style="button_close"
button_type="push_button"
posref="TL TR"
posparent="close"
x="-2"
y="-1"
tx_normal="r2ed_permanent_pins.tga"
tx_pushed="r2ed_permanent_pins.tga"
tooltip="uiCreateUserLM"
onclick_l="lua"
params_l="RyzhomeBar:saveConfig()"/>
<ctrl id="add"
type="button"
style="button_over"
button_type="toggle_button"
posref="BL BL"
x="3"
y="0"
tx_normal="ryzhome_add_item.png"
tx_pushed="ryzhome_add_item.png"
tx_over="W_button_32_over.tga"
tooltip="uiPeopleAdd"
onclick_l="lua"
params_l="RyzhomeBar:addItems()"/>
<view id="new_items_quantity"
type="text"
posref="BL BL"
posparent="add"
x="-1"
y="-1"
color="255 200 0 255"
global_color="false"
fontsize="16"
shadow="true"
hardtext="" />
<ctrl id="move"
type="button"
style="button_over"
button_type="toggle_button"
posref="BR BL"
posparent="add"
x="3"
y="0"
tx_normal="ryzhome_move_item.png"
tx_pushed="ryzhome_move_item.png"
tx_over="W_button_32_over.tga"
tooltip="uimMoveTo"
onclick_l="lua"
params_l="RyzhomeBar:moveItems()"/>
<ctrl id="remove"
type="button"
style="button_over"
posref="BR BL"
posparent="move"
x="3"
tx_normal="ryzhome_remove_item.png"
tx_pushed="ryzhome_remove_item.png"
tx_over="W_button_32_over.tga"
tooltip="uimRemove"
onclick_l="lua"
params_l="RyzhomeBar:removeItems()"/>
<ctrl id="invite"
type="button"
style="button_over"
posref="BR BL"
posparent="remove"
x="3"
tx_normal="ryzhome_invite.png"
tx_pushed="ryzhome_invite.png"
tx_over="W_button_32_over.tga"
tooltip="uiRAP_Invite"
onclick_l="lua"
params_l="RyzhomeBar:inviteFriend()"/>
</group>
</group>
<tree node="webig_ryzhome_toolbar"></tree>
<style style="button_over"
id="over"
posref="TL TL"
render_layer="-1"
y="1" w="600" h="44" scale="true"
button_type="push_button"
tx_normal="blank.tga"
tx_pushed="blank.tga"
tx_over="blank.tga"
color="255 255 255 0"
col_over="255 255 255 64"
col_pushed="255 255 255 128"
global_color_over="false" />
<group id="webig_ryzhome_list_item"
style="bot_chat_window"
posref="MM MM"
min_w="316"
max_w="316"
max_h="420"
min_h="420"
w="316"
h="420"
x="0"
y="0"
pop_max_h="700"
active="false"
title=""
modal_parent="gestionsets">
<group id="header_opened"
child_resize_hmargin="24"
w="600"
h="420"
x="0"
y="0"
posref="TL TL">
<view id="action_title"
type="text"
posref="TL TL"
x="2"
y="-25"
color="255 255 255 255"
fontsize="12"
shadow="true"
hardtext="uiSelectMission" />
<ctrl id="page_next"
type="button"
posref="TR TR"
x="-2"
y="-20"
tx_normal="W_arrow_right_0.tga"
tx_pushed="W_arrow_right_0.tga"
tooltip="uiKeyNEXT"
onclick_l="lua"
params_l="RyzhomeBar:movePage(1)" />
<view id="page"
type="text"
posref="TL TR"
posparent="page_next"
x="-2"
y="0"
color="255 255 255 255"
fontsize="12"
shadow="true"
hardtext="1/1" />
<ctrl id="page_previous"
type="button"
posref="TL TR"
posparent="page"
x="-2"
y="0"
tx_normal="w_arrow_left_0.tga"
tx_pushed="w_arrow_left_0.tga"
tooltip="uiKeyPRIOR"
onclick_l="lua"
params_l="RyzhomeBar:movePage(-1)" />
<group id="scroll_text"
sizeref="w"
posref="TL TL"
w="0"
y="-40"
child_resize_h="false"
child_resize_hmargin="8">
<instance template="inner_thin_border_group" />
<group id="text_list"
posref="TL TL"
x="12"
y="-4"
sizeref="w"
max_h="380"
child_resize_h="true" >
<view type="bitmap" id="icon1" posref="TL TL" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text1" posref="TR TL" posparent="icon1" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info1" posref="BL TL" color="55 205 55 205" posparent="text1" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but1" posparent="icon1" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(1)" onclick_l="lua" params_l="RyzhomeBar:useItem(1)" />
<view type="bitmap" id="icon2" posparent="but1" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text2" posref="TR TL" posparent="icon2" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info2" posref="BL TL" color="55 205 55 205" posparent="text2" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but2" posparent="icon2" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(2)" onclick_l="lua" params_l="RyzhomeBar:useItem(2)" />
<view type="bitmap" id="icon3" posparent="but2" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text3" posref="TR TL" posparent="icon3" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info3" posref="BL TL" color="55 205 55 205" posparent="text3" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but3" posparent="icon3" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(3)" onclick_l="lua" params_l="RyzhomeBar:useItem(3)" />
<view type="bitmap" id="icon4" posparent="but3" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text4" posref="TR TL" posparent="icon4" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info4" posref="BL TL" color="55 205 55 205" posparent="text4" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but4" posparent="icon4" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(4)" onclick_l="lua" params_l="RyzhomeBar:useItem(4)" />
<view type="bitmap" id="icon5" posparent="but4" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text5" posref="TR TL" posparent="icon5" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info5" posref="BL TL" color="55 205 55 205" posparent="text5" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but5" posparent="icon5" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(5)" onclick_l="lua" params_l="RyzhomeBar:useItem(5)" />
<view type="bitmap" id="icon6" posparent="but5" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text6" posref="TR TL" posparent="icon6" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info6" posref="BL TL" color="55 205 55 205" posparent="text6" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but6" posparent="icon6" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(6)" onclick_l="lua" params_l="RyzhomeBar:useItem(6)" />
<view type="bitmap" id="icon7" posparent="but6" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text7" posref="TR TL" posparent="icon7" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info7" posref="BL TL" color="55 205 55 205" posparent="text7" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but7" posparent="icon7" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(7)" onclick_l="lua" params_l="RyzhomeBar:useItem(7)" />
<view type="bitmap" id="icon8" posparent="but7" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text8" posref="TR TL" posparent="icon8" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info8" posref="BL TL" color="55 205 55 205" posparent="text8" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but8" posparent="icon8" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(8)" onclick_l="lua" params_l="RyzhomeBar:useItem(8)" />
</group>
<ctrl style="skin_scroll"
id="scroll_row"
posref="TL TL"
target_stepy="44"
target="text_list" />
<group id="list"
max_sizeref="h"
max_sizeparent="parent"
max_h="0"
sizeref="w"
posref="TL TL"
x="8"
y="0"
w="-16" />
</group>
</group>
</group>
<tree node="webig_ryzhome_list_item"></tree>
<template name="t_webig_ryzhome_button">
<ctrl type="button"
button_type="push_button"
id="#id"
posref="TL TL"
x="#x"
y="#y"
tx_normal="#tx_normal"
global_color="false"
tooltip="#tooltip"
onclick_l="lua"
params_l="#params_l"/>
<view type="bitmap"
id="i_#id"
posref="TL TL"
x="#x"
y="#y"
rot="#rot"
texture="#texture"
global_color="false"/>
</template>
<group type="container"
id="webig_ryzhome_place_item"
x="0" y="0" w="200" h="140" posref="TL TL"
title=""
global_color="true"
global_color_over="true"
header_active="false"
right_button="false"
options="layer0_pad"
movable="true"
active="true"
opened="true"
openable="false"
resizer="false">
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
<group id="content" x="0" y="0" w="400" h="140" posref="TL TL">
<view type="text"
id="item"
posref="TL TL"
x="2"
y="-4"
color="255 255 255 255"
shadow="true"
global_color="false"
fontsize="10"
hardtext="" />
<ctrl style="text_button_16"
id="quit"
posref="TR TR"
x="-2"
y="-2"
hardtext="uiClose"
onclick_l="lua"
params_l="RyzhomePlace:close()" />
<!--
<view type="bitmap" id="black" x="2" y="0" w="200" h="150" posref="ML ML" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 240"/>
<scene3d id="scene3d" x="2" y="0" w="200" h="150" posref="ML ML" curcam="cam" curcs="env" render_layer="-2" active="false"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-80" roty_limit_max="90"
dist_factor="0.05" dist_limit_min="1" dist_limit_max="20.0"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<camera id="cam" fov="80" pos="0.0 20.0 0" target="0.0 26.5 2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="255 255 255" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
<shape id="shape" name="" pos="0.0 26.5 0.0" rot="0.0 0.0 0.0" />
</scene3d>
-->
<group id="movers" x="0" y="-4" w="182" h="140" posref="MM MM">
<instance template="t_webig_ryzhome_button" id="previous_x2" rot="2" x="2" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.1, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_x" rot="2" x="32" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.01, 0, 0)" />
<view type="text" id="x" posref="TL TL" x="76" y="-20" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe X" />
<instance template="t_webig_ryzhome_button" id="next_x" rot="0" x="130" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.01, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="next_x2" rot="0" x="160" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.1, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_y2" rot="2" x="2" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_y" rot="2" x="32" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.01, 0)" />
<view type="text" id="y" posref="TL TL" x="76" y="-38" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Y" />
<instance template="t_webig_ryzhome_button" id="next_y" rot="0" x="130" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.01, 0)" />
<instance template="t_webig_ryzhome_button" id="next_y2" rot="0" x="160" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_z2" rot="2" x="2" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_z" rot="2" x="32" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.01, 0)" />
<view type="text" id="z" posref="TL TL" x="76" y="-58" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Z" />
<instance template="t_webig_ryzhome_button" id="next_z" rot="0" x="130" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.01, 0)" />
<instance template="t_webig_ryzhome_button" id="next_z2" rot="0" x="160" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_a2" rot="2" x="2" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.1)" />
<instance template="t_webig_ryzhome_button" id="previous_a" rot="2" x="32" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.01)" />
<view type="text" id="a" posref="TL TL" x="76" y="-76" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Angle" />
<instance template="t_webig_ryzhome_button" id="next_a" rot="0" x="130" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.01)" />
<instance template="t_webig_ryzhome_button" id="next_a2" rot="0" x="160" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.1)" />
</group>
<ctrl style="text_button_16"
id="validate"
posref="BR BR"
x="-2"
y="2"
hardtext="reset"
onclick_l="lua"
params_l="RyzhomePlace:apply()" />
<ctrl style="text_button_16"
id="reset"
posref="ML MR"
posparent="validate"
x="-2"
y="0"
hardtext="reset"
onclick_l="lua"
params_l="RyzhomePlace:reset()" />
</group>
</group>
<tree node="webig_ryzhome_place_item"></tree>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="ryzhome_toolbar.lua" />
<style style="button_over" type="button" id="button_over" button_type="push_button" posref="TR TR" x="0" y="0" h="39" w="44" scale="true" tx_over="W_button_32_over.tga" global_color_normal="false" global_color_pushed="false" />
<group type="container" id="webig_ryzhome_toolbar" x="0" y="0" w="200" h="56" posref="MM MM" max_w="1600" pop_max_w="1600" max_h="1600" pop_max_h="1600" min_w="26" pop_min_w="26" min_h="26" pop_min_h="26" title="" global_color="true" global_color_over="true" header_active="false" right_button="false" options="layer0_pad" movable="true" active="true" opened="true" openable="false" resizer="false">
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
<group id="content" x="0#" y="0#" w="200" h="56" posref="TL TL">
<view id="action_title" type="text" posref="TL TL" x="2" y="-2" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="Ryzhome" />
<ctrl id="close" type="button" style="button_close" button_type="push_button" posref="TR TR" x="1" y="1" tx_normal="w_win_close.tga" tx_pushed="w_win_close.tga" tooltip="uiNoteClose" onclick_l="lua" params_l="RyzhomeBar:close()" />
<ctrl id="config" type="button" style="button_close" button_type="push_button" posref="TL TR" posparent="close" x="-2" y="-1" tx_normal="r2ed_permanent_pins.tga" tx_pushed="r2ed_permanent_pins.tga" tooltip="uiCreateUserLM" onclick_l="lua" params_l="RyzhomeBar:saveConfig()" />
<ctrl id="add" type="button" style="button_over" button_type="toggle_button" posref="BL BL" x="3" y="0" tx_normal="ryzhome_add_item.png" tx_pushed="ryzhome_add_item.png" tx_over="W_button_32_over.tga" tooltip="uiPeopleAdd" onclick_l="lua" params_l="RyzhomeBar:addItems()" />
<view id="new_items_quantity" type="text" posref="BL BL" posparent="add" x="-1" y="-1" color="255 200 0 255" global_color="false" fontsize="16" shadow="true" hardtext="" />
<ctrl id="move" type="button" style="button_over" button_type="toggle_button" posref="BR BL" posparent="add" x="3" y="0" tx_normal="ryzhome_move_item.png" tx_pushed="ryzhome_move_item.png" tx_over="W_button_32_over.tga" tooltip="uimMoveTo" onclick_l="lua" params_l="RyzhomeBar:moveItems()" />
<ctrl id="remove" type="button" style="button_over" posref="BR BL" posparent="move" x="3" tx_normal="ryzhome_remove_item.png" tx_pushed="ryzhome_remove_item.png" tx_over="W_button_32_over.tga" tooltip="uimRemove" onclick_l="lua" params_l="RyzhomeBar:removeItems()" />
<ctrl id="invite" type="button" style="button_over" posref="BR BL" posparent="remove" x="3" tx_normal="ryzhome_invite.png" tx_pushed="ryzhome_invite.png" tx_over="W_button_32_over.tga" tooltip="uiRAP_Invite" onclick_l="lua" params_l="RyzhomeBar:inviteFriend()" />
</group>
</group>
<tree node="webig_ryzhome_toolbar"></tree>
<style style="button_over" id="over" posref="TL TL" render_layer="-1" y="1" w="600" h="44" scale="true" button_type="push_button" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="255 255 255 0" col_over="255 255 255 64" col_pushed="255 255 255 128" global_color_over="false" />
<group id="webig_ryzhome_list_item" style="bot_chat_window" posref="MM MM" min_w="316" max_w="316" max_h="420" min_h="420" w="316" h="420" x="0" y="0" pop_max_h="700" active="false" title="" modal_parent="gestionsets">
<group id="header_opened" child_resize_hmargin="24" w="600" h="420" x="0" y="0" posref="TL TL">
<view id="action_title" type="text" posref="TL TL" x="2" y="-25" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelectMission" />
<ctrl id="page_next" type="button" posref="TR TR" x="-2" y="-20" tx_normal="W_arrow_right_0.tga" tx_pushed="W_arrow_right_0.tga" tooltip="uiKeyNEXT" onclick_l="lua" params_l="RyzhomeBar:movePage(1)" />
<view id="page" type="text" posref="TL TR" posparent="page_next" x="-2" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="1/1" />
<ctrl id="page_previous" type="button" posref="TL TR" posparent="page" x="-2" y="0" tx_normal="w_arrow_left_0.tga" tx_pushed="w_arrow_left_0.tga" tooltip="uiKeyPRIOR" onclick_l="lua" params_l="RyzhomeBar:movePage(-1)" />
<group id="scroll_text" sizeref="w" posref="TL TL" w="0" y="-40" child_resize_h="false" child_resize_hmargin="8">
<instance template="inner_thin_border_group" />
<group id="text_list" posref="TL TL" x="12" y="-4" sizeref="w" max_h="380" child_resize_h="true">
<view type="bitmap" id="icon1" posref="TL TL" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text1" posref="TR TL" posparent="icon1" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info1" posref="BL TL" color="55 205 55 205" posparent="text1" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but1" posparent="icon1" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(1)" onclick_l="lua" params_l="RyzhomeBar:useItem(1)" />
<view type="bitmap" id="icon2" posparent="but1" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text2" posref="TR TL" posparent="icon2" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info2" posref="BL TL" color="55 205 55 205" posparent="text2" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but2" posparent="icon2" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(2)" onclick_l="lua" params_l="RyzhomeBar:useItem(2)" />
<view type="bitmap" id="icon3" posparent="but2" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text3" posref="TR TL" posparent="icon3" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info3" posref="BL TL" color="55 205 55 205" posparent="text3" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but3" posparent="icon3" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(3)" onclick_l="lua" params_l="RyzhomeBar:useItem(3)" />
<view type="bitmap" id="icon4" posparent="but3" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text4" posref="TR TL" posparent="icon4" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info4" posref="BL TL" color="55 205 55 205" posparent="text4" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but4" posparent="icon4" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(4)" onclick_l="lua" params_l="RyzhomeBar:useItem(4)" />
<view type="bitmap" id="icon5" posparent="but4" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text5" posref="TR TL" posparent="icon5" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info5" posref="BL TL" color="55 205 55 205" posparent="text5" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but5" posparent="icon5" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(5)" onclick_l="lua" params_l="RyzhomeBar:useItem(5)" />
<view type="bitmap" id="icon6" posparent="but5" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text6" posref="TR TL" posparent="icon6" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info6" posref="BL TL" color="55 205 55 205" posparent="text6" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but6" posparent="icon6" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(6)" onclick_l="lua" params_l="RyzhomeBar:useItem(6)" />
<view type="bitmap" id="icon7" posparent="but6" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text7" posref="TR TL" posparent="icon7" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info7" posref="BL TL" color="55 205 55 205" posparent="text7" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but7" posparent="icon7" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(7)" onclick_l="lua" params_l="RyzhomeBar:useItem(7)" />
<view type="bitmap" id="icon8" posparent="but7" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
<view type="text" id="text8" posref="TR TL" posparent="icon8" fontsize="10" x="5" y="-5" hardtext="" />
<view type="text" id="info8" posref="BL TL" color="55 205 55 205" posparent="text8" fontsize="10" x="10" y="-5" hardtext="" />
<ctrl type="button" id="but8" posparent="icon8" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(8)" onclick_l="lua" params_l="RyzhomeBar:useItem(8)" />
</group>
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="44" target="text_list" />
<group id="list" max_sizeref="h" max_sizeparent="parent" max_h="0" sizeref="w" posref="TL TL" x="8" y="0" w="-16" />
</group>
</group>
</group>
<tree node="webig_ryzhome_list_item"></tree>
<template name="t_webig_ryzhome_button">
<ctrl type="button" button_type="push_button" id="#id" posref="TL TL" x="#x" y="#y" tx_normal="#tx_normal" global_color="false" tooltip="#tooltip" onclick_l="lua" params_l="#params_l" />
<view type="bitmap" id="i_#id" posref="TL TL" x="#x" y="#y" rot="#rot" texture="#texture" global_color="false" />
</template>
<group type="container" id="webig_ryzhome_place_item" x="0" y="0" w="200" h="140" posref="TL TL" title="" global_color="true" global_color_over="true" header_active="false" right_button="false" options="layer0_pad" movable="true" active="true" opened="true" openable="false" resizer="false">
<group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
<group id="content" x="0" y="0" w="400" h="140" posref="TL TL">
<view type="text" id="item" posref="TL TL" x="2" y="-4" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="" />
<ctrl style="text_button_16" id="quit" posref="TR TR" x="-2" y="-2" hardtext="uiClose" onclick_l="lua" params_l="RyzhomePlace:close()" />
<!--
<view type="bitmap" id="black" x="2" y="0" w="200" h="150" posref="ML ML" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 240"/>
<scene3d id="scene3d" x="2" y="0" w="200" h="150" posref="ML ML" curcam="cam" curcs="env" render_layer="-2" active="false"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-80" roty_limit_max="90"
dist_factor="0.05" dist_limit_min="1" dist_limit_max="20.0"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<camera id="cam" fov="80" pos="0.0 20.0 0" target="0.0 26.5 2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="255 255 255" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
<shape id="shape" name="" pos="0.0 26.5 0.0" rot="0.0 0.0 0.0" />
</scene3d>
-->
<group id="movers" x="0" y="-4" w="182" h="140" posref="MM MM">
<instance template="t_webig_ryzhome_button" id="previous_x2" rot="2" x="2" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.1, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_x" rot="2" x="32" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.01, 0, 0)" />
<view type="text" id="x" posref="TL TL" x="76" y="-20" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe X" />
<instance template="t_webig_ryzhome_button" id="next_x" rot="0" x="130" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.01, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="next_x2" rot="0" x="160" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.1, 0, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_y2" rot="2" x="2" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_y" rot="2" x="32" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.01, 0)" />
<view type="text" id="y" posref="TL TL" x="76" y="-38" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Y" />
<instance template="t_webig_ryzhome_button" id="next_y" rot="0" x="130" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.01, 0)" />
<instance template="t_webig_ryzhome_button" id="next_y2" rot="0" x="160" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_z2" rot="2" x="2" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_z" rot="2" x="32" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.01, 0)" />
<view type="text" id="z" posref="TL TL" x="76" y="-58" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Z" />
<instance template="t_webig_ryzhome_button" id="next_z" rot="0" x="130" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.01, 0)" />
<instance template="t_webig_ryzhome_button" id="next_z2" rot="0" x="160" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.1, 0)" />
<instance template="t_webig_ryzhome_button" id="previous_a2" rot="2" x="2" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.1)" />
<instance template="t_webig_ryzhome_button" id="previous_a" rot="2" x="32" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.01)" />
<view type="text" id="a" posref="TL TL" x="76" y="-76" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Angle" />
<instance template="t_webig_ryzhome_button" id="next_a" rot="0" x="130" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.01)" />
<instance template="t_webig_ryzhome_button" id="next_a2" rot="0" x="160" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.1)" />
</group>
<ctrl style="text_button_16" id="validate" posref="BR BR" x="-2" y="2" hardtext="reset" onclick_l="lua" params_l="RyzhomePlace:apply()" />
<ctrl style="text_button_16" id="reset" posref="ML MR" posparent="validate" x="-2" y="0" hardtext="reset" onclick_l="lua" params_l="RyzhomePlace:reset()" />
</group>
</group>
<tree node="webig_ryzhome_place_item"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,16 +1,13 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:SAVE:TELEPORT:DO_PACT" type="sint32" value="0" />
<variable entry="UI:SAVE:TELEPORT:BANNER" type="sint32" value="1" />
<variable entry="UI:SAVE:TELEPORT:CLOSE_AFTER_TP" type="sint32" value="1" />
<variable entry="UI:SAVE:TELEPORT:ISDETACHED" type="sint32" value="1" />
<variable entry="UI:SAVE:ISACTIVE:ARTEFACT" type="sint32" value="0" />
<!-- artefact v1 -->
<lua file="tp_interface.lua" />
<lua file="misc.lua" />
<proc id="artefact_proc_active">
<action handler="set" params="dblink=UI:SAVE:ISACTIVE:ARTEFACT|value=1" />
<action handler="lua" params="artefact:onActive()" />
@ -39,132 +36,54 @@
<action handler="set" params="dblink=UI:SAVE:TELEPORT:ISDETACHED|value=1" />
<action handler="lua" params="artefact:detachWindow()" />
</proc>
<group type="menu" id="base_menu_artefact" extends="base_menu_with_color">
<action id="toggle_banner_hide" name="uimIhideBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_stop_possess.tga"/>
<action id="toggle_banner_show" name="uimIshowBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_possess.tga"/>
<action id="window_on_tp_close" name="uimIcloseOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts_pushed.tga"/>
<action id="window_on_tp_open" name="uimIopenOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts.tga"/>
<action id="window_refresh" name="uimIrefresh" handler="lua" params="artefact:onSelect(3)" icon="r2ed_tool_rotate.tga"/>
<action id="window_compact" name="uimIcompact" handler="lua" params="artefact:onSelect(4)" icon="r2_icon_light_off_small.tga"/>
<action id="toggle_banner_hide" name="uimIhideBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_stop_possess.tga" />
<action id="toggle_banner_show" name="uimIshowBanner" handler="lua" params="artefact:onSelect(1)" icon="r2_icon_possess.tga" />
<action id="window_on_tp_close" name="uimIcloseOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts_pushed.tga" />
<action id="window_on_tp_open" name="uimIopenOnTp" handler="lua" params="artefact:onSelect(2)" icon="r2_icon_acts.tga" />
<action id="window_refresh" name="uimIrefresh" handler="lua" params="artefact:onSelect(3)" icon="r2ed_tool_rotate.tga" />
<action id="window_compact" name="uimIcompact" handler="lua" params="artefact:onSelect(4)" icon="r2_icon_light_off_small.tga" />
<separator />
</group>
<group id="artefact" type="container"
w="526" h="479"
x="0" y="0"
pop_max_w="603"
pop_max_h="479"
pop_min_w="200"
pop_min_h="234"
header_color="UI:SAVE:WIN:COLORS:COM"
posref="TL TL"
global_color="true"
global_color_over="true"
right_button="true"
savable="true"
movable="true"
lockable="true"
active="false"
openable="false"
opened="false"
resizer="true"
header_active="false"
on_active="proc"
on_active_params="artefact_proc_active"
on_deactive="proc"
on_deactive_params="artefact_proc_deactive"
on_close_button="lua"
on_close_button_params="artefact:onClose()"
on_resize="lua"
on_resize_params="artefact:onResize()">
<group id="header_opened"
h="16"
w="480"
posref="TL TL"
on_active="lua"
on_active_params="artefact:onClickHeader(1)"
group_onclick_r="lua"
group_params_r="artefact:onMenu('ui:interface:base_menu_artefact')">
<ctrl id="header_attach"
type="button"
button_type="push_button"
posref="MR MR"
y="0"
x="-16"
tx_normal="w_win_popin.tga"
tx_pushed="w_win_popin.tga"
tx_over="W_button_16_over.tga"
onclick_l="lua"
params_l="artefact:onSelect(5)" />
<ctrl id="header_minimize"
type="button"
button_type="push_button"
posref="ML ML"
y="5"
x="0"
tx_normal="ark_move_z.tga"
tx_pushed="ark_move_z.tga"
tx_over="ark_move_z.tga"
onclick_l="lua"
params_l="artefact:onClickHeader(0)" />
<group id="faketab"
type="tab"
child_resize_w="true"
h="0"
posref="TL TL"
x="0"
y="0">
<ctrl style="tab_button_new"
id="tab0"
x="0"
posref="TL TL"
group="content:html"
hardtext=""
tooltip=""
onclick_r=""
params_r=""
onclick_l=""
params_l="" />
<group id="artefact" type="container" w="526" h="479" x="0" y="0" pop_max_w="603" pop_max_h="479" pop_min_w="200" pop_min_h="234" header_color="UI:SAVE:WIN:COLORS:COM" posref="TL TL" global_color="true" global_color_over="true" right_button="true" savable="true" movable="true" lockable="true" active="false" openable="false" opened="false" resizer="true" header_active="false" on_active="proc" on_active_params="artefact_proc_active" on_deactive="proc" on_deactive_params="artefact_proc_deactive" on_close_button="lua" on_close_button_params="artefact:onClose()" on_resize="lua" on_resize_params="artefact:onResize()">
<group id="header_opened" h="16" w="480" posref="TL TL" on_active="lua" on_active_params="artefact:onClickHeader(1)" group_onclick_r="lua" group_params_r="artefact:onMenu('ui:interface:base_menu_artefact')">
<ctrl id="header_attach" type="button" button_type="push_button" posref="MR MR" y="0" x="-16" tx_normal="w_win_popin.tga" tx_pushed="w_win_popin.tga" tx_over="W_button_16_over.tga" onclick_l="lua" params_l="artefact:onSelect(5)" />
<ctrl id="header_minimize" type="button" button_type="push_button" posref="ML ML" y="5" x="0" tx_normal="ark_move_z.tga" tx_pushed="ark_move_z.tga" tx_over="ark_move_z.tga" onclick_l="lua" params_l="artefact:onClickHeader(0)" />
<group id="faketab" type="tab" child_resize_w="true" h="0" posref="TL TL" x="0" y="0">
<ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:html" hardtext="" tooltip="" onclick_r="" params_r="" onclick_l="" params_l="" />
</group>
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<instance template="webig_html" />
</group>
</group>
<tree node="artefact" />
<template name="webig_inv_item_artefact" ql0="" ql1="" ql2="" q0="" q1="" q2="" q3="" q4="" q5="" q6="" q7="" o0="" o1="" o2="" o3="" o4="" o5="" o6="" o7="" render_layer1="1" render_layer2="2" render_layer3="3" render_layer4="4" w="43" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" slotbg="w_slot_item.tga" slotbg_gc="true" bg="blank2.tga" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" ctrl_color="0 0 0 0" col_over="255 255 255 50" col_pushed="255 255 255 0" params_over="" params_l="" params_r="" x="0" y="0">
<template name="webig_inv_item_artefact" ql0="" ql1="" ql2="" q0="" q1="" q2="" q3="" q4="" q5="" q6="" q7="" o0="" o1="" o2="" o3="" o4="" o5="" o6="" o7="" render_layer1="1" render_layer2="2" render_layer3="3" render_layer4="4" w="43" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" slotbg="w_slot_item.tga" slotbg_gc="true" bg="blank2.tga" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" ctrl_color="0 0 0 0" col_over="255 255 255 50" col_pushed="255 255 255 0" params_over="" params_l="" params_r="" x="0" y="0">
<group id="#id" posref="MM MM" w="#w" h="43" x="#x" y="#y" sizeref="" render_layer="#render_layer1">
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" h="42" w="42" scale="true" render_layer="#render_layer1" texture="#slotbg" color="255 255 255 255" global_color="#slotbg_gc" />
<view type="bitmap" id="bg" posparent="back" posref="MM MM" x="0" y="0" w="40" h="40" render_layer="#render_layer2" scale="false" texture="#bg" global_color="false" />
<view type="bitmap" id="bg" posparent="back" posref="MM MM" x="0" y="0" w="40" h="40" render_layer="#render_layer2" scale="false" texture="#bg" global_color="false" />
<view type="bitmap" id="img1" posparent="back" posref="MM MM" x="0" y="0" w="40" h="40" scale="false" render_layer="#render_layer3" texture="#img1" global_color="false" />
<view type="bitmap" id="img2" posparent="back" posref="MM MM" render_layer="#render_layer3" x="0" y="0" texture="#img2" global_color="false" />
<view type="bitmap" id="img3" posparent="back" posref="MM MM" render_layer="#render_layer4" x="0" y="0" texture="#img3" global_color="false" />
<view type="bitmap" id="img3" posparent="back" posref="MM MM" render_layer="#render_layer4" x="0" y="0" texture="#img3" global_color="false" />
<instance id="over" template="typo_ryzom_artefact" posref="TL TL" render_layer="6" x="1" y="-2" t0="#o0" t1="#o1" t2="#o2" t3="#o3" t4="#o4" t5="#o5" t6="#o6" t7="#o7" />
<instance id="quantity" template="typo_ryzom_artefact" posref="BL BL" typo="numbers" render_layer="4" posparent="" x="2" y="2" t0="#q0" t1="#q1" t2="#q2" t3="#q3" t4="#q4" t5="#q5" t6="#q6" t7="#q7" />
<instance id="quality" template="typo_ryzom_artefact" posref="BL BL" typo="numbers" render_layer="4" posparent="back" x="24" y="1" t0="#ql0" t1="#ql1" t2="#ql2" gc="true"/>
<instance id="quality" template="typo_ryzom_artefact" posref="BL BL" typo="numbers" render_layer="4" posparent="back" x="24" y="1" t0="#ql0" t1="#ql1" t2="#ql2" gc="true" />
<view type="text" id="text1" multi_line="true" posref="TR TL" posparent="back" x="3" y="1" fontsize="8" hardtext_format="#text" color="#color1" shadow="true" global_color="#gc1" />
<view type="text" id="text2" multi_line="true" posref="BL TL" posparent="text1" x="0" y="-2" fontsize="8" hardtext_format="#text2" color="#color2" shadow="true" global_color="#gc2" />
<ctrl type="button" id="tooltip" posparent="back" scale="true" posref="MM MM" x="0" y="0" h="40" w="40" tooltip="#tooltip" instant_help="false" tooltip_posref="TR BL" />
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="MM MM" posparent="back" x="0" y="0" tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="#tx_over" scale="true" w="0" sizeref="w" h="42" color="#ctrl_color" col_over="#col_over" col_pushed="#col_pushed" render_layer="#render_layer2" onover="lua" params_over="#params_over" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" />
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="MM MM" posparent="back" x="0" y="0" tx_normal="#tx_normal" tx_pushed="#tx_pushed" tx_over="#tx_over" scale="true" w="0" sizeref="w" h="42" color="#ctrl_color" col_over="#col_over" col_pushed="#col_pushed" render_layer="#render_layer2" onover="lua" params_over="#params_over" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" />
</group>
</template>
<template name="typo_ryzom_artefact" keep="true" typo="typo" posref="TL TL" posparent="" x="0" y="0" render_layer="3" t0="" t1="" t2="" t3="" t4="" t5="" t6="" t7="" gc="false" >
<group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" render_layer="#render_layer">
<view type="bitmap" id="t0" posref="#posref" render_layer="#render_layer" texture="#typo_#t0.tga" global_color="#gc"/>
<view type="bitmap" id="t1" posref="BR BL" posparent="t0" x="0" render_layer="#render_layer" texture="#typo_#t1.tga" global_color="#gc"/>
<view type="bitmap" id="t2" posref="MR ML" posparent="t1" x="0" render_layer="#render_layer" texture="#typo_#t2.tga" global_color="#gc"/>
<view type="bitmap" id="t3" posref="MR ML" posparent="t2" x="0" render_layer="#render_layer" texture="#typo_#t3.tga" global_color="#gc"/>
<view type="bitmap" id="t4" posref="MR ML" posparent="t3" x="0" render_layer="#render_layer" texture="#typo_#t4.tga" global_color="#gc"/>
<view type="bitmap" id="t5" posref="MR ML" posparent="t4" x="0" render_layer="#render_layer" texture="#typo_#t5.tga" global_color="#gc"/>
<view type="bitmap" id="t6" posref="MR ML" posparent="t5" x="0" render_layer="#render_layer" texture="#typo_#t6.tga" global_color="#gc"/>
<view type="bitmap" id="t7" posref="MR ML" posparent="t6" x="0" render_layer="#render_layer" texture="#typo_#t7.tga" global_color="#gc"/>
<template name="typo_ryzom_artefact" keep="true" typo="typo" posref="TL TL" posparent="" x="0" y="0" render_layer="3" t0="" t1="" t2="" t3="" t4="" t5="" t6="" t7="" gc="false">
<group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" render_layer="#render_layer">
<view type="bitmap" id="t0" posref="#posref" render_layer="#render_layer" texture="#typo_#t0.tga" global_color="#gc" />
<view type="bitmap" id="t1" posref="BR BL" posparent="t0" x="0" render_layer="#render_layer" texture="#typo_#t1.tga" global_color="#gc" />
<view type="bitmap" id="t2" posref="MR ML" posparent="t1" x="0" render_layer="#render_layer" texture="#typo_#t2.tga" global_color="#gc" />
<view type="bitmap" id="t3" posref="MR ML" posparent="t2" x="0" render_layer="#render_layer" texture="#typo_#t3.tga" global_color="#gc" />
<view type="bitmap" id="t4" posref="MR ML" posparent="t3" x="0" render_layer="#render_layer" texture="#typo_#t4.tga" global_color="#gc" />
<view type="bitmap" id="t5" posref="MR ML" posparent="t4" x="0" render_layer="#render_layer" texture="#typo_#t5.tga" global_color="#gc" />
<view type="bitmap" id="t6" posref="MR ML" posparent="t5" x="0" render_layer="#render_layer" texture="#typo_#t6.tga" global_color="#gc" />
<view type="bitmap" id="t7" posref="MR ML" posparent="t6" x="0" render_layer="#render_layer" texture="#typo_#t7.tga" global_color="#gc" />
</group>
</template>
</interface_config>

@ -1,49 +1,25 @@
<interface_config>
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<!-- Removed from client_default.cg -->
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * TRACKING MAIN * -->
<!-- ***************** -->
<proc id="proc_tracking_active">
<action handler="close_all_labos_but" params="ui:interface:tracking" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=1" />
<action handler="set" cond="eq(0,getbit(@SERVER:INTERFACES:FLAGS,strToIntFlag('Tracking')))" params="target='ui:interface:tracking:active'|value=0" />
</proc>
<group type="container" id="tracking" w="320" h="512" resizer="false" openable="false" title="uiTrackingTitle"
global_color="false" opened="true" movable="true" active="false"
on_active="proc" on_active_params="proc_tracking_active" header_color="UI:SAVE:WIN:COLORS:LAB"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=0"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color" >
</group>
<group id="content" x="0" y="0" h="0" posref="TR TR" >
</group>
</group>
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<!-- Removed from client_default.cg -->
<!-- *************************** -->
<!-- * WARNING WARNING WARNING * -->
<!-- * WARNING WARNING WARNING * -->
<!-- *************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ***************** -->
<!-- * TRACKING MAIN * -->
<!-- ***************** -->
<proc id="proc_tracking_active">
<action handler="close_all_labos_but" params="ui:interface:tracking" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=1" />
<action handler="set" cond="eq(0,getbit(@SERVER:INTERFACES:FLAGS,strToIntFlag('Tracking')))" params="target='ui:interface:tracking:active'|value=0" />
</proc>
<group type="container" id="tracking" w="320" h="512" resizer="false" openable="false" title="uiTrackingTitle" global_color="false" opened="true" movable="true" active="false" on_active="proc" on_active_params="proc_tracking_active" header_color="UI:SAVE:WIN:COLORS:LAB" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:TRACKING|value=0">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="content" x="0" y="0" h="0" posref="TR TR"></group>
</group>
</interface_config>

@ -2,248 +2,228 @@
<!-- * WEBIG WIDGETS * -->
<!-- ****************************************** -->
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="webig.lua" />
<lua file="json.lua" />
<lua file="base64.lua" />
<lua file="sceneedit.lua" />
<lua file="ark.lua" />
<!-- //////////// STYLE : webigchat_desc /////////// -->
<style style="webigchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<!-- //////////// STYLE : webigchat_option /////////// -->
<style style="webigchat_option" type="text" format_taged="true" fontsize="10" justification="dont_clip_word" color="0 0 64 255" underlined="true" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<!-- //////////// STYLE : webigchat_option_but /////////// -->
<style style="webigchat_option_but" type="button_link" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" onclick_l="proc" params_l="proc_browse_faq" />
<!-- //////////// TEMPLATE : webig_3dbulle_L /////////// -->
<template name="webig_3dbulle_L" id="" keep="true">
<group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="512" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="true" child_resize_wmargin="10" child_resize_h="true" child_resize_hmargin="10" posref="TL TL">
<group id="back" x="0" y="0" w="0" h="0" sizeref="wh" posref="TL TL">
<view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false" />
<view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false" />
<view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false" />
<view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false" />
<view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false" />
<view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false" />
<view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false" />
<view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false" />
<view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false" />
</group>
<view style="webigchat_desc" id="text" posref="TL TL" x="5" y="-24" />
<ctrl type="button" button_type="push_button" tx_normal="Bulle_next.tga" tx_pushed="Bulle_next.tga" tx_over="Bulle_next.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiNext" id="but_next" posref="TR TR" x="-5" y="-5" onclick_l="bubble_next" active="false" />
<ctrl type="button" button_type="push_button" tx_normal="Bulle_quit.tga" tx_pushed="Bulle_quit.tga" tx_over="Bulle_quit.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiSkip" id="but_skip" posref="TL TR" posparent="but_next" x="-4" y="0" onclick_l="bubble_skip" active="false" />
<!-- Yoyo: Fake to have minimum bubble size -->
<group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
<view style="webigchat_option" id="opt0" posparent="text" posref="BL TL" x="16" y="-4" />
<view style="webigchat_option" id="opt1" posparent="opt0" posref="BL TL" x="0" y="-4" />
<view style="webigchat_option" id="opt2" posparent="opt1" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt3" posparent="opt2" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt4" posparent="opt3" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt5" posparent="opt4" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt6" posparent="opt5" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt7" posparent="opt6" posref="BL TL" x="0" y="-5" />
<ctrl style="webigchat_option_but" id="optb0" posparent="opt0" params_l="0" />
<ctrl style="webigchat_option_but" id="optb1" posparent="opt1" params_l="1" />
<ctrl style="webigchat_option_but" id="optb2" posparent="opt2" params_l="2" />
<ctrl style="webigchat_option_but" id="optb3" posparent="opt3" params_l="3" />
<ctrl style="webigchat_option_but" id="optb4" posparent="opt4" params_l="4" />
<ctrl style="webigchat_option_but" id="optb5" posparent="opt5" params_l="5" />
<ctrl style="webigchat_option_but" id="optb6" posparent="opt6" params_l="6" />
<ctrl style="webigchat_option_but" id="optb7" posparent="opt7" params_l="7" />
</group>
<view type="bitmap" id="win_talk" posref="BR TR" x="-24" y="2" posparent="window" texture="Bulle_Say_L.tga" global_color="false" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_modal /////////// -->
<group type="modal" id="webig_html_modal" w="360" posref="TL TL" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
<!-- //////////// MODAL : webig_exchange_choose_in_bag /////////// -->
<group type="modal" id="webig_exchange_choose_in_bag" w="360" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<view type="text" id="title" posref="TL TL" x="6" y="-8" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="uiBCTitleMPItemType"/>
<group type="list_sheet" id="list" nature="item" posref="TL TL" x="4" y="-20" value="UI:VARIABLES:BOTCHAT:FILTER_ITEM_TYPE_SELECTED" force_item_background_generic="true" wspace="2" hspace="2" array="false" w="350" lmargin="0" rmargin="0" tmargin="2" bmargin="2" child_resize_h="true" onclick_l="confirm_change_botchat_buy_filter_item_type" on_tooltip="botchat_tt_item_type" use_quantity="false" use_quality="false" display_empty_slot="true"/>
<view type="text" id="no_filter" posparent="ctrl" posref="TL MM" x="24" y="-46" fontsize="12" shadow="true" case_mode="%case_upper" global_color="false" hardtext="uiBCNoItemTypeFilter"/>
</group>
<!-- //////////// MODAL : webig_drop_destroy_item_quantity_modal /////////// -->
<group type="modal" id="webig_drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" options="skin_modal">
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0"/>
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X"/>
<instance template="edit_box_widget" entry_type="positive_integer" id="edit" text_ref="TR TR" text_y="-1" fontsize="12" posparent="sheet" posref="MR ML" x="16" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|update_text=false" onenter="proc" params="webig_drop_destroy_item_quantity_modal_ok" max_historic="0"/>
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param=""/>
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="drop_text:active"/>
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="destroy_text:active"/>
</group>
<!-- //////////// TEMPLATE : webig_list_sheet /////////// -->
<template name="webig_list_sheet" keep="true" db="" w="200" y="-10" x="10">
<group id="list_group" w="#w" y="#y" x="#x" posref="TL TL" child_resize_h="true" >
<group type="list_sheet" nature="item" id="list" posref="TL TL" x="0" y="0" child_resize_h="true" wspace="8" hspace="8" value="#db" array="true" auto_grayed="true" onclick_r="open_item_help" tooltip="uittSelectMp" />
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_borderless /////////// -->
<template name="webig_frame_borderless" keep="true" w="200" h="200" x="0" y="0" movable="true">
<group title="" id="content" type="container" posref="MM MM" movable="#movable" pop_max_h="#h" pop_min_h="#h" pop_min_w="#w" pop_max_w="#w" opened="false" openable="false" options="compass" header_active="true" right_button="false">
<group id="html" type="html" posref="TL TL" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
<group id="black" posref="BR BR" sizeref="hw" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_skin_modal /////////// -->
<template name="webig_frame_skin_modal" keep="true" w="200" h="200" x="0" y="0">
<group id="group" type="container" active="true" w="#w" h="#h" x="#x" y="#y" posref="MM MM" options="skin_modal" opened="true" openable="true" movable="true" header_color="UI:SAVE:WIN:COLORS:COM">
<group id="header_closed" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL ">
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
</template>
<template name="money_tmpl" keep="true" posparent="parent" x="0" y="0" w="110" h="32" posref="TL TL" id="" value="?" icon="money_32.tga" tooltip="uittPlayerMoney">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<view type="bitmap" id="icone" posref="ML ML" texture="#icon" scale="true" w="32" global_color="false" />
<instance template="box_widget" id="box1" posref="ML ML" sizeref="w" w="-18" h="16" x="18" />
<view type="text_number" id="val1" posparent="box1" posref="MR MR" x="-3" y="0" color="135 243 28 255" shadow="true" fontsize="10" value="#value" global_color="false" positive="true" format="true" />
<ctrl type="tooltip" id="tt" posparent="box1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="#tooltip" />
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="webig.lua" />
<lua file="json.lua" />
<lua file="base64.lua" />
<lua file="sceneedit.lua" />
<lua file="ark.lua" />
<!-- //////////// STYLE : webigchat_desc /////////// -->
<style style="webigchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<!-- //////////// STYLE : webigchat_option /////////// -->
<style style="webigchat_option" type="text" format_taged="true" fontsize="10" justification="dont_clip_word" color="0 0 64 255" underlined="true" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<!-- //////////// STYLE : webigchat_option_but /////////// -->
<style style="webigchat_option_but" type="button_link" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" onclick_l="proc" params_l="proc_browse_faq" />
<!-- //////////// TEMPLATE : webig_3dbulle_L /////////// -->
<template name="webig_3dbulle_L" id="" keep="true">
<group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true">
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="512" min_w="48" max_h="256" min_h="48" posref="TL TL">
<group id="window" x="0" y="0" child_resize_w="true" child_resize_wmargin="10" child_resize_h="true" child_resize_hmargin="10" posref="TL TL">
<group id="back" x="0" y="0" w="0" h="0" sizeref="wh" posref="TL TL">
<view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false" />
<view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false" />
<view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false" />
<view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false" />
<view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false" />
<view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false" />
<view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false" />
<view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false" />
<view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false" />
</group>
<view style="webigchat_desc" id="text" posref="TL TL" x="5" y="-24" />
<ctrl type="button" button_type="push_button" tx_normal="Bulle_next.tga" tx_pushed="Bulle_next.tga" tx_over="Bulle_next.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiNext" id="but_next" posref="TR TR" x="-5" y="-5" onclick_l="bubble_next" active="false" />
<ctrl type="button" button_type="push_button" tx_normal="Bulle_quit.tga" tx_pushed="Bulle_quit.tga" tx_over="Bulle_quit.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiSkip" id="but_skip" posref="TL TR" posparent="but_next" x="-4" y="0" onclick_l="bubble_skip" active="false" />
<!-- Yoyo: Fake to have minimum bubble size -->
<group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
<view style="webigchat_option" id="opt0" posparent="text" posref="BL TL" x="16" y="-4" />
<view style="webigchat_option" id="opt1" posparent="opt0" posref="BL TL" x="0" y="-4" />
<view style="webigchat_option" id="opt2" posparent="opt1" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt3" posparent="opt2" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt4" posparent="opt3" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt5" posparent="opt4" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt6" posparent="opt5" posref="BL TL" x="0" y="-5" />
<view style="webigchat_option" id="opt7" posparent="opt6" posref="BL TL" x="0" y="-5" />
<ctrl style="webigchat_option_but" id="optb0" posparent="opt0" params_l="0" />
<ctrl style="webigchat_option_but" id="optb1" posparent="opt1" params_l="1" />
<ctrl style="webigchat_option_but" id="optb2" posparent="opt2" params_l="2" />
<ctrl style="webigchat_option_but" id="optb3" posparent="opt3" params_l="3" />
<ctrl style="webigchat_option_but" id="optb4" posparent="opt4" params_l="4" />
<ctrl style="webigchat_option_but" id="optb5" posparent="opt5" params_l="5" />
<ctrl style="webigchat_option_but" id="optb6" posparent="opt6" params_l="6" />
<ctrl style="webigchat_option_but" id="optb7" posparent="opt7" params_l="7" />
</group>
<view type="bitmap" id="win_talk" posref="BR TR" x="-24" y="2" posparent="window" texture="Bulle_Say_L.tga" global_color="false" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_modal /////////// -->
<group type="modal" id="webig_html_modal" w="360" posref="TL TL" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy /////////// -->
<template name="webig_bot_chat_buy" keep="true" title="uiBuy" tooltip="Dappers" icon_points="money_seve.tga" buyto_text="uiBuyFrom" buyto_name="?">
<group id="#id" type="container" openable="false" opened="true" movable="true" resizer="false" savable="false" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false" escapable="true" posref="BL TL" min_w="450" max_w="450" w="450" x="352" y="200" pop_max_h="700" max_h="2000" active="true" title="#title">
<group id="header_opened" child_resize_h="true" w="600" x="0" y="0" posref="TL TL">
<instance template="bc_border_text" id="intro" />
<group id="trade_content" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="30" posref="BL TL" posparent="intro" y="0">
<view type="text" id="buy_title" multi_line="1" posparent="buy_back" posref="TL BL" x="0" y="35" color="255 255 255 255" fontsize="12" shadow="true" hardtext="#buyto_text" />
<view type="text" id="vendor_name" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="18" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="#buyto_name" />
<view type="text" id="buy_info" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="2" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="" />
<instance template="box_widget" id="buy_back" posref="TR TR" w="430" h="420" x="0" y="-48" />
<!-- BUY -->
<group id="buy" type="html" posparent="buy_back" posref="MM MM" sizeref="wh" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="5" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="10" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
<instance template="money_tmpl" id="points" posref="BR TR" x="0" y="-8" w="150" icon="#icon_points" posparent="buy_back" tooltip="#tooltip" value="UI:TEMP:ARK_SHOP_MONEY" />
</group>
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy_item /////////// -->
<template name="webig_bot_chat_buy_item" id="" money_tooltip="uiDappers" money_icon="money_seve.tga" onclick="" infosclick="" infos_text="uiTS_Items" ok_text="uiBuy" tooltip_ok="" keep="true" x="0" y="0">
<group id="#id" type="container" posref="TL TL" min_w="240" w="408" x="#x" y="#y" pop_min_h="320" pop_max_h="420" min_h="320" max_h="420" active="true" openable="false" opened="true" movable="true" resizer="false" savable="false" title="uiBotChatMissions" escapable="true" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false">
<group id="header_opened" h="400" w="600" x="0" y="0" posref="TL TL">
<group id="top" posref="TL TL" sizeref="wh" x="2" y="-2">
<group id="buy_sell_slot" type="html" posref="TL TL" w="48" h="48" url="" x="2" y="-20" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
<group id="standard_price" posparent="buy_sell_slot" posref="TR TL" x="0" y="-2" w="335" h="50">
<instance template="money_tmpl" id="item_price" tooltip="#money_tooltip" icon="#money_icon" posref="ML ML" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_PRICE" />
<instance template="edit_box_widget" id="edit" posref="MM MM" x="0" text_x="0" text_ref="BR BR" w="36" backup_father_container_pos="true" prompt="" value="1" enter_loose_focus="true" multi_line="false" max_num_chars="4" onenter="lua" params="arkNpcShop:CheckMoney()" onchange="lua" onchange_params="arkNpcShop:CheckMoney()" enter_recover_focus="true" reset_focus_on_hide="true" max_historic="0" entry_type="positive_integer" />
<instance template="money_tmpl" id="item_total_price" tooltip="#money_tooltip" icon="#money_icon" posref="MR MR" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_TOTAL" />
<view type="text" id="cross" posref="ML MR" posparent="edit" color="255 255 255 255" fontsize="10" x="-4" y="0" shadow="true" hardtext="X" />
<view type="text" id="equal" posref="MR ML" posparent="edit" color="255 255 255 255" x="2" y="0" fontsize="16" shadow="true" hardtext="=" />
<view type="text" id="unit_price_header" posparent="item_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiUnitValue" />
<view type="text" id="quantity_header" posref="TM TM" color="255 255 255 255" fontsize="10" x="0" y="0" shadow="true" hardtext="uiQtty" />
<view type="text" id="total_price_header" posparent="item_total_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiImmediatePrice" />
</group>
</group>
<group id="scroll_text" posref="TL TL" h="200" y="-20" sizeref="w" w="0">
<instance template="inner_thin_border_group" />
<group id="infos" type="html" posref="MM MM" sizeref="hw" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="0" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color_global_color="true" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="12" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
<group id="item_preview" active="false" posref="TL TL" sizeref="w" w="200" h="320" x="0" y="-70">
<scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.7" rot="0.0 0.0 -60.0" />
<camera id="cam_item_preview" fov="5" pos="0.0 -50.0 0.0" target="0.0 0.0 -0.85" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
<ctrl style="button_ok" id="ok" x="-7" y="-7" posparent="scroll_text" posref="BR TR" text_y="0" onclick_l="lua" params_l="#onclick" hardtext="#ok_text" tooltip="#tooltip_ok" />
<ctrl style="button_ok" id="desc" x="-5" y="0" posparent="ok" posref="BL BR" text_y="0" onclick_l="lua" params_l="#infosclick" hardtext="#infos_text" tooltip="#infos_text" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_inv_item /////////// -->
<template name="webig_inv_item" render_layer1="1" render_layer2="2" render_layer3="3" w="45" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" bg="w_slot_item.tga" params_l="" params_r="" x="0" y="0">
<group id="#id" posref="MM MM" w="#w" h="45" x="#x" y="#y" sizeref="" render_layer="#render_layer1">
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" render_layer="#render_layer1" texture="#bg" global_color="false" />
<view type="bitmap" id="img1" posref="ML ML" x="0" y="0" render_layer="#render_layer2" texture="#img1" global_color="false" />
<view type="bitmap" id="img2" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img2" global_color="false" />
<view type="bitmap" id="img3" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img3" global_color="false" />
<view type="text" id="overlay" posref="TL TL" posparent="img1" render_layer="#render_layer2" x="0" y="0" hardtext="#overlay" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" />
<view type="text" id="quantity" posref="BL BL" posparent="img1" render_layer="#render_layer3" x="0" y="0" hardtext="#quantity" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" />
<view type="text" id="quality" posref="BR BR" posparent="img1" render_layer="#render_layer3" x="-1" y="0" hardtext="#quality" fontsize="8" color="255 255 255 255" shadow="true" global_color="true" />
<view type="text" id="text1" posref="TR TL" posparent="img1" x="3" y="1" fontsize="8" hardtext="#text" color="#color1" shadow="true" global_color="#gc1" />
<view type="text" id="text2" posref="BL TL" posparent="text1" x="0" y="2" fontsize="8" hardtext="#text2" color="#color2" shadow="true" global_color="#gc2" />
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="ML ML" x="1" y="0" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" w="40" h="40" tooltip="#tooltip" color="0 0 0 0" col_over="255 255 255 0" col_pushed="255 255 255 0" render_layer="#render_layer1" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" />
</group>
</template>
<template name="html_push_button" id="" texture="" posparent="parent" posref="TL TL" onclick="" onclick_param="" x="0" y="0" keep="true">
<group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
<ctrl type="button" id="b" button_type="push_button" pushed="false" tx_normal="#texture" tx_pushed="#texture" tx_over="#texture" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="#onclick" params_l="#onclick_param" />
</group>
</template>
<template name="lesson_template" bg="storyline_lesson_bg" script="0" parent="0" open_script="false" check_color="255 255 255 200" over="80" pushed="90" waiting="true" started="false" finished="false" event="" lesson="">
<group id="#id" posref="MM MM" w="510" h="70">
<view type="bitmap" id="back" posref="ML ML" texture="#bg.tga" global_color="false" />
<group id="html" type="webig_html" posref="TL TL" global_color="false" title_prefix="" sizeref="wh" x="30" y="0" w="510" h="70" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<group id="text_list" type="list" fontsize="9" posref="TL TL" x="0" y="-10" space="0" w="510" h="70" maxelements="2000" />
<ctrl id="scroll_bar" style="skin_scroll" />
</group>
<view type="bitmap" id="check" active="#waiting" x="6" posref="ML ML" texture="w_slot_brick.tga" color="255 255 255 255" global_color="false" />
<view type="bitmap" id="started" active="#started" x="6" posref="ML ML" texture="w_slot_on.tga" color="#check_color" global_color="false" h="26" w="26" scale="true"/>
<view type="bitmap" id="finished" active="#finished" x="0" posref="ML ML" texture="ico_task_done.tga" color="255 255 255 255" global_color="false" />
<ctrl type="button" id="lesson" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="510" h="60" tx_normal="blank.tga" tx_pushed="storyline_lesson_bg_white.tga" tx_over="storyline_lesson_bg_white.tga" scale="true" color="255 255 255 0" col_over="255 255 255 #over" col_pushed="255 255 255 #pushed" onclick_l="lua" params_l="openLesson(#event, #lesson)" />
<ctrl type="button" id="open_script" active="#open_script" button_type="push_button" posref="BL BL" x="78" y="9" tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" onclick_l="lua" params_l="openStorylineStepDetails(#script, #parent)" tooltip="" />
</group>
</template>
<template name="webig_button" w="100" h="20" x="0" y="0" text="OK" fontsize="12" shadow="true" color_text="255 255 255 255" normal="blank.tga" pushed="blank.tga" over="blank.tga" color="255 255 255 0" color_over="255 255 255 55" color_pushed="255 255 255 100" params_l="">
<group id="#id" posref="MM MM" w="#w" h="#h" x="#x" y="#y">
<ctrl type="button" id="but" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="#w" h="#h" tx_normal="#normal" tx_pushed="#pushed" tx_over="#over" scale="true" color="#color" col_over="#color_over" col_pushed="#color_pushed" onclick_l="lua" params_l="#params_l" />
<view type="text" id="text" color="#color_text" global_color="false" fontsize="#fontsize" shadow="#shadow" posref="MM MM" hardtext="#text" />
</group>
</template>
<!-- //////////// MODAL : webig_exchange_choose_in_bag /////////// -->
<group type="modal" id="webig_exchange_choose_in_bag" w="360" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<view type="text" id="title" posref="TL TL" x="6" y="-8" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="uiBCTitleMPItemType" />
<group type="list_sheet" id="list" nature="item" posref="TL TL" x="4" y="-20" value="UI:VARIABLES:BOTCHAT:FILTER_ITEM_TYPE_SELECTED" force_item_background_generic="true" wspace="2" hspace="2" array="false" w="350" lmargin="0" rmargin="0" tmargin="2" bmargin="2" child_resize_h="true" onclick_l="confirm_change_botchat_buy_filter_item_type" on_tooltip="botchat_tt_item_type" use_quantity="false" use_quality="false" display_empty_slot="true" />
<view type="text" id="no_filter" posparent="ctrl" posref="TL MM" x="24" y="-46" fontsize="12" shadow="true" case_mode="%case_upper" global_color="false" hardtext="uiBCNoItemTypeFilter" />
</group>
<!-- //////////// MODAL : webig_drop_destroy_item_quantity_modal /////////// -->
<group type="modal" id="webig_drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" options="skin_modal">
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" />
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
<instance template="edit_box_widget" entry_type="positive_integer" id="edit" text_ref="TR TR" text_y="-1" fontsize="12" posparent="sheet" posref="MR ML" x="16" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|update_text=false" onenter="proc" params="webig_drop_destroy_item_quantity_modal_ok" max_historic="0" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="drop_text:active" />
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="destroy_text:active" />
</group>
<!-- //////////// TEMPLATE : webig_list_sheet /////////// -->
<template name="webig_list_sheet" keep="true" db="" w="200" y="-10" x="10">
<group id="list_group" w="#w" y="#y" x="#x" posref="TL TL" child_resize_h="true">
<group type="list_sheet" nature="item" id="list" posref="TL TL" x="0" y="0" child_resize_h="true" wspace="8" hspace="8" value="#db" array="true" auto_grayed="true" onclick_r="open_item_help" tooltip="uittSelectMp" />
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_borderless /////////// -->
<template name="webig_frame_borderless" keep="true" w="200" h="200" x="0" y="0" movable="true">
<group title="" id="content" type="container" posref="MM MM" movable="#movable" pop_max_h="#h" pop_min_h="#h" pop_min_w="#w" pop_max_w="#w" opened="false" openable="false" options="compass" header_active="true" right_button="false">
<group id="html" type="html" posref="TL TL" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_skin_modal /////////// -->
<template name="webig_frame_skin_modal" keep="true" w="200" h="200" x="0" y="0">
<group id="group" type="container" active="true" w="#w" h="#h" x="#x" y="#y" posref="MM MM" options="skin_modal" opened="true" openable="true" movable="true" header_color="UI:SAVE:WIN:COLORS:COM">
<group id="header_closed" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
</group>
</template>
<template name="money_tmpl" keep="true" posparent="parent" x="0" y="0" w="110" h="32" posref="TL TL" id="" value="?" icon="money_32.tga" tooltip="uittPlayerMoney">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<view type="bitmap" id="icone" posref="ML ML" texture="#icon" scale="true" w="32" global_color="false" />
<instance template="box_widget" id="box1" posref="ML ML" sizeref="w" w="-18" h="16" x="18" />
<view type="text_number" id="val1" posparent="box1" posref="MR MR" x="-3" y="0" color="135 243 28 255" shadow="true" fontsize="10" value="#value" global_color="false" positive="true" format="true" />
<ctrl type="tooltip" id="tt" posparent="box1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="#tooltip" />
</group>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy /////////// -->
<template name="webig_bot_chat_buy" keep="true" title="uiBuy" tooltip="Dappers" icon_points="money_seve.tga" buyto_text="uiBuyFrom" buyto_name="?">
<group id="#id" type="container" openable="false" opened="true" movable="true" resizer="false" savable="false" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false" escapable="true" posref="BL TL" min_w="450" max_w="450" w="450" x="352" y="200" pop_max_h="700" max_h="2000" active="true" title="#title">
<group id="header_opened" child_resize_h="true" w="600" x="0" y="0" posref="TL TL">
<instance template="bc_border_text" id="intro" />
<group id="trade_content" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="30" posref="BL TL" posparent="intro" y="0">
<view type="text" id="buy_title" multi_line="1" posparent="buy_back" posref="TL BL" x="0" y="35" color="255 255 255 255" fontsize="12" shadow="true" hardtext="#buyto_text" />
<view type="text" id="vendor_name" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="18" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="#buyto_name" />
<view type="text" id="buy_info" multi_line="1" posparent="buy_back" posref="TL BL" x="10" y="2" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="" />
<instance template="box_widget" id="buy_back" posref="TR TR" w="430" h="420" x="0" y="-48" />
<!-- BUY -->
<group id="buy" type="html" posparent="buy_back" posref="MM MM" sizeref="wh" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="5" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="10" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
<instance template="money_tmpl" id="points" posref="BR TR" x="0" y="-8" w="150" icon="#icon_points" posparent="buy_back" tooltip="#tooltip" value="UI:TEMP:ARK_SHOP_MONEY" />
</group>
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy_item /////////// -->
<template name="webig_bot_chat_buy_item" id="" money_tooltip="uiDappers" money_icon="money_seve.tga" onclick="" infosclick="" infos_text="uiTS_Items" ok_text="uiBuy" tooltip_ok="" keep="true" x="0" y="0">
<group id="#id" type="container" posref="TL TL" min_w="240" w="408" x="#x" y="#y" pop_min_h="320" pop_max_h="420" min_h="320" max_h="420" active="true" openable="false" opened="true" movable="true" resizer="false" savable="false" title="uiBotChatMissions" escapable="true" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false">
<group id="header_opened" h="400" w="600" x="0" y="0" posref="TL TL">
<group id="top" posref="TL TL" sizeref="wh" x="2" y="-2">
<group id="buy_sell_slot" type="html" posref="TL TL" w="48" h="48" url="" x="2" y="-20" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
<group id="standard_price" posparent="buy_sell_slot" posref="TR TL" x="0" y="-2" w="335" h="50">
<instance template="money_tmpl" id="item_price" tooltip="#money_tooltip" icon="#money_icon" posref="ML ML" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_PRICE" />
<instance template="edit_box_widget" id="edit" posref="MM MM" x="0" text_x="0" text_ref="BR BR" w="36" backup_father_container_pos="true" prompt="" value="1" enter_loose_focus="true" multi_line="false" max_num_chars="4" onenter="lua" params="arkNpcShop:CheckMoney()" onchange="lua" onchange_params="arkNpcShop:CheckMoney()" enter_recover_focus="true" reset_focus_on_hide="true" max_historic="0" entry_type="positive_integer" />
<instance template="money_tmpl" id="item_total_price" tooltip="#money_tooltip" icon="#money_icon" posref="MR MR" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_TOTAL" />
<view type="text" id="cross" posref="ML MR" posparent="edit" color="255 255 255 255" fontsize="10" x="-4" y="0" shadow="true" hardtext="X" />
<view type="text" id="equal" posref="MR ML" posparent="edit" color="255 255 255 255" x="2" y="0" fontsize="16" shadow="true" hardtext="=" />
<view type="text" id="unit_price_header" posparent="item_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiUnitValue" />
<view type="text" id="quantity_header" posref="TM TM" color="255 255 255 255" fontsize="10" x="0" y="0" shadow="true" hardtext="uiQtty" />
<view type="text" id="total_price_header" posparent="item_total_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiImmediatePrice" />
</group>
</group>
<group id="scroll_text" posref="TL TL" h="200" y="-20" sizeref="w" w="0">
<instance template="inner_thin_border_group" />
<group id="infos" type="html" posref="MM MM" sizeref="hw" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="0" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color_global_color="true" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="12" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="TL TL" sizeref="hw" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
<group id="item_preview" active="false" posref="TL TL" sizeref="w" w="200" h="320" x="0" y="-70">
<scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.7" rot="0.0 0.0 -60.0" />
<camera id="cam_item_preview" fov="5" pos="0.0 -50.0 0.0" target="0.0 0.0 -0.85" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
<ctrl style="button_ok" id="ok" x="-7" y="-7" posparent="scroll_text" posref="BR TR" text_y="0" onclick_l="lua" params_l="#onclick" hardtext="#ok_text" tooltip="#tooltip_ok" />
<ctrl style="button_ok" id="desc" x="-5" y="0" posparent="ok" posref="BL BR" text_y="0" onclick_l="lua" params_l="#infosclick" hardtext="#infos_text" tooltip="#infos_text" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_inv_item /////////// -->
<template name="webig_inv_item" render_layer1="1" render_layer2="2" render_layer3="3" w="45" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" bg="w_slot_item.tga" params_l="" params_r="" x="0" y="0">
<group id="#id" posref="MM MM" w="#w" h="45" x="#x" y="#y" sizeref="" render_layer="#render_layer1">
<view type="bitmap" id="back" posref="ML ML" x="0" y="0" render_layer="#render_layer1" texture="#bg" global_color="false" />
<view type="bitmap" id="img1" posref="ML ML" x="0" y="0" render_layer="#render_layer2" texture="#img1" global_color="false" />
<view type="bitmap" id="img2" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img2" global_color="false" />
<view type="bitmap" id="img3" posref="ML ML" render_layer="#render_layer2" x="0" y="0" texture="#img3" global_color="false" />
<view type="text" id="overlay" posref="TL TL" posparent="img1" render_layer="#render_layer2" x="0" y="0" hardtext="#overlay" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" />
<view type="text" id="quantity" posref="BL BL" posparent="img1" render_layer="#render_layer3" x="0" y="0" hardtext="#quantity" fontsize="8" color="255 255 255 255" shadow="true" global_color="false" />
<view type="text" id="quality" posref="BR BR" posparent="img1" render_layer="#render_layer3" x="-1" y="0" hardtext="#quality" fontsize="8" color="255 255 255 255" shadow="true" global_color="true" />
<view type="text" id="text1" posref="TR TL" posparent="img1" x="3" y="1" fontsize="8" hardtext="#text" color="#color1" shadow="true" global_color="#gc1" />
<view type="text" id="text2" posref="BL TL" posparent="text1" x="0" y="2" fontsize="8" hardtext="#text2" color="#color2" shadow="true" global_color="#gc2" />
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="ML ML" x="1" y="0" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" w="40" h="40" tooltip="#tooltip" color="0 0 0 0" col_over="255 255 255 0" col_pushed="255 255 255 0" render_layer="#render_layer1" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" />
</group>
</template>
<template name="html_push_button" id="" texture="" posparent="parent" posref="TL TL" onclick="" onclick_param="" x="0" y="0" keep="true">
<group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
<ctrl type="button" id="b" button_type="push_button" pushed="false" tx_normal="#texture" tx_pushed="#texture" tx_over="#texture" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="#onclick" params_l="#onclick_param" />
</group>
</template>
<template name="lesson_template" bg="storyline_lesson_bg" script="0" parent="0" open_script="false" check_color="255 255 255 200" over="80" pushed="90" waiting="true" started="false" finished="false" event="" lesson="">
<group id="#id" posref="MM MM" w="510" h="70">
<view type="bitmap" id="back" posref="ML ML" texture="#bg.tga" global_color="false" />
<group id="html" type="webig_html" posref="TL TL" global_color="false" title_prefix="" sizeref="wh" x="30" y="0" w="510" h="70" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline">
<group id="text_list" type="list" fontsize="9" posref="TL TL" x="0" y="-10" space="0" w="510" h="70" maxelements="2000" />
<ctrl id="scroll_bar" style="skin_scroll" />
</group>
<view type="bitmap" id="check" active="#waiting" x="6" posref="ML ML" texture="w_slot_brick.tga" color="255 255 255 255" global_color="false" />
<view type="bitmap" id="started" active="#started" x="6" posref="ML ML" texture="w_slot_on.tga" color="#check_color" global_color="false" h="26" w="26" scale="true" />
<view type="bitmap" id="finished" active="#finished" x="0" posref="ML ML" texture="ico_task_done.tga" color="255 255 255 255" global_color="false" />
<ctrl type="button" id="lesson" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="510" h="60" tx_normal="blank.tga" tx_pushed="storyline_lesson_bg_white.tga" tx_over="storyline_lesson_bg_white.tga" scale="true" color="255 255 255 0" col_over="255 255 255 #over" col_pushed="255 255 255 #pushed" onclick_l="lua" params_l="openLesson(#event, #lesson)" />
<ctrl type="button" id="open_script" active="#open_script" button_type="push_button" posref="BL BL" x="78" y="9" tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" onclick_l="lua" params_l="openStorylineStepDetails(#script, #parent)" tooltip="" />
</group>
</template>
<template name="webig_button" w="100" h="20" x="0" y="0" text="OK" fontsize="12" shadow="true" color_text="255 255 255 255" normal="blank.tga" pushed="blank.tga" over="blank.tga" color="255 255 255 0" color_over="255 255 255 55" color_pushed="255 255 255 100" params_l="">
<group id="#id" posref="MM MM" w="#w" h="#h" x="#x" y="#y">
<ctrl type="button" id="but" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="#w" h="#h" tx_normal="#normal" tx_pushed="#pushed" tx_over="#over" scale="true" color="#color" col_over="#color_over" col_pushed="#color_pushed" onclick_l="lua" params_l="#params_l" />
<view type="text" id="text" color="#color_text" global_color="false" fontsize="#fontsize" shadow="#shadow" posref="MM MM" hardtext="#text" />
</group>
</template>
</interface_config>

@ -51,7 +51,6 @@
</template>
<template name="in_scene_user_info" id="" keep="true">
<group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" w="0" h="0" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="false">
<group id="right" child_resize_w="true" child_resize_h="true" w="0" x="38" h="158" posref="TL TL" child_resize_hmargin="7">
<view type="text" id="info0" posref="TL TL" x="0" y="-7" fontsize="14" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
<view type="text" id="info1" posref="BL TL" posparent="info0" x="0" fontsize="12" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
@ -60,31 +59,26 @@
<view type="bitmap" id="target" posref="TR TL" posparent="info0" x="4" texture="target.tga" global_color="false" />
<view type="bitmap" id="invisible_logo" posref="TR TL" posparent="target" x="2" y="3" scale="true" w="20" h="20" texture="ico_fear.tga" active="false" global_color="false" />
<view type="bitmap" id="mission_target" posref="TR TL" posparent="invisible_logo" x="2" y="4" texture="target_mission.tga" global_color="false" />
<view type="bitmap" id="win_top" posparent="info2" posref="BL TL" y="-8" texture="Infos_top.tga" global_color="true" />
<view type="bitmap" id="win_mid" posparent="win_top" posref="BL TL" scale="true" w="70" h="1" texture="Infos_mid.tga" global_color="true" />
<view type="bitmap" id="win_bot" posparent="win_mid" posref="BL TL" texture="Infos_bot.tga" global_color="true" />
<view type="bitmap" id="win_jauge_mid" posparent="win_bot" posref="TL ML" x="0" y="-2" scale="true" w="128" h="24" texture="Bg_jauge_mid.tga" global_color="true" />
<view type="bitmap" id="win_jauge_top" posparent="win_jauge_mid" posref="TL BL" texture="Bg_jauge_top.tga" global_color="true" />
<view type="bitmap" id="win_jauge_bot" posparent="win_jauge_mid" posref="BL TL" texture="Bg_jauge_bot.tga" global_color="true" />
<view type="bitmap" id="bar0" posparent="win_jauge_top" posref="TL TL" x="3" y="-3" scale="true" w="64" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar1" posparent="bar0" posref="BL TL" x="0" y="-2" scale="true" w="120" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar2" posparent="bar1" posref="BL TL" x="0" y="-2" scale="true" w="112" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar3" posparent="bar2" posref="BL TL" x="0" y="-2" scale="true" w="30" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar4" posparent="bar3" posref="BL TL" x="0" y="-2" scale="true" w="0" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
</group>
<ctrl type="sheet" id="guild_logo" posref="TL TR" posparent="right" x="-4" y="-7" slot="false" nature="guild_flag" value="UI:TEMP:GUILD_SHEET" dragable="false" color="255 255 255 255" />
<view type="bitmap" id="npc_mission_logo" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="1" texture="" global_color="false" />
<view type="bitmap" id="npc_mission_logo_over" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="2" texture="" global_color="false" />
<group id="right_rp" posref="TR TL" posparent="right" x="4" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4">
<view type="bitmap" id="rp_logo_3" posref="TL TL" x="0" w="24" h="24" scale="true" slot="false" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
<view type="bitmap" id="rp_logo_4" posref="TR TL" x="0" w="24" h="24" scale="true" slot="false" posparent="rp_logo_3" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
</group>
<group id="right_pvp" posref="BL TL" posparent="right_rp" x="-2" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<group id="right_pvp" posref="BL TL" posparent="right_rp" x="-2" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<group id="top_pvp" posref="TL TL" w="0" h="0" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<view type="bitmap" id="pvp_faction_logo" posref="TL TL" active="false" texture="blank.tga" global_color="false" />
<view type="bitmap" id="pvp_faction_logo2" posref="TR TL" x="-4" posparent="pvp_faction_logo" active="false" texture="blank.tga" global_color="false" />
@ -93,10 +87,9 @@
</group>
<group id="bottom_pvp" posref="BL TL" posparent="top_pvp" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<view type="bitmap" id="pvp_outpost_logo" posref="TL TL" x="2" y="-2" active="false" texture="building_state_24x24.tga" global_color="false" />
<view type="bitmap" id="pvp_duel_logo" posref="TR TL" posparent="pvp_outpost_logo" active="false" texture="pvp_duel.tga" global_color="false" />
<view type="bitmap" id="pvp_duel_logo" posref="TR TL" posparent="pvp_outpost_logo" active="false" texture="pvp_duel.tga" global_color="false" />
</group>
</group>
</group>
</template>
<!-- prototype for fast cloning -->
@ -340,32 +333,32 @@
</proc>
<!-- item menu when we are in bags (do not modify hierarchy or ids if you do not modify the code) -->
<group type="menu" id="item_menu_in_bag" extends="base_menu" on_deactive="item_menu_deactivate" on_active="item_menu_check">
<action id="cris_enchant" name="uimCristalEnchant" handler="item_cristal_enchant" icon="cristal_spell.tga"/>
<action id="cris_reload" name="uimCristalReload" handler="item_cristal_reload" icon="cristal_ammo.tga"/>
<action id="teleport_use" name="uimTeleportUse" handler="teleport_use" icon="mp_batiment_noyau_maduk.tga"/>
<action id="item_consume" name="uimItemConsume" handler="item_consume" icon="conso_nectar.tga"/>
<action id="item_execute" name="uimItemTextDisplay" handler="item_execute" icon="r2_hand_can_pan.tga"/>
<action id="xp_catalyser_use" name="uimXpCatalyserUse" handler="xp_catalyser_use" icon="ico_cataliseur_xp.tga"/>
<action id="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga"/>
<action id="cris_enchant" name="uimCristalEnchant" handler="item_cristal_enchant" icon="cristal_spell.tga" />
<action id="cris_reload" name="uimCristalReload" handler="item_cristal_reload" icon="cristal_ammo.tga" />
<action id="teleport_use" name="uimTeleportUse" handler="teleport_use" icon="mp_batiment_noyau_maduk.tga" />
<action id="item_consume" name="uimItemConsume" handler="item_consume" icon="conso_nectar.tga" />
<action id="item_execute" name="uimItemTextDisplay" handler="item_execute" icon="r2_hand_can_pan.tga" />
<action id="xp_catalyser_use" name="uimXpCatalyserUse" handler="xp_catalyser_use" icon="ico_cataliseur_xp.tga" />
<action id="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga" />
<separator />
<!-- Move to an Animal -->
<action id="move" name="uimMoveTo" icon="curs_can_pan.tga">
<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" icon="ico_mission_purse.tga"/>
<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" icon="ico_mission_purse.tga" />
<!-- MAX_INVENTORY_ANIMAL -->
<action id="pa0" name="uimMtPaMount0" handler="proc" params="move_to_pa|0" icon="mektoub_map.tga"/>
<action id="pa1" name="uimMtPaMount1" handler="proc" params="move_to_pa|1" icon="mektoub_map.tga"/>
<action id="pa2" name="uimMtPaMount2" handler="proc" params="move_to_pa|2" icon="mektoub_map.tga"/>
<action id="pa3" name="uimMtPaMount3" handler="proc" params="move_to_pa|3" icon="mektoub_map.tga"/>
<action id="pa4" name="uiPABagTitleMount4" handler="proc" params="move_to_pa|4" icon="spe_beast.tga"/>
<action id="pa5" name="uiPABagTitleMount5" handler="proc" params="move_to_pa|5" icon="spe_beast.tga"/>
<action id="pa6" name="uiPABagTitleMount6" handler="proc" params="move_to_pa|6" icon="spe_beast.tga"/>
<action id="guild" name="uimMtGuild" handler="proc" params="move_to_guild" icon="spe_memory.tga"/>
<action id="room" name="uimMtRoom" handler="proc" params="move_to_room" icon="building_state2.tga"/>
<action id="pa0" name="uimMtPaMount0" handler="proc" params="move_to_pa|0" icon="mektoub_map.tga" />
<action id="pa1" name="uimMtPaMount1" handler="proc" params="move_to_pa|1" icon="mektoub_map.tga" />
<action id="pa2" name="uimMtPaMount2" handler="proc" params="move_to_pa|2" icon="mektoub_map.tga" />
<action id="pa3" name="uimMtPaMount3" handler="proc" params="move_to_pa|3" icon="mektoub_map.tga" />
<action id="pa4" name="uiPABagTitleMount4" handler="proc" params="move_to_pa|4" icon="spe_beast.tga" />
<action id="pa5" name="uiPABagTitleMount5" handler="proc" params="move_to_pa|5" icon="spe_beast.tga" />
<action id="pa6" name="uiPABagTitleMount6" handler="proc" params="move_to_pa|6" icon="spe_beast.tga" />
<action id="guild" name="uimMtGuild" handler="proc" params="move_to_guild" icon="spe_memory.tga" />
<action id="room" name="uimMtRoom" handler="proc" params="move_to_room" icon="building_state2.tga" />
</action>
<!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc" />-->
<action id="equip" name="uimEquip" handler="inv_auto_equip" icon="filter_armor.tga"/>
<action id="infos" name="uimBoldInfo" handler="open_item_help" icon="brick_default.tga"/>
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/>
<action id="equip" name="uimEquip" handler="inv_auto_equip" icon="filter_armor.tga" />
<action id="infos" name="uimBoldInfo" handler="open_item_help" icon="brick_default.tga" />
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga" />
<action id="item_text_edition" name="uimItemTextEdit" handler="item_text_edition" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga" />
<separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
@ -373,7 +366,6 @@
<action id="item_group" name="uimGroup" />
<!-- Will be activated and populated in code -->
<group type="menu" id="item_group_menu" extends="base_menu"></group>
</group>
<!-- MAX_INVENTORY_ANIMAL -->
<link expr="switch(@%pa_beast0:TYPE, 'uimMtPaMount0', 'uimMtPaMount0', 'uimMtPaPacker0', 'uimMtPaDemon0')" target="ui:interface:item_menu_in_bag:move:pa0:hardtext" />
@ -383,8 +375,8 @@
<!-- item menu when we are in self -->
<group type="menu" id="item_menu_in_self" extends="base_menu" on_active="item_menu_base_check">
<!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc"/>-->
<action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga"/>
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/>
<action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga" />
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga" />
<separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
</group>
@ -394,10 +386,10 @@
<action id="move" name="uimMoveTo" icon="curs_can_pan.tga">
<!--<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" /> -->
</action>
<action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga"/>
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/>
<action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga" />
<action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga" />
<separator />
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga"/>
<action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
</group>
<define id="item_modal_menu" value="ui:interface:item_menu" />
<define id="self_item_modal_menu" value="ui:interface:item_menu_in_self" />
@ -481,7 +473,6 @@
<view type="text_number" id="sp_value" posref="MR ML" posparent="sp_text" x="4" y="0" color="255 255 255 255" shadow="true" fontsize="#fontsize_number" value="#value" global_color="false" />
</group>
</template>
<!-- ********************* -->
<!-- * FACTION POINTS * -->
<!-- ********************* -->
@ -651,7 +642,7 @@
<!-- * EDIT BOX WIDGET * -->
<!-- ********************* -->
<template name="edit_box_widget" active="true" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" child_resize_hmargin="0" multi_line="false" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt="&gt;" enter_recover_focus="true" max_num_bytes="0" max_num_chars="255" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="10" shadow="true" shadow_x="1" shadow_y="1" shadow_color="0 0 0 255" shadow_outline="false" backup_father_container_pos="false" want_return="false" clear_on_escape="false" color="255 255 255 255" continuous_text_update="false" bg_texture="W_box_blank.tga" on_focus_lost="" on_focus_lost_params="" max_float_prec="5" tooltip="" tooltip_parent="" negative_filter="" render_layer="0">
<group id="#id" active="#active" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" child_resize_hmargin="#child_resize_hmargin" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer" >
<group id="#id" active="#active" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" child_resize_hmargin="#child_resize_hmargin" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer">
<group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_bytes="#max_num_bytes" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" clear_on_escape="#clear_on_escape" backup_father_container_pos="#backup_father_container_pos" on_focus_lost="#on_focus_lost" on_focus_lost_params="#on_focus_lost_params" max_float_prec="#max_float_prec" tooltip="#tooltip" tooltip_parent="#tooltip_parent" negative_filter="#negative_filter" render_layer="#render_layer">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="#bg_texture" inherit_gc_alpha="true" render_layer="#render_layer" />
<view id="edit_text" type="text" continuous_update="#continuous_text_update" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" />
@ -674,7 +665,7 @@
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer">
<group type="edit_box" sizeref="#sizeref_eb" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="#child_resize_h" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_return="#max_num_return" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer" negative_filter="#negative_filter">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true" render_layer="#render_layer" />
<view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" multi_min_line="#multi_min_line" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" />
<view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" multi_min_line="#multi_min_line" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" />
</group>
<!-- border around the list -->
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="true" render_layer="#render_layer" />
@ -816,11 +807,9 @@
<!-- ***************** -->
<define id="over_border_color" value="140 140 240 255" />
<define id="help_bg_color" value="100 120 120 255" />
<!-- Define varaibles for the list sheet of the root brick selection modal-->
<!--<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />-->
<variable entry="UI:VARIABLES:CRYSTALBRICKS:$i:SHEET" type="sint32" value="0" size="64" />
<!-- Over Text used for buttons or controls -->
<group id="context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9">
<!--Decoration-->
@ -910,9 +899,7 @@
<view type="text" id="text" posref="TL TL" y="-6" x="5" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
<!-- For Cristallized Phrase -->
<instance template="template_info_list_brick" type="list_sheet_compo_brick" id="list_brick" brickdb="UI:VARIABLES:CRYSTALBRICKS" posparent="text" xcost="230" line_maxw="185" multi_line_maxw_only="true" param_deltax="13" sizeref="none" child_resize_w="true" child_resize_wmargin="13" global_color="false" />
</group>
<!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
<group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL">
<!-- System, don'change the ids, nor the posref -->
@ -1350,23 +1337,15 @@
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
<!-- Item preview 3D window -->
<group id="item_preview" posref="TL TL" sizeref="w" w="200" h="300" x="0" y="-60">
<scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.8" rot="0.0 0.0 -60.0" anim="1" />
<camera id="cam_item_preview" fov="5" pos="0.0 -40.0 0.0" target="0.0 0.0 -0.85" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" x="4" y="-4" target_stepy="14" target="text_list" />
</group>
@ -1472,22 +1451,17 @@
<instance template="tinv_item_list_icon_swap" id="detail" x="-2" y="10" posref="BR MR" dblink="UI:SAVE:#inv_type:ICON_LIST" texture="details_on.tga" tooltip="uittDetail" />
<link expr="ifthenelse(@UI:SAVE:#inv_type:ICON_LIST, 'details_off.tga', 'details_on.tga')" target="bit_detail:texture" />
<!-- filter -->
<instance template="tinv_item_list_filter" id="filter_tp" x="-8" posref="ML MR" posparent="detail" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TP" texture="filter_tp.tga" tooltip="uittFilterTP" />
<instance template="tinv_item_list_filter" id="filter_missmp" x="-2" posref="ML MR" posparent="filter_tp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MISSMP" texture="filter_mission.tga" tooltip="uittFilterMissMP" />
<instance template="tinv_item_list_filter" id="filter_mp" x="-2" posref="ML MR" posparent="filter_missmp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MP" texture="filter_mps.tga" tooltip="uittFilterMP" />
<instance template="tinv_item_list_filter" id="filter_pet" x="-2" posref="ML MR" posparent="filter_mp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_PET" texture="mektoub_map.tga" tooltip="uittFilterPet" />
<instance template="tinv_item_list_filter" id="filter_tool" x="-2" posref="ML MR" posparent="filter_pet" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TOOL" texture="filter_tools.tga" tooltip="uittFilterTool" />
<instance template="tinv_item_list_filter" id="filter_weapon" x="-2" posref="ML MR" posparent="filter_tool" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_WEAPON" texture="filter_weapon.tga" tooltip="uittFilterWeapon" />
<instance template="tinv_item_list_filter" id="filter_armor" x="-2" posref="ML MR" posparent="filter_weapon" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_ARMOR" texture="filter_armor.tga" tooltip="uittFilterArmor" />
<instance template="tinv_item_list_filter" id="filter_tp" x="-8" posref="ML MR" posparent="detail" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TP" texture="filter_tp.tga" tooltip="uittFilterTP" />
<instance template="tinv_item_list_filter" id="filter_missmp" x="-2" posref="ML MR" posparent="filter_tp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MISSMP" texture="filter_mission.tga" tooltip="uittFilterMissMP" />
<instance template="tinv_item_list_filter" id="filter_mp" x="-2" posref="ML MR" posparent="filter_missmp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MP" texture="filter_mps.tga" tooltip="uittFilterMP" />
<instance template="tinv_item_list_filter" id="filter_pet" x="-2" posref="ML MR" posparent="filter_mp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_PET" texture="mektoub_map.tga" tooltip="uittFilterPet" />
<instance template="tinv_item_list_filter" id="filter_tool" x="-2" posref="ML MR" posparent="filter_pet" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TOOL" texture="filter_tools.tga" tooltip="uittFilterTool" />
<instance template="tinv_item_list_filter" id="filter_weapon" x="-2" posref="ML MR" posparent="filter_tool" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_WEAPON" texture="filter_weapon.tga" tooltip="uittFilterWeapon" />
<instance template="tinv_item_list_filter" id="filter_armor" x="-2" posref="ML MR" posparent="filter_weapon" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_ARMOR" texture="filter_armor.tga" tooltip="uittFilterArmor" />
<!-- search -->
<ctrl type="button" id="but_inv_search" button_type="toggle_button" x="-2" posref="ML MR" posparent="but_filter_armor"
tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" tooltip="uittInventorySearch"
onclick_l="inv_search_button" params_l="inv_query_eb" />
<ctrl type="button" id="but_inv_search" button_type="toggle_button" x="-2" posref="ML MR" posparent="but_filter_armor" tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" tooltip="uittInventorySearch" onclick_l="inv_search_button" params_l="inv_query_eb" />
<view type="bitmap" id="bit_inv_search" posref="MM MM" posparent="but_inv_search" texture="w_help_1.tga" global_color="false" color="255 255 255 150" />
<instance template="edit_box_widget" id="inv_query_eb" active="false" posref="TR BR" posparent="but_detail" x="0" y="8" w="100" render_layer="9"
clear_on_escape="true" enter_recover_focus="false" max_num_chars="20" max_historic="0"
onenter="inv_set_search" onchange="inv_set_search"
on_focus_lost="inv_search_unfocus" on_focus_lost_params="but_inv_search"/>
<instance template="edit_box_widget" id="inv_query_eb" active="false" posref="TR BR" posparent="but_detail" x="0" y="8" w="100" render_layer="9" clear_on_escape="true" enter_recover_focus="false" max_num_chars="20" max_historic="0" onenter="inv_set_search" onchange="inv_set_search" on_focus_lost="inv_search_unfocus" on_focus_lost_params="but_inv_search" />
</group>
</template>
<!-- Link to trig brick action message. don't play when 0 (avoid flying text at startup) -->
@ -1567,12 +1541,11 @@
</group>
</group>
</template>
<!-- html browsing context -->
<template name="webig_html" id="html" keep="true" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 255">
<group id="#id" type="webig_html" posref="TL TL" home="#home" title_prefix="" sizeref="wh" x="0" y="0" w="0" h="0" background_color="#bg_color" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="#browse_refresh" browse_undo="#browse_undo" browse_redo="#browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true " />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<view id="background_bitmap" type="bitmap" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group id="text_list" type="list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl id="scroll_bar" style="skin_scroll" />
@ -1596,50 +1569,40 @@
<ctrl style="text_button_header" id="browse_refresh" button_type="push_button" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="lua" params_l="WebBrowser:onClickRefresh()" frozen="true" />
<ctrl style="text_button_header" id="browse_home" button_type="push_button" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="lua" params_l="WebBrowser:onClickHome()" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<instance template="webig_html" home="#home" browse_redo="#browse_redo" browse_undo="#browse_undo" browse_refresh="#browse_refresh" />
</group>
</group>
</template>
<!-- html <hr> element -->
<template name="html_hr" keep="true">
<group id="sep_gr" posref="ML ML" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="12">
<view type="bitmap" id="hr" posref="MM MM" sizeref="w" w="-2" h="2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
</group>
</template>
<template name="html_form_select_box_menu_widget" keep="true" id="sb">
<group type="menu" id="#id" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" color_over="255 255 255 255" color_grayed="0 0 0 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="false"></group>
</template>
<template name="html_meter" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
<group id="#id" w="#w" h="#h" active="#active">
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
<group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
<view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" />
</group>
</group>
</template>
<template name="html_progress" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
<group id="#id" w="#w" h="#h" active="#active">
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
<group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
<view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" />
</group>
</group>
</template>
<!-- icon for menu user group -->
<template name="menu_row_icon" keep="true"
id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18"
icon_id="icon" icon_x="0" icon_y="-1" icon_color="255 255 255 255" icon_texture="blank.tga">
<template name="menu_row_icon" keep="true" id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18" icon_id="icon" icon_x="0" icon_y="-1" icon_color="255 255 255 255" icon_texture="blank.tga">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h">
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" w="16" h="16" scale="true"
global_color="false" texture="#icon_texture" />
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" w="16" h="16" scale="true" global_color="false" texture="#icon_texture" />
</group>
</template>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,191 +1,191 @@
<client_messages_description>
<branch name="TARGET">
<leaf name="PARTY" />
<leaf name="INVENTORY" />
<leaf name="FOLLOW" sendto="AIS" format="" description="The client follows its target" />
<leaf name="NO_FOLLOW" sendto="AIS" format="" description="The client stop following its target" />
</branch>
<branch name="CONNECTION">
<leaf name="USER_CHAR" />
<leaf name="NO_USER_CHAR" />
<leaf name="USER_CHARS" description="The EGS send existing characters of player to client" />
<leaf name="CREATE_CHAR" description="The client creates a character, type is $u32, and name is $s" />
<leaf name="SELECT_CHAR" />
<leaf name="DELETE_CHAR" sendto="EGS" format="u8" description="The client delete a character, slot of character is $u8" />
<leaf name="RENAME_CHAR" format="u8 s s" description="The client rename a character, $u8 : slot of character $s : name $s : surname" />
<leaf name="ENTER" sendto="EGS" format="" description="The client leave create/select interface and enter in game, at this point, the FE association uid = sid is made" />
<leaf name="READY" description="The client is ready to enter the world" />
<leaf name="TIME_DATE_SYNCHRO" description="The WOS send to client the tiem and date of server: server tick $u32 ryzom time $f ryzom day $u32" />
<leaf name="ASK_NAME" description="Ask server if a name is not already present" />
<leaf name="VALID_NAME" format="u8" description="Server answer yes or no the name is already affected for a player" />
<leaf name="CREATE_CHAR_ERROR" description="Server refuse character creation and fill and send to client a boolean structure with false for all parameters refused" />
<leaf name="RECONNECT" description="Client quits the game and returns to the select character menu" />
<leaf name="SERVER_RECONNECT_OK" description="Server acknowledges reconnection request" />
<leaf name="SHARD_ID" />
<leaf name="SERVER_QUIT_OK" description="EGS send a force quit command to client" />
<leaf name="SERVER_QUIT_ABORT" description="EGS send to client a msg to indicate a quit game command has been aborted" />
<leaf name="CLIENT_QUIT_REQUEST" sendto="EGS" format="b u32 u16" description="client want to quit" />
<leaf name="MAIL_AVAILABLE" />
<leaf name="GUILD_MESSAGE_AVAILABLE" />
<leaf name="PERMANENT_BAN" />
<leaf name="UNBAN" />
<leaf name="FAR_TP" description="EGS tells the client to connect elsewhere" />
<leaf name="RET_MAINLAND" description="client quits a ring session" />
</branch>
<leaf name="DB_UPD_PLR" />
<leaf name="DB_UPD_INV" description="EGS sends an inventory update to the client" />
<branch name="DB_INIT">
<leaf name="PLR" />
<leaf name="INV" />
</branch>
<branch name="DB_GROUP">
<leaf name="UPDATE_BANK" />
<leaf name="INIT_BANK" />
<leaf name="RESET_BANK" />
</branch>
<leaf name="POSITION" sendto="GPMS" format="s32 s32 s32 f" usecycle="yes" description="the client moves to ($i32,$i32,$i32) with heading $f" />
<branch name="HARVEST">
<leaf name="DEPOSIT" sendto="EGS" format="u16" description="the client shearch a deposit for harvest/digging (param = skill used)" />
<leaf name="CORPSE" />
<leaf name="INTERRUPT" />
<leaf name="CLOSE_TEMP_INVENTORY" description="the server force the client to close the temp inventory" />
</branch>
<leaf name="TRAINING" sendto="EGS" format="" description="the client starts a training action" />
<branch name="JOB">
<leaf name="SET_JOB_STATUS" sendto="EGS" format="u8 u8" description="player want change one of his job status (job, status)" />
<leaf name="SWAP_JOB_STATUS" sendto="EGS" format="u8 u8" description="player want change one of his job status( job freezed, job actived)" />
</branch>
<branch name="CASTING">
<leaf name="BEGIN" />
<leaf name="INTERRUPT" />
</branch>
<branch name="FABER">
<leaf name="OPEN" sendto="EGS" format="" />
<leaf name="CLOSE" sendto="EGS" format="" />
<leaf name="EXECUTE" sendto="EGS" format="" />
<leaf name="SET_NUM_ITEM" sendto="EGS" format="u8" />
<leaf name="START_CREATE" sendto="EGS" format="u32" />
<leaf name="START_REPAIR" sendto="EGS" format="u16 u16" />
<leaf name="START_REFINE" sendto="EGS" format="u16 u16" />
<leaf name="SET_MP_QUALITY" sendto="EGS" format="u8 u8" />
<leaf name="SET_MP_REFINE" sendto="EGS" format="u32 u8" />
<!-- <leaf name="ADD_MP" sendto="EGS" format="u16 u16 u16 u8"/> -->
<!-- <leaf name="REMOVE_MP" sendto="EGS" format="u8 u16"/> -->
<leaf name="SET_TOOL" sendto="EGS" format="u16 u16" />
<leaf name="RESET_TOOL" sendto="EGS" format="" />
<leaf name="INTERRUPT" />
</branch>
<branch name="COMBAT">
<leaf name="ENGAGE" sendto="EGS" format="" />
<leaf name="DISENGAGE" sendto="EGS" format="" />
<leaf name="DEFAULT_ATTACK" sendto="EGS" format="" />
<leaf name="ENGAGE_FAILED" />
<leaf name="VALIDATE_MELEE" sendto="EGS" format="u8" description="the client validate or invalidate the melee combat (check position and orientation), validation flag $u8" />
<leaf name="PARRY" sendto="EGS" format="" description="the client toggle chooses parry as his defense mode" />
<leaf name="DODGE" sendto="EGS" format="" description="the client toggle chooses dodge as his defense mode" />
<leaf name="PROTECTED_SLOT" sendto="EGS" format="u8" description="the client select a new slot to defend (or none)" />
<leaf name="FLYING_HP_DELTA" description="add a flying text to an entity (u32 entity, u32 rgba, s16 delta)" />
<leaf name="FLYING_TEXT_ISE" description="add a flying text to an entity (u32 entity, u32 rgba, u8 effect, s32 param)" />
<leaf name="FLYING_TEXT" description="add a flying text to an entity (u32 entity, u8 type)" />
</branch>
<branch name="STRING">
<leaf name="TELL" sendto="IOS" format="s uc" description="the client sends a tell to the character $e : $s" />
<leaf name="FAR_TELL" description="the client receive a far tell from a player on another shard" />
<leaf name="CHAT" sendto="IOS" format="uc" description="the client sends the chat message : $s" />
<leaf name="CHAT_TEAM" sendto="IOS" format="uc" description="the client sends the chat message to his team: $s" />
<leaf name="ADD_DYN_STR" />
<leaf name="FILTER" sendto="IOS" format="u8" description="the client adds/removes the chat filter $u8" />
<leaf name="CHAT_MODE" sendto="IOS" format="u8 u64" description="the client selects the chat mode $u8 $64. second param is 0 or the dynamic chat Id (an eid)" />
<leaf name="CHAT2" description="a npc send a predef message to the client : $s" />
<leaf name="TELL2" description="a npc send a predef message to the client : $s" />
<leaf name="DYN_STRING" description="system send a dyn string to the client system chat: $u32" />
<leaf name="DYN_STRING_GROUP" description="system send a dyn string to the client gived group chat: $u32 $u16" />
<leaf name="AFK_TXT" sendto="IOS" format="uc" description="the client sets an afk custom text" />
</branch>
<branch name="STUN">
<leaf name="STUN" />
<leaf name="WAKE_UP" />
</branch>
<branch name="SENTENCE">
<leaf name="EXECUTE" sendto="EGS" format="u8 s32" />
<leaf name="CANCEL" sendto="EGS" format="s32 u8" />
<leaf name="CANCEL_CURRENT" sendto="EGS" format="" />
<leaf name="CANCEL_ALL" sendto="EGS" format="" />
<leaf name="CLEAR" sendto="EGS" format="" />
<leaf name="MEMORIZE" />
<leaf name="FORGET" sendto="EGS" format="u8 s32" />
<leaf name="EVALUATE" />
<leaf name="ADD_BRICK" sendto="EGS" format="u16 u8 u8" description="the client add brick (family $u16/index $u8/slot u8) in sentence" />
<leaf name="REMOVE_BRICK" sendto="EGS" format="u8" />
<leaf name="START" />
<leaf name="STOP" />
</branch>
<branch name="TEAM">
<leaf name="JOIN" sendto="EGS" format="" />
<leaf name="LEAVE" sendto="EGS" format="" />
<leaf name="INVITATION" />
<leaf name="JOIN_PROPOSAL" sendto="EGS" format="" />
<!--<leaf name="JOIN_PROPOSAL"/>-->
<leaf name="JOIN_PROPOSAL_DECLINE" sendto="EGS" format="" />
<leaf name="KICK" sendto="EGS" format="u8" />
<leaf name="SET_SUCCESSOR" sendto="EGS" format="u8" />
<!-- Sharing system -->
<leaf name="SHARE_OPEN" format="" description="the server wants the share interface to be opened" />
<leaf name="SHARE_VALID_ITEM" sendto="EGS" format="u8 u8" description="the client wants an item or phrase (item/phrase index, session id)" />
<leaf name="SHARE_INVALID_ITEM" sendto="EGS" format="u8 u8" description="the client do not wants an item or phrase anymore (item/phrase index, session id)" />
<leaf name="SHARE_VALID" sendto="EGS" format="u8" description="the client wants to validate its selection (session id)" />
<leaf name="SHARE_INVALID" format="" description="the server invalidate the client selection" />
<leaf name="SHARE_CLOSE" format="" description="the server wants the share interface to be closed" />
<!-- Contact List -->
<leaf name="CONTACT_INIT" format="" description="the server initialize the 2 contacts lists (net_manager.cpp to see the message format)" />
<leaf name="CONTACT_ADD" sendto="EGS" format="uc u8" description="the client wants to add a contact ($uc name $u8 list)" />
<leaf name="CONTACT_DEL" sendto="EGS" format="u32 u8" description="the client wants to delete a contact ($u32 contactId $u8 list)" />
<leaf name="CONTACT_MOVE" sendto="EGS" format="u32 u8" description="the client wants to move a contact from one list to the other ($u32 contactId $u8 listSrc)" />
<leaf name="CONTACT_CREATE" format="" description="the server create a contact" />
<leaf name="CONTACT_STATUS" format="" description="the server give the status of a contact" />
<leaf name="CONTACT_REMOVE" format="" description="the server removes a contact" />
</branch>
<branch name="ITEM">
<leaf name="DROP" sendto="EGS" format="u16 u16 u16" />
<leaf name="PICK_UP" />
<!-- this is directly treated in messages to send to EGS -->
<leaf name="PICK_UP_CLOSE" sendto="EGS" format="" />
<leaf name="SWAP" sendto="EGS" format="u16 u16 u16 u16 u16 u16" />
<leaf name="ACTIVATE_SHEATH" sendto="EGS" format="u8" />
<leaf name="HARVEST" sendto="EGS" format="u16 u16" description="the client want harvest a founded Raw material(slot, quantity)" />
<leaf name="HARVEST_CLOSE" sendto="EGS" format="" />
<leaf name="GIVE" sendto="EGS" format="u16 u16 u16" description="the client give an item to target (inventory, slot, quantity)" />
<leaf name="DESTROY" sendto="EGS" format="u16 u16 u16" usecycle="no" description="destroy the content of an inventory slot params : inventory, slot,quantity" />
<leaf name="EQUIP" sendto="EGS" format="u16 u16 u16" description="the client equip character (equiped inventory, equiped inventory slot, bag slot)" />
<leaf name="UNEQUIP" sendto="EGS" format="u16 u16" description="the client unequip character (equiped inventory, equiped inventory slot)" />
<leaf name="TEMP_TO_BAG" sendto="EGS" format="u16" description="the client pick an item from temp inventory (temp inventory slot)" />
<leaf name="ALL_TEMP" sendto="EGS" format="" description="the client pick all items from temp inventory" />
<leaf name="NO_TEMP" sendto="EGS" format="" description="the client drop all items from temp inventory" />
<leaf name="ENCHANT" sendto="EGS" format="u8 u16" description="the client wants to enchant the right hand item with the current one (inventory, slot)" />
<leaf name="OPEN_ROOM_INVENTORY" sendto="" description="EGS wants to open the user inventory" />
<leaf name="CLOSE_ROOM_INVENTORY" sendto="" description="EGS wants to close the user inventory" />
<leaf name="USE_ITEM" sendto="EGS" format="u16" description="client wants to use teleport in the specified bag slot or consume an item to trigger its effect" />
<leaf name="STOP_USE_XP_CAT" sendto="EGS" format="b" description="client wants to stop using xp catalyser" />
</branch>
<branch name="TP">
<leaf name="RESPAWN" sendto="EGS" format="" description="teleport the player to his respawn point" />
<leaf name="BOT" sendto="EGS" format="s" description="teleport the player near the bot" />
<leaf name="WANTED" sendto="EGS" format="s32 s32 s32" />
<leaf name="DEST" />
<leaf name="DEST_WITH_SEASON" />
<leaf name="ACK" sendto="EGS" format="" />
<leaf name="CORRECT" />
</branch>
<branch name="DEATH">
<leaf name="RESPAWN_POINT" sendto="EGS" format="" description="server set the respawn points with a bool to know if the client needs to reset all known points first" />
<leaf name="ASK_RESPAWN" sendto="EGS" format="u16" description="client wants to respawn somewhere (index of the respawn location wanted)" />
<leaf name="RESPAWN" sendto="EGS" format="" description="server teleport the client to the respawn point choosen" />
</branch>
<branch name="ANIMALS">
<leaf name="BEAST" sendto="EGS" format="u8 u8" description="client send a beast order(beast u8, order u8)" />
<leaf name="MOUNT_ABORT" description="server refuse the client mount command" />
</branch>
<!--
<branch name="TARGET">
<leaf name="PARTY" />
<leaf name="INVENTORY" />
<leaf name="FOLLOW" sendto="AIS" format="" description="The client follows its target" />
<leaf name="NO_FOLLOW" sendto="AIS" format="" description="The client stop following its target" />
</branch>
<branch name="CONNECTION">
<leaf name="USER_CHAR" />
<leaf name="NO_USER_CHAR" />
<leaf name="USER_CHARS" description="The EGS send existing characters of player to client" />
<leaf name="CREATE_CHAR" description="The client creates a character, type is $u32, and name is $s" />
<leaf name="SELECT_CHAR" />
<leaf name="DELETE_CHAR" sendto="EGS" format="u8" description="The client delete a character, slot of character is $u8" />
<leaf name="RENAME_CHAR" format="u8 s s" description="The client rename a character, $u8 : slot of character $s : name $s : surname" />
<leaf name="ENTER" sendto="EGS" format="" description="The client leave create/select interface and enter in game, at this point, the FE association uid = sid is made" />
<leaf name="READY" description="The client is ready to enter the world" />
<leaf name="TIME_DATE_SYNCHRO" description="The WOS send to client the tiem and date of server: server tick $u32 ryzom time $f ryzom day $u32" />
<leaf name="ASK_NAME" description="Ask server if a name is not already present" />
<leaf name="VALID_NAME" format="u8" description="Server answer yes or no the name is already affected for a player" />
<leaf name="CREATE_CHAR_ERROR" description="Server refuse character creation and fill and send to client a boolean structure with false for all parameters refused" />
<leaf name="RECONNECT" description="Client quits the game and returns to the select character menu" />
<leaf name="SERVER_RECONNECT_OK" description="Server acknowledges reconnection request" />
<leaf name="SHARD_ID" />
<leaf name="SERVER_QUIT_OK" description="EGS send a force quit command to client" />
<leaf name="SERVER_QUIT_ABORT" description="EGS send to client a msg to indicate a quit game command has been aborted" />
<leaf name="CLIENT_QUIT_REQUEST" sendto="EGS" format="b u32 u16" description="client want to quit" />
<leaf name="MAIL_AVAILABLE" />
<leaf name="GUILD_MESSAGE_AVAILABLE" />
<leaf name="PERMANENT_BAN" />
<leaf name="UNBAN" />
<leaf name="FAR_TP" description="EGS tells the client to connect elsewhere" />
<leaf name="RET_MAINLAND" description="client quits a ring session" />
</branch>
<leaf name="DB_UPD_PLR" />
<leaf name="DB_UPD_INV" description="EGS sends an inventory update to the client" />
<branch name="DB_INIT">
<leaf name="PLR" />
<leaf name="INV" />
</branch>
<branch name="DB_GROUP">
<leaf name="UPDATE_BANK" />
<leaf name="INIT_BANK" />
<leaf name="RESET_BANK" />
</branch>
<leaf name="POSITION" sendto="GPMS" format="s32 s32 s32 f" usecycle="yes" description="the client moves to ($i32,$i32,$i32) with heading $f" />
<branch name="HARVEST">
<leaf name="DEPOSIT" sendto="EGS" format="u16" description="the client shearch a deposit for harvest/digging (param = skill used)" />
<leaf name="CORPSE" />
<leaf name="INTERRUPT" />
<leaf name="CLOSE_TEMP_INVENTORY" description="the server force the client to close the temp inventory" />
</branch>
<leaf name="TRAINING" sendto="EGS" format="" description="the client starts a training action" />
<branch name="JOB">
<leaf name="SET_JOB_STATUS" sendto="EGS" format="u8 u8" description="player want change one of his job status (job, status)" />
<leaf name="SWAP_JOB_STATUS" sendto="EGS" format="u8 u8" description="player want change one of his job status( job freezed, job actived)" />
</branch>
<branch name="CASTING">
<leaf name="BEGIN" />
<leaf name="INTERRUPT" />
</branch>
<branch name="FABER">
<leaf name="OPEN" sendto="EGS" format="" />
<leaf name="CLOSE" sendto="EGS" format="" />
<leaf name="EXECUTE" sendto="EGS" format="" />
<leaf name="SET_NUM_ITEM" sendto="EGS" format="u8" />
<leaf name="START_CREATE" sendto="EGS" format="u32" />
<leaf name="START_REPAIR" sendto="EGS" format="u16 u16" />
<leaf name="START_REFINE" sendto="EGS" format="u16 u16" />
<leaf name="SET_MP_QUALITY" sendto="EGS" format="u8 u8" />
<leaf name="SET_MP_REFINE" sendto="EGS" format="u32 u8" />
<!-- <leaf name="ADD_MP" sendto="EGS" format="u16 u16 u16 u8"/> -->
<!-- <leaf name="REMOVE_MP" sendto="EGS" format="u8 u16"/> -->
<leaf name="SET_TOOL" sendto="EGS" format="u16 u16" />
<leaf name="RESET_TOOL" sendto="EGS" format="" />
<leaf name="INTERRUPT" />
</branch>
<branch name="COMBAT">
<leaf name="ENGAGE" sendto="EGS" format="" />
<leaf name="DISENGAGE" sendto="EGS" format="" />
<leaf name="DEFAULT_ATTACK" sendto="EGS" format="" />
<leaf name="ENGAGE_FAILED" />
<leaf name="VALIDATE_MELEE" sendto="EGS" format="u8" description="the client validate or invalidate the melee combat (check position and orientation), validation flag $u8" />
<leaf name="PARRY" sendto="EGS" format="" description="the client toggle chooses parry as his defense mode" />
<leaf name="DODGE" sendto="EGS" format="" description="the client toggle chooses dodge as his defense mode" />
<leaf name="PROTECTED_SLOT" sendto="EGS" format="u8" description="the client select a new slot to defend (or none)" />
<leaf name="FLYING_HP_DELTA" description="add a flying text to an entity (u32 entity, u32 rgba, s16 delta)" />
<leaf name="FLYING_TEXT_ISE" description="add a flying text to an entity (u32 entity, u32 rgba, u8 effect, s32 param)" />
<leaf name="FLYING_TEXT" description="add a flying text to an entity (u32 entity, u8 type)" />
</branch>
<branch name="STRING">
<leaf name="TELL" sendto="IOS" format="s uc" description="the client sends a tell to the character $e : $s" />
<leaf name="FAR_TELL" description="the client receive a far tell from a player on another shard" />
<leaf name="CHAT" sendto="IOS" format="uc" description="the client sends the chat message : $s" />
<leaf name="CHAT_TEAM" sendto="IOS" format="uc" description="the client sends the chat message to his team: $s" />
<leaf name="ADD_DYN_STR" />
<leaf name="FILTER" sendto="IOS" format="u8" description="the client adds/removes the chat filter $u8" />
<leaf name="CHAT_MODE" sendto="IOS" format="u8 u64" description="the client selects the chat mode $u8 $64. second param is 0 or the dynamic chat Id (an eid)" />
<leaf name="CHAT2" description="a npc send a predef message to the client : $s" />
<leaf name="TELL2" description="a npc send a predef message to the client : $s" />
<leaf name="DYN_STRING" description="system send a dyn string to the client system chat: $u32" />
<leaf name="DYN_STRING_GROUP" description="system send a dyn string to the client gived group chat: $u32 $u16" />
<leaf name="AFK_TXT" sendto="IOS" format="uc" description="the client sets an afk custom text" />
</branch>
<branch name="STUN">
<leaf name="STUN" />
<leaf name="WAKE_UP" />
</branch>
<branch name="SENTENCE">
<leaf name="EXECUTE" sendto="EGS" format="u8 s32" />
<leaf name="CANCEL" sendto="EGS" format="s32 u8" />
<leaf name="CANCEL_CURRENT" sendto="EGS" format="" />
<leaf name="CANCEL_ALL" sendto="EGS" format="" />
<leaf name="CLEAR" sendto="EGS" format="" />
<leaf name="MEMORIZE" />
<leaf name="FORGET" sendto="EGS" format="u8 s32" />
<leaf name="EVALUATE" />
<leaf name="ADD_BRICK" sendto="EGS" format="u16 u8 u8" description="the client add brick (family $u16/index $u8/slot u8) in sentence" />
<leaf name="REMOVE_BRICK" sendto="EGS" format="u8" />
<leaf name="START" />
<leaf name="STOP" />
</branch>
<branch name="TEAM">
<leaf name="JOIN" sendto="EGS" format="" />
<leaf name="LEAVE" sendto="EGS" format="" />
<leaf name="INVITATION" />
<leaf name="JOIN_PROPOSAL" sendto="EGS" format="" />
<!--<leaf name="JOIN_PROPOSAL"/>-->
<leaf name="JOIN_PROPOSAL_DECLINE" sendto="EGS" format="" />
<leaf name="KICK" sendto="EGS" format="u8" />
<leaf name="SET_SUCCESSOR" sendto="EGS" format="u8" />
<!-- Sharing system -->
<leaf name="SHARE_OPEN" format="" description="the server wants the share interface to be opened" />
<leaf name="SHARE_VALID_ITEM" sendto="EGS" format="u8 u8" description="the client wants an item or phrase (item/phrase index, session id)" />
<leaf name="SHARE_INVALID_ITEM" sendto="EGS" format="u8 u8" description="the client do not wants an item or phrase anymore (item/phrase index, session id)" />
<leaf name="SHARE_VALID" sendto="EGS" format="u8" description="the client wants to validate its selection (session id)" />
<leaf name="SHARE_INVALID" format="" description="the server invalidate the client selection" />
<leaf name="SHARE_CLOSE" format="" description="the server wants the share interface to be closed" />
<!-- Contact List -->
<leaf name="CONTACT_INIT" format="" description="the server initialize the 2 contacts lists (net_manager.cpp to see the message format)" />
<leaf name="CONTACT_ADD" sendto="EGS" format="uc u8" description="the client wants to add a contact ($uc name $u8 list)" />
<leaf name="CONTACT_DEL" sendto="EGS" format="u32 u8" description="the client wants to delete a contact ($u32 contactId $u8 list)" />
<leaf name="CONTACT_MOVE" sendto="EGS" format="u32 u8" description="the client wants to move a contact from one list to the other ($u32 contactId $u8 listSrc)" />
<leaf name="CONTACT_CREATE" format="" description="the server create a contact" />
<leaf name="CONTACT_STATUS" format="" description="the server give the status of a contact" />
<leaf name="CONTACT_REMOVE" format="" description="the server removes a contact" />
</branch>
<branch name="ITEM">
<leaf name="DROP" sendto="EGS" format="u16 u16 u16" />
<leaf name="PICK_UP" />
<!-- this is directly treated in messages to send to EGS -->
<leaf name="PICK_UP_CLOSE" sendto="EGS" format="" />
<leaf name="SWAP" sendto="EGS" format="u16 u16 u16 u16 u16 u16" />
<leaf name="ACTIVATE_SHEATH" sendto="EGS" format="u8" />
<leaf name="HARVEST" sendto="EGS" format="u16 u16" description="the client want harvest a founded Raw material(slot, quantity)" />
<leaf name="HARVEST_CLOSE" sendto="EGS" format="" />
<leaf name="GIVE" sendto="EGS" format="u16 u16 u16" description="the client give an item to target (inventory, slot, quantity)" />
<leaf name="DESTROY" sendto="EGS" format="u16 u16 u16" usecycle="no" description="destroy the content of an inventory slot params : inventory, slot,quantity" />
<leaf name="EQUIP" sendto="EGS" format="u16 u16 u16" description="the client equip character (equiped inventory, equiped inventory slot, bag slot)" />
<leaf name="UNEQUIP" sendto="EGS" format="u16 u16" description="the client unequip character (equiped inventory, equiped inventory slot)" />
<leaf name="TEMP_TO_BAG" sendto="EGS" format="u16" description="the client pick an item from temp inventory (temp inventory slot)" />
<leaf name="ALL_TEMP" sendto="EGS" format="" description="the client pick all items from temp inventory" />
<leaf name="NO_TEMP" sendto="EGS" format="" description="the client drop all items from temp inventory" />
<leaf name="ENCHANT" sendto="EGS" format="u8 u16" description="the client wants to enchant the right hand item with the current one (inventory, slot)" />
<leaf name="OPEN_ROOM_INVENTORY" sendto="" description="EGS wants to open the user inventory" />
<leaf name="CLOSE_ROOM_INVENTORY" sendto="" description="EGS wants to close the user inventory" />
<leaf name="USE_ITEM" sendto="EGS" format="u16" description="client wants to use teleport in the specified bag slot or consume an item to trigger its effect" />
<leaf name="STOP_USE_XP_CAT" sendto="EGS" format="b" description="client wants to stop using xp catalyser" />
</branch>
<branch name="TP">
<leaf name="RESPAWN" sendto="EGS" format="" description="teleport the player to his respawn point" />
<leaf name="BOT" sendto="EGS" format="s" description="teleport the player near the bot" />
<leaf name="WANTED" sendto="EGS" format="s32 s32 s32" />
<leaf name="DEST" />
<leaf name="DEST_WITH_SEASON" />
<leaf name="ACK" sendto="EGS" format="" />
<leaf name="CORRECT" />
</branch>
<branch name="DEATH">
<leaf name="RESPAWN_POINT" sendto="EGS" format="" description="server set the respawn points with a bool to know if the client needs to reset all known points first" />
<leaf name="ASK_RESPAWN" sendto="EGS" format="u16" description="client wants to respawn somewhere (index of the respawn location wanted)" />
<leaf name="RESPAWN" sendto="EGS" format="" description="server teleport the client to the respawn point choosen" />
</branch>
<branch name="ANIMALS">
<leaf name="BEAST" sendto="EGS" format="u8 u8" description="client send a beast order(beast u8, order u8)" />
<leaf name="MOUNT_ABORT" description="server refuse the client mount command" />
</branch>
<!--
<branch name="TRADE">
<leaf name="NEXT_PAGE_ITEM" sendto="EGS" format="u16" description="Client ask for the next trade page"/>
<leaf name="NEXT_PAGE_MISSION" sendto="EGS" format="u16" description="Client ask for the next mission page"/>
@ -197,29 +197,29 @@
<leaf name="SELL" sendto="EGS" format="u8 u8" description="Client sell item in bag and quantity"/>
</branch>
-->
<branch name="EXCHANGE">
<leaf name="INVITATION" />
<leaf name="CLOSE_INVITATION" description="message sent to the client to force his invitation popup to close" />
<leaf name="PROPOSAL" sendto="EGS" format="" />
<leaf name="ACCEPT_INVITATION" sendto="EGS" format="" />
<leaf name="DECLINE_INVITATION" sendto="EGS" format="" />
<leaf name="VALIDATE" sendto="EGS" format="u8" />
<leaf name="INVALIDATE" sendto="EGS" />
<leaf name="END" sendto="EGS" format="" />
<leaf name="SEEDS" sendto="EGS" format="u64" />
<leaf name="ADD" sendto="EGS" format="u16 u16 u16" description="add an item from the bag(index_in_bag index_in_exchange quantity)" />
<leaf name="REMOVE" sendto="EGS" format="u16" description="remove an item from the exchange" />
</branch>
<branch name="DEBUG">
<leaf name="WHERE" sendto="EGS" format="" description="client ask server send his server position" />
<leaf name="WHO" sendto="EGS" format="s" description="client ask list of all clients connected to server" />
<leaf name="REPLY_WHERE" description="server send to client his server position" />
<leaf name="SERVICES" sendto="EGS" format="" />
<leaf name="CMD" format="b s s s" description="the client wants to execute command : $b $s $s $s" />
<leaf name="PING" sendto="EGS" format="u32" description="the client send a ping with tick game time of emission" />
<leaf name="COUNTER" />
</branch>
<!-- ****OUT OF DATE COMMANDS****
<branch name="EXCHANGE">
<leaf name="INVITATION" />
<leaf name="CLOSE_INVITATION" description="message sent to the client to force his invitation popup to close" />
<leaf name="PROPOSAL" sendto="EGS" format="" />
<leaf name="ACCEPT_INVITATION" sendto="EGS" format="" />
<leaf name="DECLINE_INVITATION" sendto="EGS" format="" />
<leaf name="VALIDATE" sendto="EGS" format="u8" />
<leaf name="INVALIDATE" sendto="EGS" />
<leaf name="END" sendto="EGS" format="" />
<leaf name="SEEDS" sendto="EGS" format="u64" />
<leaf name="ADD" sendto="EGS" format="u16 u16 u16" description="add an item from the bag(index_in_bag index_in_exchange quantity)" />
<leaf name="REMOVE" sendto="EGS" format="u16" description="remove an item from the exchange" />
</branch>
<branch name="DEBUG">
<leaf name="WHERE" sendto="EGS" format="" description="client ask server send his server position" />
<leaf name="WHO" sendto="EGS" format="s" description="client ask list of all clients connected to server" />
<leaf name="REPLY_WHERE" description="server send to client his server position" />
<leaf name="SERVICES" sendto="EGS" format="" />
<leaf name="CMD" format="b s s s" description="the client wants to execute command : $b $s $s $s" />
<leaf name="PING" sendto="EGS" format="u32" description="the client send a ping with tick game time of emission" />
<leaf name="COUNTER" />
</branch>
<!-- ****OUT OF DATE COMMANDS****
<branch name="CHEAT">
<leaf name="GOD" sendto="EGS" format="" description="the client want to be unkillable."/>
<leaf name="CREATE_ITEM_IN_BAG" sendto="EGS" format="u32 u16 u16" description="the client ask to create item in hand sheetId (u32) , quantity (u16) and quality (u16)"/>
@ -234,263 +234,263 @@
<leaf name="ADMIN" sendto="" format="s s" description="the client asks EGS to execute the command $s with arg $s"/>
</branch>
-->
<!-- Msg from Commands -->
<branch name="COMMAND">
<leaf name="EMOTE" sendto="EGS" format="u32 u16" description="client send the emote (behaviour, phrase id) to play." />
<leaf name="CUSTOM_EMOTE" sendto="EGS" format="u32 uc" description="client send the custom emote (behaviour, custom text) to play." />
<leaf name="WHERE" sendto="EGS" format="" description="client send the where command" />
<leaf name="ADMIN" sendto="EGS" format="b s s" description="client asks EGS to execute the command $s with arg $s" />
<leaf name="ADMIN_OFFLINE" sendto="EGS" format="s s s" description="client asks EGS to execute on character $s (online or offline) the command $s with arg $s" />
<leaf name="REMOTE_ADMIN" sendto="EGS" format="u32 s" description="server send the client a remote command" />
<leaf name="REMOTE_ADMIN_ANSWER" sendto="EGS" format="u32 s s" description="client send the answer of the remote command" />
<leaf name="SIT" sendto="EGS" format="b" description="client send to the server the sitting state" />
<leaf name="AFK" sendto="EGS" format="b" description="AFK command is sent to EGS" />
<leaf name="RANDOM" sendto="EGS" format="s16 s16" description="client asks EGS to roll a dice and tell result around" />
<leaf name="GUILDMOTD" sendto="EGS" format="s" description="client asks EGS to set the guild message of the day" />
<leaf name="AUTOPACT" sendto="EGS" format="u8" description="client want set AUTOPACT to TRUE or FALSE" />
</branch>
<!-- MP Exotic Price Evaluation (discontinued) -->
<branch name="MP_EVAL">
<leaf name="SET_MP" sendto="EGS" format="u32" description="the client set the sheet id of the MP exotic brick knowledge to eval" />
<leaf name="SET_MP_LEVEL" sendto="EGS" format="u8" description="the client set the exact level of the MP to eval" />
<leaf name="SET_MARKET" sendto="EGS" format="u32" description="the client set the sheet id of the market knowledge 's brick" />
<leaf name="EXECUTE" sendto="EGS" format="" description="the client validate the evaluation" />
</branch>
<!-- bot chat -->
<branch name="BOTCHAT">
<leaf name="NEXT_PAGE_ITEM" sendto="EGS" format="u16" description="Client ask for the next trade page" />
<leaf name="NEXT_PAGE_MISSION" sendto="EGS" format="u16" description="Client ask for the next mission page" />
<!-- trade -->
<leaf name="START_TRADE_ITEM" sendto="EGS" format="u16" description="start bot chat trade item with the given session id" />
<leaf name="START_TRADE_TELEPORT" sendto="EGS" format="u16" description="start bot chat trade teleport with the given session id" />
<leaf name="START_TRADE_FACTION" sendto="EGS" format="u16" description="start bot chat trade of faction items with the given session id" />
<leaf name="START_TRADE_SKILL" sendto="EGS" format="u16" description="start bot chat skills with the given session id" />
<leaf name="START_TRADE_PACT" sendto="EGS" format="u16" description="start bot chat pacts with the given session id" />
<leaf name="START_TRADE_ACTION" sendto="EGS" format="u16" description="start bot chat actions with the given session id" />
<leaf name="BUY" sendto="EGS" format="u16 u16" description="Client buy object. param1: index in list. Param2: quantity" />
<leaf name="SELL" sendto="EGS" format="u8 u16 u16 u32" description="Client sell item in: 1/ inventory id INVENTORIES::EInventory 2/ index 3/ quantity 4/ resale price" />
<leaf name="DESTROY_ITEM" sendto="EGS" format="u16 u16" description="Client destroy an item in sell store. param1: index in list. Param2: quantity" />
<leaf name="REFRESH_TRADE_LIST" sendto="EGS" format="" description="Client want refresh trade list from current Bot" />
<!-- trade filters -->
<leaf name="SET_FILTERS" sendto="EGS" format="u32 u32 u32 u32 u8 u8 u8 u8" description="Client Set filter for trade list: 1/MinQuality 2/MaxQuality 3/MinPrice 4/MaxPrice 5/MinClass 6/MaxClass 7/ItemPart 8/ItemType, NoFilter = 0 ~0 0 ~0 0 0 RM_FABER_TYPE::Unknown values ITEM_TYPE::UNDEFINED" />
<!-- missions -->
<leaf name="START_CHOOSE_MISSION" sendto="EGS" format="u16" description="start bot chat mission choice with the given session id" />
<leaf name="START_DYNAMIC_MISSION" sendto="EGS" format="" description="start bot chat dynamic mission with the given session id" />
<leaf name="CONTINUE_MISSION" sendto="EGS" format="u8" description="the user completed the mission, with no gift required" />
<leaf name="VALIDATE_PLAYER_GIFT" sendto="EGS" format="" description="the user validate the gift he just made (server aknowledged the gift to be a valid one)" />
<leaf name="PICK_MISSION" sendto="EGS" format="u8" description="message sent when a mission is accepted (from the static mission list)" />
<leaf name="DM_CHOICE" sendto="EGS" format="u8 u8 u8" description="the three choices for dynamic mission selection" />
<leaf name="DM_ACCEPT" sendto="EGS" format="" description="accept current dynamic mission" />
<!-- news -->
<leaf name="START_NEWS" sendto="EGS" format="" description="start bot chat new page" />
<!-- guild -->
<leaf name="START_CREATE_GUILD" sendto="EGS" format="" description="start bot chat page to create a guild" />
<!-- the bot chat window has been closed -->
<leaf name="END" sendto="EGS" format="" description="end chat with a bot sent to EGS" />
<leaf name="FORCE_END" description="force the end of the bot chat on the client side" />
<!-- duty related messages -->
<leaf name="START_CHOOSE_DUTY" sendto="EGS" format="u16" description="client ask EGS for duty list ( param is session id )" />
<leaf name="NEXT_PAGE_DUTY" sendto="EGS" format="u16" description="client ask EGS for next duty page ( param is session id )" />
<leaf name="DUTY_APPLY" sendto="EGS" format="u8" description="client apply for a duty (param is the GLOBAL index of the duty)" />
<leaf name="DUTY_CANCEL_APPLY" sendto="EGS" format="" description="client cancel apply for a duty" />
<!-- guild options related messages -->
<leaf name="START_TRADE_GUILD_OPTIONS" sendto="EGS" format="u16" description="client ask EGS for guild option list ( param is session id )" />
<leaf name="BUY_GUILD_OPTION" sendto="EGS" format="u8" description="client buy a guild option (param is the GLOBAL index of the option)" />
<leaf name="START_GUILD_RESEARCH" sendto="EGS" format="u16" description="client ask EGS for a guild research list ( param is session id )" />
<leaf name="DESTROY_BUILDING" sendto="EGS" format="" description="client destroy the building of his ZC" />
<leaf name="DYNCHAT_OPEN" description="server wants to dynamically chat with the client (Bot UID, Bot Name, Vector of DynString)" />
<leaf name="DYNCHAT_CLOSE" description="server wants to close dynamic chat (Bot UID)" />
<leaf name="DYNCHAT_SEND" sendto="EGS" format="u32 u8" description="client answer to the server dynamic dialog (Bot UID, Answer Nb)" />
</branch>
<branch name="JOURNAL">
<leaf name="INIT_COMPLETED_MISSIONS" description="a vector of text ids is sent to init the mission journal (vector(uint32) )" />
<leaf name="UPDATE_COMPLETED_MISSIONS" description="a text id is sent to add a mission title to the mission journal (uint32)" />
<leaf name="MISSION_ABANDON" sendto="EGS" format="u8" description="the client wants to abandon a mission (mission same as in database)" />
<leaf name="GROUP_MISSION_ABANDON" sendto="EGS" format="u8" description="the client wants to abandon a team mission (mission same as in database)" />
<leaf name="ADD_COMPASS" description="EGS adds a compass target for no list missions. Params X, Y, name. If the client already has the name, the coords are replaced" />
<leaf name="ADD_COMPASS_BOT" description="Same for bots. Params X, Y, name, bot_datasetid" />
<leaf name="REMOVE_COMPASS" description="EGS adds a compass target for no list missions. Params name" />
<leaf name="REMOVE_COMPASS_BOT" description="Same for bots. Params name, bot_dataseetid" />
</branch>
<!-- String Manager related message -->
<branch name="STRING_MANAGER">
<leaf name="SET_LANGUAGE" description="The client send the language code to use for this session." />
<leaf name="PHRASE_SEND" description="The IOS send the prepared phrase to the client." />
<leaf name="STRING_RQ" description="the client ask the string manager for an unknow string" />
<leaf name="STRING_RESP" description="The IOS return the requested string yo the client." />
<leaf name="RELOAD_CACHE" description="The IOS send it's initial cache time stamp or a new one at run time." />
</branch>
<!-- Guilds related message -->
<branch name="GUILD">
<leaf name="CREATE" sendto="EGS" format="uc u64 uc" description="client wants to create a guild (name of new guild, guild icon descriptor, description of the guild)" />
<leaf name="ABORT_CREATION" description="server forces the end of a guild create session" />
<leaf name="OPEN_GUILD_WINDOW" sendto="" format="" description="the client just entered a guild, EGS ask the client to open the guild window" />
<leaf name="INVITATION" sendto="EGS" format="" />
<leaf name="ACCEPT_INVITATION" sendto="EGS" format="" />
<leaf name="REFUSE_INVITATION" sendto="EGS" format="" />
<leaf name="JOIN_PROPOSAL" description="invitation sent to client (uint32 textId)" />
<leaf name="SET_GRADE" sendto="EGS" format="u16 u8 u8" description="client change a member grade p1 is the member, p2 is the grade ( see GUILD_GRADES enum ), p3 is the state counter" />
<leaf name="SET_LEADER" sendto="EGS" format="u16 u8" description="client leader in its guild wants to set the new leader specifying the name of the new leader p1 is the member, p2 is the state counter" />
<leaf name="KICK_MEMBER" sendto="EGS" format="u16 u8" description="client (lead,ho,of) wants to kick member specifying its index. Last param is the counter" />
<leaf name="TELEPORT" sendto="EGS" format="u16" description="client wants to teleport somewhere in guild flats" />
<leaf name="ASCENSOR" description="Server requests the launch of ascensor interface" />
<leaf name="FIRST_ASCENSOR_PAGE" sendto="EGS" format="u16" description="Client ask for the first ascensor page specifying the session id" />
<leaf name="NEXT_ASCENSOR_PAGE" sendto="EGS" format="u16" description="Client ask for the next ascensor page specifying the session id" />
<leaf name="LEAVE_ASCENSOR" description="Server requests the closing of ascensor interface" />
<leaf name="QUIT" sendto="EGS" format="" description="Client wants to quit its guild" />
<!-- About the player -->
<leaf name="SET_PLAYER_TITLE" sendto="EGS" format="u8" description="the client inform the server it has changed its character title (u8=new title(ECharacterTitle))" />
<leaf name="UPDATE_PLAYER_TITLE" description="the server update some reserved titles" />
<leaf name="USE_FEMALE_TITLES" format="b" description="The EGS sends to client whether female titles are used" />
<!-- guild inventory management -->
<leaf name="PUT_MONEY" sendto="EGS" format="u64 u16" description="put money in guild warehouse" />
<leaf name="TAKE_MONEY" sendto="EGS" format="u64 u16" description="take money from guild warehouse" />
<leaf name="OPEN_INVENTORY" sendto="" format="" description="open the guild inventory" />
<leaf name="CLOSE_INVENTORY" sendto="" format="" description="close the guild inventory" />
</branch>
<branch name="OUTPOST">
<leaf name="GIVEUP_OUTPOST" sendto="EGS" format="u32" description="Give up an outpost (outpostSHEET)" />
<!-- Select an outpost from a BotObject -->
<leaf name="SELECT" sendto="EGS" format="u32" description="Select an outpost to display its state (outpostSHEET). = Fill OUTPOST_SELECTED DB" />
<leaf name="UNSELECT" sendto="EGS" format="" description="Unselect any outpost display" />
<!-- War declaration -->
<leaf name="DECLARE_WAR_START" sendto="EGS" format="u32 u8" description="The User try to Declare War to the outpost (outpostSHEET, startHourForAttackPeriod)" />
<leaf name="DECLARE_WAR_ACK" description="The server answer to the client (bool ok, uint32 textId, uint32 resultStartAttackTime)" />
<leaf name="DECLARE_WAR_VALIDATE" sendto="EGS" format="u32 u8 u32" description="The user confirms its Declare war (outpostSHEET, startHourForAttackPeriod, resultStartAttackTimeForCheck). NB: still can fail = sysinfo" />
<!-- Defender Setup -->
<leaf name="SET_DEF_PERIOD" sendto="EGS" format="u32 u8" description="The defender changes the defense period of one of its Outpost (outpostSHEET, start hour for defense period)" />
<!-- squads management -->
<leaf name="SET_SQUAD" sendto="EGS" format="u32 u8 u8" description="Set a training squad in a slot (outpostSHEET, slot, squadNUMBER_IN_SQUAD_SHOP_DB)" />
<leaf name="SET_SQUAD_SPAWN" sendto="EGS" format="u32 u8 u8" description="Set spawn zone of a training squad (outpostSHEET, slot, spawn_index)" />
<leaf name="INSERT_SQUAD" sendto="EGS" format="u32 u8" description="Insert a (default) training squad BEFORE the slot (outpostSHEET, slot)" />
<leaf name="REMOVE_SQUAD" sendto="EGS" format="u32 u8" description="Remove a training squad in a slot (outpostSHEET, slot)" />
<leaf name="SET_SQUAD_CAPITAL" sendto="EGS" format="u32 u32" description="Set the War Capital of the outpost (outpostSHEET, money)" />
<!-- pvp and engagement -->
<leaf name="CHOOSE_SIDE" description="participate or not in outpost, choose side if participate (b playerGuildInConflict, b playerGuildIsAttacker, u32 defNameId, u32 attNameId)" />
<leaf name="SIDE_CHOSEN" sendto="EGS" format="b u8" description="user chooses to participate or not in outpost conflict and on which side" />
<leaf name="BANISH_PLAYER" sendto="EGS" format="" description="user want to banish the player he's targeting" />
<leaf name="BANISH_GUILD" sendto="EGS" format="" description="user want to banish the guild of the player he's targeting" />
<!-- buildings management -->
<leaf name="BUY_BUILDING" sendto="EGS" format="u8 u8 u8" description="Buy a new building (version, outpostnb, line)" />
<leaf name="DESTROY_BUILDING" sendto="EGS" format="u8 u8 u8 u8" description="Destroy a building (version, outpostnb, list, line)" />
</branch>
<!-- SBricks related message -->
<branch name="PHRASE">
<!-- if the dest known sentence is memorized on server (memorized or DefaultAction/NextAction) it should be unmemorized -->
<leaf name="DELETE" sendto="EGS" format="u16" description="the client delete a Known phrase" />
<leaf name="LEARN" />
<!-- "the client learn a phrase, replacing old one" (phraseId $u16 / phraseDesc $CSPhraseCom)-->
<leaf name="MEMORIZE" />
<!-- "the client Memorize a known phrase (MemoryTypeId $u8/ MemorySlotId $u8/ PhraseId $u16/ Phrase Desc $CSPhraseCom)" -->
<leaf name="FORGET" sendto="EGS" format="u8 u8" description="the client forget a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXECUTE" sendto="EGS" format="u8 u8" description="the client execute a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXECUTE_CYCLIC" sendto="EGS" format="u8 u8" description="the client execute set a cyclic Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXECUTE_FABER" />
<!-- FaberPlanSheetId u32/ MemoryTypeId u8/ MemorySlotId u8 / vector<CItemFaberMsg> listOfMpSelectedForFaber -->
<!-- Impulse ServerToClient -->
<leaf name="DOWNLOAD" />
<!-- the server upload all Known Phrases and All Memorized Phrases to the client: vector<CSPhraseSlot> / vector<CSPhraseMemorySlot> -->
<!-- BotChat -->
<leaf name="BUY" sendto="EGS" format="u8 u16" description="the client buy a botChat phrase (indexInBotChat, phraseId)" />
<leaf name="CONFIRM_BUY" />
<!-- server To client: confirm the buy of phraseId (phraseId $u16 / ok $bool) -->
<leaf name="BUY_SHEET" sendto="EGS" format="u32 u16" description="the client buy a botChat phrase (phrase SheetId, phraseId). Nb: can be a charac phrase" />
<!-- Link -->
<leaf name="CANCEL_LINK" sendto="EGS" format="u8 u8" description="the client cancel a link $link_id/$counter" />
<!-- Cancel phrases -->
<leaf name="CANCEL_TOP" sendto="EGS" format="" description="the client cancel it's top phrase" />
<leaf name="CANCEL_ALL" sendto="EGS" format="" description="the client cancel all its phrases" />
<leaf name="CRISTALIZE" sendto="EGS" format="u8 u8" description="the client cristalize a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXEC_CYCLIC_ACK" description="server send an ack on cyclic phrase execution :$b $u8" />
<leaf name="EXEC_NEXT_ACK" description="server send an ack on 'next' phrase execution :$b $u8" />
</branch>
<branch name="ITEM_INFO">
<leaf name="GET" sendto="EGS" format="u16" description="the client ask for a special item info in a inventory slot: inventoryId(u8HIGH)/slotId(u8LOW)" />
<leaf name="SET" description="Server answer to the previous message. A CItemInfos class is filled" />
<leaf name="REFRESH_VERSION" description="Like set but contains only the version, no info required" />
</branch>
<branch name="MISSION_PREREQ">
<leaf name="GET" sendto="EGS" format="u8" description="the client ask for prerequisit infos: slotId" />
<leaf name="SET" description="Server answer to the previous message. A CPrerequisitInfos class is filled" />
</branch>
<branch name="MISSION">
<leaf name="ENTER_CRITICAL" sendto="EGS" format="b" description="client answer yes/no to enter request (bool)" />
<leaf name="ASK_ENTER_CRITICAL" description="EGS ask player if he wants to enter a mission critical part, player must answer wihtin 1 minute" />
<leaf name="CLOSE_ENTER_CRITICAL" description="EGS tell client to close the 'enter critical' proposal window" />
<leaf name="WAKE" sendto="EGS" format="u8" description="client wakes up for mission $u8 (mission same as in database)" />
<leaf name="GROUP_WAKE" sendto="EGS" format="u8" description="client wakes up for group mission $u8 (mission same as in database)" />
</branch>
<branch name="DUEL">
<leaf name="ASK" sendto="EGS" format="" description="client wants to duel its target" />
<leaf name="ACCEPT" sendto="EGS" format="" description="client accept a duel" />
<leaf name="REFUSE" sendto="EGS" format="" description="client refuses a duel" />
<leaf name="ABANDON" sendto="EGS" format="" description="client abandon a duel" />
<leaf name="INVITATION" description="invitation sent to client (uint32 textId)" />
<leaf name="CANCEL_INVITATION" description="cancel invitation popup (no param)" />
</branch>
<branch name="PVP_CHALLENGE">
<leaf name="ASK" sendto="EGS" format="" description="client wants to duel its target" />
<leaf name="ACCEPT" sendto="EGS" format="" description="client accept a duel" />
<leaf name="REFUSE" sendto="EGS" format="" description="client refuses a duel" />
<leaf name="ABANDON" sendto="EGS" format="" description="client abandon a duel" />
<leaf name="INVITATION" description="invitation sent to client (uint32 textId)" />
<leaf name="CANCEL_INVITATION" description="cancel invitation popup (no param)" />
</branch>
<!-- ****OUT OF DATE COMMANDS****
<!-- Msg from Commands -->
<branch name="COMMAND">
<leaf name="EMOTE" sendto="EGS" format="u32 u16" description="client send the emote (behaviour, phrase id) to play." />
<leaf name="CUSTOM_EMOTE" sendto="EGS" format="u32 uc" description="client send the custom emote (behaviour, custom text) to play." />
<leaf name="WHERE" sendto="EGS" format="" description="client send the where command" />
<leaf name="ADMIN" sendto="EGS" format="b s s" description="client asks EGS to execute the command $s with arg $s" />
<leaf name="ADMIN_OFFLINE" sendto="EGS" format="s s s" description="client asks EGS to execute on character $s (online or offline) the command $s with arg $s" />
<leaf name="REMOTE_ADMIN" sendto="EGS" format="u32 s" description="server send the client a remote command" />
<leaf name="REMOTE_ADMIN_ANSWER" sendto="EGS" format="u32 s s" description="client send the answer of the remote command" />
<leaf name="SIT" sendto="EGS" format="b" description="client send to the server the sitting state" />
<leaf name="AFK" sendto="EGS" format="b" description="AFK command is sent to EGS" />
<leaf name="RANDOM" sendto="EGS" format="s16 s16" description="client asks EGS to roll a dice and tell result around" />
<leaf name="GUILDMOTD" sendto="EGS" format="s" description="client asks EGS to set the guild message of the day" />
<leaf name="AUTOPACT" sendto="EGS" format="u8" description="client want set AUTOPACT to TRUE or FALSE" />
</branch>
<!-- MP Exotic Price Evaluation (discontinued) -->
<branch name="MP_EVAL">
<leaf name="SET_MP" sendto="EGS" format="u32" description="the client set the sheet id of the MP exotic brick knowledge to eval" />
<leaf name="SET_MP_LEVEL" sendto="EGS" format="u8" description="the client set the exact level of the MP to eval" />
<leaf name="SET_MARKET" sendto="EGS" format="u32" description="the client set the sheet id of the market knowledge 's brick" />
<leaf name="EXECUTE" sendto="EGS" format="" description="the client validate the evaluation" />
</branch>
<!-- bot chat -->
<branch name="BOTCHAT">
<leaf name="NEXT_PAGE_ITEM" sendto="EGS" format="u16" description="Client ask for the next trade page" />
<leaf name="NEXT_PAGE_MISSION" sendto="EGS" format="u16" description="Client ask for the next mission page" />
<!-- trade -->
<leaf name="START_TRADE_ITEM" sendto="EGS" format="u16" description="start bot chat trade item with the given session id" />
<leaf name="START_TRADE_TELEPORT" sendto="EGS" format="u16" description="start bot chat trade teleport with the given session id" />
<leaf name="START_TRADE_FACTION" sendto="EGS" format="u16" description="start bot chat trade of faction items with the given session id" />
<leaf name="START_TRADE_SKILL" sendto="EGS" format="u16" description="start bot chat skills with the given session id" />
<leaf name="START_TRADE_PACT" sendto="EGS" format="u16" description="start bot chat pacts with the given session id" />
<leaf name="START_TRADE_ACTION" sendto="EGS" format="u16" description="start bot chat actions with the given session id" />
<leaf name="BUY" sendto="EGS" format="u16 u16" description="Client buy object. param1: index in list. Param2: quantity" />
<leaf name="SELL" sendto="EGS" format="u8 u16 u16 u32" description="Client sell item in: 1/ inventory id INVENTORIES::EInventory 2/ index 3/ quantity 4/ resale price" />
<leaf name="DESTROY_ITEM" sendto="EGS" format="u16 u16" description="Client destroy an item in sell store. param1: index in list. Param2: quantity" />
<leaf name="REFRESH_TRADE_LIST" sendto="EGS" format="" description="Client want refresh trade list from current Bot" />
<!-- trade filters -->
<leaf name="SET_FILTERS" sendto="EGS" format="u32 u32 u32 u32 u8 u8 u8 u8" description="Client Set filter for trade list: 1/MinQuality 2/MaxQuality 3/MinPrice 4/MaxPrice 5/MinClass 6/MaxClass 7/ItemPart 8/ItemType, NoFilter = 0 ~0 0 ~0 0 0 RM_FABER_TYPE::Unknown values ITEM_TYPE::UNDEFINED" />
<!-- missions -->
<leaf name="START_CHOOSE_MISSION" sendto="EGS" format="u16" description="start bot chat mission choice with the given session id" />
<leaf name="START_DYNAMIC_MISSION" sendto="EGS" format="" description="start bot chat dynamic mission with the given session id" />
<leaf name="CONTINUE_MISSION" sendto="EGS" format="u8" description="the user completed the mission, with no gift required" />
<leaf name="VALIDATE_PLAYER_GIFT" sendto="EGS" format="" description="the user validate the gift he just made (server aknowledged the gift to be a valid one)" />
<leaf name="PICK_MISSION" sendto="EGS" format="u8" description="message sent when a mission is accepted (from the static mission list)" />
<leaf name="DM_CHOICE" sendto="EGS" format="u8 u8 u8" description="the three choices for dynamic mission selection" />
<leaf name="DM_ACCEPT" sendto="EGS" format="" description="accept current dynamic mission" />
<!-- news -->
<leaf name="START_NEWS" sendto="EGS" format="" description="start bot chat new page" />
<!-- guild -->
<leaf name="START_CREATE_GUILD" sendto="EGS" format="" description="start bot chat page to create a guild" />
<!-- the bot chat window has been closed -->
<leaf name="END" sendto="EGS" format="" description="end chat with a bot sent to EGS" />
<leaf name="FORCE_END" description="force the end of the bot chat on the client side" />
<!-- duty related messages -->
<leaf name="START_CHOOSE_DUTY" sendto="EGS" format="u16" description="client ask EGS for duty list ( param is session id )" />
<leaf name="NEXT_PAGE_DUTY" sendto="EGS" format="u16" description="client ask EGS for next duty page ( param is session id )" />
<leaf name="DUTY_APPLY" sendto="EGS" format="u8" description="client apply for a duty (param is the GLOBAL index of the duty)" />
<leaf name="DUTY_CANCEL_APPLY" sendto="EGS" format="" description="client cancel apply for a duty" />
<!-- guild options related messages -->
<leaf name="START_TRADE_GUILD_OPTIONS" sendto="EGS" format="u16" description="client ask EGS for guild option list ( param is session id )" />
<leaf name="BUY_GUILD_OPTION" sendto="EGS" format="u8" description="client buy a guild option (param is the GLOBAL index of the option)" />
<leaf name="START_GUILD_RESEARCH" sendto="EGS" format="u16" description="client ask EGS for a guild research list ( param is session id )" />
<leaf name="DESTROY_BUILDING" sendto="EGS" format="" description="client destroy the building of his ZC" />
<leaf name="DYNCHAT_OPEN" description="server wants to dynamically chat with the client (Bot UID, Bot Name, Vector of DynString)" />
<leaf name="DYNCHAT_CLOSE" description="server wants to close dynamic chat (Bot UID)" />
<leaf name="DYNCHAT_SEND" sendto="EGS" format="u32 u8" description="client answer to the server dynamic dialog (Bot UID, Answer Nb)" />
</branch>
<branch name="JOURNAL">
<leaf name="INIT_COMPLETED_MISSIONS" description="a vector of text ids is sent to init the mission journal (vector(uint32) )" />
<leaf name="UPDATE_COMPLETED_MISSIONS" description="a text id is sent to add a mission title to the mission journal (uint32)" />
<leaf name="MISSION_ABANDON" sendto="EGS" format="u8" description="the client wants to abandon a mission (mission same as in database)" />
<leaf name="GROUP_MISSION_ABANDON" sendto="EGS" format="u8" description="the client wants to abandon a team mission (mission same as in database)" />
<leaf name="ADD_COMPASS" description="EGS adds a compass target for no list missions. Params X, Y, name. If the client already has the name, the coords are replaced" />
<leaf name="ADD_COMPASS_BOT" description="Same for bots. Params X, Y, name, bot_datasetid" />
<leaf name="REMOVE_COMPASS" description="EGS adds a compass target for no list missions. Params name" />
<leaf name="REMOVE_COMPASS_BOT" description="Same for bots. Params name, bot_dataseetid" />
</branch>
<!-- String Manager related message -->
<branch name="STRING_MANAGER">
<leaf name="SET_LANGUAGE" description="The client send the language code to use for this session." />
<leaf name="PHRASE_SEND" description="The IOS send the prepared phrase to the client." />
<leaf name="STRING_RQ" description="the client ask the string manager for an unknow string" />
<leaf name="STRING_RESP" description="The IOS return the requested string yo the client." />
<leaf name="RELOAD_CACHE" description="The IOS send it's initial cache time stamp or a new one at run time." />
</branch>
<!-- Guilds related message -->
<branch name="GUILD">
<leaf name="CREATE" sendto="EGS" format="uc u64 uc" description="client wants to create a guild (name of new guild, guild icon descriptor, description of the guild)" />
<leaf name="ABORT_CREATION" description="server forces the end of a guild create session" />
<leaf name="OPEN_GUILD_WINDOW" sendto="" format="" description="the client just entered a guild, EGS ask the client to open the guild window" />
<leaf name="INVITATION" sendto="EGS" format="" />
<leaf name="ACCEPT_INVITATION" sendto="EGS" format="" />
<leaf name="REFUSE_INVITATION" sendto="EGS" format="" />
<leaf name="JOIN_PROPOSAL" description="invitation sent to client (uint32 textId)" />
<leaf name="SET_GRADE" sendto="EGS" format="u16 u8 u8" description="client change a member grade p1 is the member, p2 is the grade ( see GUILD_GRADES enum ), p3 is the state counter" />
<leaf name="SET_LEADER" sendto="EGS" format="u16 u8" description="client leader in its guild wants to set the new leader specifying the name of the new leader p1 is the member, p2 is the state counter" />
<leaf name="KICK_MEMBER" sendto="EGS" format="u16 u8" description="client (lead,ho,of) wants to kick member specifying its index. Last param is the counter" />
<leaf name="TELEPORT" sendto="EGS" format="u16" description="client wants to teleport somewhere in guild flats" />
<leaf name="ASCENSOR" description="Server requests the launch of ascensor interface" />
<leaf name="FIRST_ASCENSOR_PAGE" sendto="EGS" format="u16" description="Client ask for the first ascensor page specifying the session id" />
<leaf name="NEXT_ASCENSOR_PAGE" sendto="EGS" format="u16" description="Client ask for the next ascensor page specifying the session id" />
<leaf name="LEAVE_ASCENSOR" description="Server requests the closing of ascensor interface" />
<leaf name="QUIT" sendto="EGS" format="" description="Client wants to quit its guild" />
<!-- About the player -->
<leaf name="SET_PLAYER_TITLE" sendto="EGS" format="u8" description="the client inform the server it has changed its character title (u8=new title(ECharacterTitle))" />
<leaf name="UPDATE_PLAYER_TITLE" description="the server update some reserved titles" />
<leaf name="USE_FEMALE_TITLES" format="b" description="The EGS sends to client whether female titles are used" />
<!-- guild inventory management -->
<leaf name="PUT_MONEY" sendto="EGS" format="u64 u16" description="put money in guild warehouse" />
<leaf name="TAKE_MONEY" sendto="EGS" format="u64 u16" description="take money from guild warehouse" />
<leaf name="OPEN_INVENTORY" sendto="" format="" description="open the guild inventory" />
<leaf name="CLOSE_INVENTORY" sendto="" format="" description="close the guild inventory" />
</branch>
<branch name="OUTPOST">
<leaf name="GIVEUP_OUTPOST" sendto="EGS" format="u32" description="Give up an outpost (outpostSHEET)" />
<!-- Select an outpost from a BotObject -->
<leaf name="SELECT" sendto="EGS" format="u32" description="Select an outpost to display its state (outpostSHEET). = Fill OUTPOST_SELECTED DB" />
<leaf name="UNSELECT" sendto="EGS" format="" description="Unselect any outpost display" />
<!-- War declaration -->
<leaf name="DECLARE_WAR_START" sendto="EGS" format="u32 u8" description="The User try to Declare War to the outpost (outpostSHEET, startHourForAttackPeriod)" />
<leaf name="DECLARE_WAR_ACK" description="The server answer to the client (bool ok, uint32 textId, uint32 resultStartAttackTime)" />
<leaf name="DECLARE_WAR_VALIDATE" sendto="EGS" format="u32 u8 u32" description="The user confirms its Declare war (outpostSHEET, startHourForAttackPeriod, resultStartAttackTimeForCheck). NB: still can fail = sysinfo" />
<!-- Defender Setup -->
<leaf name="SET_DEF_PERIOD" sendto="EGS" format="u32 u8" description="The defender changes the defense period of one of its Outpost (outpostSHEET, start hour for defense period)" />
<!-- squads management -->
<leaf name="SET_SQUAD" sendto="EGS" format="u32 u8 u8" description="Set a training squad in a slot (outpostSHEET, slot, squadNUMBER_IN_SQUAD_SHOP_DB)" />
<leaf name="SET_SQUAD_SPAWN" sendto="EGS" format="u32 u8 u8" description="Set spawn zone of a training squad (outpostSHEET, slot, spawn_index)" />
<leaf name="INSERT_SQUAD" sendto="EGS" format="u32 u8" description="Insert a (default) training squad BEFORE the slot (outpostSHEET, slot)" />
<leaf name="REMOVE_SQUAD" sendto="EGS" format="u32 u8" description="Remove a training squad in a slot (outpostSHEET, slot)" />
<leaf name="SET_SQUAD_CAPITAL" sendto="EGS" format="u32 u32" description="Set the War Capital of the outpost (outpostSHEET, money)" />
<!-- pvp and engagement -->
<leaf name="CHOOSE_SIDE" description="participate or not in outpost, choose side if participate (b playerGuildInConflict, b playerGuildIsAttacker, u32 defNameId, u32 attNameId)" />
<leaf name="SIDE_CHOSEN" sendto="EGS" format="b u8" description="user chooses to participate or not in outpost conflict and on which side" />
<leaf name="BANISH_PLAYER" sendto="EGS" format="" description="user want to banish the player he's targeting" />
<leaf name="BANISH_GUILD" sendto="EGS" format="" description="user want to banish the guild of the player he's targeting" />
<!-- buildings management -->
<leaf name="BUY_BUILDING" sendto="EGS" format="u8 u8 u8" description="Buy a new building (version, outpostnb, line)" />
<leaf name="DESTROY_BUILDING" sendto="EGS" format="u8 u8 u8 u8" description="Destroy a building (version, outpostnb, list, line)" />
</branch>
<!-- SBricks related message -->
<branch name="PHRASE">
<!-- if the dest known sentence is memorized on server (memorized or DefaultAction/NextAction) it should be unmemorized -->
<leaf name="DELETE" sendto="EGS" format="u16" description="the client delete a Known phrase" />
<leaf name="LEARN" />
<!-- "the client learn a phrase, replacing old one" (phraseId $u16 / phraseDesc $CSPhraseCom)-->
<leaf name="MEMORIZE" />
<!-- "the client Memorize a known phrase (MemoryTypeId $u8/ MemorySlotId $u8/ PhraseId $u16/ Phrase Desc $CSPhraseCom)" -->
<leaf name="FORGET" sendto="EGS" format="u8 u8" description="the client forget a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXECUTE" sendto="EGS" format="u8 u8" description="the client execute a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXECUTE_CYCLIC" sendto="EGS" format="u8 u8" description="the client execute set a cyclic Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXECUTE_FABER" />
<!-- FaberPlanSheetId u32/ MemoryTypeId u8/ MemorySlotId u8 / vector<CItemFaberMsg> listOfMpSelectedForFaber -->
<!-- Impulse ServerToClient -->
<leaf name="DOWNLOAD" />
<!-- the server upload all Known Phrases and All Memorized Phrases to the client: vector<CSPhraseSlot> / vector<CSPhraseMemorySlot> -->
<!-- BotChat -->
<leaf name="BUY" sendto="EGS" format="u8 u16" description="the client buy a botChat phrase (indexInBotChat, phraseId)" />
<leaf name="CONFIRM_BUY" />
<!-- server To client: confirm the buy of phraseId (phraseId $u16 / ok $bool) -->
<leaf name="BUY_SHEET" sendto="EGS" format="u32 u16" description="the client buy a botChat phrase (phrase SheetId, phraseId). Nb: can be a charac phrase" />
<!-- Link -->
<leaf name="CANCEL_LINK" sendto="EGS" format="u8 u8" description="the client cancel a link $link_id/$counter" />
<!-- Cancel phrases -->
<leaf name="CANCEL_TOP" sendto="EGS" format="" description="the client cancel it's top phrase" />
<leaf name="CANCEL_ALL" sendto="EGS" format="" description="the client cancel all its phrases" />
<leaf name="CRISTALIZE" sendto="EGS" format="u8 u8" description="the client cristalize a Memorized phrase (MemoryTypeId / MemorySlotId)" />
<leaf name="EXEC_CYCLIC_ACK" description="server send an ack on cyclic phrase execution :$b $u8" />
<leaf name="EXEC_NEXT_ACK" description="server send an ack on 'next' phrase execution :$b $u8" />
</branch>
<branch name="ITEM_INFO">
<leaf name="GET" sendto="EGS" format="u16" description="the client ask for a special item info in a inventory slot: inventoryId(u8HIGH)/slotId(u8LOW)" />
<leaf name="SET" description="Server answer to the previous message. A CItemInfos class is filled" />
<leaf name="REFRESH_VERSION" description="Like set but contains only the version, no info required" />
</branch>
<branch name="MISSION_PREREQ">
<leaf name="GET" sendto="EGS" format="u8" description="the client ask for prerequisit infos: slotId" />
<leaf name="SET" description="Server answer to the previous message. A CPrerequisitInfos class is filled" />
</branch>
<branch name="MISSION">
<leaf name="ENTER_CRITICAL" sendto="EGS" format="b" description="client answer yes/no to enter request (bool)" />
<leaf name="ASK_ENTER_CRITICAL" description="EGS ask player if he wants to enter a mission critical part, player must answer wihtin 1 minute" />
<leaf name="CLOSE_ENTER_CRITICAL" description="EGS tell client to close the 'enter critical' proposal window" />
<leaf name="WAKE" sendto="EGS" format="u8" description="client wakes up for mission $u8 (mission same as in database)" />
<leaf name="GROUP_WAKE" sendto="EGS" format="u8" description="client wakes up for group mission $u8 (mission same as in database)" />
</branch>
<branch name="DUEL">
<leaf name="ASK" sendto="EGS" format="" description="client wants to duel its target" />
<leaf name="ACCEPT" sendto="EGS" format="" description="client accept a duel" />
<leaf name="REFUSE" sendto="EGS" format="" description="client refuses a duel" />
<leaf name="ABANDON" sendto="EGS" format="" description="client abandon a duel" />
<leaf name="INVITATION" description="invitation sent to client (uint32 textId)" />
<leaf name="CANCEL_INVITATION" description="cancel invitation popup (no param)" />
</branch>
<branch name="PVP_CHALLENGE">
<leaf name="ASK" sendto="EGS" format="" description="client wants to duel its target" />
<leaf name="ACCEPT" sendto="EGS" format="" description="client accept a duel" />
<leaf name="REFUSE" sendto="EGS" format="" description="client refuses a duel" />
<leaf name="ABANDON" sendto="EGS" format="" description="client abandon a duel" />
<leaf name="INVITATION" description="invitation sent to client (uint32 textId)" />
<leaf name="CANCEL_INVITATION" description="cancel invitation popup (no param)" />
</branch>
<!-- ****OUT OF DATE COMMANDS****
<branch name="PVP_VERSUS">
<leaf name="CLAN" sendto="EGS" format="u8" description="player choose a clan for this pvp zone, u8 = clan number, 0 = neutral, 1 clan 1, 2 clan 2" />
<leaf name="CHOOSE_CLAN" description="server ask to client choose a clan for pvp versus area where character enter: EGSPD::CPeople::TPeople clan1, clan2" />
</branch>
-->
<branch name="PVP">
<leaf name="PVP_TAG" sendto="EGS" format="u8" description="client want set PVP_TAG to TRUE or FALSE" />
<leaf name="SET_NEUTRAL_ALLEGIANCE" sendto="EGS" format="u8" description="client want set allegiance to neutral from indetermined status (u8 = PVP_CLAN::TPVPClan (game_share/pvp_clan.h))" />
<leaf name="SET_NEUTRAL_ALLEGIANCE_GUILD" sendto="EGS" format="u8" description="client want set allegiance to neutral from indetermined status for his GUILD (u8 = PVP_CLAN::TPVPClan (game_share/pvp_clan.h))" />
</branch>
<branch name="PVP_FACTION">
<leaf name="PUSH_FACTION_WAR" format="u8 u8" description="a new faction war starts" />
<leaf name="POP_FACTION_WAR" format="u8 u8" description="a faction ends" />
<leaf name="FACTION_WARS" description="a faction ends" />
</branch>
<branch name="ENCYCLOPEDIA">
<leaf name="UPDATE" description="server update the encyclopedia (see msg_encyclopedia.cpp in game_share for the message format)" />
<leaf name="INIT" description="server sends the whole encyclopedia to the client" />
</branch>
<branch name="USER">
<leaf name="BARS" format="u8 s16 s16 s16 s16" description="server update the players Bars (fast message) $msgNumber $hp $sap $sta $focus" />
<leaf name="POPUP" format="u32 u32" description="server display an important info message on the client (u32 titleDynString u32 textDynString)" />
</branch>
<branch name="EVENT">
<leaf name="SET_ITEM_CUSTOM_TEXT" sendto="EGS" format="u32 u32 uc" description="set the cursom of the item in inventory $inventory in slot $slot to $text" />
<leaf name="DUMMY" description="stupid server....." />
</branch>
<branch name="TOTEM">
<leaf name="BUILD" sendto="EGS" format="" description="client has built a totem" />
<leaf name="DUMMY" description="stupid server....." />
</branch>
<branch name="MODULE_GATEWAY">
<leaf name="FEOPEN" description="The fe gateway route is open" />
<leaf name="GATEWAY_MSG" description="the fe module gateway transport send a message to the client transport peer" />
<leaf name="FECLOSE" description="The fe gateway route is closed" />
</branch>
<branch name="SEASON">
<leaf name="SET" />
<leaf name="DUMMY" description="stupid server....." />
</branch>
<branch name="DM_GIFT">
<leaf name="BEGIN" sendto="EGS" format="" />
<!-- signal the server that a dm gift is about to occur with the current target -->
<leaf name="VALIDATE" sendto="EGS" format="u32 u8 u32 u8 u32 u8 u32 u8 u32 u8 u32 u8 u32 u8 u32 u8" />
<!-- send 8 slots of the DM gift (u32 sheet, u8 quantity) -->
</branch>
<branch name="RING_MISSION">
<leaf name="MISSION_RING_SELECT" sendto="EGS" format="u32" description="client choose an action in ring mission (u8 = actionId)" />
<leaf name="DSS_DOWN" />
</branch>
<branch name="NPC_ICON">
<leaf name="GET_DESC" description="client to server request" />
<leaf name="SET_DESC" description="server response" />
<leaf name="SVR_EVENT_MIS_AVL" description="server had an event that might change mission availability" />
<leaf name="SET_TIMER" description="server sets a new timer period" />
</branch>
<branch name="PVP">
<leaf name="PVP_TAG" sendto="EGS" format="u8" description="client want set PVP_TAG to TRUE or FALSE" />
<leaf name="SET_NEUTRAL_ALLEGIANCE" sendto="EGS" format="u8" description="client want set allegiance to neutral from indetermined status (u8 = PVP_CLAN::TPVPClan (game_share/pvp_clan.h))" />
<leaf name="SET_NEUTRAL_ALLEGIANCE_GUILD" sendto="EGS" format="u8" description="client want set allegiance to neutral from indetermined status for his GUILD (u8 = PVP_CLAN::TPVPClan (game_share/pvp_clan.h))" />
</branch>
<branch name="PVP_FACTION">
<leaf name="PUSH_FACTION_WAR" format="u8 u8" description="a new faction war starts" />
<leaf name="POP_FACTION_WAR" format="u8 u8" description="a faction ends" />
<leaf name="FACTION_WARS" description="a faction ends" />
</branch>
<branch name="ENCYCLOPEDIA">
<leaf name="UPDATE" description="server update the encyclopedia (see msg_encyclopedia.cpp in game_share for the message format)" />
<leaf name="INIT" description="server sends the whole encyclopedia to the client" />
</branch>
<branch name="USER">
<leaf name="BARS" format="u8 s16 s16 s16 s16" description="server update the players Bars (fast message) $msgNumber $hp $sap $sta $focus" />
<leaf name="POPUP" format="u32 u32" description="server display an important info message on the client (u32 titleDynString u32 textDynString)" />
</branch>
<branch name="EVENT">
<leaf name="SET_ITEM_CUSTOM_TEXT" sendto="EGS" format="u32 u32 uc" description="set the cursom of the item in inventory $inventory in slot $slot to $text" />
<leaf name="DUMMY" description="stupid server....." />
</branch>
<branch name="TOTEM">
<leaf name="BUILD" sendto="EGS" format="" description="client has built a totem" />
<leaf name="DUMMY" description="stupid server....." />
</branch>
<branch name="MODULE_GATEWAY">
<leaf name="FEOPEN" description="The fe gateway route is open" />
<leaf name="GATEWAY_MSG" description="the fe module gateway transport send a message to the client transport peer" />
<leaf name="FECLOSE" description="The fe gateway route is closed" />
</branch>
<branch name="SEASON">
<leaf name="SET" />
<leaf name="DUMMY" description="stupid server....." />
</branch>
<branch name="DM_GIFT">
<leaf name="BEGIN" sendto="EGS" format="" />
<!-- signal the server that a dm gift is about to occur with the current target -->
<leaf name="VALIDATE" sendto="EGS" format="u32 u8 u32 u8 u32 u8 u32 u8 u32 u8 u32 u8 u32 u8 u32 u8" />
<!-- send 8 slots of the DM gift (u32 sheet, u8 quantity) -->
</branch>
<branch name="RING_MISSION">
<leaf name="MISSION_RING_SELECT" sendto="EGS" format="u32" description="client choose an action in ring mission (u8 = actionId)" />
<leaf name="DSS_DOWN" />
</branch>
<branch name="NPC_ICON">
<leaf name="GET_DESC" description="client to server request" />
<leaf name="SET_DESC" description="server response" />
<leaf name="SVR_EVENT_MIS_AVL" description="server had an event that might change mission availability" />
<leaf name="SET_TIMER" description="server sets a new timer period" />
</branch>
</client_messages_description>

@ -0,0 +1,8 @@
indent: yes
indent-spaces: 4
markup: yes
output-xml: yes
input-xml: yes
wrap: 0
Loading…
Cancel
Save