Merge branch 'main/yubo-dev' into server/yubo-dev
commit
b3b473d671
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"/>
|
||||
|
||||
</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" />
|
||||
</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="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="setuiscale" action="set_ui_scale" params="scale=$" />
|
||||
</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" />
|
||||
<!--
|
||||
<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 />
|
||||
<!--
|
||||
<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" />
|
||||
|
||||
<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="" 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 />
|
||||
<!--
|
||||
<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" />
|
||||
</interface_config>
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,154 +1,119 @@
|
||||
<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="" />
|
||||
<!-- interaction -->
|
||||
<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 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,323 @@
|
||||
<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>
|
||||
<!--
|
||||
<action id="recr" name="uimGuildRecruiter" handler="guild_member_chg_to_recruiter" />
|
||||
<action id="bear" name="uimGuildBearer" handler="guild_member_chg_to_bearer" />
|
||||
<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>
|
||||
<proc id="select_guild_island">
|
||||
<action handler="set" params="target='ui:interface:guild:w'|value=600" />
|
||||
<action handler="lua" params="game:openGuildIsland('http://app.ryzom.com/app_guild/island.php?')" />
|
||||
</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="" icon="ico_automove.tga" />
|
||||
<separator />
|
||||
<action id="lead" name="uimGuildLeader" handler="guild_member_chg_to_leader" icon="token_xl.tga" />
|
||||
<action id="hiof" name="uimGuildHighOfficer" handler="guild_member_chg_to_high_officer" icon="token_choice.tga" />
|
||||
<action id="offi" name="uimGuildOfficer" handler="guild_member_chg_to_officer" icon="token_fine.tga" />
|
||||
<action id="memb" name="uimGuildMember" handler="guild_member_chg_to_member" icon="token_basic.tga" />
|
||||
<action id="kick" name="uimGuildKick" handler="guild_member_kick" icon="r2ed_kicked_char.tga" />
|
||||
</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_first_word_letter_up" />
|
||||
<view type="text" id="grade" x="158" y="0" fontsize="10" shadow="true" />
|
||||
<view type="bitmap" id="online" x="-4" 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" />
|
||||
<!-- add team invite button -->
|
||||
<ctrl type="button" id="invite_button" button_type="push_button" posref="MR MR" x="-20" tx_normal="team_invite.tga" tx_pushed="team_invite.tga" tx_over="W_button_14_over.tga" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="lua" params_l="game:teamInviteFromGuild('#id')" tooltip="uimGcmInvit" tooltip_parent="win" />
|
||||
</group>
|
||||
</template>
|
||||
<!-- **************** -->
|
||||
<!-- * GUILD MAIN * -->
|
||||
<!-- **************** -->
|
||||
<group type="container" id="guild" title="uiGuildTitle" w="340" h="350" pop_max_h="700" resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM" openable="true" 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="bstatus" x="0" y="0" h="0" value="" posref="TL TL">
|
||||
<link expr="depends(@UI:VARIABLES:PING)" action="lua" params="game:updateGLinvB()" />
|
||||
</group>
|
||||
<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_info" hardtext="uiGuildTabGuild" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=340" />
|
||||
<ctrl style="tab_button_new" id="tab1" posparent="tab0" group="content:tab_guild" hardtext="uiGuildMembers" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=330" />
|
||||
<ctrl style="tab_button_new" id="tab2" posparent="tab1" group="content:tab_outpost" hardtext="uiGuildTabOutpost" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=450" />
|
||||
<ctrl style="tab_button_new" id="tab3" posparent="tab2" group="content:tab_island" hardtext="uiGuildTabIsland" onclick_r="" params_r="" onclick_l="proc" params_l="select_guild_island" />
|
||||
</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_info" 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="-4" 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" />
|
||||
<view type="text" id="sep_2" posparent="members" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="/" />
|
||||
<view type="text" id="member_count_online" posparent="sep_2" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" value="" positive="true" />
|
||||
<view type="text" id="members_online_text" posparent="member_count_online" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildMemberOnline" />
|
||||
<!-- DESCRIPTION -->
|
||||
<view type="text" id="desc_title" posparent="blason" shadow="true" posref="BL TL" x="0" y="-12" 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="desc" shadow="true" posref="BL TL" x="0" y="-5" 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="0" 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" />
|
||||
<!-- QUIT GUILD BUTTON -->
|
||||
<ctrl style="text_button_16" id="quit_guild" posparent="money" posref="MR ML" x="10" y="0" 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="" />
|
||||
<!-- invite to guild button -->
|
||||
<ctrl style="text_button_16" id="invite" active="false" posparent="quit_guild" posref="MR ML" x="5" hardtext="uiInviteToRingSession" 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="add_contact_begin" params_l="group=ui:interface:add_guild" />
|
||||
</group>
|
||||
<group id="tab_guild" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0">
|
||||
<!-- MEMBERS LIST -->
|
||||
<group id="list_member" posref="TL TL" x="0" y="-8" sizeparent="parent" sizeref="w" w="-8" h="390">
|
||||
<view type="text" id="title" posref="TL TL" x="15" 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="-40" w="290" 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="355" posparent="guild_members" inherit_gc_alpha="true" />
|
||||
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
|
||||
</group>
|
||||
</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 id="tab_island" posref="TL TL" x="0" y="0" h="350" w="0" sizeref="w" child_resize_hmargin="0">
|
||||
<group id="props" y="0" h="115" posref="TL TL" sizeref="w">
|
||||
<instance template="webig_html" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 0" />
|
||||
</group>
|
||||
<group id="inv" y="-105" h="245" posref="TL TL" sizeref="w">
|
||||
<instance template="webig_html" home="http://app.ryzom.com/app_arcc/index.php?action=mItem_DisplayGuildItems" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 0" />
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<tree node="guild" />
|
||||
<!-- add a player to guild -->
|
||||
<group type="modal" id="add_guild" exit_click_out="true" posref="MM MR" w="212" child_resize_h="true" child_resize_hmargin="14" options="skin_modal" on_active="set_keyboard_focus" on_active_params="target=ui:interface:add_guild:add_contact_eb:eb|select_all=false">
|
||||
<view type="text" id="text" case_mode="%case_first_word_letter_up" posref="TL TL" x="8" y="-8" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="uimGcmGuildInvit" />
|
||||
<instance template="edit_box_widget" id="add_contact_eb" posref="TL TL" x="6" y="-24" child_resize_h="true" w="200" onenter="lua:game:invToGuild()" max_num_chars="255" entry_type="playername" />
|
||||
<instance template="button_ok_cancel" posparent="add_contact_eb" posref="BR TR" x="0" y="-2" onclick_ok="lua" onclick_ok_param="game:invToGuild()" onclick_cancel="leave_modal" onclick_cancel_param="" />
|
||||
</group>
|
||||
<!-- ***************** -->
|
||||
<!-- * GUILD FORUM * -->
|
||||
<!-- ***************** -->
|
||||
<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="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>
|
||||
<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>
|
||||
<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>
|
||||
<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" />
|
||||
<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_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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tree node="cosmetics">
|
||||
</tree>
|
||||
|
||||
|
||||
|
||||
<tree node="cosmetics"></tree>
|
||||
</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
File diff suppressed because it is too large
Load Diff
@ -1,329 +1,315 @@
|
||||
<!-- ***************************
|
||||
-->
|
||||
<!-- 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" />
|
||||
<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="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="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="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
|
||||
<!-- Ingame keyboard assignation
|
||||
-->
|
||||
<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" />
|
||||
<!-- 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="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="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" />
|
||||
|
||||
|
||||
<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="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="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" 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="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" />
|
||||
<!-- 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="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" />
|
||||
<key name="KeyM" ctrl="1" action="fullmap" params="" />
|
||||
<!-- 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="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,291 @@
|
||||
<!-- ***************************
|
||||
-->
|
||||
<!-- 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" />
|
||||
<!-- 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="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" 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
|
||||
<!-- Ingame keyboard assignation
|
||||
-->
|
||||
<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" />
|
||||
<!-- 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="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="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" />
|
||||
|
||||
|
||||
<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" />
|
||||
<!-- 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="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" 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="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" />
|
||||
<!-- 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="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" />
|
||||
<key name="KeyM" ctrl="1" action="fullmap" params="" />
|
||||
<!-- 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="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,202 @@
|
||||
<?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" ctrl="1" action="fullmap" params="" />
|
||||
<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,291 @@
|
||||
<!-- ***************************
|
||||
-->
|
||||
<!-- 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" />
|
||||
<!-- 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="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" 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
|
||||
<!-- Ingame keyboard assignation
|
||||
-->
|
||||
<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" />
|
||||
<!-- 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="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="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" />
|
||||
|
||||
|
||||
<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" />
|
||||
<!-- 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="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" 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="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" />
|
||||
<!-- 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="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" />
|
||||
<key name="KeyM" ctrl="1" action="fullmap" params="" />
|
||||
<!-- 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="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="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="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="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="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="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="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="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="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,378 @@
|
||||
<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" />
|
||||
<leaf name="RESALE_FLAG" type="I2" />
|
||||
</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="10">
|
||||
<!-- Change in database.xml, player_trade.lua and NbExchangeSlots on server-->
|
||||
<!-- 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="10">
|
||||
<!-- Change in database.xml, player_trade.lua and NbExchangeSlots on server-->
|
||||
<!-- 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" />
|
||||
</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"
|
||||
<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" />
|
||||
</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,126 @@
|
||||
<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="basic.ttf" /> -->
|
||||
<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,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"/>
|
||||
|
||||
</interface_config>
|
||||
<tree node="charsel" />
|
||||
<tree node="appear" />
|
||||
<tree node="location" />
|
||||
<tree node="crashing" />
|
||||
</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,113 @@
|
||||
<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="outgame.ttf" /> -->
|
||||
<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,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"/>
|
||||
|
||||
</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" />
|
||||
</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>
|
||||
|
||||
|
||||
</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>
|
||||
</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=">"
|
||||
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=">" max_num_chars="256" 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" 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>
|
||||
|
||||
</interface_config>
|
||||
<!-- 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" />
|
||||
<!--
|
||||
<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" />
|
||||
<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
|
||||
0: All animals
|
||||
1 to 5: Pack animals
|
||||
-->
|
||||
<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), isAnimalStatusPresent(@%pa_beast4:STATUS), isAnimalStatusPresent(@%pa_beast5:STATUS), isAnimalStatusPresent(@%pa_beast6: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>
|
||||
|
@ -0,0 +1,32 @@
|
||||
-- In this file we define functions that serves for player windows
|
||||
local base = "ui:interface:player_trade:header_opened";
|
||||
local slots = 10; -- Change in local_database.xml, database.xml and NbExchangeSlots on server
|
||||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
-- create the game namespace without reseting if already created in an other file.
|
||||
if (game==nil) then
|
||||
game= {};
|
||||
end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
-- Update weight and bulk indicator in trade window for receive side
|
||||
function game:updateReceiveBulkAndWeight()
|
||||
getUI(base .. ":receive:bulk_txt").hardtext = tostring(getBulk("RECEIVE"));
|
||||
getUI(base .. ":receive:weight_txt").hardtext = tostring(getWeight("RECEIVE"));
|
||||
end
|
||||
|
||||
-- Update weight and bulk indicator in trade window for give side
|
||||
function game:updateGiveBulkAndWeight()
|
||||
getUI(base .. ":give:bulk_txt").hardtext = tostring(getBulk("GIVE"));
|
||||
getUI(base .. ":give:weight_txt").hardtext = tostring(getWeight("GIVE"));
|
||||
end
|
||||
|
||||
function getWeight(inventory)
|
||||
local weight = runExpr("getItemsWeight('LOCAL:EXCHANGE:"..inventory.."', 0," .. slots .. ")");
|
||||
return math.floor(weight * 100) / 100;
|
||||
end
|
||||
|
||||
function getBulk(inventory)
|
||||
local bulk = runExpr("getItemsBulk('LOCAL:EXCHANGE:"..inventory.."', 0," .. slots .. ")");
|
||||
return math.floor(bulk * 100) / 100;
|
||||
end
|
@ -1,378 +1,241 @@
|
||||
<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" />
|
||||
<lua file="player_trade.lua" />
|
||||
<!-- 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="258" y="650" w="262" h="407" pop_max_h="428" 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="250" h="400" 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="250" h="171" x="0" y="-19" />
|
||||
<view type="text" id="receive_text" posref="TL TL" posparent="receive_back" x="15" y="-14" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiOtherGive" global_color="true" />
|
||||
<group id="receive" posref="TM TM" x="15" y="-28" posparent="receive_back" w="250" h="146">
|
||||
<!-- Items received (inventories:exchange_proposition in the database) -->
|
||||
<group id="received_items" posref="TL TL" x="0" y="-6" h="86" w="218">
|
||||
<!-- 10 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="slot3" posref="TR TL" x="2" onclick_r="open_help_auto" />
|
||||
<ctrl type="sheet" id="slot5" value="%exchange_receive:5" posparent="slot0" posref="BL TL" x="0" y="-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" />
|
||||
<ctrl type="sheet" id="slot8" value="%exchange_receive:8" posparent="slot7" posref="TR TL" x="2" onclick_r="open_help_auto" />
|
||||
<ctrl type="sheet" id="slot9" value="%exchange_receive:9" posparent="slot8" posref="TR TL" x="2" onclick_r="open_help_auto" />
|
||||
</group>
|
||||
<!-- Money received -->
|
||||
<instance template="argent" id="money_received" posref="BL TL" x="0" y="-14" w="130" h="16" posparent="received_items" tooltip="uittMoneyTradeOffer" value="%exchange_receive_money" />
|
||||
<view type="text" id="bulk_txt" posref="BR TR" y="-7" x="0" posparent="received_items" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
|
||||
<instance template="text_tt" tooltip="uittBulkExchangeReceive" posparent="bulk_txt" />
|
||||
<view type="bitmap" id="bulk" posref="ML MR" x="-4" y="0" scale="true" h="12" w="12" posparent="bulk_txt" texture="animal_inventory.tga" global_color="false" />
|
||||
<view type="text" id="weight_txt" posparent="bulk_txt" posref="BR TR" y="0" x="0" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
|
||||
<instance template="text_tt" tooltip="uittWeightExchangeReceive" posparent="weight_txt" />
|
||||
<view type="bitmap" id="weight" posref="ML MR" x="0" y="0" scale="true" h="12" w="12" posparent="weight_txt" texture="W_weight.tga" global_color="false" />
|
||||
<link expr="depends(@%exchange_receive)" action="lua:game:updateReceiveBulkAndWeight()" />
|
||||
<!--
|
||||
<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"
|
||||
/>
|
||||
-->
|
||||
</group>
|
||||
<!-- 4/ YOU GIVE -->
|
||||
<instance template="box_widget" id="give_back" posref="BM TM" posparent="receive_back" w="250" h="171" x="0" y="-18" />
|
||||
<view type="text" id="give_text" posref="TL TL" posparent="give_back" x="15" y="-14" color="255 255 255 255" fontsize="11" shadow="true" hardtext="uiPlayerGive" global_color="true" />
|
||||
<group id="give" posref="TM TM" posparent="give_back" x="15" y="-28" w="250" h="156">
|
||||
<!-- Items to give -->
|
||||
<group id="given_items" posref="TL TL" x="0" y="-6" h="86" w="218">
|
||||
<!-- 10 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="slot3" 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="slot5" onclick_r="open_help_auto" value="%exchange_give:5" 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="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" />
|
||||
<ctrl type="sheet" id="slot8" onclick_r="open_help_auto" value="%exchange_give:8" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot7" 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="slot9" onclick_r="open_help_auto" value="%exchange_give:9" oncandrop="can_drop_to_exchange" dragable="true" posparent="slot8" 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>
|
||||
<!-- Money to give -->
|
||||
<instance template="argent" id="money_given" posref="BL TL" x="0" y="-14" w="130" h="16" posparent="given_items" tooltip="uittMoneyTradeOffer" 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 -->
|
||||
<ctrl type="button" id="choose_money" button_type="push_button" posparent="money_given" 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" />
|
||||
<view type="text" id="bulk_txt" posref="BR TR" y="-7" x="0" posparent="given_items" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
|
||||
<instance template="text_tt" tooltip="uittBulkExchangeGive" posparent="bulk_txt" />
|
||||
<view type="bitmap" id="bulk" posref="ML MR" x="-4" y="0" scale="true" h="12" w="12" posparent="bulk_txt" texture="animal_inventory.tga" global_color="false" />
|
||||
<view type="text" id="weight_txt" posparent="bulk_txt" posref="BR TR" y="0" x="0" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
|
||||
<instance template="text_tt" tooltip="uittWeightExchangeGive" posparent="weight_txt" />
|
||||
<view type="bitmap" id="weight" posref="ML MR" x="0" y="0" scale="true" h="12" w="12" posparent="weight_txt" texture="W_weight.tga" global_color="false" />
|
||||
<link expr="depends(@%exchange_give)" action="lua:game:updateGiveBulkAndWeight()" />
|
||||
</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:uc_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:uc_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>
|
||||
|
||||
</interface_config>
|
||||
<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="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')" />
|
||||
|
||||
<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>
|
||||
|
||||
<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="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>
|
||||
|
||||
<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="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">
|
||||
|
||||
<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 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: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" />
|
||||
|
||||
<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" />
|
||||
|
||||
<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="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="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=""/>
|
||||
|
||||
<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>
|
||||
|
||||
</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>
|
||||
|
||||
</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>
|
||||
</interface_config>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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,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>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue