Reformat xml using tidy_config.txt

main/yubo-dev
Nuno 3 years ago
parent 52c94ee0c6
commit 1f9694f108

@ -1,31 +1,22 @@
<!-- ********************** -->
<!-- Game action definition -->
<!-- ********************** -->
<!-- Take care to update macros.xml with a good t_all_keys if you add / remove a category -->
<interface_config>
<define id="action_param_hidden" value="0" />
<define id="action_param_constant" value="1" />
<define id="action_param_user" value="2" />
<define id="action_param_user_name" value="3" />
<template name="openable_window_list">
<value value="connection" hardtext="uiConnection" />
</template>
<template name="container_window_list">
<value value="player" hardtext="uiPlayer" contexts="game, r2ed_anim_test" />
<value value="bonus_malus" hardtext="uiBonusMalus" contexts="game" />
<value value="info_player_skills" hardtext="uiStatus" contexts="game" />
<value value="info_player_journal" hardtext="uiJournal" contexts="game" />
<value value="encyclopedia" hardtext="uiEncyclopedia" contexts="game" />
<value value="fame" hardtext="uiFameTitle" contexts="game" />
<value value="gestionsets" hardtext="uiHands" contexts="game, r2ed_anim_test" />
<value value="gestionsets2" hardtext="uiHands2" contexts="game, r2ed_anim_test" />
<value value="inventory" hardtext="uiInventory" contexts="game, r2ed_anim_test" />
@ -33,27 +24,20 @@
<value value="mailbox" hardtext="uiMailBox" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="webig" hardtext="uiWebIG" contexts="game" />
<value value="appzone" hardtext="uiAppZone" contexts="game" />
<value value="animal_global" hardtext="uiAnimals" contexts="game" />
<value value="compass" hardtext="uiCompas" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="map" hardtext="uiMap" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="gestion_windows" hardtext="uiWindows" contexts="game" />
<value value="milko_pad" hardtext="uiTaskbar" contexts="game" />
<value value="guild" hardtext="uiGuild" contexts="game" />
<value value="guild_forum" hardtext="uiGuildForum" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="guild_chat" hardtext="uiGuildChat" contexts="game" />
<value value="team_list" hardtext="uiTeamList" contexts="game" />
<value value="team_chat" hardtext="uiTeamChat" contexts="game" />
<value value="target" hardtext="uiTarget" contexts="game, r2ed_anim_test, r2ed_anim_dm" />
<value value="contact_list" hardtext="uiContactList" contexts="game, r2ed_anim_test, r2ed_anim_dm, r2ed" />
<value value="main_chat" hardtext="uiMainChat" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="tell" hardtext="uiTellWinAct" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="keys" hardtext="uiKeys" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="macros" hardtext="uiMacros" contexts="game" />
<value value="game_config" hardtext="uiGlobalSettings" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
@ -61,29 +45,19 @@
<value value="mp3_player" hardtext="uimwMP3Player" contexts="game" />
<value value="links" hardtext="uiLinks" contexts="game" />
<value value="debug_info" hardtext="uiDebug" contexts="game" />
<!-- r2ed specifics -->
<value value="r2ed_palette" hardtext="uiR2EDPalette" contexts="r2ed" />
<value value="r2ed_scenario" hardtext="uiR2EDScenario" contexts="r2ed" />
<value value="r2ed_ring_window" hardtext="uiR2EDRingWindow" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<value value="r2ed_scenario_scores" hardtext="uiR2EDScoresWindow" contexts="game, r2ed_anim_dm" />
</template>
<template name="popable_window_list">
</template>
<template name="popable_window_list"></template>
<action_category name="player" hardtext="uiPlayer" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="toggle_light" hardtext="uiLightOnOff" />
<action name="toggle_dodge_parry" hardtext="uiToggleDodgeParry" />
<action name="dodge" hardtext="uiMK_Defense_0" />
<action name="parry" hardtext="uiMK_Defense_1" />
</action_category>
<action_category name="animal" hardtext="uiAnimals" contexts="game">
<action name="beast_order" hardtext="uimFollowMe">
<parameter name="order" value="follow" type="%action_param_hidden" />
@ -181,7 +155,6 @@
</parameter>
</action>
</action_category>
<action_category name="movement" hardtext="uiMovement" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, misc">
<action name="toggle_sit_stand" hardtext="uiMoveToggleSitStand" contexts="game, r2ed_anim_test" />
<action name="command" hardtext="uimFollow" contexts="game, misc">
@ -202,7 +175,6 @@
<action name="camera_turn_right" hardtext="uiCameraTurnRight" macroisable="false" />
<action name="camera_turn_center" hardtext="uiCameraTurnCenter" />
</action_category>
<action_category name="actions" hardtext="uiActions" contexts="game, r2ed_anim_test">
<action name="command" hardtext="uiDebugCommand" macroisable="false">
<parameter hardtext="uiShortcutNumber">
@ -347,8 +319,8 @@
</action>
<action name="inv_temp_all" hardtext="uittTakeAll" contexts="game" />
</action_category>
<action_category name="chat" hardtext="uiChat" contexts="game, r2ed, r2ed_anim_test"> <!-- not available in r2ed for now -->
<action_category name="chat" hardtext="uiChat" contexts="game, r2ed, r2ed_anim_test">
<!-- not available in r2ed for now -->
<action name="talk_untalk" hardtext="uiTalkLeave" />
<action name="reply_teller" hardtext="uiReplyTeller" />
<action name="reply_teller_once" hardtext="uiReplyTellerOnce" />
@ -374,7 +346,6 @@
9 arround
10 system -->
<value value="11" hardtext="uiTalkCmdModeRegion" />
</parameter>
</action>
<action name="talk" hardtext="uiTalkCmd">
@ -394,7 +365,6 @@
</parameter>
<parameter hardtext="uiTalkCmdMsg" type="%action_param_user" name="text" />
</action>
<action name="talk_message" hardtext="uiTalkMem">
<parameter hardtext="uiTalkMemMsg" type="%action_param_constant" value="0">
<value value="00" hardtext="uiTalkMemMsg00" />
@ -420,7 +390,6 @@
</parameter>
</action>
</action_category>
<action_category name="view" hardtext="uiView" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<!-- <action name="toggle_names" hardtext="uiToggleNames" repeat="1" keyup="1" /> -->
<action name="toggle_camera" hardtext="uiToggleCamera" />
@ -431,7 +400,6 @@
<action name="camera_foreward" hardtext="uiMoveForward" />
<action name="camera_backward" hardtext="uiMoveBackward" />
</action_category>
<action_category name="windows" hardtext="uiWindows" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="open" hardtext="uiOpenWindow">
<parameter hardtext="uiWindowName">
@ -511,23 +479,19 @@
</parameter>
</action>
</action_category>
<action_category name="system" hardtext="uiSystem" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="quit_game" hardtext="uiQuitGameWithoutWarning" contexts="game, r2ed_scenario_creation" />
<action name="quit_ryzom" hardtext="uiQuitRyzomWithoutWarning" contexts="game, r2ed_scenario_creation" />
<action name="quit_ryzom_now" hardtext="uiQuitRyzomWithoutWarning" contexts="r2ed, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation" />
<action name="enter_modal" hardtext="uiQuit">
<parameter value="ui:interface:quit_dialog" name="group" type="%action_param_hidden" />
</action>
<action name="free_mouse" hardtext="uiFreeMouse" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation" />
<action name="close_help" hardtext="uiCloseHelp" contexts="game" />
<action name="screen_shot" hardtext="uiScreenShot" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<action name="screen_shot_jpg" hardtext="uiScreenShotJPG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm" />
<action name="screen_shot_png" hardtext="uiScreenShotPNG" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm" />
</action_category>
<action_category name="edit" hardtext="uiEdit" macroisable="false" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network, r2ed_scenario_creation">
<action name="edit_previous_char" hardtext="uiEditPreviousChar" repeat="1" />
<action name="edit_select_previous_char" hardtext="uiEditSelectPreviousChar" repeat="1" />
@ -556,7 +520,6 @@
<action name="edit_expand_or_cycle_tell" hardtext="uiEditExpandOrCycleTell" contexts="game, r2ed, r2ed_anim_test, r2ed_anim_dm, waiting_network" />
<action name="edit_back" hardtext="uiEditBack" repeat="1" />
</action_category>
<action_category name="debug" hardtext="uiDebug" macroisable="false" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm">
<action name="toggle_help" hardtext="uiDebugToggleHelp" />
<action name="display_infos" hardtext="uiDebugDisplayInfos" contexts="game, waiting_network, r2ed, r2ed_anim_test, r2ed_anim_dm, r2ed_scenario_creation" />
@ -577,7 +540,6 @@
<action name="toggle_primitive" hardtext="uiDebugTogglePrimitive" />
<action name="primitive_up" hardtext="uiDebugPrimitiveUp" />
<action name="primitive_down" hardtext="uiDebugPrimitiveDown" />
<action name="toggle_3d_filter" hardtext="uiDebugToggle3dFilter">
<parameter hardtext="uiFilterNumber">
<value value="0" hardtext="uiKey0" />
@ -591,11 +553,9 @@
<value value="8" hardtext="uiKey8" />
</parameter>
</action>
<action name="draw_sound" hardtext="uiDebugDrawSound" />
<action name="inc_camera_height" hardtext="uiDebugIncCameraHeight" />
<action name="dec_camera_height" hardtext="uiDebugDecCameraHeight" />
<!-- Weather debug -->
<action name="inc_time" hardtext="uiDebugWeatherIncTime" />
<action name="dec_time" hardtext="uiDebugWeatherDecTime" />
@ -611,16 +571,13 @@
<action name="dec_display_factor" hardtext="uiDebugWeatherDecDispFactor" />
<action name="inc_display_factor" hardtext="uiDebugWeatherIncDispFactor" />
<action name="test" hardtext="uiTest" />
<!-- timed fxs -->
<action name="show_timed_fx" hardtext="uiDebugShowTimedFXs" />
<!-- Movie recorder -->
<action name="toggle_movie_recorder" hardtext="uiToggleMovieRecorder" />
<action name="replay_movie" hardtext="uiReplayMovie" />
<action name="save_movie" hardtext="uiSaveMovie" />
</action_category>
<action_category name="r2ed" hardtext="uiR2EDActionCategory" macroisable="false" contexts="r2ed">
<!-- edition specific (in keys_r2ed.xml) -->
<action name="r2ed_context_command" hardtext="uimR2EDContextualCommand">
@ -647,13 +604,7 @@
<action name="r2ed_undo" hardtext="uimR2EDTooltipUndo" contexts="r2ed" />
<action name="r2ed_redo" hardtext="uimR2EDTooltipRedo" contexts="r2ed" />
<action name="r2ed_freeze_unfreeze_botobjects" hardtext="uimR2EDFreezeBotObjects" contexts="r2ed" />
<!-- animation specific (in keys.xml instead) -->
<action name="r2ed_stop_test" hardtext="uimR2EDTooltipGoEdition" contexts="r2ed_anim_test, r2ed_anim_dm" />
</action_category>
</interface_config>

@ -1,260 +1,56 @@
<?xml version="1.0"?>
<interface_config>
<root id="interface"
x="0"
y="0"
w="800"
h="600"
active="true" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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')" />
<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" />
<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 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('$')" />
<command name="appzone" action="lua" params="AppZone:handle('$')" />
</interface_config>

@ -1,66 +1,22 @@
<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 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"
>
<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" />
@ -68,7 +24,5 @@
</group>
</group>
</group>
<tree node="bg_downloader" />
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,55 +1,41 @@
<!-- *************** -->
<!-- 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" />
@ -58,7 +44,6 @@
<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" />
@ -67,66 +52,45 @@
<command name="5" action="talk" params="mode=12|channel=5|text=+" ctrlchar="false" />
<command name="6" action="talk" params="mode=12|channel=6|text=+" ctrlchar="false" />
<command name="7" action="talk" params="mode=12|channel=7|text=+" ctrlchar="false" />
<command name="guild" action="enter_talk" params="mode=3" />
<command name="gu" action="enter_talk" params="mode=3" />
<command name="g" action="enter_talk" params="mode=3" />
<command name="guild" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="gu" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="g" action="talk" params="mode=3|text=+" ctrlchar="false" />
<command name="self" action="self_target" params="" />
<command name="target" action="target" params="entity=+" ctrlchar="false" />
<command name="tar" action="target" params="entity=+" ctrlchar="false" />
<command name="target_quiet" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="tarq" action="target" params="entity=+|quiet=true" ctrlchar="false" />
<command name="target" action="no_target" params="" />
<command name="tar" action="no_target" params="" />
<command name="lmtar" action="target_landmark" params="search=+" />
<command name="lmtar" action="set_compass_north" params="compass=ui:interface:compass" />
<command name="assist" action="assist_target" params="" />
<command name="as" action="assist_target" params="" />
<command name="assist" action="assist" params="entity=$" />
<command name="as" action="assist" params="entity=$" />
<command name="chat" action="swap_chat_mode" params="update_capture=1" />
<!-- NB: cannot put /c because of internal command) -->
<command name="guildinvite" action="command" params="a guildInvite $" />
<command name="invite" action="command" params="a teamInvite $" />
<command name="channel" action="command" params='a connectUserChannel "$"' />
<command name="channel" action="lua" params='game:connectUserChannel([[+]])' />
<command name="saveChannel" action="lua" params='game:saveChannel()' />
<command name="leaguekick" action="command" params="a leagueKick $" />
<command name="leaguequit" action="command" params="a setLeague" />
<command name="leagueinvite" action="command" params="a leagueInvite $" />
<command name="league" action="command" params='a setLeague "$"' />
<command name="resetname" action="command" params="a resetName" />
<command name="chatlog" action="command" params="chatLog" />
<command name="showonline" action="command" params="a showOnline $" />
<command name="showOnline" action="command" params="a showOnline $" />
<command name="loot" action="inv_temp_all" params="" />
<command name="setuiscale" action="set_ui_scale" params="scale=$" />
<command name="mapsearch" action="proc" params="map_search_show_set|+" />
<command name="mapsearch" action="proc" params="map_search_show" />
<!-- WebIG -->
<command name="go" action="browse" params="name=ui:interface:webig:content:html|url=home" />
<command name="webdev" action="browse" params="name=ui:interface:webig:content:html|url=http://localhost/index.html" />
</interface_config>

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

@ -1,64 +1,50 @@
<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" />
@ -67,66 +53,35 @@
</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="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" />
<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" />
<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="" />
<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_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"
@ -134,81 +89,45 @@
-->
<!-- 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" />
<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)" />
<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">
<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" />
@ -308,45 +227,23 @@
<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="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" />
@ -364,7 +261,6 @@
<!-- <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" />
@ -406,16 +302,11 @@
</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">
<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" />
@ -431,50 +322,27 @@
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" />
<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" />
<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="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" />
@ -489,32 +357,22 @@
<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="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" />
@ -526,10 +384,8 @@
<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" />
@ -540,7 +396,5 @@
<link expr="eq(@UI:VARIABLES:SERVERSTATE,6)" target="connection:content:server6:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,7)" target="connection:content:server7:active" />
<link expr="eq(@UI:VARIABLES:SERVERSTATE,8)" target="connection:content:server8:active" />
<lua file="compass.lua" />
</interface_config>

File diff suppressed because it is too large Load Diff

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

@ -1,114 +1,70 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="game_config.lua" />
<!-- ******************** -->
<!-- * UI COLOR & ALPHA * -->
<!-- ******************** -->
<!-- ********* -->
<!-- Templates -->
<!-- ********* -->
<!-- all container must be initialized with those templates to use data exchange -->
<style style="sgc_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal" />
<style style="sgc_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<!-- WIDGET TO CHOOSE A COLOR -->
<!-- the modal window (with the color picker) -->
<group type="modal" id="define_mcw_color" exit_click_out="true" posref="TR TR" w="276" h="110" global_color="false"
options="skin_modal" on_enter="lua" on_enter_params="game:mcwValidateColor()">
<group type="modal" id="define_mcw_color" exit_click_out="true" posref="TR TR" w="276" h="110" global_color="false" options="skin_modal" on_enter="lua" on_enter_params="game:mcwValidateColor()">
<view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="uiDefmcwCol" />
<view type="bitmap" id="pick_back" posref="MM MM" x="0" y="0" scale="true" color="0 0 0 255" w="260" h="68" texture="blank.tga" />
<ctrl type="colpick" id="pick" posref="MM MM" x="0" y="0" texture="color_palette.tga"
onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<ctrl type="colpick" id="pick2" posref="MM MM" x="0" y="0" texture="color_palette2.tga"
onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
ok_text="uittGCValid"
cancel_text="uittGCCancel"
onclick_ok="lua"
onclick_ok_param="game:mcwValidateColor()"
onclick_cancel="leave_modal"
onclick_cancel_param="" />
<ctrl type="colpick" id="pick" posref="MM MM" x="0" y="0" texture="color_palette.tga" onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<ctrl type="colpick" id="pick2" posref="MM MM" x="0" y="0" texture="color_palette2.tga" onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" ok_text="uittGCValid" cancel_text="uittGCCancel" onclick_ok="lua" onclick_ok_param="game:mcwValidateColor()" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- the 2 templates (one for each palette type) -->
<template name="tgcw_color" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false"
tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false"
onclick_l="lua" params_l="game:mcwChooseColor('#title',0)" tooltip="#tooltip" global_color_pushed="false" />
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false" tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false" onclick_l="lua" params_l="game:mcwChooseColor('#title',0)" tooltip="#tooltip" global_color_pushed="false" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<template name="tgcw_color2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false"
tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false"
onclick_l="lua" params_l="game:mcwChooseColor('#title',1)" tooltip="#tooltip" global_color_pushed="false" />
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false" tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false" onclick_l="lua" params_l="game:mcwChooseColor('#title',1)" tooltip="#tooltip" global_color_pushed="false" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<!-- WIDGET TO CHOOSE AN INTEGER FROM A SCROLL BAR -->
<template name="tgcw_scrollbarint" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="20">
<view type="bitmap" id="bk" posref="BL BL" scale="true" y="4" w="130" h="2" texture="W_line_hor2.tga" />
<view type="text" id="text" posparent="bk" posref="TL BL" x="0" y="1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8"
vertical="false" align="L" min="0" max="255" tracksize="8"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga"
onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<!-- The Scroll Result view-->
<view type="text" id="c_res" posparent="bk" posref="MR ML" x="8" y="1" color="255 255 255 192" fontsize="10" shadow="true" />
</group>
</template>
<!-- WIDGET TO CHOOSE A FLOAT FROM A SCROLL BAR -->
<template name="tgcw_scrollbarfloat" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="20">
<view type="bitmap" id="bk" posref="BL BL" scale="true" y="4" w="130" h="2" texture="W_line_hor2.tga" />
<view type="text" id="text" posparent="bk" posref="TL BL" x="0" y="1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8"
vertical="false" align="L" min="0" max="255" tracksize="8"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga"
onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<!-- The Scroll Result view-->
<view type="text" id="c_res" posparent="bk" posref="MR ML" x="8" y="1" color="255 255 255 192" fontsize="10" shadow="true" />
</group>
</template>
<!-- WIDGET TO CHOOSE A BOOLEAN FROM A CHECK BOX -->
<template name="tgcw_checkbox" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent" tooltip="">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="ddx_bool_button" tooltip="#tooltip" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="ddx_bool_button" tooltip="#tooltip" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="12" shadow="true" hardtext="#text" />
</group>
</template>
<template name="tgcw_checkbox2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="ddx_bool_button" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="ddx_bool_button" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-2" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<!-- WIDGET TO CHOOSE A DEFAULT SETUP -->
<template name="tgcw_combo_default" id="combo_default" posparent="parent" posref="TL TL" x="0" y="-18" value="">
<group id="#id" w="184" h="20" posparent="#posparent" posref="#posref" x="#x" y="#y">
@ -123,8 +79,6 @@
</group>
</group>
</template>
<!-- ************** -->
<!-- Main container -->
<!-- ************** -->
@ -138,7 +92,6 @@
<variable entry="UI:TEMP:TEXTURE_MODE" type="sint32" value="0" />
<variable entry="UI:TEMP:LANGUAGE" type="sint32" value="0" />
<variable entry="UI:TEMP:SCREEN_RATIO_MODE" type="sint32" value="0" />
<define id="game_config_screen_ratio_eb" value="ui:interface:game_config:content:general:screen_ratio:edit:eb" />
<define id="game_config_screen_ratio_cb" value="ui:interface:game_config:content:general:screen_ratio:combo" />
<define id="game_config_save_channel_cb" value="ui:interface:game_config:content:chat_colors:save_channel_cb:c" />
@ -150,61 +103,35 @@
<action handler="lua" params="game:configShowOne('explanation')" />
<action handler="lua" params="game:configInit()" />
</proc>
<proc id="game_config_uninit">
<!-- Yoyo: on close window, same than cancel! -->
<action handler="ddx_cancel" params="ui:interface:game_config:content:all" />
<action handler="game_config_cancel" params="" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GAME_CONFIG|value=0" />
</proc>
<proc id="game_config_ok">
<action handler="proc" params="game_config_apply" />
<action handler="set" params="target_property=ui:interface:game_config:active|value=0" />
</proc>
<proc id="game_config_apply">
<action handler="game_config_change_screen_ratio_custom" params="" />
<action handler="ddx_update" params="ui:interface:game_config:content:all" />
<action handler="game_config_apply" params="" />
</proc>
<proc id="game_config_cancel">
<action handler="ddx_cancel" params="ui:interface:game_config:content:all" />
<action handler="game_config_cancel" params="" />
<action handler="set" params="target_property=ui:interface:game_config:active|value=0" />
</proc>
<group type="container" id="game_config" w="432" h="400" title="uiGlobalSettingsTitle" 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_active="proc" on_active_params="game_config_init"
on_deactive="proc" on_deactive_params="game_config_uninit"
pop_min_w="430" pop_min_h="240" pop_max_w="800" pop_max_h="600"
>
<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="430" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<group type="container" id="game_config" w="432" h="400" title="uiGlobalSettingsTitle" 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_active="proc" on_active_params="game_config_init" on_deactive="proc" on_deactive_params="game_config_uninit" pop_min_w="430" pop_min_h="240" pop_max_w="800" pop_max_h="600">
<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="430" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<view type="text_number" id="fps" posref="MR MR" x="-20" y="-2" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:FPS" global_color="false" positive="true" />
<view type="text" id="fpstext" posref="MR MR" x="-40" y="-2" color="255 255 255 255" shadow="true" fontsize="10" global_color="false" positive="true" hardtext="uiFPS" />
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="sbtree" posref="TL TL" sizeref="w3h" x="0" w="-14" y="-4" h="-4">
<group id="tree_list" type="tree" posref="TL TL" x="14" y="0" col_over="255 255 255 48" col_select="255 255 255 80"
max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="0">
<group id="tree_list" type="tree" posref="TL TL" x="14" y="0" col_over="255 255 255 48" col_select="255 255 255 80" max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="0">
<node id="language" name="uigcLanguage" handler="lua" params="game:configShowOne('language')" fontsize="11" y_decal="-1" />
<node id="inter" name="uigcInterface" handler="" params="" fontsize="11" y_decal="-1">
<node id="hud" name="uigcHUD" handler="lua" params="game:configShowOne('hud')" fontsize="10" y_decal="-1" />
@ -222,12 +149,10 @@
<node id="landmarkco" name="uigcLandmarkColor" handler="lua" params="game:configShowOne('landmark_colors')" fontsize="10" y_decal="-1" />
<node id="help" name="uimHelp" handler="lua" params="game:configShowOne('help')" fontsize="10" y_decal="-1" />
</node>
<node id="input" name="uigcInput" handler="" params="" fontsize="11" y_decal="-1">
<node id="mou" name="uigcMouse" handler="lua" params="game:configShowOne('mouse')" fontsize="10" y_decal="-1" />
<node id="key" name="uigcKeyboard" handler="lua" params="game:configShowOne('keyb')" fontsize="10" y_decal="-1" />
</node>
<node id="graph" name="uigcGraph" handler="" params="" fontsize="11" y_decal="-1">
<node id="gen" name="uigcGeneral" handler="lua" params="game:configShowOne('general')" fontsize="10" y_decal="-1" />
<node id="lan" name="uigcLandscape" handler="lua" params="game:configShowOne('landscape')" fontsize="10" y_decal="-1" />
@ -235,44 +160,27 @@
<node id="fxs" name="uigcSpecialFX" handler="lua" params="game:configShowOne('fx')" fontsize="10" y_decal="-1" />
<node id="vr" name="uigcVR" handler="lua" params="game:configShowOne('vr')" fontsize="10" y_decal="-1" />
</node>
<node id="sound" name="uigcSound" handler="lua" params="game:configShowOne('sound')" fontsize="11" y_decal="-1" />
</group>
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
<!-- ok, apply, cancel -->
<ctrl style="text_button_16" id="cancel" posref="BR BR" y="1" wmargin="8" hardtext="uiGCCancel" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_cancel" />
<ctrl style="text_button_16" id="apply" posparent="cancel" posref="TL TR" x="-4" wmargin="8" hardtext="uiGCApply" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_apply" frozen="true" />
<ctrl style="text_button_16" id="ok" posparent="apply" posref="TL TR" x="-4" wmargin="8" hardtext="uiGCOk" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_ok" />
<!-- Tabs -->
<!-- *** -->
<group id="graph" posref="TR TR" x="0" y="-4" sizeref="w7h" w="-4" h="-24">
<instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
</group>
<group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" />
<!-- Explanation -->
<group id="explanation" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<group type="scroll_text" id="explanation_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="TL TL" x="0" y="0" min_height="160" max_height="160">
<group type="list" id="text_list" hardtext="uiCongifExplanation" shadow="true" fontsize="10" justification="justified" color="255 255 255 160" space="3"
global_color="true" posref="TL TL" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
<group type="list" id="text_list" hardtext="uiCongifExplanation" shadow="true" fontsize="10" justification="justified" color="255 255 255 160" space="3" global_color="true" posref="TL TL" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_explanation" align="T" target="explanation" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="general" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Color -->
@ -282,21 +190,15 @@
<instance template="tgcw_scrollbarfloat" id="lum" text="uiLuminosity" posref="BL TL" posparent="con" x="0" y="-2" />
<instance template="tgcw_scrollbarfloat" id="gam" text="uiGamma" posref="BL TL" posparent="lum" x="0" y="-2" />
<instance template="tgcw_scrollbarfloat" id="scale" text="uiInterfaceScale" posref="BL TL" posparent="gam" x="0" y="-2" />
<!-- window snap -->
<view style="sgc_title2" type="text" id="title_win_snap" posref="BL TL" x="-20" y="-28" hardtext="uiWindowSnap" posparent="scale" />
<instance template="tgcw_scrollbarint" id="window_snap_distance" text="uiWindowSnapDistance" posref="BL TL" posparent="title_win_snap" x="20" y="-2" />
<instance template="tgcw_checkbox" id="window_snap_invert" text="uiWindowSnapInvert" posparent="window_snap_distance" posref="BL TL" x="0" y="-2" />
<!-- wait vbl -->
<instance template="tgcw_checkbox" id="waitvbl" text="uiWaitVBL" posparent="window_snap_invert" posref="BL TL" x="-20" y="-28" />
<!-- Special case for video modes -->
<group id="fullscreen" posref="TR TR" x="-16" y="-30" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="game_config_change_vid_fullscreen" params_l="" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="game_config_change_vid_fullscreen" params_l="" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-2" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uiFullscreen" />
</group>
<group type="combo_box" id="video_modes" w="100" h="20" value="UI:TEMP:VID_MODE" posparent="fullscreen" posref="BL TL" x="0" y="-4">
@ -307,7 +209,6 @@
<instance template="combo_box_def1" />
</group>
<link expr="@UI:TEMP:VID_FREQ" action="game_config_change_vid_freq" />
<!-- Special case for texture modes -->
<group id="texture_mode" posparent="waitvbl" posref="BL TL" x="0" y="-12" w="240" h="20">
<view type="text" id="text" posref="ML ML" x="0" y="0" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uigcTextureMode" />
@ -316,17 +217,12 @@
</group>
<link expr="@UI:TEMP:TEXTURE_MODE" action="game_config_change_texture_mode" />
</group>
<!-- Special case for Screen Aspect Ratio -->
<!-- see game_config_screen_ratio_* defines -->
<group id="screen_ratio" posparent="texture_mode" posref="BL TL" x="0" y="-12" w="240" h="52">
<view type="text" id="text" posref="TL TL" x="0" y="-4" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uigcScreenRatio" />
<instance template="text_tt" posparent="text" tooltip="uigcttScreenRatio" />
<instance template="edit_box_widget" id="edit" posparent="text" posref="MR ML" x="4" y="0" text_x="0" text_ref="ML ML" w="60" prompt="" enter_loose_focus="true" multi_line="false"
onenter="game_config_change_screen_ratio_custom" enter_recover_focus="false" reset_focus_on_hide="true" max_historic="0" entry_type="positive_float" max_float_prec="5"
onchange="set"
onchange_params="target_property=ui:interface:game_config:content:apply:frozen|value=0"
/>
<instance template="edit_box_widget" id="edit" posparent="text" posref="MR ML" x="4" y="0" text_x="0" text_ref="ML ML" w="60" prompt="" enter_loose_focus="true" multi_line="false" onenter="game_config_change_screen_ratio_custom" enter_recover_focus="false" reset_focus_on_hide="true" max_historic="0" entry_type="positive_float" max_float_prec="5" onchange="set" onchange_params="target_property=ui:interface:game_config:content:apply:frozen|value=0" />
<group type="combo_box" id="combo" w="140" h="20" value="UI:TEMP:SCREEN_RATIO_MODE" posref="BL TL" posparent="text" x="40" y="-8">
<instance template="combo_box_def1" />
<combo_text name="uigcScreenRatio43" />
@ -336,13 +232,10 @@
</group>
<link expr="@UI:TEMP:SCREEN_RATIO_MODE" action="game_config_change_screen_ratio_mode" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_general" align="T" target="general" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="landscape" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="glan" posref="TM TM" x="0" y="0" hardtext="uiLandGeneral" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_LAND" />
<view style="sgc_title2" type="text" id="lan" posref="TL TL" x="0" y="-44" hardtext="uiLand" />
@ -354,10 +247,8 @@
<instance template="tgcw_scrollbarfloat" id="mvd" text="uiMicroVegetDensity" posparent="lmv" posref="BL TL" x="20" y="-2" />
</group>
<ctrl style="skin_scroll" id="sb_landscape" align="T" target="landscape" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="char" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="cpol" posref="TM TM" x="0" y="0" hardtext="uiCharPoly" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_CHAR" />
<view style="sgc_title2" type="text" id="model" posref="TL TL" x="0" y="-46" hardtext="uiCharModel" />
@ -367,10 +258,8 @@
<instance template="tgcw_checkbox" id="race_anim" text="uiEnableRacialAnimation" posparent="farclip" posref="BL TL" x="-20" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_char" align="T" target="char" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="fx" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="gfx" posref="TM TM" x="0" y="0" hardtext="uiFXGeneral" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_FX" />
<view style="sgc_title2" type="text" id="limit" posref="TL TL" x="0" y="-46" hardtext="uiFxLimitations" />
@ -389,18 +278,15 @@
</group>
<link expr="@UI:TEMP:ANISOTROPIC" action="game_config_change_anisotropic" />
</group>
<group id="bloom_gr" posparent="anisotropic_gr" sizeparent="parent" sizeref="w" h="100" posref="BL TL" x="0" y="-12"
tooltip="uiFxTooltipBloom" tooltip_parent="win">
<group id="bloom_gr" posparent="anisotropic_gr" sizeparent="parent" sizeref="w" h="100" posref="BL TL" x="0" y="-12" tooltip="uiFxTooltipBloom" tooltip_parent="win">
<instance template="tgcw_checkbox" id="bloom" text="uiFxBloom" posref="TL TL" x="0" y="0" />
<instance template="tgcw_checkbox" id="square_bloom" text="uiFxSquareBloom" posparent="bloom" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarfloat" id="density_bloom" text="uiFxDensityBloom" posparent="square_bloom" posref="BL TL" x="0" y="-2" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_fx" align="T" target="fx" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="hud" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Entities Names -->
<view style="sgc_title" type="text" id="en" posref="TM TM" x="0" y="0" hardtext="uiHud" />
<!--<instance template="tgcw_checkbox" id="suc" text="uiShowUnderCursor" posref="TL TL" x="0" y="-20" />
@ -420,11 +306,8 @@
<instance template="tgcw_checkbox" id="radar_use_camera" text="uiRadarUseCamera" tooltip="uittRadarUseCamera" posref="BL TL" posparent="show_reticle" x="0" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_hud" align="T" target="hud" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="language" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Language selector -->
<view style="sgc_title" type="text" id="en" posref="TM TM" x="0" y="0" hardtext="uigcLanguage" />
<group type="combo_box" id="languages" w="150" h="20" value="UI:TEMP:LANGUAGE" posref="TL TL" x="0" y="-20">
@ -476,11 +359,8 @@
<link expr="@UI:SAVE:TRANSLATION:REGION:DISABLE" target="disable_translation_region:c:pushed" />
</group>
<ctrl style="skin_scroll" id="sb_language" align="T" target="language" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="alpha_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Night and day colors -->
<view style="sgc_title" type="text" id="gcol" posref="TM TM" x="0" y="0" hardtext="uiGlobalColor" />
<view style="sgc_title2" type="text" id="gcol2" posref="TL TL" x="0" y="-20" hardtext="uiUIColor" />
@ -498,10 +378,8 @@
<instance template="tgcw_checkbox" id="show_3d_item_preview" text="uiShow3dItemPreview" tooltip="uittShow3dItemPreview" posref="BL TL" posparent="moa_speed" x="-20" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_alpha_colors" align="T" target="alpha_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="chat_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Chat colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiChatColors" />
<instance template="tgcw_color" id="cc_say" text="uiSayColor" title="uiCCDSay" tooltip="uittChooseSayColor" posref="TL TL" x="0" y="-20" />
@ -526,7 +404,6 @@
<instance template="tgcw_checkbox" id="show_online_offline_notifications_cb" text="uiShowOnlineOfflineNotifications" tooltip="uittShowOnlineOfflineNotifications" posparent="show_dyn_channel_name_in_chat_cb" posref="BL TL" x="0" y="-8" />
<instance template="tgcw_scrollbarint" id="font_size" text="uiFontSize" posref="BL TL" posparent="show_online_offline_notifications_cb" x="0" y="-8" />
<instance template="tgcw_checkbox" id="enter_dontquit_cb" text="uiEnterDontQuitCB" tooltip="uittChatEnter" posparent="font_size" posref="BL TL" x="0" y="-8" />
<link expr="@UI:SAVE:CHAT:ENTER_DONT_QUIT_CB" target="enter_dontquit_cb:c:pushed" />
<link expr="@UI:SAVE:CHAT:SAVE_CHANNEL" target="save_channel_cb:c:pushed" />
<link expr="@UI:SAVE:CHAT:AUTO_CHANNEL" target="auto_channel_cb:c:pushed" />
@ -535,42 +412,30 @@
<link expr="@UI:SAVE:CHAT:SHOW_ONLINE_OFFLINE_NOTIFICATIONS_CB" target="show_online_offline_notifications_cb:c:pushed" />
</group>
<ctrl style="skin_scroll" id="sb_chat_colors" align="T" target="chat_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="entity_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Entity colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiEntityColors" />
<instance template="tgcw_color" id="cc_user" text="uiUserColor" title="uiUserColor" tooltip="uittUserColor" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="cc_target" text="uiTargetColor" title="uiTargetColor" tooltip="uittTargetColor" posref="BL TL" posparent="cc_user" x="0" y="-4" />
<instance template="tgcw_color" id="cc_group" text="uiGroupColor" title="uiGroupColor" tooltip="uittGroupColor" posref="BL TL" posparent="cc_target" x="0" y="-16" />
<instance template="tgcw_color" id="cc_guild" text="uiGuildRadarColor" title="uiGuildRadarColor" tooltip="uittGuildRadarColor" posref="BL TL" posparent="cc_group" x="0" y="-4" />
<instance template="tgcw_color" id="cc_player" text="uiPlayerColor" title="uiPlayerColor" tooltip="uittPlayerColor" posref="BL TL" posparent="cc_guild" x="0" y="-4" />
<instance template="tgcw_color" id="cc_npc" text="uiNPCColor" title="uiNPCColor" tooltip="uittNPCColor" posref="BL TL" posparent="cc_player" x="0" y="-4" />
<instance template="tgcw_color" id="cc_fauna" text="uiFaunaColor" title="uiFaunaColor" tooltip="uittFaunaColor" posref="BL TL" posparent="cc_npc" x="0" y="-16" />
<instance template="tgcw_color" id="cc_mount" text="uiMountColor" title="uiMountColor" tooltip="uittMountColor" posref="BL TL" posparent="cc_fauna" x="0" y="-4" />
<instance template="tgcw_color" id="cc_beast" text="uiBeastColor" title="uiBeastColor" tooltip="uittBeastColor" posref="BL TL" posparent="cc_mount" x="0" y="-4" />
<instance template="tgcw_color" id="cc_source" text="uiSourceColor" title="uiSourceColor" tooltip="uittSourceColor" posref="BL TL" posparent="cc_beast" x="0" y="-16" />
<instance template="tgcw_color" id="cc_dead" text="uiDeadColor" title="uiDeadColor" tooltip="uittDeadColor" posref="BL TL" posparent="cc_source" x="0" y="-16" />
<instance template="tgcw_color" id="cc_pvpenemy" text="uiPvpEnemyColor" title="uiPvpEnemyColor" tooltip="uittPvpEnemyColor" posref="BL TL" posparent="cc_dead" x="0" y="-16" />
<instance template="tgcw_color" id="cc_pvpally" text="uiPvpAllyColor" title="uiPvpAllyColor" tooltip="uittPvpAllyColor" posref="BL TL" posparent="cc_pvpenemy" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpallyinteam" text="uiPvpAllyInTeamColor" title="uiPvpAllyInTeamColor" tooltip="uittPvpAllyInTeamColor" posref="BL TL" posparent="cc_pvpally" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpallyinguild" text="uiPvpAllyInGuildColor" title="uiPvpAllyInGuildColor" tooltip="uittPvpAllyInGuildColor" posref="BL TL" posparent="cc_pvpallyinteam" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpneutral" text="uiPvpNeutralColor" title="uiPvpNeutralColor" tooltip="uittPvpNeutralColor" posref="BL TL" posparent="cc_pvpallyinguild" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_entity_colors" align="T" target="entity_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_user" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene user colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiUserIS" />
<instance template="tgcw_checkbox" id="is_user_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -586,10 +451,8 @@
<instance template="tgcw_checkbox" id="is_user_pvp_logo" text="uiPvpLogo" tooltip="uittPvpLogo" posref="BL TL" posparent="is_user_action" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_user" align="T" target="in_scene_user" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_friend" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene friend colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiFriendIS" />
<instance template="tgcw_checkbox" id="is_friend_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -608,10 +471,8 @@
<instance template="tgcw_checkbox" id="is_friend_mission_mini_icon" text="uiMiniMissionIcon" tooltip="uittMiniMissionIcon" posref="BL TL" posparent="is_friend_mission_icon" x="16" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_friend" align="T" target="in_scene_friend" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_enemy" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene enemy colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiEnemyIS" />
<instance template="tgcw_checkbox" id="is_enemy_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -623,10 +484,8 @@
<instance template="tgcw_checkbox" id="is_ennemy_pvp_logo" text="uiPvpLogo" tooltip="uittPvpLogo" posref="BL TL" posparent="is_enemy_hp" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_enemy" align="T" target="in_scene_enemy" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_chat_messages" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene enemy colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiChatIS" />
<instance template="tgcw_checkbox" id="is_user_messages" text="uiUserMessages" tooltip="uittUserMessages" posref="TL TL" x="0" y="-20" />
@ -634,36 +493,25 @@
<instance template="tgcw_checkbox" id="is_enemy_messages" text="uiEnemyMessages" tooltip="uittEnemyMessages" posref="BL TL" posparent="is_friend_messages" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_chat_messages" align="T" target="in_scene_chat_messages" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="win_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- win colors -->
<view style="sgc_title" id="wcol" posref="TM TM" x="0" y="0" hardtext="uiWinColors" />
<instance template="tgcw_color" id="wc_pla" text="uiPlaColor" title="uiCCDPla" tooltip="uittChoosePlaColor" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="wc_inv" text="uiInvColor" title="uiCCDInv" tooltip="uittChooseInvColor" posref="BL TL" posparent="wc_pla" x="0" y="-4" />
<instance template="tgcw_color" id="wc_ani" text="uiAniColor" title="uiCCDAni" tooltip="uittChooseAniColor" posref="BL TL" posparent="wc_inv" x="0" y="-4" />
<instance template="tgcw_color" id="wc_help" text="uiHelColor" title="uiCCDHel" tooltip="uittChooseHelColor" posref="BL TL" posparent="wc_ani" x="0" y="-16" />
<instance template="tgcw_color" id="wc_infos" text="uiInfColor" title="uiCCDInf" tooltip="uittChooseInfColor" posref="BL TL" posparent="wc_help" x="0" y="-4" />
<instance template="tgcw_color" id="wc_opt" text="uiOptColor" title="uiCCDOpt" tooltip="uittChooseOptColor" posref="BL TL" posparent="wc_infos" x="0" y="-4" />
<instance template="tgcw_color" id="wc_mem" text="uiMemColor" title="uiCCDMem" tooltip="uittChooseMemColor" posref="TL TL" posparent="wc_opt" x="0" y="-16" />
<instance template="tgcw_color" id="wc_lab" text="uiLabColor" title="uiCCDLab" tooltip="uittChooseLabColor" posref="BL TL" posparent="wc_mem" x="0" y="-4" />
<instance template="tgcw_color" id="wc_com" text="uiComColor" title="uiCCDCom" tooltip="uittChooseComColor" posref="BL TL" posparent="wc_lab" x="0" y="-16" />
<instance template="tgcw_color" id="wc_trade" text="uiTraColor" title="uiCCDTra" tooltip="uittChooseTraColor" posref="BL TL" posparent="wc_com" x="0" y="-4" />
<instance template="tgcw_color" id="wc_bot" text="uiBotColor" title="uiCCDBot" tooltip="uittChooseBotColor" posref="BL TL" posparent="wc_trade" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_win_colors" align="T" target="win_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<group id="win_colors_r2" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" id="wcol" posref="TM TM" x="0" y="0" hardtext="uiR2WinColors" />
<instance template="tgcw_color" id="wc_r2_palette" text="uiR2Palette" title="uiCCDR2_palette" tooltip="uittR2_Palette" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="wc_r2_scenario" text="uiR2Scenario" title="uiCCDR2_scenario" tooltip="uittR2_Scenario" posparent="wc_r2_palette" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_prop_window" text="uiR2Prop_window" title="uiCCDR2_prop_window" tooltip="uittR2_Prop_window" posparent="wc_r2_scenario" posref="BL TL" x="0" y="-4" />
@ -677,16 +525,10 @@
<instance template="tgcw_color" id="wc_r2_session_browser" text="uiR2Session_browser" title="uiCCDR2_session_browser" tooltip="uittR2_Session_browser" posparent="wc_r2_connect" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_scenario_control" text="uiR2Scenario_control" title="uiCCDR2_scenario_control" tooltip="uittR2_Scenario_control" posparent="wc_r2_session_browser" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_player_tracking" text="uiR2Player_tracking" title="uiCCDR2_player_tracking" tooltip="uittR2_Player_tracking" posparent="wc_r2_scenario_control" posref="BL TL" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_win_colors_r2" align="T" target="win_colors_r2" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="mouse" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" id="mouseopt" posref="TM TM" x="0" y="0" hardtext="uiMouseOptions" />
<instance template="tgcw_checkbox" id="hard" text="uiMouseHardware" posref="TM TL" x="0" y="-35" />
<instance template="tgcw_checkbox" id="inverted" text="uiMouseInverted" posparent="hard" posref="BL TL" x="0" y="-2" />
@ -696,17 +538,13 @@
<instance template="tgcw_scrollbarint" id="dcspeed" text="uiDoubleClickSpeed" posparent="inter" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarfloat" id="curspeed" text="uiCursorSpeed" posparent="dcspeed" posref="BL TL" x="0" y="-2" />
<instance template="tgcw_scrollbarint" id="curaccel" text="uiCursorAccel" posparent="curspeed" posref="BL TL" x="0" y="-2" />
<view style="sgc_title2" type="text" id="head" posref="BL TL" hardtext="uiMouseHead" posparent="curaccel" x="-20" y="-12" />
<instance template="tgcw_scrollbarfloat" id="headspeed" text="uiHeadSpeed" posparent="head" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarint" id="headaccel" text="uiHeadAccel" posparent="headspeed" posref="BL TL" x="0" y="-2" />
</group>
<ctrl style="skin_scroll" id="sb_mouse" align="T" target="mouse" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="keyb" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" id="mouseopt" posref="TM TM" x="0" y="0" hardtext="uiKeybOptions" />
<view style="sgc_title2" type="text" id="cam" posref="TL TL" x="0" y="-20" hardtext="uiKeybCamera" />
<instance template="tgcw_scrollbarfloat" id="speedmax" text="uiKeybCamSpeedMax" posparent="cam" posref="BL TL" x="20" y="-2" />
@ -728,7 +566,6 @@
<ctrl style="skin_scroll" id="sb_vr" align="T" target="vr" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="sound" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="gen" posref="TM TM" x="0" y="0" hardtext="uiSoundGeneral" />
<instance template="tgcw_checkbox" id="enabler" text="uiSoundOnOff" posref="TL TL" x="0" y="-16" />
<instance template="tgcw_checkbox" id="useeax" text="uiUseEax" posref="BL TL" posparent="enabler" x="0" y="-12" />
@ -775,25 +612,20 @@
<instance template="tgcw_color" id="cc_preservative" text="uiLMPreservativeColor" title="uiCCDLMPreservative" tooltip="uittChooseLMPreservativeColor" posref="BL TL" posparent="cc_nocive" x="0" y="-4" />
<instance template="tgcw_color" id="cc_passage" text="uiLMPassageColor" title="uiCCDLMPassage" tooltip="uittChooseLMPassageColor" posref="BL TL" posparent="cc_preservative" x="-16" y="-16" />
<instance template="tgcw_color" id="cc_teleporter" text="uiLMTeleporterColor" title="uiCCDLMTeleporter" tooltip="uittChooseLMTeleporterColor" posref="BL TL" posparent="cc_passage" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_landmark_colors" align="T" target="landmark_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="help" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Entities Names -->
<view style="sgc_title" type="text" id="hen" posref="TM TM" x="0" y="0" hardtext="uiHelp" />
<instance template="tgcw_checkbox" id="context_help" text="uiShowContextHelp" posref="TL TL" x="0" y="-20" />
</group>
<ctrl style="skin_scroll" id="sb_help" align="T" target="help" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<!-- *** -->
<ddx id="all">
<!-- This ref to the apply button -->
<apply ui="apply" />
<param ui="general:con:c" type="cfg" realtime="true" widget="sbfloat" link="Contrast" />
<param ui="general:lum:c" type="cfg" realtime="true" widget="sbfloat" link="Luminosity" />
<param ui="general:gam:c" type="cfg" realtime="true" widget="sbfloat" link="Gamma" />
@ -806,12 +638,10 @@
<param ui="landscape:lth:c" type="cfg" widget="sbfloat" realtime="true" ui_view="landscape:lth:c_res" ui_decimal="4" link="LandscapeThreshold" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:lmv:c" type="cfg" widget="boolbut" realtime="true" link="MicroVeget" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:mvd:c" type="cfg" widget="sbfloat_round" realtime="end_scroll" ui_view="landscape:mvd:c_res" ui_unit="uigcUnitPercent" link="MicroVegetDensity" preset="UI:TEMP:PRESET_LAND" />
<param ui="char:maxpoly:c" type="cfg" widget="sbint" realtime="true" ui_view="char:maxpoly:c_res" link="SkinNbMaxPoly" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:maxnotclod:c" type="cfg" widget="sbint" realtime="true" ui_view="char:maxnotclod:c_res" ui_unit="uigcUnitChar" link="NbMaxSkeletonNotCLod" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:farclip:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="char:farclip:c_res" ui_unit="uigcUnitMeters" link="CharacterFarClip" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:race_anim:c" type="cfg" widget="boolbut" realtime="true" link="EnableRacialAnimation" />
<param ui="fx:maxpoly:c" type="cfg" widget="sbint" realtime="true" ui_view="fx:maxpoly:c_res" link="FxNbMaxPoly" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:cloud:c" type="cfg" widget="boolbut" realtime="true" link="Cloud" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:cqual:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="fx:cqual:c_res" link="CloudQuality" preset="UI:TEMP:PRESET_FX" />
@ -822,8 +652,6 @@
<param ui="fx:bloom_gr:bloom:c" type="cfg" widget="boolbut" realtime="true" link="Bloom" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:bloom_gr:square_bloom:c" type="cfg" widget="boolbut" realtime="true" link="SquareBloom" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:bloom_gr:density_bloom:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="fx:bloom_gr:density_bloom:c_res" link="DensityBloom" preset="UI:TEMP:PRESET_FX" />
<!--
<param ui="hud:suc:c" type="cfg" widget="boolbut" link="ShowNameUnderCursor" realtime="true"/>
<param ui="hud:sta:c" type="cfg" widget="boolbut" link="ShowNameSelected" realtime="true"/>
@ -890,7 +718,6 @@
<param ui="chat_colors:show_dyn_channel_name_in_chat_cb:c" type="db" widget="boolbut" link="UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB" realtime="true" />
<param ui="chat_colors:show_online_offline_notifications_cb:c" type="db" widget="boolbut" link="UI:SAVE:CHAT:SHOW_ONLINE_OFFLINE_NOTIFICATIONS_CB" realtime="true" />
<param ui="chat_colors:font_size:c" type="db" widget="sbint" link="UI:SAVE:CHAT:FONT_SIZE" min="9" max="20" realtime="true" />
<param ui="entity_colors:cc_user:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:USER" realtime="true" />
<param ui="entity_colors:cc_player:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PLAYER" realtime="true" />
<param ui="entity_colors:cc_npc:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:NPC" realtime="true" />
@ -907,7 +734,6 @@
<param ui="entity_colors:cc_pvpneutral:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPNEUTRAL" realtime="true" />
<param ui="entity_colors:cc_pvpallyinteam:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM" realtime="true" />
<param ui="entity_colors:cc_pvpallyinguild:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD" realtime="true" />
<param ui="in_scene_user:is_user_guild_symbol:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:GUILD_SYMBOL" realtime="true" />
<param ui="in_scene_user:is_user_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:NAME" realtime="true" />
<param ui="in_scene_user:is_user_title:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:TITLE" realtime="true" />
@ -919,7 +745,6 @@
<param ui="in_scene_user:is_user_focus:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:FOCUS" realtime="true" />
<param ui="in_scene_user:is_user_action:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:ACTION" realtime="true" />
<param ui="in_scene_user:is_user_pvp_logo:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:PVP_LOGO" realtime="true" />
<param ui="in_scene_friend:is_friend_guild_symbol:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL" realtime="true" />
<param ui="in_scene_friend:is_friend_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:NAME" realtime="true" />
<param ui="in_scene_friend:is_friend_title:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:TITLE" realtime="true" />
@ -941,11 +766,9 @@
<param ui="in_scene_enemy:is_enemy_guild_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:GUILD_NAME" realtime="true" />
<param ui="in_scene_enemy:is_enemy_hp:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:HP" realtime="true" />
<param ui="in_scene_enemy:is_ennemy_pvp_logo:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:PVP_LOGO" realtime="true" />
<param ui="in_scene_chat_messages:is_user_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:MESSAGES" realtime="true" />
<param ui="in_scene_chat_messages:is_friend_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:MESSAGES" realtime="true" />
<param ui="in_scene_chat_messages:is_enemy_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:MESSAGES" realtime="true" />
<param ui="win_colors:wc_pla:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:PLA" realtime="true" />
<param ui="win_colors:wc_ani:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:ANI" realtime="true" />
<param ui="win_colors:wc_com:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:COM" realtime="true" />
@ -957,7 +780,6 @@
<param ui="win_colors:wc_infos:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:INFOS" realtime="true" />
<param ui="win_colors:wc_trade:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:TRADE" realtime="true" />
<param ui="win_colors:wc_bot:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:BOT" realtime="true" />
<param ui="win_colors_r2:wc_r2_palette:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PALETTE" realtime="true" />
<param ui="win_colors_r2:wc_r2_scenario:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SCENARIO" realtime="true" />
<param ui="win_colors_r2:wc_r2_prop_window:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PROP_WINDOW" realtime="true" />
@ -971,8 +793,6 @@
<param ui="win_colors_r2:wc_r2_session_browser:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER" realtime="true" />
<param ui="win_colors_r2:wc_r2_scenario_control:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL" realtime="true" />
<param ui="win_colors_r2:wc_r2_player_tracking:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING" realtime="true" />
<param ui="mouse:hard:c" type="cfg" widget="boolbut" link="HardwareCursor" realtime="true" />
<param ui="mouse:inverted:c" type="cfg" widget="boolbut" link="FreeLookInverted" realtime="true" />
<param ui="mouse:dbl:c" type="cfg" widget="boolbut" link="DblClickMode" realtime="true" />
@ -982,10 +802,8 @@
<param ui="mouse:curaccel:c" type="cfg" widget="sbint" link="CursorAcceleration" realtime="true" />
<param ui="mouse:headspeed:c" type="cfg" widget="sbfloat" link="FreeLookSpeed" realtime="true" />
<param ui="mouse:headaccel:c" type="cfg" widget="sbint" link="FreeLookAcceleration" realtime="true" />
<param ui="keyb:speedmax:c" type="cfg" widget="sbfloat" link="RotKeySpeedMax" realtime="true" />
<param ui="keyb:speedmin:c" type="cfg" widget="sbfloat" link="RotKeySpeedMin" realtime="true" />
<param ui="sound:enabler:c" type="cfg" widget="boolbut" link="SoundOn" realtime="true" />
<param ui="sound:useeax:c" type="cfg" widget="boolbut" link="UseEax" realtime="true" />
<param ui="sound:forcesoftbuf:c" type="cfg" widget="boolbut" link="SoundForceSoftwareBuffer" realtime="true" />
@ -1023,18 +841,13 @@
<param ui="landmark_colors:cc_preservative:c" type="db" widget="colbut" link="UI:SAVE:LANDMARK:COLORS:PRESERVATIVE" realtime="true" />
<param ui="landmark_colors:cc_passage:c" type="db" widget="colbut" link="UI:SAVE:LANDMARK:COLORS:PASSAGE" realtime="true" />
<param ui="landmark_colors:cc_teleporter:c" type="db" widget="colbut" link="UI:SAVE:LANDMARK:COLORS:TELEPORTER" realtime="true" />
<param ui="help:context_help:c" type="db" widget="boolbut" link="UI:SAVE:ENTITY:CONTEXT_HELP" realtime="true" />
</ddx>
</group>
</group>
<tree node="game_config" />
<link expr="depends(@UI:SAVE:CONTENT_ALPHA)" action="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=min(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTAINER_ALPHA)" action="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=max(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTENT_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=min(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
<link expr="depends(@UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=max(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
</interface_config>

@ -1,28 +1,10 @@
<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"
>
<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" />
@ -38,7 +20,6 @@
<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" />
@ -46,7 +27,6 @@
<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" />
@ -56,7 +36,6 @@
<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" />
@ -70,24 +49,18 @@
<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" />
@ -104,26 +77,20 @@
<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="" >
@ -150,5 +117,4 @@
-->
<!--<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,32 +1,24 @@
<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 />
@ -41,217 +33,112 @@
<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">
<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="container" id="guild" title="uiGuildTitle" w="330" h="350" pop_max_h="700" resizer="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:MEM" openable="false" opened="true" movable="true" active="false" savable="false" on_active="proc" on_active_params="guild_proc_active" on_deactive="proc" on_deactive_params="guild_proc_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="100" h="48" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group type="tab" id="guild_select" child_resize_w="true" h="24" posref="TL TL" x="0" y="-24">
<ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:tab_guild" hardtext="uiGuildTabGuild" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=330" />
<ctrl style="tab_button_new" id="tab1" posparent="tab0" group="content:tab_outpost" hardtext="uiGuildTabOutpost" onclick_r="" params_r="" onclick_l="set" params_l="target='ui:interface:guild:w'|value=450" />
</group>
<view type="bitmap" id="sep" posparent="guild_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<group id="content" posref="TL TL" x="0" y="0" w="0" h="0" child_resize_h="true" child_resize_hmargin="4">
<group id="tab_guild" posref="TL TL" x="0" y="0" h="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="8">
<!-- LOGO & NAME -->
<ctrl type="sheet" id="blason" posref="TL TL" x="2" y="-8" nature="guild_flag" slot="false" value="SERVER:GUILD" dragable="false" color="255 255 255 255" />
<view type="text_id" id="name" posparent="blason" posref="TR TL" x="8" w="200" y="-2" h="20" shadow="true" global_color="false" fontsize="16" textid="SERVER:GUILD:NAME" dynamic_string="false" />
<!-- Age / Effectif -->
<view type="text_number" id="age" posparent="blason" posref="BR BL" x="8" y="0" fontsize="10" shadow="true" value="SERVER:GUILD:CREATION_DATE" positive="true" />
<view type="text" id="days" posparent="age" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoAge" />
<view type="text" id="sep" posparent="days" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="/" />
<view type="text" id="member_count" posparent="sep" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" value="" positive="true" />
<view type="text" id="members" posparent="member_count" posref="MR ML" x="2" y="0" fontsize="10" shadow="true" hardtext="uiGuildInfoEff" />
<!-- DESCRIPTION -->
<view type="text" id="desc_title" posparent="blason" shadow="true" posref="BL TL" x="0" y="-6" fontsize="12" hardtext="uiGuildInfoDes" global_color="false" case_mode="%case_upper" />
<view type="text_id" id="desc" posparent="desc_title" posref="BL TL" x="0" y="-2" shadow="true" fontsize="10" multi_line="true" multi_line_space="0" textid="SERVER:GUILD:DESCRIPTION" dynamic_string="false" />
<!-- HEADQUARTERS -->
<view type="text" id="head_title" posparent="desc" shadow="true" posref="BL TL" x="0" y="-4" fontsize="12" hardtext="uiGuildInfoHead" global_color="false" case_mode="%case_upper" />
<view type="text_id" id="head" posparent="head_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" hardtext="uiGuildInfoHead2" textid="SERVER:GUILD:VILLAGE" dynamic_string="true" />
<!--
<view type="text" id="fame_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoFame" global_color="false" case_mode="%case_upper" />
<view type="text_number" id="fame" posparent="fame_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:FAME" positive="false" />
-->
<!-- XP Score -->
<view type="text" id="XP_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoScore" global_color="false" case_mode="%case_upper" />
<view type="text_number" id="xp" posparent="XP_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:XP" positive="true" />
<!-- Money -->
<instance template="argent" id="money" tooltip="uittGuildMoney" posparent="XP_title" posref="BL TL" x="0" y="-4" w="130" h="16" value="SERVER:GUILD:INVENTORY:MONEY" />
<!-- MEMBERS LIST -->
<group id="list_member" posparent="money" posref="BL TL" x="0" y="-8" sizeparent="parent" sizeref="w" w="-8" h="208">
<view type="text" id="title" posref="TL TL" x="0" y="-5" fontsize="12" shadow="true" global_color="false" hardtext="uiGuildMembers" />
<view type="text" id="rank" posref="TL TL" x="170" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberRank" />
<view type="text" id="online" posref="TR TR" x="-10" y="-8" fontsize="10" shadow="true" global_color="false" hardtext="uiGuildMemberOnline" />
<group type="list" id="guild_members" posref="TL TL" x="12" y="-24" sizeref="h" h="-30" w="310" over="true" child_resize_hmargin="2"></group>
<ctrl style="skin_scroll" id="scroll_bar_guild" posref="TL TL" x="0" y="-24" target="guild_members" target_stepy="16" />
<group id="black" posref="TL TL" sizeparent="guild_members" x="0" y="2" sizeref="w" w="0" h="180" posparent="guild_members" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
</group>
<!-- QUIT GUILD BUTTON -->
<ctrl style="text_button_16" id="quit_guild" posparent="list_member" posref="BR TR" x="0" y="-6" hardtext="uiQuitGuild"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
global_color_normal="true" global_color_over="true" global_color_pushed="true"
onclick_l="context_quit_guild" params_l="" />
<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 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 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" />
@ -263,7 +150,6 @@
<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" />
@ -275,135 +161,51 @@
<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">
<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="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" />
<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" />
<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="" />
<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 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 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" />
<!-- ************** -->

@ -1,36 +1,19 @@
<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)" />
<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" />
@ -39,13 +22,11 @@
<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" />
@ -54,31 +35,19 @@
<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>
<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" />
<!--
@ -98,7 +67,6 @@
<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')" />
@ -111,7 +79,6 @@
<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'))" />
@ -124,108 +91,55 @@
<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>
<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">
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<view type="text" id="txt_tatoo" posparent="tatoogrp" posref="TM MM" x="0" y="-12" hardtext="uiCosmTatoo" color="255 255 255 255" global_color="false" fontsize="11" line_maxw="236" multi_line="false" multi_line_space="0" />
<link expr="depends(@UI:TEMP:HAIRCUT)" action="proc" params="proc_change_haircut" />
<link expr="depends(@UI:TEMP:CHAR3D:VPA:HATCOLOR)" action="proc" params="proc_change_haircolor" />
<link expr="depends(@UI:TEMP:CHAR3D:VPC:TATTOO)" action="proc" params="proc_change_tatoo" />
</group>
<tree node="cosmetics">
</tree>
<tree node="cosmetics"></tree>
</interface_config>

@ -1,10 +1,6 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- TRAP : Previous version. Now all is unified through the temp_inventory -->
<!--*************-->
<!--* LOOT *-->
<!--*************-->
@ -54,7 +50,6 @@
<!--****************-->
<!--* HARVEST *-->
<!--****************-->
<!--
<proc id="end_harvest_proc">
<action handler="end_harvest" params="harvest"/>

@ -100,9 +100,7 @@
</group>
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<link expr="and(@UI:VARIABLES:DEATH_WARNING_WANTED,
not(@UI:VARIABLES:DEATH_WARNING_DONE),
not(@UI:SAVE:DEATH_WARNING_AVOID))" target="ui:interface:death_warning:active" />
<link expr="and(@UI:VARIABLES:DEATH_WARNING_WANTED, not(@UI:VARIABLES:DEATH_WARNING_DONE), not(@UI:SAVE:DEATH_WARNING_AVOID))" target="ui:interface:death_warning:active" />
<tree node="death_warning"></tree>
<!--********************-->
<!--* Night Warning *-->
@ -127,9 +125,7 @@
</group>
</group>
<!-- If necessary, not already displayed this session, and not avoided by user, show the warning -->
<link expr="and(@UI:VARIABLES:NIGHT_WARNING_WANTED,
not(@UI:VARIABLES:NIGHT_WARNING_DONE),
not(@UI:SAVE:NIGHT_WARNING_AVOID))" target="ui:interface:night_warning:active" />
<link expr="and(@UI:VARIABLES:NIGHT_WARNING_WANTED, not(@UI:VARIABLES:NIGHT_WARNING_DONE), not(@UI:SAVE:NIGHT_WARNING_AVOID))" target="ui:interface:night_warning:active" />
<tree node="night_warning"></tree>
<!--********************-->
<!--* help_browser *-->
@ -170,8 +166,7 @@
<action handler="show" params="animal_global" />
</proc>
<group type="container" id="help_browser" w="410" h="400" title="uiHelp" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" resizer="true" pop_min_w="400" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="false" opened="true" movable="true" active="true">
<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_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="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<!-- 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:help_browser:content:html" frozen="true" />
@ -179,7 +174,6 @@
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="quick_help" id="html" posref="TL TL" posparent="parent" url="home" title_prefix="uiHelpTitle" sizeref="wh" x="184" y="0" w="-190" 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="1" multi_line_space_factor="0.25" td_begin_space="16" li_begin_space="4" ul_begin_space="12" li_indent="0" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" home="intro.html" browse_next_time="true" form_text_area_group="edit_box_widget_multiline" browse_tree="ui:interface:help_browser:content:sbtree:tree_list" browse_undo="ui:interface:help_browser:header_opened:browse_undo" browse_redo="ui:interface:help_browser:header_opened:browse_redo">
<group id="black" posref="BR BR" sizeref="hw" w="-12" 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" />
@ -226,10 +220,8 @@
</group>
<define id="cs_url" value="http://app.ryzom.com/ticket_system/index.php?mode=load" />
<group type="container" id="cs_browser" w="410" h="400" title="uiHelp" global_color="false" header_color="UI:SAVE:WIN:COLORS:HELP" resizer="true" pop_min_w="400" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" title_bar_open="false" open_button="false" force_open_out="true" lockable="true" openable="true" opened="true" movable="true" active="true">
<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" on_active="lua" on_active_params="help:closeCSBrowserHeader('cs_browser')">
</group>
<group id="header_opened" x="0" y="0" w="0" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" on_active="lua" on_active_params="help:openCSBrowserHeader('cs_browser')">
</group>
<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" on_active="lua" on_active_params="help:closeCSBrowserHeader('cs_browser')"></group>
<group id="header_opened" x="0" y="0" w="0" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" on_active="lua" on_active_params="help:openCSBrowserHeader('cs_browser')"></group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="cs_html" id="html" posref="TL TL" posparent="parent" url="home" title_prefix="uiHelpTitle" sizeref="wh" x="184" y="0" w="-190" 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" home="%cs_url" browse_next_time="true" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-12" h="-12" inherit_gc_alpha="true" />
@ -594,7 +586,6 @@
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<group type="html" id="admin_web_page" posref="TL TL" posparent="parent" url="home" title_prefix="uiHelp" sizeref="wh" x="6" y="0" w="-12" 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="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="1" multi_line_space_factor="0.25" td_begin_space="16" li_begin_space="4" ul_begin_space="12" li_indent="0" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="black2" home="" browse_next_time="true" timeout="0" form_text_area_group="edit_box_widget_multiline" browse_tree="" browse_undo="" browse_redo="" browse_refresh="ui:interface:r2ed_web_admin:header_opened:browse_refresh">
<group id="black" posref="BR BR" sizeref="hw" w="-12" 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" />

@ -1,43 +1,33 @@
<interface_config>
<!-- ************************** -->
<!-- * UI:INTERFACE Hierarchy * -->
<!-- ************************** -->
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<tree node="gestion_windows" />
<!-- ************************** -->
<!-- 1st List Menu : PLAYER -->
<tree node="player" />
<tree node="inventory" />
<tree node="temp_inventory" />
<tree node="gestionsets"/> <!-- hands -->
<tree node="gestionsets2"/> <!-- hands 2-->
<tree node="gestionsets" />
<!-- hands -->
<tree node="gestionsets2" />
<!-- hands 2-->
<tree node="team_share" />
<tree node="defense" />
<tree node="inv_equip" />
<tree node="inv_bag" />
<tree node="inv_guild" />
<tree node="inv_room" />
<!-- ************************** -->
<!-- 2nd List Menu : BEAST -->
<tree node="animal_global">
<!-- MAX_INVENTORY_ANIMAL -->
<tree node="userpa1" />
<tree node="userpa2" />
<tree node="userpa3" />
<tree node="userpa4" />
</tree>
<!-- ************************** -->
<!-- 3rd List Menu : LABS -->
<!-- combat tree node autogenerated (see combat.xml) -->
@ -59,15 +49,9 @@
<!--
<tree node="tracking"/>
-->
<tree node="compass" />
<!-- magic trees node autogenerated (see magic.xml) but magic_composition -->
<!-- <tree node="magic_composition"/> -->
<!-- ************************** -->
<!-- 4th List Menu : COMMUNICATION -->
<tree node="target" />
@ -82,33 +66,24 @@
<!-- friend_list node created in code -->
<!-- ignore_list node created in code -->
</tree>
<!--<tree node="emote">
<tree node="all_emotes" />
</tree>-->
<!-- ************************** -->
<!-- 5th List Menu : INFO PLAYER -->
<tree node="guild_forum" />
<tree node="mailbox" />
<tree node="webig" />
<tree node="info_player_journal" />
<!-- info_player_career tree node auto generated (see info_player.xml) -->
<!-- <tree node="info_player_characs" /> -->
<tree node="info_player_skills" />
<!-- info_player_brick tree node auto generated (see info_player.xml) -->
<tree node="fame" />
<!-- ************************** -->
<!-- 7th List Menu : OPTIONS -->
<tree node="game_config" />
<tree node="connection" />
<tree node="keys">
<tree node="keys_player" />
<tree node="keys_animals" />
@ -122,22 +97,11 @@
<tree node="keys_debug" />
</tree>
<!-- done with template teditcmd now <tree node="editkey" />-->
<tree node="macros" />
<tree node="new_macro" />
<!-- editcmd is now a template -->
<!-- ************************** -->
<!-- END OF List Menu -->
<!-- ************************** -->
<!-- Please put the node just after the group declaration. This way, the "loadui" reloading interface command works -->
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,5 +1,3 @@
<input_config>
<!-- List Of Combo Events that are used to Text Edition -->
<!-- mod means: 'c' or 's' or 'a' or a combination of them.
@ -12,7 +10,6 @@
'A' The combo is valid wether or not the Alt Key is pressed
-->
<combo_key_chat>
<!-- All Standard typing Keys. Valid also if Shift is pressed -->
<key id="Key0" mod="CSA" />
<key id="Key1" mod="CSA" />
@ -28,7 +25,8 @@
<key id="KeyB" mod="S" />
<key id="KeyC" mod="S" />
<key id="KeyD" mod="S" />
<key id="KeyE" mod="CSA" /> <!-- euro -->
<key id="KeyE" mod="CSA" />
<!-- euro -->
<key id="KeyF" mod="S" />
<key id="KeyG" mod="S" />
<key id="KeyH" mod="S" />
@ -50,13 +48,11 @@
<key id="KeyX" mod="S" />
<key id="KeyY" mod="S" />
<key id="KeyZ" mod="S" />
<!-- Formating -->
<key id="KeyRETURN" mod="" />
<key id="KeyCAPITAL" mod="" />
<key id="KeyESCAPE" mod="" />
<key id="KeySPACE" mod="" />
<!-- KeyPad -->
<key id="KeyNUMPAD0" mod="" />
<key id="KeyNUMPAD1" mod="" />
@ -75,7 +71,6 @@
<key id="KeyDECIMAL" mod="" />
<key id="KeyDIVIDE" mod="" />
<key id="KeyNUMLOCK" mod="" />
<!-- France. Extra Keys (comma etc...) -->
<key id="0xBA" mod="CSA" />
<key id="0xBB" mod="CSA" />
@ -89,7 +84,5 @@
<key id="0xDE" mod="CSA" />
<key id="0xDF" mod="CSA" />
<key id="0xE2" mod="CSA" />
</combo_key_chat>
</input_config>

@ -64,8 +64,7 @@
</template>
<!-- the Main Group -->
<group type="container" id="target" w="182" h="512" title="" min_w="182" max_w="182" min_h="56" max_h="82" resizer="false" global_color="false" global_color_over="true" movable="true" active="false" opened="true" openable="false" right_button="false" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:TARGET|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:TARGET|value=0" help_page="interf_target.html" header_active="false" title_delta_max_w="-44" title_over_extend_view_text="true">
<group id="header_closed" x="0" y="0" h="28" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group>
<group id="header_closed" x="0" y="0" h="28" 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="56" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<view type="text" id="target_title" posref="TL TL" x="0" y="-20" color="255 255 255 255" global_color="true" fontsize="11" shadow="true" hardtext="" line_maxw="135" over_extend_view_text="true" />
<!-- complex level display version -->
@ -83,7 +82,6 @@
<view type="bitmap" id="lock" posref="BR BR" posparent="slot_force" x="-5" y="-3" h="14" w="14" color="255 255 255 255" texture="w_win_lock.tga" global_color="false" render_layer="3" active="true" />
<ctrl type="tooltip" id="target_tooltip" tooltip="uittConsiderTargetNoSelection" color="0 0 0 255" posparent="slot_force" posref="MM MM" x="0" y="0" sizeref="wh" w="0" h="0" tooltip_parent="win" />
</group>
<group id="pvp_tags" x="10" y="-42" w="164" h="24" posref="TL TL">
<!-- new Jauges -->
<view type="bitmap" id="tag_1" posref="TL TL" x="2" y="0" texture="alpha_10.tga" global_color="false" inherit_gc_alpha="false" />
@ -93,14 +91,12 @@
<view type="bitmap" id="tag_4" posref="TR TL" posparent="tag_3" x="2" y="0" texture="alpha_10.tga" global_color="false" inherit_gc_alpha="false" />
<view type="bitmap" id="tag_6" posref="TR TL" posparent="tag_4" x="2" y="0" texture="alpha_10.tga" global_color="false" inherit_gc_alpha="false" />
</group>
<group id="content" x="0" y="-26" w="164" h="20" posref="TL TL">
<!-- new Jauges -->
<view type="bitmap" id="b_life" posref="TL TL" x="0" y="0" texture="slot_jauge.tga" inherit_gc_alpha="false" />
<instance template="jauge_score_target" id="jlife" posparent="b_life" posref="TL TL" color="214 56 7 255" text="uiHP" val="%target_hp" />
<instance template="text_tt" posparent="jlife" tooltip="uittTargetHp" tooltip_parent="win" />
</group>
<!-- when the level of the player change, we should update the consider widget, so add an observer to each of its skills -->
<link expr="depends(@SERVER:USER:SKILL_POINTS_0:VALUE)" action="lua" params="game:updateTargetConsiderUI()" />
<link expr="depends(@SERVER:USER:SKILL_POINTS_1:VALUE)" action="lua" params="game:updateTargetConsiderUI()" />
@ -143,7 +139,6 @@
</group>
</template>
<group type="modal" id="add_contact" 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_contact:add_contact_eb:eb|select_all=false">
<view type="text" id="text" posref="TL TL" x="8" y="-8" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="uiPeopleAddContact" />
<instance template="edit_box_widget" id="add_contact_eb" posref="TL TL" x="6" y="-24" child_resize_h="true" w="200" onenter="add_contact" max_num_bytes="255" entry_type="playername" />
<instance template="button_ok_cancel" posparent="add_contact_eb" posref="BR TR" x="0" y="0" onclick_ok="add_contact" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
@ -248,8 +243,7 @@
<!-- a template of a dynamic chat tab -->
<template name="temp_tab_dyn_chat" keep="true" nb="" id="" posparent="" posref="TR TL">
<ctrl style="tab_button_new" id="#id" group="content:cb:dyn_chat#nb" posparent="#posparent" posref="#posref" textid="SERVER:DYN_CHAT:CHANNEL#nb:NAME" dynamic_string="true" onclick_r="set" params_r="dblink=UI:SAVE:ISDETACHED:DYNAMIC_CHAT#nb|value=1" onclick_l="lua" params_l="game:chatWelcomeMsg(#nb)" />
<link expr="and(and(ne(@SERVER:DYN_CHAT:CHANNEL#nb:NAME,0), @UI:SAVE:ISENABLED:DYNAMIC_CHAT#nb),
not(@UI:SAVE:ISDETACHED:DYNAMIC_CHAT#nb))" target="#id:active" />
<link expr="and(and(ne(@SERVER:DYN_CHAT:CHANNEL#nb:NAME,0), @UI:SAVE:ISENABLED:DYNAMIC_CHAT#nb), not(@UI:SAVE:ISDETACHED:DYNAMIC_CHAT#nb))" target="#id:active" />
</template>
<!-- To know if a dynamic chat has been selected and which -->
<variable entry="UI:VARIABLES:MAIN_CHAT:WRITE_RIGHT" type="sint32" value="1" />
@ -283,40 +277,26 @@
<!-- Fixed number of dynamic chat allowed. force _firstpos and _nextpos to have correctly aligned tab-->
<vector template="temp_tab_dyn_chat" _size="%max_dyn_chan_per_player" id="tab_array0_$i" nb="$i" posparent="tab5" _firstpos="TR TL" _nextpos="TR TL" />
<!-- Show or hide tabs : a tab is visible if it is not filtered into the user chat AND not detached -->
<link expr="and(@UI:SAVE:ISENABLED:AROUND_ME,
not(@UI:SAVE:ISDETACHED:AROUND_ME))" target="tab0:active" />
<link expr="and(@UI:SAVE:ISENABLED:REGION_CHAT,
not(@UI:SAVE:ISDETACHED:REGION_CHAT))" target="tab1:active" />
<link expr="and(@UI:SAVE:ISENABLED:UNIVERSE_CHAT,
not(@UI:SAVE:ISDETACHED:UNIVERSE_CHAT))" target="tab6:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT),
not(@UI:SAVE:ISDETACHED:TEAM_CHAT))" target="tab2:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT),
not(@UI:SAVE:ISDETACHED:GUILD_CHAT))" target="tab3:active" />
<link expr="and(@UI:SAVE:ISENABLED:SYSTEM_INFO,
not(@UI:SAVE:ISDETACHED:SYSTEM_INFO))" target="tab4:active" />
<link expr="and(@UI:SAVE:ISENABLED:AROUND_ME, not(@UI:SAVE:ISDETACHED:AROUND_ME))" target="tab0:active" />
<link expr="and(@UI:SAVE:ISENABLED:REGION_CHAT, not(@UI:SAVE:ISDETACHED:REGION_CHAT))" target="tab1:active" />
<link expr="and(@UI:SAVE:ISENABLED:UNIVERSE_CHAT, not(@UI:SAVE:ISDETACHED:UNIVERSE_CHAT))" target="tab6:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT), not(@UI:SAVE:ISDETACHED:TEAM_CHAT))" target="tab2:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT), not(@UI:SAVE:ISDETACHED:GUILD_CHAT))" target="tab3:active" />
<link expr="and(@UI:SAVE:ISENABLED:SYSTEM_INFO, not(@UI:SAVE:ISDETACHED:SYSTEM_INFO))" target="tab4:active" />
<link expr="not(@UI:SAVE:ISDETACHED:USER_CHAT)" target="tab5:active" />
<!-- Show individual chat windows if needed -->
<link expr="and (@UI:SAVE:ISENABLED:AROUND_ME,
@UI:SAVE:ISDETACHED:AROUND_ME)" target="ui:interface:around_me:active" />
<link expr="and (@UI:SAVE:ISENABLED:REGION_CHAT,
@UI:SAVE:ISDETACHED:REGION_CHAT)" target="ui:interface:region_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:UNIVERSE_CHAT,
@UI:SAVE:ISDETACHED:UNIVERSE_CHAT)" target="ui:interface:universe_chat:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT),
@UI:SAVE:ISDETACHED:TEAM_CHAT)" target="ui:interface:team_chat:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT),
@UI:SAVE:ISDETACHED:GUILD_CHAT)" target="ui:interface:guild_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:SYSTEM_INFO,
@UI:SAVE:ISDETACHED:SYSTEM_INFO)" target="ui:interface:system_info:active" />
<link expr="and (@UI:SAVE:ISENABLED:AROUND_ME, @UI:SAVE:ISDETACHED:AROUND_ME)" target="ui:interface:around_me:active" />
<link expr="and (@UI:SAVE:ISENABLED:REGION_CHAT, @UI:SAVE:ISDETACHED:REGION_CHAT)" target="ui:interface:region_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:UNIVERSE_CHAT, @UI:SAVE:ISDETACHED:UNIVERSE_CHAT)" target="ui:interface:universe_chat:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT), @UI:SAVE:ISDETACHED:TEAM_CHAT)" target="ui:interface:team_chat:active" />
<link expr="and (and(%is_guild_present,@UI:SAVE:ISENABLED:GUILD_CHAT), @UI:SAVE:ISDETACHED:GUILD_CHAT)" target="ui:interface:guild_chat:active" />
<link expr="and (@UI:SAVE:ISENABLED:SYSTEM_INFO, @UI:SAVE:ISDETACHED:SYSTEM_INFO)" target="ui:interface:system_info:active" />
<link expr="@UI:SAVE:ISDETACHED:USER_CHAT" target="ui:interface:user_chat:active" />
</group>
<view type="bitmap" id="sep" posparent="channel_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<!-- scroll target element will be set from c++ code: it does not exist on template build time -->
<ctrl type="scroll" id="channel_scroll" vertical="false" align="L" y="-1" h="4" scale="true" posref="BL TL" posparent="header_opened" tx_bottomleft="skin_scroll_l.tga" tx_middle="skin_scroll_h.tga" tx_topright="skin_scroll_r.tga" target="" />
<group id="content" x="0" y="0" h="100" posref="TL TL">
<group id="cb" posref="TL TL" sizeref="wh" y="-4" w="0" h="-32">
<instance template="chat_box_mainchat" id="around" posref="TL TL" sizeref="wh" y="0" w="0" h="0" />
@ -477,9 +457,7 @@
<!-- links to display the name of the team mate -->
<link expr="depends(@SERVER:GROUP:#team_mate_index:NAME)" action="set_server_id" params="value=@SERVER:GROUP:#team_mate_index:NAME|target=title|remove_title=1" />
<!-- links to change the name color if it is the target -->
<link expr="ifthenelse(eq(@SERVER:GROUP:#team_mate_index:UID,@UI:VARIABLES:TARGET:UID),
'255 0 0 255',
'255 255 255 255')" target="title_color" />
<link expr="ifthenelse(eq(@SERVER:GROUP:#team_mate_index:UID,@UI:VARIABLES:TARGET:UID), '255 0 0 255', '255 255 255 255')" target="title_color" />
<!-- links to Open a Quick Help when a new team member comes. Only if the team_list window is not opeded -->
<link expr="depends(@SERVER:GROUP:#team_mate_index:PRESENT)" action="context_help_html" params="team_list" cond="and(@SERVER:GROUP:#team_mate_index:PRESENT,eq(@UI:VARIABLES:ISACTIVE:TEAM_LIST,0))" />
</group>
@ -518,8 +496,7 @@
<!-- when you want to directly chat with a friend -->
<template name="contact_chat_friend" keep="true" posparent="parent" w="256" h="64" title="">
<group type="container" id="#id" x="64" y="128" w="#w" h="64" posparent="#posparent" title="#title" resizer="true" openable="true" opened="true" popable="false" movable="true" pop_min_w="216" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" header_color="UI:SAVE:WIN:COLORS:COM" global_color="false" global_color_over="true">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" on_active="lua" on_active_params="game:closeTellHeader('#id')">
</group>
<group id="header_closed" x="0" y="0" h="12" posref="TL TL" on_active="lua" on_active_params="game:closeTellHeader('#id')"></group>
<group id="header_opened" x="0" y="0" w="160" h="16" posref="TL TL" on_active="lua" on_active_params="game:openTellHeader('#id')">
<ctrl style="button_ok" id="ignore" active="true" x="-16" y="0" posref="MR MR" posparent="parent" text_y="0" onclick_l="lua" params_l="validMessageBox(i18n.get('uiAddTellerToIgnoreListWarning'), 'add_teller_to_ignore_list', 'id=ui:interface:#id', '', '' ,'ui:interface')" hardtext="uiAddTellerToIgnoreList" fontsize="10" tooltip="uiAddTellerToIgnoreListTooltip" tooltip_parent="win" />
<ctrl style="button_ok" id="new_friend" active="true" x="-2" y="0" posref="ML MR" posparent="ignore" text_y="0" onclick_l="add_teller_to_friend_list" params_l="" hardtext="uiAddTellerToFriends" fontsize="10" tooltip="uiAddTellerToFriendsToolip" tooltip_parent="win" />
@ -590,10 +567,8 @@
</group>
<template name="around_me_id" keep="true" posparent="parent" w="256" h="64" title="">
<group type="container" id="#id" w="#w" posparent="#posparent" title="#title" openable="false" popable="false" open_when_popup="true" pop_min_w="216" pop_min_h="96" pop_max_w="2000" pop_max_h="1600" header_color="UI:SAVE:WIN:COLORS:COM" global_color="false" global_color_over="true" lockable="true">
<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_chat_box_menu_with_eb_toggle">
</group>
<group id="header_opened" x="0" y="0" w="160" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_chat_box_menu_with_eb_toggle">
</group>
<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_chat_box_menu_with_eb_toggle"></group>
<group id="header_opened" x="0" y="0" w="160" h="13" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_chat_box_menu_with_eb_toggle"></group>
<group id="content" x="0" y="0" h="100" posref="TL TL">
<instance template="chat_box" id="cb" posref="TR TR" sizeref="wh" y="-8" w="0" h="-100" />
<!-- display of filters -->
@ -1049,8 +1024,7 @@
<link expr="not(%canWriteToDynChat)" target="cant_write_ebw:active" />
</group>
<!-- Show this window if popuped and present -->
<link expr="and(and(@UI:SAVE:ISENABLED:DYNAMIC_CHAT#dyn_chat_nb, ne(@SERVER:DYN_CHAT:CHANNEL#dyn_chat_nb:NAME,0)),
@UI:SAVE:ISDETACHED:DYNAMIC_CHAT#dyn_chat_nb)" target="active" />
<link expr="and(and(@UI:SAVE:ISENABLED:DYNAMIC_CHAT#dyn_chat_nb, ne(@SERVER:DYN_CHAT:CHANNEL#dyn_chat_nb:NAME,0)), @UI:SAVE:ISDETACHED:DYNAMIC_CHAT#dyn_chat_nb)" target="active" />
</group>
</template>
<!-- those proc have the index in db of the dyn_chat, in parameter @0 -->
@ -1058,13 +1032,11 @@
<!-- The window is closed by the user, change the associated DB flag -->
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:DYNAMIC_CHAT@0|value=0" />
</proc>
<!-- there seems to be no way to pass url to menu, use lua script for middleman -->
<group type="menu" id="chat_uri_action_menu" extends="base_menu">
<action id="copy" name="uiCopy" handler="lua" params="game:chatUrlCopy()" />
<action id="openig" name="uiBrowse" handler="lua" params="game:chatUrlBrowse()" />
</group>
<group type="menu" id="chat_copy_action_menu" extends="base_menu">
<action id="copy" name="uiCopy" handler="copy_chat" params="from_modal" />
</group>

File diff suppressed because it is too large Load Diff

@ -5,12 +5,10 @@
<!-- ***************************
-->
<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" />
@ -57,7 +55,6 @@
<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" />
@ -220,7 +217,6 @@
<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" />
@ -271,7 +267,6 @@
<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" />
@ -279,14 +274,11 @@
<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" />
@ -312,18 +304,11 @@
<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>

@ -5,12 +5,10 @@
<!-- ***************************
-->
<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" />
@ -55,7 +53,6 @@
<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" />
@ -198,7 +195,6 @@
<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" />
@ -249,21 +245,17 @@
<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" />
@ -288,18 +280,11 @@
<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>

@ -5,12 +5,10 @@
<!-- ***************************
-->
<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" />
@ -55,7 +53,6 @@
<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" />
@ -198,7 +195,6 @@
<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" />
@ -249,21 +245,17 @@
<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" />
@ -288,18 +280,11 @@
<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>

@ -5,12 +5,10 @@
<!-- ***************************
-->
<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" />
@ -35,9 +33,7 @@
<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" />
@ -119,7 +115,6 @@
<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" />
@ -161,18 +156,13 @@
<!-- 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
-->
<!--
@ -201,12 +191,9 @@
<!--
<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" />
@ -214,7 +201,6 @@
<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" />
@ -224,13 +210,7 @@
<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>

@ -5,12 +5,10 @@
<!-- ***************************
-->
<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" />
@ -35,9 +33,7 @@
<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" />
@ -119,7 +115,6 @@
<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" />
@ -161,18 +156,13 @@
<!-- 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
-->
<!--
@ -200,13 +190,9 @@
<!--
<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" />
@ -214,7 +200,6 @@
<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" />
@ -223,13 +208,7 @@
<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>

@ -5,12 +5,10 @@
<!-- ***************************
-->
<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" />
@ -35,9 +33,7 @@
<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" />
@ -119,7 +115,6 @@
<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" />
@ -161,18 +156,13 @@
<!-- 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
-->
<!--
@ -201,12 +191,9 @@
<!--
<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" />
@ -214,7 +201,6 @@
<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" />
@ -224,13 +210,7 @@
<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>

@ -5,12 +5,10 @@
<!-- ***************************
-->
<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" />
@ -35,9 +33,7 @@
<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" />
@ -119,7 +115,6 @@
<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" />
@ -161,18 +156,13 @@
<!-- 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
-->
<!--
@ -200,13 +190,9 @@
<!--
<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" />
@ -214,7 +200,6 @@
<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" />
@ -223,13 +208,7 @@
<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,9 +1,7 @@
<!-- ************************** -->
<!-- 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" />
@ -30,5 +28,4 @@
<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>

@ -1,33 +1,20 @@
<interface_config>
<root id="login" x="0" y="0" w="800" h="600" active="true" />
<!-- UI:VARIABLES:SCREEN = -1 not on any window or checking password
0 on checkpass window
1 on sharddisp window
-->
<variable entry="UI:VARIABLES:SCREEN" type="sint32" value="-1" />
<variable entry="UI:VARIABLES:DISPLAY_ACCOUNT_BUTTONS" type="sint32" value="-1" />
<proc id="top_center">
<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:login:w'),getprop('@0:w')),2)" />
<action handler="set" params="target='@0:y'|value=getprop('ui:login:h')" />
</proc>
<!-- **************************** -->
<!-- * CHECK LOGIN AND PASSWORD * -->
<!-- **************************** -->
<group id="checkpass" posref="MM MM" w="1024" h="768" active="false"
on_active="init_res_lod" on_deactive="uninit_res_lod" >
<group id="checkpass" posref="MM MM" w="1024" h="768" active="false" on_active="init_res_lod" on_deactive="uninit_res_lod">
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-1" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="1024" h="768" color="0 0 0 0" />
@ -37,23 +24,11 @@
<!--
<view type="bitmap" id="jena" posparent="window" posref="MR MR" x="-64" texture="log_jena.tga" global_color="false" render_layer="-1" />
-->
<!-- Login Edit_Boxes -->
<view type="text" id="txt_log" x="0" posref="TM TM" posparent="window" hardtext="uiLogin" fontsize="10" y="-200" color="255 255 255 255" />
<view type="text" id="txt_pas" posparent="txt_log" posref="TM TM" hardtext="uiPassword" fontsize="10" y="-48" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4"
text_ref="BM BM" text_y="0"
reset_focus_on_hide="false" max_historic="0"
onenter="set_keyboard_focus" params="target=ui:login:checkpass:content:submit_gr:eb_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4"
text_ref="BM BM" text_y="0"
reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="on_login" params=""
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="60" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4" text_ref="BM BM" text_y="0" reset_focus_on_hide="false" max_historic="0" onenter="set_keyboard_focus" params="target=ui:login:checkpass:content:submit_gr:eb_password:eb|select_all=false" prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4" text_ref="BM BM" text_y="0" reset_focus_on_hide="false" max_historic="0" entry_type="password" onenter="on_login" params="" prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="60" color="135 243 28 255" />
<!--
<view type="text" id="tit_login" posparent="log" posref="TL BL" hardtext="uiLogin" fontsize="24" x="62" y="-166" color="208 212 182 255" />
@ -71,9 +46,7 @@
onenter="on_login" params=""
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
-->
<ctrl style="log_std_but" id="but_log" posparent="eb_password" posref="TM TM" y="-32" onclick_l="on_login" hardtext="uiOnConnect" />
<!--
<ctrl type="button" button_type="push_button" id="but_log" posref="BR BR" x="-304" y="157"
tx_normal="log_over.tga" tx_over="log_over.tga" tx_pushed="log_over.tga"
@ -82,34 +55,23 @@
<view type="text" id="txt_log" posparent="but_log" posref="MM MM" hardtext="uiOnLogin" shadow="true" fontsize="16" y="0" color="208 212 182 255" />
-->
<!-- Boxes Web Shortcuts
<instance template="server_box" id="web_win" posparent="eb_login" posref="BL TL" w="568" h="202" y="-24" /> -->
<!-- Create Account -->
<ctrl style="log_std_but" id="but_create_account" posparent="but_log" posref="BM TM" y="-28"
onclick_l="open_url" params_l="cfg_CreateAccountURL" hardtext="uiCreateAccount" />
<ctrl style="log_std_but" id="but_create_account" posparent="but_log" posref="BM TM" y="-28" onclick_l="open_url" params_l="cfg_CreateAccountURL" hardtext="uiCreateAccount" />
<!-- Edit Account -->
<ctrl style="log_std_but" id="but_edit_account" posparent="but_create_account" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiEditAccount" />
<ctrl style="log_std_but" id="but_edit_account" posparent="but_create_account" posref="BM TM" y="-8" onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiEditAccount" />
<!-- Upgrade Account -->
<!-- <ctrl style="log_std_but" id="but_upgrade_account" posparent="but_create_account" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiUpgradeAccount" /> -->
<!-- Forget Password -->
<ctrl style="log_std_but" id="but_forget_pwd" posparent="but_edit_account" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_ForgetPwdURL" hardtext="uiForgetPwd" />
<ctrl style="log_std_but" id="but_forget_pwd" posparent="but_edit_account" posref="BM TM" y="-8" onclick_l="open_url" params_l="cfg_ForgetPwdURL" hardtext="uiForgetPwd" />
<!-- Free Trial
<ctrl style="log_spe_but" id="but_free_trial" posparent="but_forget_pwd" posref="BL TL" y="-8"
onclick_l="open_url" params_l="cfg_FreeTrialURL" hardtext="uiFreeTrial" />
-->
<!-- Login Support -->
<ctrl style="log_std_but" id="but_login_support" posparent="but_forget_pwd" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_LoginSupportURL" hardtext="uiLoginSupport" />
<ctrl style="log_std_but" id="but_login_support" posparent="but_forget_pwd" posref="BM TM" y="-8" onclick_l="open_url" params_l="cfg_LoginSupportURL" hardtext="uiLoginSupport" />
<!-- Scan Data -->
<!--
<ctrl style="log_spe_but" id="but_scan_data" posparent="but_login_support" posref="BL TL" y="-8"
@ -123,14 +85,7 @@
but_login_support:active,
but_scan_data:active" />
-->
<link expr="@UI:VARIABLES:DISPLAY_ACCOUNT_BUTTONS" target=" but_create_account:active,
but_upgrade_account:active,
but_forget_pwd:active,
but_game_configuration:active,
but_edit_account:active,
but_login_support:active" />
<link expr="@UI:VARIABLES:DISPLAY_ACCOUNT_BUTTONS" target="but_create_account:active, but_upgrade_account:active, but_forget_pwd:active, but_game_configuration:active, but_edit_account:active, but_login_support:active" />
<!-- RESOLUTION ET LEVEL OF DETAILS -->
<instance template="server_box" id="res_win" posparent="window" posref="TL TL" w="276" h="24" y="-733" x="10" />
<instance template="server_box" id="lod_win" posparent="res_win" posref="TR TL" w="276" h="24" x="16" />
@ -149,252 +104,116 @@
<view type="text" id="title_res" posparent="res_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGResolution" />
<view type="text" id="title_lod" posparent="lod_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGLod" />
<view type="text" id="title_ver" posparent="ver_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiClientVersion" />
<view type="text" id="res_value" posparent="res_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiResValue" />
<view type="text" id="lod_value" posparent="lod_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiLodValue" />
<view type="text" id="ver_value" posparent="ver_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="" />
<!-- Boutons Res -->
<ctrl type="button" button_type="push_button" id="less_res_but" posparent="res_win" posref="ML ML" x="8" y="0"
tx_normal="but_left.tga" tx_pushed="but_left.tga" tx_over="but_left.tga"
color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255"
onclick_l="less_res" params_l="" />
<ctrl type="button" button_type="push_button" id="more_res_but" posparent="res_win" posref="MR MR" x="-8" y="0"
tx_normal="but_right.tga" tx_pushed="but_right.tga" tx_over="but_right.tga"
color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255"
onclick_l="more_res" params_l="" />
<ctrl type="button" button_type="push_button" id="less_res_but" posparent="res_win" posref="ML ML" x="8" y="0" tx_normal="but_left.tga" tx_pushed="but_left.tga" tx_over="but_left.tga" color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255" onclick_l="less_res" params_l="" />
<ctrl type="button" button_type="push_button" id="more_res_but" posparent="res_win" posref="MR MR" x="-8" y="0" tx_normal="but_right.tga" tx_pushed="but_right.tga" tx_over="but_right.tga" color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255" onclick_l="more_res" params_l="" />
<!-- Boutons LoD -->
<ctrl type="button" button_type="push_button" id="less_lod_but" posparent="lod_win" posref="ML ML" x="8" y="0"
tx_normal="but_left.tga" tx_pushed="but_left.tga" tx_over="but_left.tga"
color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255"
onclick_l="less_lod" params_l="" />
<ctrl type="button" button_type="push_button" id="more_lod_but" posparent="lod_win" posref="MR MR" x="-8" y="0"
tx_normal="but_right.tga" tx_pushed="but_right.tga" tx_over="but_right.tga"
color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255"
onclick_l="more_lod" params_l="" />
<ctrl type="button" button_type="push_button" id="less_lod_but" posparent="lod_win" posref="ML ML" x="8" y="0" tx_normal="but_left.tga" tx_pushed="but_left.tga" tx_over="but_left.tga" color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255" onclick_l="less_lod" params_l="" />
<ctrl type="button" button_type="push_button" id="more_lod_but" posparent="lod_win" posref="MR MR" x="-8" y="0" tx_normal="but_right.tga" tx_pushed="but_right.tga" tx_over="but_right.tga" color="135 243 28 128" col_over="135 243 28 255" col_pushed="135 243 28 255" onclick_l="more_lod" params_l="" />
</group>
</group>
<!-- ****************** -->
<!-- * DISPLAY SHARDS * -->
<!-- ****************** -->
<proc id="shard_click_rn">
<action handler="enter_modal" params="group=ui:login:release_note_modal" />
<action handler="set_release_note" params="@0|@1" />
</proc>
<template name="t_shard" id="" posref="TL TL" posparent="parent" keep="true">
<group id="#id" sizeparent="parent" sizeref="w" w="0" h="22" x="0" y="0" posref="#posref" posparent="#posparent">
<view type="text" id="name" x="0" posref="BL BL" fontsize="12" y="1" color="135 243 28 255" shadow="true" />
<view type="text" id="online" x="372" posref="BL BM" fontsize="10" y="1" hardtext="uiOnline" color="135 243 28 255" shadow="true" />
<view type="text" id="offline" x="372" posref="BL BM" fontsize="10" y="1" hardtext="uiOffline" color="135 243 28 255" shadow="true" />
<view type="text" id="version" x="452" posref="BL BM" fontsize="10" y="1" color="135 243 28 255" shadow="true" />
<ctrl style="server_note" id="note" posref="ML MM" x="540" onclick_l="proc" params_l="shard_click_rn|shard=#id|group=ui:login:release_note_modal:html" hardtext="uiReleaseNote" />
<ctrl type="button" button_type="toggle_button" id="but" sizeref="h" h="0" w="492" scale="true" posref="TL TL"
texture="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="75 144 29 192" col_over="96 117 24 128"
onclick_l="shard_select" params_l="" />
<ctrl type="button" button_type="toggle_button" id="but" sizeref="h" h="0" w="492" scale="true" posref="TL TL" texture="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="75 144 29 192" col_over="96 117 24 128" onclick_l="shard_select" params_l="" />
</group>
</template>
<group id="sharddisp" posref="MM MM" w="1024" h="768" active="false" on_enter="login_connect">
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<view type="bitmap" id="kami" posparent="window" posref="TR TR" x="-50" y="-24" texture="log_kami.tga" global_color="false" render_layer="-1" />
<!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- SERVER SELECTION -->
<instance template="server_box" id="server_win" posparent="window" posref="ML ML" w="612" h="338" x="8" y="0" />
<group id="shard_list" posparent="server_win" posref="TM TM" y="-4" w="604" child_resize_h="true" max_sizeparent="parent" max_sizeref="w" max_w="-18" max_h="330" >
</group>
<group id="shard_list" posparent="server_win" posref="TM TM" y="-4" w="604" child_resize_h="true" max_sizeparent="parent" max_sizeref="w" max_w="-18" max_h="330"></group>
<!-- scroll bar -->
<instance template="bk_scroll" id="back_scrollbar" posparent="server_win" posref="TR TL" x="4" w="24" sizeref="h" h="0" />
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="shard_list" posparent="server_win" posref="TR TL" target_stepy="22" x="8" y="0" />
<!-- Connect Button -->
<ctrl style="log_std_but" id="but_log" posparent="server_win" posref="BM TM" y="-8" onclick_l="login_connect" hardtext="uiOnConnect" />
<!-- Table Infos -->
<instance template="log_box_frame" id="infos_win" posparent="server_win" posref="TL BL" w="612" h="22" y="4" />
<view type="text" id="status_txt" posref="BL BM" x="376" y="1" posparent="infos_win" fontsize="10" color="255 255 255 255" hardtext="uiOnStatus" shadow="true" />
<view type="text" id="version_txt" posref="BL BM" x="456" y="1" posparent="infos_win" fontsize="10" color="255 255 255 255" hardtext="uiOnVersion" shadow="true" />
<view type="text" id="release_txt" posref="BL BM" x="544" y="1" posparent="infos_win" fontsize="10" color="255 255 255 255" hardtext="uiOnRelease" shadow="true" />
</group>
</group>
<!-- ********************** -->
<!-- * RELEASE NOTE MODAL * -->
<!-- ********************** -->
<group type="modal" id="release_note_modal" exit_click_out="true" posref="MM MM" w="640" h="396"
on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="true" x="-72" y="-11"
>
<group type="modal" id="release_note_modal" exit_click_out="true" posref="MM MM" w="640" h="396" on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="true" x="-72" y="-11">
<!-- Window -->
<instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" />
<instance template="bk_scroll" id="back_scrollbar" posref="TR TR" x="-8" y="-8" w="24" h="342" />
<!-- Html -->
<group type="html" id="html" posref="TM TM" url="home" title_prefix=""
x="0" y="-8" w="624" h="342"
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=""
checkbox_bitmap_pushed=""
checkbox_bitmap_over=""
background_bitmap_view=""
home=""
browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"
>
<group type="html" id="html" posref="TM TM" url="home" title_prefix="" x="0" y="-8" w="624" h="342" 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="" checkbox_bitmap_pushed="" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="true" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BL BL" sizeref="hw" w="0" h="0" inherit_gc_alpha="true" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="0" y="0" space="0" sizeref="wh" w="-28" h="0" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" posref="TR TR" target_stepy="16" x="-4" />
</group>
<ctrl style="log_std_but" id="but_close" posparent="html" posref="BM TM" y="-8" onclick_l="leave_modal" hardtext="uiNoteClose" />
</group>
<!-- ******************** -->
<!-- * CHECKING PROGESS * -->
<!-- ******************** -->
<group id="checking" posref="MM MM" w="1024" h="768" active="false">
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- Window -->
<instance template="server_box" id="check_win" posparent="window" posref="MM MM" w="600" h="128" x="0" y="0" />
<!-- Texts -->
<view type="text" id="title" posparent="check_win" posref="TM BM" y="8" color="255 255 255 255"
fontsize="12" shadow="true" hardtext="uiOnChecking" />
<view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal"/>
<view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584"
shadow="true" multi_line="true" multi_line_space="0" />
<view type="text" id="title" posparent="check_win" posref="TM BM" y="8" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiOnChecking" />
<view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal" />
<view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584" shadow="true" multi_line="true" multi_line_space="0" />
</group>
</group>
<!-- **************************** -->
<!-- * DISPLAY PATCH CATEGORIES * -->
<!-- **************************** -->
<template name="t_cat" id="" posref="TL TL" posparent="parent" keep="true">
<group id="#id" w="382" h="22" x="0" y="0" posref="#posref" posparent="#posparent">
<view type="text" id="name" posref="BL BL" fontsize="12" x="26" y="1" color="135 243 28 255" shadow="true" />
<view type="text" id="size" posref="BR BR" fontsize="12" x="-8" y="1" color="135 243 28 255" shadow="true" hardtext="...Kbs" />
<ctrl type="button" button_type="toggle_button" id="on_off" sizeref="hw" h="-2" w="0" x="0" posref="ML ML" scale="true" pushed="true"
texture="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="75 144 29 80" col_over="96 117 24 32"
onclick_l="set" params_l="dblink=UI:VARIABLES:CAT:#id|value=not(@UI:VARIABLES:CAT:#id)" />
<ctrl type="button" button_type="toggle_button" id="on_off" sizeref="hw" h="-2" w="0" x="0" posref="ML ML" scale="true" pushed="true" texture="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="75 144 29 80" col_over="96 117 24 32" onclick_l="set" params_l="dblink=UI:VARIABLES:CAT:#id|value=not(@UI:VARIABLES:CAT:#id)" />
<view type="bitmap" id="state" posref="ML ML" x="2" texture="patch_on.tga" />
<link expr="ifthenelse( eq(@UI:VARIABLES:CAT:#id,0),
'patch_on.tga',
'patch_off.tga' )" target="state:texture" />
<link expr="ifthenelse( eq(@UI:VARIABLES:CAT:#id,0), 'patch_on.tga', 'patch_off.tga' )" target="state:texture" />
</group>
</template>
<group id="catdisp" posref="MM MM" w="1024" h="768" active="false">
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- Window -->
<instance template="server_box" id="global_win" posparent="bl" posref="TM TM" w="400" h="22" x="-14" y="-240" />
<instance template="server_box" id="nonopt_win" posparent="global_win" posref="BM TM" w="400" h="22" y="-8" />
<instance template="server_box" id="opt_win" posparent="nonopt_win" posref="BM TM" w="400" h="206" y="-30" />
<!-- Textes -->
<view type="text" id="title" posparent="global_win" posref="TM BM" y="2" color="255 255 255 255"
fontsize="12" shadow="true" hardtext="uiOnPatchDetail" />
<view type="text" id="opt_txt" posparent="opt_win" posref="TL BL" y="1" color="255 255 255 255"
fontsize="10" shadow="true" hardtext="uiOnPatchOpt" />
<view type="text" id="title" posparent="global_win" posref="TM BM" y="2" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiOnPatchDetail" />
<view type="text" id="opt_txt" posparent="opt_win" posref="TL BL" y="1" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiOnPatchOpt" />
<group id="global_patch" w="382" h="22" posparent="global_win" posref="MM MM">
<view type="text" id="name" posref="ML ML" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="uiTotalPatch" />
<view type="text" id="size" posref="MR MR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext="...Kbs" />
@ -403,250 +222,128 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<view type="text" id="name" posref="ML ML" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="uiRequiredFiles" />
<view type="text" id="size" posref="MR MR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext="...Kbs" />
</group>
<!-- Categories -->
<group id="cat_list" posparent="opt_win" posref="TM TM" y="-4" child_resize_h="true" w="382" max_h="330" >
</group>
<group id="cat_list" posparent="opt_win" posref="TM TM" y="-4" child_resize_h="true" w="382" max_h="330"></group>
<!-- scroll bar -->
<instance template="bk_scroll" id="back_scrollbar" posparent="opt_win" posref="TR TL" x="4" w="24" sizeref="h" h="0" />
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="cat_list" posparent="cat_win" posref="TR TL" target_stepy="22" x="8" y="0" />
<!-- Patch Button -->
<ctrl style="log_std_but" id="but_log" posparent="opt_win" posref="BM TM" y="-8" onclick_l="login_patch" hardtext="uiOnPatch" />
</group>
</group>
<!-- ******************** -->
<!-- * PATCHING PROGESS * -->
<!-- ******************** -->
<group id="patching" posref="MM MM" w="1024" h="768" active="false"
on_active="set_release_note" on_active_params="shard=selected|group=ui:login:patching:content:release_txt" >
<group id="patching" posref="MM MM" w="1024" h="768" active="false" on_active="set_release_note" on_active_params="shard=selected|group=ui:login:patching:content:release_txt">
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- patch -->
<instance template="server_box" id="global_win" posparent="bl" posref="TM TM" w="600" h="22" x="-14" y="-180" />
<instance template="server_box" id="patch_win" posparent="global_win" posref="BM TM" w="600" h="48" y="-8" />
<link expr="eq(@UI:VARIABLES:SCREEN,4)" target="global_win:active,patch_win:active" />
<group id="global_patch" w="582" h="22" posparent="global_win" posref="MM MM">
<view type="text" id="name" posref="ML ML" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="uiTotalPatch" />
<view type="text" id="size" posref="MR MR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext=".../...Kbs" />
</group>
<link expr="eq(@UI:VARIABLES:SCREEN,4)" target="global_patch:active" />
<view type="text" id="progress" posref="TL TL" posparent="patch_win" fontsize="12" x="8" y="-4" color="135 243 28 255" shadow="true" />
<view type="text" id="state" posparent="progress" posref="TR TL" w="520" x="4" y="0" line_maxw="520" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal"/>
<view type="text" id="state" posparent="progress" posref="TR TL" w="520" x="4" y="0" line_maxw="520" color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal" />
<link expr="eq(@UI:VARIABLES:SCREEN,4)" target="progress:active,state:active" />
<!-- Reboot -->
<instance template="server_box" id="reboot_win" posparent="bl" posref="TM TM" w="600" h="78" x="-14" y="-180" />
<group id="global_warn" w="582" h="54" posparent="reboot_win" posref="MM MM">
<view type="text" id="warn" posref="TM TM" fontsize="12" x="0" y="-3" color="135 243 28 255" shadow="true" hardtext="uiRebootConfirm" />
<ctrl style="log_std_but" id="rebootbut" posparent="warn" posref="BM TM" y="-8" onclick_l="reboot" hardtext="uiRebootBut" />
</group>
<link expr="eq(@UI:VARIABLES:SCREEN,5)" target="reboot_win:active,global_warn:active" />
<!-- Release Note -->
<instance template="server_box" id="release_win" posparent="bl" posref="TM TM" w="600" h="324" x="-14" y="-282" />
<view type="text" id="release_title" posref="TM BM" posparent="release_win" fontsize="10" y="0" color="255 255 255 255"
hardtext="uiOnRelease" shadow="true"/>
<view type="text" id="release_title" posref="TM BM" posparent="release_win" fontsize="10" y="0" color="255 255 255 255" hardtext="uiOnRelease" shadow="true" />
<!--
<group id="release_txt" posparent="release_win" posref="TL TL" x="8" y="-8" w="584" child_resize_h="true" h="0" max_h="308" >
<view type="text" id="content" posref="TL TL" w="584" line_maxw="584" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEulaContent" />
</group>
-->
<group type="html" id="release_txt" posparent="release_win" posref="TL TL" url="home" title_prefix=""
x="8" y="-8" w="620" h="308"
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=""
checkbox_bitmap_pushed=""
checkbox_bitmap_over=""
background_bitmap_view=""
home=""
browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"
>
<group type="html" id="release_txt" posparent="release_win" posref="TL TL" url="home" title_prefix="" x="8" y="-8" w="620" h="308" 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="" checkbox_bitmap_pushed="" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="true" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BL BL" sizeref="hw" w="0" h="0" inherit_gc_alpha="true" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="0" y="0" space="0" sizeref="wh" w="-28" h="0" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" posref="TR TR" target_stepy="16" x="-4" />
</group>
<!-- scroll bar -->
<instance template="bk_scroll" id="back_scrollbar" posparent="release_win" posref="TR TL" x="4" w="24" sizeref="h" h="0" />
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="release_txt" posparent="release_win" posref="TR TL" target_stepy="22" x="8" y="-8" />
<!-- close button-->
<!-- <ctrl style="log_std_but" id="but_close" posparent="release_txt" posref="BM TM" x="0" y="-8" fontsize="12" onclick_l="close_patch" params_l="" hardtext="uiClosePatch" active="false"/>-->
</group>
</group>
<!-- ******** -->
<!-- * EULA * -->
<!-- ******** -->
<group id="eula" w="1024" h="768" posref="MM MM" active="false">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- WINDOW -->
<instance template="server_box" id="eula_win" posparent="window" posref="MM MM" w="612" h="338" x="-24" y="0" />
<!-- EULA TEXT -->
<group id="eula_txt" posparent="eula_win" posref="TL TL" x="8" y="-8" w="596" child_resize_h="true" h="0" max_h="322">
<view type="text" id="content" posref="TL TL" w="596" line_maxw="596" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEulaContent" />
<view type="text" id="content" posref="TL TL" w="596" line_maxw="596" color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" hardtext="uiEulaContent" />
</group>
<!-- SCROLL BAR -->
<instance template="bk_scroll" id="back_scrollbar" posparent="eula_win" posref="TR TL" x="4" w="24" sizeref="h" h="0" />
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="eula_txt" posparent="eula_win" posref="TR TL" target_stepy="22" x="8" y="-8" />
<!-- TITLE -->
<view type="text" id="title" posparent="eula_win" posref="TM BM" y="8" color="255 255 255 255"
fontsize="20" shadow="true" hardtext="uiEula" />
<view type="text" id="title" posparent="eula_win" posref="TM BM" y="8" color="255 255 255 255" fontsize="20" shadow="true" hardtext="uiEula" />
<!-- ACCEPT & DECLINE BUTTONS -->
<ctrl style="log_std_but" id="but_accept" posparent="eula_win" posref="BM TR" x="-4" y="-8" fontsize="12" onclick_l="accept_eula" params_l="" hardtext="uiEulaAccept" />
<ctrl style="log_std_but" id="but_decline" posparent="eula_win" posref="BM TL" x="4" y="-8" fontsize="12" onclick_l="login_quit" params_l="" hardtext="uiEulaDecline" />
</group>
<!-- ******************** -->
<!-- * DATASCAN PROGESS * -->
<!-- ******************** -->
<!-- 1 The scan is running, 0 The scan has ended -->
<variable entry="UI:VARIABLES:DATASCAN_RUNNING" type="sint32" value="0" />
<!-- Page that show the result of data scanning -->
<group id="datascan" posref="MM MM" w="1024" h="768" active="false">
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- Window -->
<group id="placeholder" posparent="window" posref="MM MM" w="600" h="340" x="0" y="0" />
<!-- title -->
<view type="text" id="title" posparent="placeholder" posref="TM BM" y="22" color="255 255 255 255"
fontsize="12" shadow="true" hardtext="uiOnDataScanning" />
<view type="text" id="explain" posparent="placeholder" posref="TM BM" y="4" color="255 255 255 255"
fontsize="8" shadow="true" hardtext="uiOnDataScanningHelp" />
<view type="text" id="title" posparent="placeholder" posref="TM BM" y="22" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiOnDataScanning" />
<view type="text" id="explain" posparent="placeholder" posref="TM BM" y="4" color="255 255 255 255" fontsize="8" shadow="true" hardtext="uiOnDataScanningHelp" />
<!-- check state -->
<instance template="server_box" id="check_win" posparent="placeholder" posref="TM TM" sizeref="w" h="88" x="0" y="0" />
<view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal"/>
<view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584"
shadow="true" multi_line="true" multi_line_space="0" />
<view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal" />
<view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584" shadow="true" multi_line="true" multi_line_space="0" />
<!-- Log Window with scroll -->
<instance template="server_box" id="log_win" posparent="placeholder" posref="BM BM" sizeref="w" h="244" x="0" y="0" />
<group id="log_txt" posparent="log_win" posref="TL TL" x="8" y="-8" sizeref="w" child_resize_h="true"
max_sizeparent="log_win" max_sizeref="h" max_h="-16">
<view type="text" id="log" posref="TL TL" fontsize="10" color="243 243 28 255" line_maxw="584"
shadow="true" multi_line="true" multi_line_space="0" />
<group id="log_txt" posparent="log_win" posref="TL TL" x="8" y="-8" sizeref="w" child_resize_h="true" max_sizeparent="log_win" max_sizeref="h" max_h="-16">
<view type="text" id="log" posref="TL TL" fontsize="10" color="243 243 28 255" line_maxw="584" shadow="true" multi_line="true" multi_line_space="0" />
</group>
<instance template="bk_scroll" id="back_scrollbar" posparent="log_win" posref="TR TL" x="4" w="24" sizeref="h" h="0" />
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="log_txt" posparent="log_win" posref="TR TL" target_stepy="15" x="8" y="-8" />
<!-- Close Button -->
<ctrl style="log_std_but" id="but_close" posparent="placeholder" posref="BM TM" y="-8" onclick_l="on_scan_data_close" hardtext="uiCancelScanData" />
<link expr="ifthenelse(eq(@UI:VARIABLES:DATASCAN_RUNNING,1),'uiCancelScanData','uiCloseScanData')" target="but_close:hardtext" />
</group>
</group>
<!-- ******************** -->
<!-- * CREATE ACCOUNT * -->
<!-- ******************** -->
<style style="log_url" type="text_button" button_type="toggle_button"
tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 0"
text_y="0" text_underlined="true" fontsize="10" shadow="true"
text_color_normal="255 255 255 255" text_color_over="100 255 100 255" text_color_pushed="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"
/>
<template name="log_box_blank" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref=""
keep="true" color="200 255 230 50" >
<style style="log_url" type="text_button" button_type="toggle_button" tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 0" text_y="0" text_underlined="true" fontsize="10" shadow="true" text_color_normal="255 255 255 255" text_color_over="100 255 100 255" text_color_pushed="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" />
<template name="log_box_blank" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" color="200 255 230 50">
<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="bk" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-32" w="-32" texture="blank.tga" color="#color" render_layer="-1" />
@ -660,142 +357,75 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<view type="bitmap" id="r" texture="blank.tga" posref="MR MR" scale="true" sizeref="h" h="-32" w="16" color="#color" render_layer="-1" />
</group>
</template>
<!-- Page that allows to create an account -->
<group id="create_account" posref="MM MM" w="1024" h="768" active="false">
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL">
<!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- Window -->
<group id="placeholder" posparent="window" posref="MM MM" w="600" h="360" x="0" y="0" />
<!-- title -->
<view type="text" id="title" posparent="placeholder" posref="TM BM" y="0" color="255 255 255 255"
fontsize="16" shadow="true" hardtext="uiCreateAccount" />
<view type="text" id="title" posparent="placeholder" posref="TM BM" y="0" color="255 255 255 255" fontsize="16" shadow="true" hardtext="uiCreateAccount" />
<group id="submit_gr" x="30" y="-20" posparent="window" sizeref="wh" w="-30" h="-15" posref="TL TL">
<!-- login -->
<view type="text" id="txt_log" posref="TL TL" hardtext="uiUsername" fontsize="12" x="0" y="-60" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0"
text_ref="BM BM" text_y="0"
on_focus="create_account_rules" on_focus_params="rules_login" reset_focus_on_hide="false" max_historic="0"
onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" text_ref="BM BM" text_y="0" on_focus="create_account_rules" on_focus_params="rules_login" reset_focus_on_hide="false" max_historic="0" onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_password:eb|select_all=false" prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
<!-- password -->
<view type="text" id="txt_pas" posparent="txt_log" posref="BL TL" hardtext="uiPassword" fontsize="12" x="0" y="-30" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0"
text_ref="BM BM" text_y="0"
on_focus="create_account_rules" on_focus_params="rules_password" reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_confirm_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="60" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" text_ref="BM BM" text_y="0" on_focus="create_account_rules" on_focus_params="rules_password" reset_focus_on_hide="false" max_historic="0" entry_type="password" onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_confirm_password:eb|select_all=false" prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="60" color="135 243 28 255" />
<!-- confirm password -->
<view type="text" id="txt_confirm_pas" posparent="txt_pas" posref="BL TL" hardtext="uiConfirmPassword" fontsize="12" x="0" y="-30" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_confirm_password" posparent="txt_confirm_pas" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0"
text_ref="BM BM" text_y="0"
on_focus="create_account_rules" on_focus_params="rules_password_conf" reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_email:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="60" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_confirm_password" posparent="txt_confirm_pas" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" text_ref="BM BM" text_y="0" on_focus="create_account_rules" on_focus_params="rules_password_conf" reset_focus_on_hide="false" max_historic="0" entry_type="password" onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_email:eb|select_all=false" prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="60" color="135 243 28 255" />
<!-- email -->
<view type="text" id="txt_email" posparent="txt_confirm_pas" posref="BL TL" hardtext="uiEmail" fontsize="12" x="0" y="-30" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_email" posparent="txt_email" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0"
text_ref="BM BM" text_y="0"
on_focus="create_account_rules" on_focus_params="rules_email" reset_focus_on_hide="false" max_historic="0"
onenter="" params=""
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="254" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_email" posparent="txt_email" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" text_ref="BM BM" text_y="0" on_focus="create_account_rules" on_focus_params="rules_email" reset_focus_on_hide="false" max_historic="0" onenter="" params="" prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="254" color="135 243 28 255" />
<!-- accept conditions -->
<ctrl type="button" id="accept_cond" button_type="toggle_button" pushed="true"
posref="BL TL" posparent="txt_email" x="0" y="-30" tx_normal="w_opacity_on.tga"
tx_pushed="w_slot_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255"
col_over="255 255 255 0" onclick_l="create_account_rules" params_l="" tooltip=""
/>
<ctrl type="button" id="accept_cond" button_type="toggle_button" pushed="true" posref="BL TL" posparent="txt_email" x="0" y="-30" tx_normal="w_opacity_on.tga" tx_pushed="w_slot_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="create_account_rules" params_l="" tooltip="" />
<view type="text" id="txt_accept_cond" posref="BR BL" posparent="accept_cond" hardtext="uiAcceptTermsOfUse1" fontsize="10" x="20" y="-2" color="255 255 255 255" />
<ctrl type="text_button" id="terms_launch_url" style="log_url" posref="BR BL" posparent="txt_accept_cond" x="2" y="0" hardtext="uiAcceptTermsOfUse2"
onclick_l="open_url" params_l="cfg_ConditionsTermsURL"/>
<ctrl type="text_button" id="terms_launch_url" style="log_url" posref="BR BL" posparent="txt_accept_cond" x="2" y="0" hardtext="uiAcceptTermsOfUse2" onclick_l="open_url" params_l="cfg_ConditionsTermsURL" />
<!-- ********************** -->
<!-- *** WELCOME/ERRORS *** -->
<!-- ********************** -->
<instance template="log_box_blank" id="welcome_errors_gr" posparent="eb_login" posref="TR TL" h="180" w="260" x="20" y="0"
blackColor="0 0 0 255" whiteColor="255 255 255 255" />
<group id="erros_txt" posparent="welcome_errors_gr" posref="TL TL" x="8" y="-8" sizeref="w" child_resize_h="true"
max_sizeparent="welcome_errors_gr" max_sizeref="h" max_h="-16">
<view type="text" id="errors_list" posref="TL TL" x="15" y="-15" fontsize="12" color="255 255 255 255" line_maxw="584"
shadow="true" multi_line="true" multi_line_space="20" multi_max_line="100" hardtext="uiCreateAccountWelcome" />
<instance template="log_box_blank" id="welcome_errors_gr" posparent="eb_login" posref="TR TL" h="180" w="260" x="20" y="0" blackColor="0 0 0 255" whiteColor="255 255 255 255" />
<group id="erros_txt" posparent="welcome_errors_gr" posref="TL TL" x="8" y="-8" sizeref="w" child_resize_h="true" max_sizeparent="welcome_errors_gr" max_sizeref="h" max_h="-16">
<view type="text" id="errors_list" posref="TL TL" x="15" y="-15" fontsize="12" color="255 255 255 255" line_maxw="584" shadow="true" multi_line="true" multi_line_space="20" multi_max_line="100" hardtext="uiCreateAccountWelcome" />
</group>
<instance template="bk_scroll" id="err_back_scrollbar" active="true" posparent="welcome_errors_gr" posref="TR TL" x="4" w="24" sizeref="h" h="0" />
<ctrl style="skin_scroll" id="err_scroll_bar" active="true" align="T" target="erros_txt" posparent="welcome_errors_gr" posref="TR TL" target_stepy="15" x="8" y="-8" />
<!-- ********************** -->
<!-- ******* RULES ******** -->
<!-- ********************** -->
<instance template="server_box" id="rules_gr" posref="BL BL" w="800" h="80" y="70" />
<!-- login rules -->
<view type="text" id="rules_login" active="false" posparent="rules_gr" multi_line="true" line_maxw="720" posref="TL TL" hardtext="login rules" fontsize="8" x="10" y="-10" color="255 255 255 255" />
<!-- password rules -->
<view type="text" id="rules_password" active="false" posparent="rules_gr" multi_line="true" line_maxw="720" posref="TL TL" hardtext="password rules" fontsize="8" x="10" y="-10" color="255 255 255 255" />
<!-- password confirmation rules -->
<view type="text" id="rules_password_conf" active="false" posparent="rules_gr" multi_line="true" line_maxw="720" posref="TL TL" hardtext="password confirmation rules" fontsize="8" x="10" y="-10" color="255 255 255 255" />
<!-- email rules -->
<view type="text" id="rules_email" active="false" posparent="rules_gr" multi_line="true" line_maxw="720" posref="TL TL" hardtext="email rules" fontsize="8" x="10" y="-10" color="255 255 255 255" />
<!-- conditions rules -->
<view type="text" id="rules_conditions" active="false" posparent="rules_gr" multi_line="true" line_maxw="720" posref="TL TL" hardtext="conditions rules" fontsize="8" x="10" y="-10" color="255 255 255 255" />
<!-- Close Button -->
<ctrl style="log_std_but" id="but_close" posparent="placeholder" posref="BM BR" x="-10" y="25" onclick_l="on_create_account_close" hardtext="uiCancelCreateAccount" />
<!-- Submit Button -->
<ctrl style="log_std_but" id="but_submit" posparent="placeholder" posref="BM BL" x="10" y="25" onclick_l="on_create_account_submit" hardtext="uiSubmitNewAccount" />
</group>
<group id="login_gr" x="30" y="-40" posparent="window" sizeref="wh" w="-60" h="-45" posref="TL TL">
<view type="text" id="success" multi_line="true" line_maxw="600" posref="TL TL" hardtext="uiSubmitSucces1" fontsize="14" x="90" y="-50" color="255 255 255 255" />
<view type="text" id="email_adress" multi_line="false" line_maxw="600" posparent="success" posref="BL TL" hardtext="ADRESSE\n" fontsize="14" x="80" y="-10" color="150 255 150 255" />
<view type="text" id="successEnd" multi_line="true" line_maxw="600" posparent="email_adress" posref="BL TL" hardtext="uiSubmitSucces2" fontsize="14" x="-80" y="-10" color="255 255 255 255" />
<!-- Close Button -->
<ctrl style="log_std_but" id="but_close" posparent="placeholder" posref="BM BR" x="-10" y="15" onclick_l="on_create_account_close" hardtext="uiCancelCreateAccount" />
<!-- Submit Button -->
<ctrl style="log_std_but" id="but_login" posparent="placeholder" posref="BM BL" x="10" y="15" onclick_l="create_account_login" hardtext="uiOnConnect" />
</group>
</group>
</group>
<!-- *********************** -->
<!-- * Web start interface * -->
<!-- *********************** -->
<!-- Page that show the result of data scanning -->
<!--<group id="webstart" posref="MM MM" w="1024" h="768" active="false" >
@ -812,11 +442,9 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<instance template="html_text_button" id="reload_test_page" text="RELOAD START PAGE" posparent="parent" posref="TL TL" y="-45"
onclick="on_reload_test_page" onclick_param="" active="false"/>
-->
<!-- EXIT BUTTON -->
<!-- <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
-->
<!-- Window -->
<!-- <group id="placeholder" posparent="window" posref="MM MM" w="600" h="340" x="0" y="0" />
-->
@ -826,7 +454,6 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<view type="text" id="explain" posparent="placeholder" posref="TM BM" y="4" color="255 255 255 255"
fontsize="8" shadow="true" hardtext="uiOnDataScanningHelp" />
-->
<!--
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true"/>
@ -836,7 +463,6 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
-->
<!-- Close Button -->
<!--<ctrl style="log_std_but" id="but_close" posparent="placeholder" posref="BM TM" y="-8" onclick_l="on_scan_data_close" hardtext="uiCancelScanData" />
<link expr="ifthenelse(eq(@UI:VARIABLES:DATASCAN_RUNNING,1),'uiCancelScanData','uiCloseScanData')" target="but_close:hardtext" />
@ -844,9 +470,6 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<!-- </group>
</group> -->
<link expr="eq(@UI:VARIABLES:SCREEN,0)" target="checkpass:active" />
<link expr="eq(@UI:VARIABLES:SCREEN,1)" target="sharddisp:active" />
<link expr="eq(@UI:VARIABLES:SCREEN,2)" target="checking:active" />
@ -856,8 +479,6 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<link expr="eq(@UI:VARIABLES:SCREEN,7)" target="datascan:active" />
<link expr="eq(@UI:VARIABLES:SCREEN,8)" target="webstart:active" />
<link expr="eq(@UI:VARIABLES:SCREEN,9)" target="create_account:active" />
<tree node="checkpass" />
<tree node="sharddisp" />
<tree node="checking" />
@ -867,6 +488,4 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<tree node="datascan" />
<tree node="webstart" />
<tree node="create_account" />
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,134 +1,80 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<link expr="depends(@SERVER:USER:ACT_NUMBER)" action="macro_receive_action_end" />
<!-- ************************************ -->
<!-- * EDITION DES COMMANDES * -->
<!-- ************************************ -->
<!-- ASSIGN KEY TO COMMAND MODAL BOX -->
<proc id="modal_get_key_ok">
<action handler="reset_keyboard_focus" />
<action handler="ah_assign_key" />
</proc>
<proc id="modal_get_key_cancel">
<action handler="reset_keyboard_focus" />
<action handler="leave_modal" />
</proc>
<group type="modal_get_key" id="assign_key" exit_click_out="true" posref="MR MM" w="224" child_resize_h="true" child_resize_hmargin="8">
<view type="text" id="text" posref="TL TL" x="6" y="-4" color="255 255 255 255" global_color="false" fontsize="14" shadow="true" hardtext="uiAssignKey" />
<instance template="box_widget" id="back_key" posref="TM TM" w="176" h="20" x="0" y="-20" />
<view type="text" id="keytext" posparent="back_key" posref="MM MM" x="0" y="-1" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" />
<view type="text" id="inuse" posref="TM TM" x="0" y="-44" color="255 255 255 128" fontsize="10" shadow="true" multi_line="true" multi_line_space="0" line_maxw="216" />
<instance template="button_ok_cancel" posref="TR TR" x="-4" y="-70"
onclick_ok="proc"
onclick_ok_param="modal_get_key_ok"
onclick_cancel="proc"
onclick_cancel_param="modal_get_key_cancel" />
<instance template="button_ok_cancel" posref="TR TR" x="-4" y="-70" onclick_ok="proc" onclick_ok_param="modal_get_key_ok" onclick_cancel="proc" onclick_cancel_param="modal_get_key_cancel" />
</group>
<!-- EDIT COMMAND MAIN CONTAINER -->
<!-- Choose Category, Action, Params and Key association -->
<template name="teditcmd" id="" keep="true" db_sel_cat="" db_sel_act="" db_sel_1p="" db_sel_2p="" db_disp_1p="" db_disp_2p="">
<group style="container_modal" id="#id" w="338" h="256" title="uiEditCmd"
on_active="editcmd_open" on_active_params="#id"
header_color="UI:SAVE:WIN:COLORS:OPT" >
<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>
<group style="container_modal" id="#id" w="338" h="256" title="uiEditCmd" on_active="editcmd_open" on_active_params="#id" header_color="UI:SAVE:WIN:COLORS:OPT">
<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>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL">
<!-- Background : now used to define the comboSzone -->
<group id="back" posref="TL TL" w="320" h="216" x="0" y="0" />
<!-- Category combo -->
<group type="combo_box" id="combo_cat" w="320" h="20" value="#db_sel_cat" posref="TL TL" x="0" y="-20">
<instance template="combo_box_def1" />
</group>
<view type="text" id="combo_cat_name" posparent="combo_cat" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiCategory" />
<!-- Action combo -->
<group type="combo_box" id="combo_action" w="320" h="20" value="#db_sel_act" posref="TL TL" x="0" y="-60">
<instance template="combo_box_def1" />
</group>
<view type="text" id="combo_action_name" posparent="combo_action" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="uiAction" />
<!-- Param 1 : params diplayed depends on type of params -->
<group type="combo_box" id="first_param_list" value="#db_sel_1p" w="320" h="20" posref="TL TL" x="0" y="-100">
<instance template="combo_box_def1" />
</group>
<instance template="edit_box_widget" id="first_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-100" reset_focus_on_hide="true"
max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312"
onenter="editcmd_change_first_param" params="#id"
onchange="editcmd_change_first_param" onchange_params="#id" />
<instance template="edit_box_widget" id="first_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-100" reset_focus_on_hide="true" max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312" onenter="editcmd_change_first_param" params="#id" onchange="editcmd_change_first_param" onchange_params="#id" />
<link expr="eq(@#db_disp_1p,0)" target="first_param_list:active" />
<link expr="eq(@#db_disp_1p,1)" target="first_param_editbox:active" />
<view type="text" id="first_param_name" posparent="first_param_list" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="" />
<!-- Param 2 -->
<group type="combo_box" id="second_param_list" value="#db_sel_2p" w="320" h="20" posref="TL TL" x="0" y="-140">
<instance template="combo_box_def1" />
</group>
<instance template="edit_box_widget" id="second_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-140" reset_focus_on_hide="true"
max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312"
onenter="editcmd_change_second_param" params="#id"
onchange="editcmd_change_first_param" onchange_params="#id" />
<instance template="edit_box_widget" id="second_param_editbox" w="320" h="20" posref="TL TL" x="0" y="-140" reset_focus_on_hide="true" max_historic="10" prompt="" enter_loose_focus="true" multi_line="false" line_maxw="312" onenter="editcmd_change_second_param" params="#id" onchange="editcmd_change_first_param" onchange_params="#id" />
<link expr="eq(@#db_disp_2p,0)" target="second_param_list:active" />
<link expr="eq(@#db_disp_2p,1)" target="second_param_editbox:active" />
<view type="text" id="second_param_name" posparent="second_param_list" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="10" shadow="true" hardtext="" />
<!-- Action to do when category, action, 1st or 2nd params change -->
<link expr="@#db_sel_cat" action="editcmd_change_category" params="#id" />
<link expr="@#db_sel_act" action="editcmd_change_action" params="#id" />
<link expr="@#db_sel_1p" action="editcmd_change_first_param" params="#id" />
<link expr="@#db_sel_2p" action="editcmd_change_second_param" params="#id" />
<!-- Button key to directly define a key for this action (not displayed in macro mode) -->
<group id="keygrp" sizeref="w" h="42" posref="BM BM" y="4" posparent="back">
<instance template="box_widget" id="back_key" posref="BM BM" w="176" h="20" />
<view type="text" id="key_name" posparent="back_key" posref="TL BL" x="0" y="0" color="255 255 255 128" fontsize="8" shadow="true" hardtext="uiCmdKey" />
<view type="bitmap" id="sep" posref="BM BM" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="40" />
<ctrl type="button" id="butkey" button_type="push_button" posref="BM BM" w="176" h="20" scale="true"
texture="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
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"
onclick_l="editcmd_cmd_def_key" params_l="#id" />
<ctrl type="button" id="butkey" button_type="push_button" posref="BM BM" w="176" h="20" scale="true" texture="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" 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" onclick_l="editcmd_cmd_def_key" params_l="#id" />
<view type="text" id="txtkey" posparent="back_key" posref="MM MM" x="0" y="-1" color="255 255 255 255" fontsize="8" shadow="true" hardtext="uiEditCmdNone" />
</group>
<instance template="button_ok_cancel" posparent="back" posref="BR TR" x="0" y="-4"
onclick_ok="editcmd_ok"
onclick_ok_param="#id"
onclick_cancel="set"
onclick_cancel_param="target_property=ui:interface:#id:active|value=0" />
<instance template="button_ok_cancel" posparent="back" posref="BR TR" x="0" y="-4" onclick_ok="editcmd_ok" onclick_ok_param="#id" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:#id:active|value=0" />
</group>
</group>
</template>
<!-- ************************************ -->
<!-- * DEFINTION DES TOUCHES * -->
<!-- ************************************ -->
<!-- Menu for key edition -->
<variable entry="UI:VARIABLES:KEYS:MENU_LINE_EDITED" type="sint32" value="-1" />
<group type="menu" id="menu_key" extends="base_menu">
@ -136,7 +82,6 @@
<action name="uimEditKey" handler="keys_edit" cond="canEditKey(@UI:VARIABLES:KEYS:MENU_LINE_EDITED)" />
<action name="uimDeleteKey" handler="keys_delete" cond="canDeleteKey(@UI:VARIABLES:KEYS:MENU_LINE_EDITED)" />
</group>
<!-- Called when keys container opend -->
<proc id="proc_keys_open">
<action handler="keys_open" params="" />
@ -152,62 +97,32 @@
<action handler="set" params="dblink=UI:VARIABLES:KEYS:MENU_LINE_EDITED|value=@0" />
<action handler="active_menu" params="menu=ui:interface:menu_key" />
</proc>
<!-- TEMPLATE FOR ONE KEY -->
<template name="tk_line" keep="true" posparent="parent" posref="TL TL" h="14" id="" lineid="">
<group id="#id" w="388" h="#h" posparent="#posparent" posref="#posref"
group_onclick_r="proc" group_params_r="proc_keys_menu|#lineid"
group_onclick_l="keys_assign">
<group id="#id" w="388" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="proc" group_params_r="proc_keys_menu|#lineid" group_onclick_l="keys_assign">
<!-- if change name.x, change command.line_maxw please -->
<view type="text" id="name" x="248" y="0" fontsize="10" shadow="true" />
<view type="text" id="command" line_maxw="238" x="0" y="0" fontsize="10" shadow="true"
over_extend_view_text="true" over_extend_parent_rect="true" />
<view type="text" id="command" line_maxw="238" x="0" y="0" fontsize="10" shadow="true" over_extend_view_text="true" over_extend_parent_rect="true" />
</group>
</template>
<!-- KEYS MAIN CONTAINER -->
<group type="container" id="keys" w="420" h="16" resizer="false" openable="false" title="uiKeysTitle"
global_color="false" opened="true" pop_min_h="64"
movable="true" active="false" header_color="UI:SAVE:WIN:COLORS:OPT"
on_active="proc" on_active_params="proc_keys_open"
on_deactive="proc" on_deactive_params="proc_keys_close"
>
<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" >
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewKeyShortcut"
onclick_l="keys_new" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI"
onclick_l="save_ui" />
<group type="container" id="keys" w="420" h="16" resizer="false" openable="false" title="uiKeysTitle" global_color="false" opened="true" pop_min_h="64" movable="true" active="false" header_color="UI:SAVE:WIN:COLORS:OPT" on_active="proc" on_active_params="proc_keys_open" on_deactive="proc" on_deactive_params="proc_keys_close">
<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">
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewKeyShortcut" onclick_l="keys_new" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI" onclick_l="save_ui" />
</group>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" >
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="0" posref="TL TL"></group>
</group>
</group>
<!-- KEYS CONTAINER FOR ALL KEYS-->
<!-- Needed for scroll bar of the main container -->
<template name="t_all_keys" keep="false" id="" title="">
<group type="container" id="#id" title="#title" w="320" h="128" openable="false" global_color="false" opened="true" resizer="false" savable="false">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL" >
</group>
<group id="content" type="list" x="0" y="0" sizeref="w" over="true" posref="TL TL" >
</group>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL"></group>
<group id="content" type="list" x="0" y="0" sizeref="w" over="true" posref="TL TL"></group>
</group>
</template>
<!-- the id must be keys_### where ### is the name of the category -->
<!-- dont remember if you add / remove a category to update hierarchy.xml -->
<instance template="t_all_keys" id="keys_player" title="uiKeysPlayerTitle" />
@ -221,20 +136,15 @@
<instance template="t_all_keys" id="keys_edit" title="uiKeysEditTitle" />
<instance template="t_all_keys" id="keys_debug" title="uiKeysDebugTitle" />
<instance template="t_all_keys" id="keys_r2ed" title="uiR2EDActionCategory" />
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************************************************************************************************************************ -->
<!-- ************************************ -->
<!-- * DEFINTION DES MACROS * -->
<!-- ************************************ -->
<!-- ++++++++++++++++ -->
<!-- MACROS CONTAINER -->
<!-- ++++++++++++++++ -->
<group type="menu" id="options_macro" exit_click_b="true" extends="base_menu">
<action name="uimMacroExec" handler="macros_exec" icon="r2ed_tool_start.tga" />
<action name="uimMacroEdit" handler="macros_edit" icon="r2ed_edit_dialog_small.tga" />
@ -242,17 +152,13 @@
<separator />
<action name="uimMacroDel" handler="macros_del" icon="patch_off.tga" />
</group>
<!-- Template defining one macro in the macros container -->
<template name="element_macro" keep="true" posparent="parent" posref="TL TL" w="392" h="30" id="">
<group id="#id" w="#w" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="active_menu" group_params_r="menu=ui:interface:options_macro">
<view type="bitmap" id="sep1" posref="TL TL" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="-1" />
<view type="bitmap" id="sep2" posref="TR TR" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="1" />
<view type="bitmap" id="sep3" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="1" />
<view type="bitmap" id="sep4" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
<ctrl type="sheet" id="icon" nature="macro" posref="ML ML" x="4" y="0" dragable="true" />
<!--
<view type="bitmap" id="fakebutton" texture="W_slot_brick.tga" />
@ -265,7 +171,6 @@
color="255 255 255 0" col_over="255 255 255 128" col_pushed="255 255 255 0" global_color_over="false"
onclick_l="" params_l="" />
-->
<view type="text" id="macro_name" posparent="icon" posref="MR ML" x="8" fontsize="12" y="-1" shadow="true" />
<!--
<instance template="box_widget" id="back_key" posref="MR MR" w="128" h="20" x="-4" y="0"/>
@ -273,7 +178,6 @@
<view type="text" id="macro_key" posref="MR MR" x="-4" y="-1" fontsize="10" shadow="true" hardtext="" color="255 255 255 128" />
</group>
</template>
<!-- Called when macro container opened -->
<proc id="proc_macros_open">
<action handler="macros_open" />
@ -285,33 +189,14 @@
<action handler="set" params="target_property=ui:interface:new_macro:active|value=0" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:MACROS|value=0" />
</proc>
<!-- MACROS MAIN CONTAINER -->
<!-- This container holds in its content 'element_macro' instances of the macros -->
<group type="container" id="macros" w="420" h="512" title="uiMacrosTitle" resizer="false" openable="false"
global_color="false" opened="true" header_color="UI:SAVE:WIN:COLORS:OPT"
movable="true" active="false"
on_active="proc" on_active_params="proc_macros_open"
on_deactive="proc" on_deactive_params="proc_macros_close"
>
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
<group type="container" id="macros" w="420" h="512" title="uiMacrosTitle" resizer="false" openable="false" global_color="false" opened="true" header_color="UI:SAVE:WIN:COLORS:OPT" movable="true" active="false" on_active="proc" on_active_params="proc_macros_open" on_deactive="proc" on_deactive_params="proc_macros_close">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="18" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewMacro" onclick_l="macros_new_macro" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI" onclick_l="save_ui" />
</group>
<group id="header_opened" x="0" y="0" h="18" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color" >
<ctrl style="new_element_header" id="add_button" posref="MR MR" x="-16" y="0" wmargin="8" hardtext="uittNewMacro"
onclick_l="macros_new_macro" />
<ctrl style="new_element_header" id="save_button" posparent="add_button" posref="ML MR" x="-4" y="0" wmargin="8" hardtext="uiSaveUI"
onclick_l="save_ui" />
</group>
<group id="content" x="0" y="0" over="true" child_resize_h="true" child_resize_hmargin="4" posref="TL TL">
<group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300">
<group id="list" type="list" x="0" y="0" posref="TL TL" />
@ -324,12 +209,9 @@
-->
</group>
<tree node="macros" />
<!-- +++++++++++++ -->
<!-- MACRO EDITION -->
<!-- +++++++++++++ -->
<group type="menu" id="options_macro_command" exit_click_b="true" extends="base_menu">
<action name="uimMCMoveUp" handler="new_macro_cmd_move_up" icon="w_arrow_up_0.tga" />
<action name="uimMCMoveDown" handler="new_macro_cmd_move_down" icon="w_arrow_down_0.tga" />
@ -338,37 +220,24 @@
<separator />
<action name="uimMCDel" handler="new_macro_cmd_delete" icon="patch_off.tga" />
</group>
<!-- Definition d'une commande dans une macro -->
<template name="macro_command" keep="true" posparent="parent" posref="TL TL" w="412" h="20" id="">
<group id="#id" w="#w" h="#h" posparent="#posparent" posref="#posref" group_onclick_r="active_menu" group_params_r="menu=ui:interface:options_macro_command">
<view type="bitmap" id="sep1" posref="TL TL" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="-1" />
<view type="bitmap" id="sep2" posref="TR TR" scale="true" sizeref="h" h="0" w="2" texture="W_line_ver.tga" x="1" />
<view type="bitmap" id="sep3" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="1" />
<view type="bitmap" id="sep4" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
<view type="bitmap" id="sep5" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
<view type="bitmap" id="fakebutton" posref="ML ML" x="4" y="0" texture="W_button_10_choice.tga" />
<view type="text" id="macro_name" posparent="fakebutton" posref="MR ML" x="4" fontsize="10" shadow="true" />
<view type="text" id="cmd_key" posref="MR MR" x="-4" fontsize="8" shadow="true" color="255 255 255 128" hardtext="" />
</group>
</template>
<!-- MACRO EDITION MAIN CONTAINER -->
<group style="container_modal" id="new_macro" w="420" h="512" title="uiNewMacro"
on_active="new_macro_open" modal_parent="macros"
header_color="UI:SAVE:WIN:COLORS:OPT" >
<group id="header_closed" x="0" y="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL" >
</group>
<group style="container_modal" id="new_macro" w="420" h="512" title="uiNewMacro" on_active="new_macro_open" modal_parent="macros" header_color="UI:SAVE:WIN:COLORS:OPT">
<group id="header_closed" x="0" y="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="20" posref="TL TL"></group>
<group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="4" posref="TL TL">
<ctrl type="sheet" id="icon" nature="macro" posref="TL TL" x="2" y="-10" tooltip="uittMacroUserDefIcon" onclick_l="enter_modal" params_l="group=ui:interface:macro_icon_creation" dragable="false" />
<!--
<view type="bitmap" id="fakebutton" posref="TL TL" x="0" y="-10" texture="W_slot_brick.tga" />
@ -376,71 +245,37 @@
<view type="bitmap" id="icon_icon" posparent="back_icon" posref="TL TL" texture="US_ico_0.tga" global_color="false"/>
<view type="bitmap" id="over_icon" posparent="icon_icon" posref="TL TL" texture="US_over_2.tga" global_color="false"/>
-->
<group type="edit_box" id="edit_name" posparent="icon" posref="MR ML" x="4" y="0" w="198" h="20" child_resize_h="true"
onenter="new_macro_enter_name" params="" max_num_chars="19" prompt="" enter_loose_focus="true"
entry_type="text" reset_focus_on_hide="true" menu_r="" >
<group type="edit_box" id="edit_name" posparent="icon" posref="MR ML" x="4" y="0" w="198" h="20" child_resize_h="true" onenter="new_macro_enter_name" params="" max_num_chars="19" prompt="" enter_loose_focus="true" entry_type="text" reset_focus_on_hide="true" menu_r="">
<instance template="box_widget" id="back_name" posref="TL TL" sizeref="w" w="0" h="20" />
<view type="text" id="edit_text" x="4" y="-1" posref="ML ML" multi_line="false"
fontsize="10" shadow="true" hardtext="" global_color="false"/>
<view type="text" id="edit_text" x="4" y="-1" posref="ML ML" multi_line="false" fontsize="10" shadow="true" hardtext="" global_color="false" />
</group>
<instance template="box_widget" id="back_key" posparent="edit_name" posref="MR ML" w="176" h="20" x="4" y="0" />
<view type="text" id="macro_key" posparent="back_key" posref="MM MM" fontsize="8" y="-1" shadow="true" />
<!--<ctrl type="button" id="icon_button" button_type="push_button" posref="TL TL" y="-11" x="1" render_layer="2"
tx_normal="W_button_24_over.tga" tx_over="W_button_24_over.tga" tx_pushed="W_button_24_over.tga"
color="255 255 255 0" col_over="255 255 255 128" col_pushed="255 255 255 0" global_color_over="false"
onclick_l="" params_l="" />
-->
<ctrl type="button" id="key_button" button_type="push_button" posparent="back_key" posref="TL TL" render_layer="2"
w="176" h="20" scale="true"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
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"
onclick_l="editcmd_cmd_def_key" params_l="editcmd" />
<ctrl type="button" id="key_button" button_type="push_button" posparent="back_key" posref="TL TL" render_layer="2" w="176" h="20" scale="true" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" 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" onclick_l="editcmd_cmd_def_key" params_l="editcmd" />
<view type="text" id="txticon" posparent="icon" posref="TL BL" fontsize="8" shadow="true" hardtext="uiMacroIcon" x="2" y="-3" />
<view type="text" id="name" posparent="edit_name" posref="TL BL" fontsize="8" shadow="true" hardtext="uiMacroName" x="2" y="0" />
<view type="text" id="key" posparent="back_key" posref="TL BL" fontsize="8" shadow="true" hardtext="uiMacroKey" x="2" y="0" />
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor2.tga" color="255 255 255 128" y="-40" />
<view type="text" id="commands" posparent="sep" posref="BL TL" fontsize="10" shadow="true" hardtext="uiMacroCom" y="-6" />
<ctrl style="new_element_header" id="add_button" posparent="sep" posref="BR TR" x="0" y="-4" wmargin="8" hardtext="uiMacroAddCom"
onclick_l="new_macro_new_cmd" />
<ctrl style="new_element_header" id="add_button" posparent="sep" posref="BR TR" x="0" y="-4" wmargin="8" hardtext="uiMacroAddCom" onclick_l="new_macro_new_cmd" />
<group id="cmds" x="0" y="-22" over="true" sizeref="w" posref="TL TL" posparent="sep" child_resize_h="true" child_resize_hmargin="4">
<group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300">
<group id="list" type="list" x="0" y="0" posref="TL TL" />
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" y="-4" target="macros" />
</group>
<instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4"
onclick_ok="new_macro_ok"
onclick_ok_param=""
onclick_cancel="set"
onclick_cancel_param="target_property=ui:interface:new_macro:active|value=0" />
<instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4" onclick_ok="new_macro_ok" onclick_ok_param="" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:new_macro:active|value=0" />
</group>
</group>
<tree node="new_macro" />
<!-- +++++++++++++ -->
<!-- ICON CREATION -->
<!-- +++++++++++++ -->
<!-- Template that define slots -->
<template name="icon_sheet" id="" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="26">
<group id="#id" x="#x" y="#y" posparent="#posparent" posref="#posref" sizeref="w" h="#h">
@ -451,214 +286,98 @@
<view type="bitmap" id="sht5" posparent="sht4" posref="TR TL" x="4" y="0" texture="W_slot_brick.tga" />
</group>
</template>
<!-- ICON CREATION PROCEDURES -->
<!-- BACKGROUND -->
<proc id="change_icon_bg">
<action handler="set_macro_back" params="target=ui:interface:macro_icon_creation:icon|value=@0" />
</proc>
<!-- FOREGROUND -->
<proc id="change_icon_fg">
<action handler="set_macro_icon" params="target=ui:interface:macro_icon_creation:icon|value=@0" />
</proc>
<!-- PATTERN -->
<proc id="change_icon_pa">
<action handler="set_macro_over" params="target=ui:interface:macro_icon_creation:icon|value=@0" />
</proc>
<!-- ICON CREATION MAIN MODAL WINDOW -->
<group type="modal" id="macro_icon_creation" exit_click_out="true" posref="TL TR" w="162" h="336" on_enter="" on_enter_params=""
on_active="macro_icon_creation_open" on_active_params="new_macro" options="skin_modal">
<group type="modal" id="macro_icon_creation" exit_click_out="true" posref="TL TR" w="162" h="336" on_enter="" on_enter_params="" on_active="macro_icon_creation_open" on_active_params="new_macro" options="skin_modal">
<view type="text" id="title" posref="TL TL" x="6" y="-4" color="255 255 255 255" fontsize="14" shadow="true" global_color="false" hardtext="uiIconCreation" />
<ctrl type="sheet" id="icon" nature="macro" posref="TM TM" x="0" y="-24" dragable="false" />
<view type="bitmap" id="sep" posref="TL TL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-54" />
<!-- Background -->
<group id="IconBackground" posref="TL TL" w="146" h="72" x="8" y="-64">
<view type="text" id="Ico_back" posref="TL TL" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconBack" />
<instance template="icon_sheet" id="sheet1" posref="TL TL" y="-14" />
<instance template="icon_sheet" id="sheet2" posparent="sheet1" posref="BL TL" y="-4" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_back_0.tga" global_color="false" />
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_back_1.tga" global_color="false" />
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_back_2.tga" global_color="false" />
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_back_3.tga" global_color="false" />
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_back_4.tga" global_color="false" />
<view type="bitmap" id="bg6" posparent="sheet2" posref="TL TL" x="1" y="-1" texture="US_back_5.tga" global_color="false" />
<view type="bitmap" id="bg7" posparent="bg6" posref="TR TL" x="6" y="0" texture="US_back_6.tga" global_color="false" />
<view type="bitmap" id="bg8" posparent="bg7" posref="TR TL" x="6" y="0" texture="US_back_7.tga" global_color="false" />
<view type="bitmap" id="bg9" posparent="bg8" posref="TR TL" x="6" y="0" texture="US_back_8.tga" global_color="false" />
<view type="bitmap" id="bg10" posparent="bg9" posref="TR TL" x="6" y="0" texture="US_back_9.tga" global_color="false" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_bg|9" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_bg|9" />
</group>
<!-- Foreground -->
<group id="IconForeground" posparent="IconBackground" posref="BL TL" w="146" h="72" x="0" y="-8">
<view type="text" id="Ico_back" posref="TL TL" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconFore" />
<instance template="icon_sheet" id="sheet1" posref="TL TL" y="-14" />
<instance template="icon_sheet" id="sheet2" posparent="sheet1" posref="BL TL" y="-4" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_ico_0.tga" global_color="false" />
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_ico_1.tga" global_color="false" />
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_ico_2.tga" global_color="false" />
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_ico_3.tga" global_color="false" />
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_ico_4.tga" global_color="false" />
<view type="bitmap" id="bg6" posparent="sheet2" posref="TL TL" x="1" y="-1" texture="US_ico_5.tga" global_color="false" />
<view type="bitmap" id="bg7" posparent="bg6" posref="TR TL" x="6" y="0" texture="US_ico_6.tga" global_color="false" />
<view type="bitmap" id="bg8" posparent="bg7" posref="TR TL" x="6" y="0" texture="US_ico_7.tga" global_color="false" />
<view type="bitmap" id="bg9" posparent="bg8" posref="TR TL" x="6" y="0" texture="US_ico_8.tga" global_color="false" />
<view type="bitmap" id="bg10" posparent="bg9" posref="TR TL" x="6" y="0" texture="US_ico_9.tga" global_color="false" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_fg|9" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|4" />
<ctrl type="button" button_type="radio_button" id="but6" posparent="sheet2" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|5" />
<ctrl type="button" button_type="radio_button" id="but7" posparent="but6" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|6" />
<ctrl type="button" button_type="radio_button" id="but8" posparent="but7" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|7" />
<ctrl type="button" button_type="radio_button" id="but9" posparent="but8" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|8" />
<ctrl type="button" button_type="radio_button" id="but10" posparent="but9" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_fg|9" />
</group>
<!-- Pattern -->
<group id="IconPattern" posparent="IconForeground" posref="BL TL" w="146" h="42" x="0" y="-8">
<view type="text" id="Ico_Pat" posref="TL TL" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconPat" />
<instance template="icon_sheet" id="sheet1" posref="TL TL" y="-14" />
<view type="bitmap" id="bg1" posparent="sheet1" posref="TL TL" x="1" y="-1" texture="US_over_0.tga" global_color="false" />
<view type="bitmap" id="bg2" posparent="bg1" posref="TR TL" x="6" y="0" texture="US_over_1.tga" global_color="false" />
<view type="bitmap" id="bg3" posparent="bg2" posref="TR TL" x="6" y="0" texture="US_over_2.tga" global_color="false" />
<view type="bitmap" id="bg4" posparent="bg3" posref="TR TL" x="6" y="0" texture="US_over_3.tga" global_color="false" />
<view type="bitmap" id="bg5" posparent="bg4" posref="TR TL" x="6" y="0" texture="US_over_4.tga" global_color="false" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4"
tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga"
color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false"
onclick_l="proc" params_l="change_icon_pa|4" />
<ctrl type="button" button_type="radio_button" id="but1" posparent="sheet1" posref="TL TL" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|0" />
<ctrl type="button" button_type="radio_button" id="but2" posparent="but1" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|1" />
<ctrl type="button" button_type="radio_button" id="but3" posparent="but2" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|2" />
<ctrl type="button" button_type="radio_button" id="but4" posparent="but3" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|3" />
<ctrl type="button" button_type="radio_button" id="but5" posparent="but4" posref="TR TL" x="4" tx_normal="W_slot_brick_selected.tga" tx_over="W_slot_brick_selected.tga" tx_pushed="W_slot_brick_selected.tga" color="255 255 255 0" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_over="false" onclick_l="proc" params_l="change_icon_pa|4" />
</group>
<view type="text" id="Ico_txt" posparent="IconPattern" posref="BL TL" y="-8" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiIconTxt" />
<group type="edit_box" id="edit_name" posparent="Ico_txt" posref="TL TL" x="0" y="-14" w="146" h="20" child_resize_h="true"
onenter="" params="" max_num_chars="17" prompt="" enter_loose_focus="true"
onchange="eb_update_macro_text" onchange_params="ui:interface:macro_icon_creation:icon"
entry_type="alpha_num" reset_focus_on_hide="true" menu_r="" >
<group type="edit_box" id="edit_name" posparent="Ico_txt" posref="TL TL" x="0" y="-14" w="146" h="20" child_resize_h="true" onenter="" params="" max_num_chars="17" prompt="" enter_loose_focus="true" onchange="eb_update_macro_text" onchange_params="ui:interface:macro_icon_creation:icon" entry_type="alpha_num" reset_focus_on_hide="true" menu_r="">
<instance template="box_widget" id="back_name" posref="TL TL" sizeref="w" w="0" h="20" />
<view type="text" id="edit_text" x="4" y="1" posref="ML ML" multi_line="false"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
<view type="text" id="edit_text" x="4" y="1" posref="ML ML" multi_line="false" fontsize="12" shadow="true" hardtext="" global_color="false" />
</group>
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
onclick_ok="macro_icon_creation_ok"
onclick_ok_param=""
onclick_cancel="leave_modal"
onclick_cancel_param="" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="macro_icon_creation_ok" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<tree node="keys">
<tree node="keys_player" />
<tree node="keys_animals" />
@ -672,5 +391,4 @@
<tree node="keys_debug" />
<tree node="keys_r2ed" />
</tree>
</interface_config>

@ -1,53 +1,37 @@
<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">
<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" />
<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"
>
<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" />
@ -57,68 +41,24 @@
<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"
>
<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="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">
<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" />
@ -151,352 +91,114 @@
<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" />
<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'),'')" />
<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">
<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" />
<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="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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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"
/>
<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" />
<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="" />
<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" />
@ -505,21 +207,15 @@
</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" />
@ -528,108 +224,49 @@
<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="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" />
<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" />
<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 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"
/>
<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,7 +1,5 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** -->
@ -40,9 +38,6 @@
<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" />
@ -64,17 +59,11 @@
<!-- * 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" />
<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 * -->
<!-- ************* -->
@ -88,7 +77,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" />
@ -96,7 +84,6 @@
<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" />
@ -106,25 +93,19 @@
<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" />
@ -140,5 +121,4 @@
<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,69 +1,33 @@
<interface_config>
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<proc id="proc_con_test">
<action handler="anim_start" params="anim=anim_connection_outro"
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
<action handler="anim_start" params="anim=anim_connection_outro" cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<proc id="proc_con_test2">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_con_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
</proc>
<proc id="proc_startall_connect">
<action handler="anim_start" params="anim=anim_connection_intro" />
</proc>
<proc id="proc_restart_connect" >
</proc>
<proc id="proc_restart_viseur" >
</proc>
<proc id="proc_restart_connect"></proc>
<proc id="proc_restart_viseur"></proc>
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect">
<!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<view type="bitmap" id="jena" render_layer="-1" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
<!-- Quit Button -->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
onover="play_sound" params_over="name=charsel_quit_over"
onclick_l="proc" params_l="proc_con_quit"/>
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit" onover="play_sound" params_over="name=charsel_quit_over" onclick_l="proc" params_l="proc_con_quit" />
<view type="text" id="title" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20" />
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
<!-- When we got the answer from server go to screen_intro -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
<!-- ANIMATIONS -->
<anim id="anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="connecting:black_screen:alpha">
@ -71,14 +35,10 @@
<key time="1.0" value="0" />
</track>
</anim>
<anim id="anim_connection_outro" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_con_test2">
<track type="linear" target="connecting:black_screen:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
</interface_config>

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

@ -1,13 +1,9 @@
<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="specie"/>
@ -15,13 +11,8 @@
<tree node="summary"/>
<tree node="logo_intro"/>
-->
<tree node="charsel" />
<tree node="appear" />
<tree node="location" />
<tree node="crashing" />
</interface_config>

@ -1,16 +1,12 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:INTROCLICKSTEP" type="sint64" value="-1" />
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<proc id="proc_next_screen_when_intro_logo_finished">
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_active_intro_logo_noskip">
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=0" />
<action handler="set" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
@ -19,35 +15,29 @@
<action handler="anim_start" params="anim=anim_intro_logo" />
<action handler="anim_start" params="anim=anim_tryton_fadein_start" />
</proc>
<!-- check if we have to skip the intro -->
<proc id="proc_active_intro_logo">
<action handler="proc" cond="eq(@UI:TEMP:SKIP_INTRO,0)" params="proc_active_intro_logo_noskip" />
<action handler="set" params="target_property=ui:outgame:global_background:active|value=1" />
<action handler="proc" cond="ne(@UI:TEMP:SKIP_INTRO,0)" params="proc_intro_skip" />
</proc>
<proc id="proc_intro_next_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=add(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_intro_back_step">
<action handler="play_sound" params="name=intro_click" />
<action handler="set" params="dblink=UI:TEMP:INTROCLICKSTEP|value=sub(@@UI:TEMP:INTROCLICKSTEP,1)" />
<action handler="anim_start" params="anim=anim_tryton_fadeout" />
</proc>
<proc id="proc_tryton_fadeout_finished">
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=1" />
<action handler="set" cond="ne(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:back_txt:active|value=0" />
<action handler="proc" params="proc_tryton_fadeout_finished2" />
</proc>
<proc id="proc_tryton_fadeout_finished2">
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,0)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton1.tga'" />
<action handler="set" cond="eq(@UI:TEMP:INTROCLICKSTEP,1)" params="target_property=ui:outgame:logo_intro:tryton_text:texture|value='tryton2.tga'" />
@ -56,8 +46,6 @@
<action handler="proc" cond="eq(@UI:TEMP:INTROCLICKSTEP,4)" params="proc_intro_skip" />
<action handler="anim_start" cond="ne(@UI:TEMP:INTROCLICKSTEP,4)" params="anim=anim_tryton_fadein" />
</proc>
<proc id="proc_intro_skip">
<action handler="play_sound" params="name=intro_click" />
<action handler="anim_stop" params="anim=anim_intro_logo" />
@ -67,32 +55,19 @@
<action handler="set" params="target_property=ui:outgame:global_background:back3d:cam:tgtz|value=0.0" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_when_atys_turn_finished">
<action handler="anim_start" params="anim=anim_atys_turn" />
</proc>
<!-- *********************** -->
<!-- * GLOBAL BACKGROUND * -->
<!-- *********************** -->
<!-- for all screens -->
<!-- ***************** -->
<!-- * INTRODUCTION * -->
<!-- ***************** -->
<group id="logo_intro" sizeref="wh" w="0" h="0" on_active="" on_active_params="">
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="MM MM" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<!--
<view type="bitmap" id="nevrax" render_layer="1" txtoffsetx="0" txtoffsety="0" txtwidth="352" txtheight="48"
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
@ -103,7 +78,6 @@
<view type="bitmap" id="ryzom" render_layer="1" txtoffsetx="0" txtoffsety="48" txtwidth="400" txtheight="128"
global_color="false" color="255 255 255 0" posref="MM MM" x="0" y="0" texture="logos_intro.tga" />
-->
<!-- EXIT BUTTON -->
<!--
<ctrl type="button" id="skip" button_type="push_button" posref="TR TR" x="-8" y="-16"
@ -124,8 +98,6 @@
<view type="text" id="back_txt" posparent="back" posref="ML ML" x="36" y="-1" hardtext="uiBackTryton" shadow="true" fontsize="16" color="255 255 255 255" render_layer="2" />
-->
<!-- TRYTON's TEXT -->
<!--
<group type="scroll_text" id="tryton_text" sizeref="w" w="-200" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="MM MM" x="0" y="0" min_height="64" max_height="500" active="true" >
@ -139,17 +111,12 @@
posref="MM MM" x="0" y="0" texture="tryton1.tga" txtoffsetx="128" txtoffsety="120" txtwidth="760" txtheight="272" />
-->
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_intro)" target="logo_intro:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<!-- Intro -->
<!--
<anim id="anim_intro_logo" duration="60.0" disable_buttons="false" >
@ -241,9 +208,4 @@
</track>
</anim>
-->
</interface_config>

@ -1,17 +1,13 @@
<!-- **************************** -->
<!-- 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" />
@ -38,5 +34,4 @@
<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,77 +1,48 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<!-- ******************* -->
<!-- * SELECT LOCATION * -->
<!-- ******************* -->
<!-- we arrive in location from 0-charsel 1-appear -->
<variable entry="UI:TEMP:FROM" type="sint64" value="0" />
<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:PLAYNOWLATER" type="sint64" value="-1" />
<variable entry="UI:TEMP:CHAR3D:DEST" type="sint64" value="-1" />
<!-- Init -->
<proc id="proc_location_start">
<action handler="reset_pushed" params="dblink=ui:outgame:location" />
<action handler="proc" params="location_enable_buttons" />
<action handler="set" params="dblink=UI:TEMP:INFOS|value=-1" />
<action handler="set" params="dblink=UI:TEMP:INFOS|value=0" />
<action handler="set" params="target_property=ui:outgame:location:finish_but:active|value=1" />
<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="proc" params="proc_choice_location|0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:location:loc3d:land:name|value='nb_fyros.ig'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:location:3d_menu_1:land:name|value='nb_fyros.ig'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:location:loc3d:land:name|value='nb_matis.ig'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:location:3d_menu_1:land:name|value='nb_matis.ig'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:location:loc3d:land:name|value='nb_tryker.ig'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:location:3d_menu_1:land:name|value='nb_tryker.ig'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:location:loc3d:land:name|value='nb_zorai.ig'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:location:3d_menu_1:land:name|value='nb_zorai.ig'" />
<action handler="proc" params="init_main_nb" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="init_menu_nbfyros" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="init_menu_nbmatis" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="init_menu_nbtryker" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="init_menu_nbzorai" />
<action handler="proc" params="proc_random_location" />
<action handler="anim_start" params="anim=anim_location_intro" />
<action handler="anim_start" params="anim=anim_loc_clouds" />
<action handler="anim_start" params="anim=anim_loc_select_fx" />
</proc>
<proc id="location_disable_buttons">
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but0:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but1:active|value=0" />
@ -83,11 +54,8 @@
-->
<action handler="set" params="target_property=ui:outgame:location:finish_but:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:abort_but:active|value=0" />
<action handler="set" params="target_property=ui:outgame:location:quit_but:active|value=0" />
</proc>
<proc id="location_enable_buttons">
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but0:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but1:active|value=1" />
@ -99,12 +67,8 @@
-->
<action handler="set" params="target_property=ui:outgame:location:finish_but:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:abort_but:active|value=1" />
<action handler="set" params="target_property=ui:outgame:location:quit_but:active|value=1" />
</proc>
<proc id="proc_random_location">
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=rand(0,4)" />
<action handler="proc" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="proc_choice_location|0" />
@ -113,44 +77,32 @@
<action handler="proc" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="proc_choice_location|3" />
<action handler="proc" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="proc_choice_location|4" />
</proc>
<proc id="init_main_nb">
<!-- Cam -->
<action handler="set" params="target_property=ui:outgame:location:loc3d:cam:fov|value=70" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:started|value=1" />
<action handler="set" params="target_property=ui:outgame:location:3d_select:select_fx:started|value=1" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:cam:posy|value=-1.5" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:cam:posz|value=2.0" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:cam:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:cam:tgty|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:cam:tgtz|value=-0.7" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:land:posz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:clouds:posz|value=0.0" />
</proc>
<proc id="init_menu_nbfyros">
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.99" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.45" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:land:posz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:clouds:posz|value=0.0" />
<!-- Villages Names -->
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but0:hardtext|value='uiLocDest1Fyros'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but1:hardtext|value='uiLocDest2Fyros'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but2:hardtext|value='uiLocDest3Fyros'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but3:hardtext|value='uiLocDest4Fyros'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but4:hardtext|value='uiLocDest5Fyros'" />
<!-- Aegus -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:posx|value=-0.33" />
@ -159,7 +111,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtx|value=-0.81" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgty|value=0.50" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtz|value=-0.02" />
<!-- Kaemon -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:posx|value=-0.34" />
@ -168,7 +119,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtx|value=0.07" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgty|value=-0.21" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtz|value=0.0" />
<!-- Sekovix -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:posx|value=0.87" />
@ -177,7 +127,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtx|value=0.62" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgty|value=0.52" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtz|value=-0.01" />
<!-- Phyxon -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:posx|value=-0.54" />
@ -186,7 +135,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtx|value=-0.43" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgty|value=-0.69" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtz|value=-0.01" />
<!-- Galemus -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:posx|value=0.53" />
@ -196,23 +144,18 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgty|value=-0.73" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgtz|value=0.0" />
</proc>
<proc id="init_menu_nbmatis">
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.76" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.36" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:land:posz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:clouds:posz|value=0.0" />
<!-- Villages Names -->
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but0:hardtext|value='uiLocDest1Matis'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but1:hardtext|value='uiLocDest2Matis'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but2:hardtext|value='uiLocDest3Matis'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but3:hardtext|value='uiLocDest4Matis'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but4:hardtext|value='uiLocDest5Matis'" />
<!-- Stalli -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:posx|value=-0.39" />
@ -221,7 +164,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtx|value=-0.72" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgty|value=0.53" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtz|value=0.11" />
<!-- Borea -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:posx|value=0.76" />
@ -230,7 +172,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtx|value=0.15" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgty|value=0.1" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtz|value=0.08" />
<!-- Nistia -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:posx|value=1.67" />
@ -239,7 +180,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtx|value=1.05" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgty|value=-0.07" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtz|value=0.04" />
<!-- Rosilio -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:posx|value=-0.13" />
@ -248,7 +188,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtx|value=-0.44" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgty|value=-0.34" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtz|value=0.08" />
<!-- Miani -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:fov|value=30" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:posx|value=-0.26" />
@ -258,23 +197,18 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgty|value=-0.79" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgtz|value=0.03" />
</proc>
<proc id="init_menu_nbtryker">
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.99" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.02" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:land:posz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:clouds:posz|value=0.0" />
<!-- Villages Names -->
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but0:hardtext|value='uiLocDest1Tryker'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but1:hardtext|value='uiLocDest2Tryker'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but2:hardtext|value='uiLocDest3Tryker'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but3:hardtext|value='uiLocDest4Tryker'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but4:hardtext|value='uiLocDest5Tryker'" />
<!-- Aubermouth -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:posx|value=-0.51" />
@ -283,7 +217,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtx|value=-1.06" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgty|value=-0.02" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtz|value=-0.02" />
<!-- Barkdell -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:posx|value=-0.22" />
@ -292,7 +225,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtx|value=0.38" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgty|value=0.06" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtz|value=-0.02" />
<!-- Hobwelly -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:posx|value=0.91" />
@ -301,7 +233,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtx|value=1.23" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgty|value=0.49" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtz|value=-0.02" />
<!-- Waverton -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:posx|value=-0.5" />
@ -310,7 +241,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtx|value=-0.89" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgty|value=-1.12" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtz|value=-0.02" />
<!-- Dingleton -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:fov|value=30" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:posx|value=0.97" />
@ -320,24 +250,18 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgty|value=-1.2" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgtz|value=-0.02" />
</proc>
<proc id="init_menu_nbzorai">
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.99" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.45" />
<action handler="set" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:land:posz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:clouds:posz|value=0.0" />
<!-- Villages Names -->
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but0:hardtext|value='uiLocDest1Zorai'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but1:hardtext|value='uiLocDest2Zorai'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but2:hardtext|value='uiLocDest3Zorai'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but3:hardtext|value='uiLocDest4Zorai'" />
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but4:hardtext|value='uiLocDest5Zorai'" />
<!-- Qai-lo -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:posx|value=-0.64" />
@ -346,7 +270,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtx|value=-0.97" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgty|value=0.54" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu1:tgtz|value=-0.05" />
<!-- Sheng-wo -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:posx|value=0.18" />
@ -355,7 +278,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtx|value=-0.14" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgty|value=-0.31" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu2:tgtz|value=-0.08" />
<!-- men-xing -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:posx|value=0.55" />
@ -364,7 +286,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtx|value=0.7" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgty|value=0.32" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu3:tgtz|value=-0.08" />
<!-- Koi-zun -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:posx|value=-0.4" />
@ -373,7 +294,6 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtx|value=-0.75" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgty|value=-0.98" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu4:tgtz|value=-0.08" />
<!-- Yin-piang -->
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:fov|value=40" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:posx|value=0.34" />
@ -383,172 +303,112 @@
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgty|value=-0.74" />
<action handler="set" params="target_property=ui:outgame:location:3d_menu_1:cam_menu5:tgtz|value=-0.08" />
</proc>
<proc id="restart_loc_clouds">
<action handler="anim_start" params="anim=anim_loc_clouds" />
</proc>
<proc id="restart_loc_select_fx">
<action handler="anim_start" params="anim=anim_loc_select_fx" />
</proc>
<proc id="location_when_back_finished">
<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="proc_choice_location">
<action handler="set" params="target_property=ui:outgame:location:leftbuts:but@0:pushed|value=1" />
<action handler="play_sound" params="name=career_but_click" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKDEST|value=@0" />
<action handler="set" params="target_property=ui:outgame:location:select_menu:y |
value=switch(@0, 2, -151, -304, -457, -610)" />
<action handler="set" params="target_property=ui:outgame:location:3d_select:y |
value=switch(@0, 0, -153, -306, -459, -612)" />
<action handler="set" params="target_property=ui:outgame:location:select_menu:y | value=switch(@0, 2, -151, -304, -457, -610)" />
<action handler="set" params="target_property=ui:outgame:location:3d_select:y | value=switch(@0, 0, -153, -306, -459, -612)" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="loc_selection_nbfyros" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="loc_selection_nbmatis" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="loc_selection_nbtryker" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="loc_selection_nbzorai" />
<action handler="proc" params="proc_location_infos2" />
</proc>
<proc id="loc_selection_nbfyros">
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.85" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.42" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.05" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.18" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.21" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.05" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.48" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.51" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.04" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.3" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.65" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.04" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.88" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.75" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.04" />
</proc>
<proc id="loc_selection_nbmatis">
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.76" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.36" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=0.0" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.31" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.06" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=0.07" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=1.06" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.02" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=0.0" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.5" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.39" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.01" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.62" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.62" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
</proc>
<proc id="loc_selection_nbtryker">
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.99" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.02" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.42" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.1" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=1.3" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.45" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.9" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-1.08" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=1.05" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-1.08" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
</proc>
<proc id="loc_selection_nbzorai">
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.99" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.45" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,0)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.06" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.15" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.24" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,1)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.08" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.63" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=0.31" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,2)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.1" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=-0.74" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.88" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,3)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.08" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posx|value=0.72" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posy|value=-0.66" />
<action handler="set" cond="eq(@UI:TEMP:LOCCLICKDEST,4)" params="target_property=ui:outgame:location:loc3d:loc_fx:posz|value=-0.1" />
</proc>
<!-- ABORT -->
<group type="modal" id="location_abort" posref="MM MM" w="300" h="190"
mouse_pos="false" escapable="false" exit_click_out="false"
display="false"
>
<group type="modal" id="location_abort" posref="MM MM" w="300" h="190" mouse_pos="false" escapable="false" exit_click_out="false" display="false">
<instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284"
fontsize="17" shadow="true" hardtext="uiCP_Location_Back" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="submit" posref="BR BR" x="-8" y="8" hardtext="uiCP_Abort_yes"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_location_abort_continue" />
<ctrl style="valid_txt_button" id="cancel" posref="TR BR" posparent="submit" x="0" y="4" hardtext="uiCP_Abort_no"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_location_abort_cancel" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284" fontsize="17" shadow="true" hardtext="uiCP_Location_Back" multi_line="true" multi_line_space="0" />
<ctrl style="valid_txt_button" id="submit" posref="BR BR" x="-8" y="8" hardtext="uiCP_Abort_yes" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_location_abort_continue" />
<ctrl style="valid_txt_button" id="cancel" posref="TR BR" posparent="submit" x="0" y="4" hardtext="uiCP_Abort_no" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_location_abort_cancel" />
</group>
<proc id="proc_play_later">
<action handler="play_sound" params="name=generic_next_click" />
<action handler="anim_start" params="anim=anim_CP_location_abort" />
</proc>
<proc id="proc_play_later2">
<action handler="enter_modal" params="group=ui:outgame:location_abort" />
</proc>
<proc id="proc_play_later3">
<action handler="proc" params="location_disable_buttons" />
<action handler="set" params="dblink=UI:TEMP:PLAYNOWLATER|value=1" />
@ -564,34 +424,25 @@
<action handler="copy" params="dbdst=UI:CURRENT_SCREEN|dbsrc=UI:NEXT_SCREEN" />
-->
</proc>
<proc id="proc_location_abort_continue">
<action handler="leave_modal" />
<action handler="anim_start" params="anim=anim_CP_location_abort_ok" />
</proc>
<proc id="proc_location_abort_cancel">
<action handler="leave_modal" />
<action handler="anim_start" params="anim=anim_CP_location_abort_cancel" />
</proc>
<!-- ABORT -->
<proc id="proc_location_abort">
<action handler="play_sound" params="name=generic_prev_click" />
<action handler="set" params="dblink=UI:TEMP:LOCATIONBACKHOME|value=0" />
<action handler="anim_start" params="anim=anim_location_outro_abort" />
</proc>
<proc id="proc_location_abort2">
<action handler="proc" params="location_disable_buttons" />
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,0)" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" />
<action handler="set" cond="eq(@UI:TEMP:LOCATIONBACKHOME,1)" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<!-- HOME -->
<!--
<proc id="proc_choice_home_screen_location">
@ -604,17 +455,14 @@
<!-- FINISH -->
<proc id="proc_location_finish">
<action handler="play_sound" params="name=generic_next_click" />
<action handler="anim_start" params="anim=anim_location_outro_finish" />
<action handler="set" params="dblink=UI:TEMP:PLAYNOWLATER|value=0" />
<!-- Continue or Restart Default Outgame Music
MUST PLAY IT NOT ASYNCLY, else it don't works well during loading
-->
<!-- Play character selection music -->
<!-- <action handler="play_music_outgame" params="async=0" /> -->
</proc>
<proc id="proc_location_finish2">
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D:DEST|dbsrc=UI:TEMP:LOCCLICKDEST" />
<action handler="set" params="dblink=UI:TEMP:LOCCLICKINFO|value=0" />
@ -622,316 +470,162 @@
<action handler="set" params="target_property=ui:outgame:location:finish_but:active|value=0" />
<action handler="ask_create_char" params="name=ui:outgame:appear_name:eb|caracs=UI:TEMP:JOB_|charsum=UI:TEMP:CHAR3D|loc=UI:TEMP:CHAR3D:DEST|slot=@UI:TEMP:CHARSELSLOT" />
</proc>
<proc id="proc_location_finish3">
<action handler="proc" params="location_disable_buttons" />
<action handler="anim_start" cond="eq(@UI:TEMP:PLAYNOWLATER,0)" params="anim=anim_location_finish3to4" />
<action handler="set" cond="eq(@UI:TEMP:PLAYNOWLATER,1)" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
</proc>
<proc id="proc_location_finish4">
<action handler="launch_game" params="slot=@UI:TEMP:CHARSELSLOT" />
</proc>
<!-- ********* -->
<!-- * INFOS * -->
<!-- ********* -->
<proc id="proc_location_infos">
<action handler="set" params="dblink=UI:TEMP:INFOS|value=not(@UI:TEMP:INFOS)" />
<action handler="leave_modal" params="" />
<action handler="set" cond="eq(@UI:TEMP:INFOS, 1)" params="target_property=ui:outgame:location:quit_but:active|value=0" />
<action handler="enter_modal" cond="eq(@UI:TEMP:INFOS, 1)" params="group=ui:outgame:location_infos" />
</proc>
<proc id="proc_location_infos2">
<action handler="enter_modal" cond="eq(@UI:TEMP:INFOS, 1)" params="group=ui:outgame:location_infos" />
</proc>
<group type="modal" id="location_infos" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true"
display="false"
>
<view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780"
fontsize="17" shadow="true" hardtext="uiLocation_Infos" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_infos"/>
<group type="modal" id="location_infos" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1" mouse_pos="false" escapable="false" exit_click_out="true" display="false">
<view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780" fontsize="17" shadow="true" hardtext="uiLocation_Infos" multi_line="true" multi_line_space="0" />
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_infos" />
</group>
<!-- SERVER CREATE THE CHARACTER -->
<proc id="proc_loc_server_test">
<action handler="proc" params="proc_location_finish3"
cond="and(eq(@UI:CURRENT_SCREEN,%screen_location),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
<action handler="proc" params="proc_location_finish3" 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" />
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_loc_server_test" />
<!-- ***************** -->
<!-- * MAIN WINDOW * -->
<!-- ***************** -->
<group id="location" w="1024" h="768" posref="MM MM"
on_active="proc" on_active_params="proc_location_start">
<group id="location" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_location_start">
<!-- TEMP BACK -->
<view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="-3" scale="true" w="1024" h="768" texture="blank.tga"
color="0 0 0 255" global_color="false" />
<view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="-3" scale="true" w="1024" h="768" texture="blank.tga" color="0 0 0 255" global_color="false" />
<!-- 3D Scene -->
<scene3d id="loc3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2"
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="2.5" dist_limit_max="3.5"
ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<scene3d id="loc3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2" 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="2.5" dist_limit_max="3.5" ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0">
<!--
ambient="20 20 20" sun_ambient="0 0 0" sun_diffuse="160 128 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
-->
<camera id="cam" fov="70" pos="0.0 -2.5 3.6" target="0.0 0.0 0.0" roll="0" />
<!--
<light id="back" pos="-0.90 1.53 0.9" color="170 150 0" near="5" far="10" />
<light id="lgt" pos="0.65 -1.12 2.65" color="255 255 255" near="10" far="20" />
-->
<ig id="land" name="nb_fyros.ig" pos="0.0 0.0 0.0" rot="0.0 0.0 0.0" />
<shape id="clouds" name="nb_matis_clouds.shape" pos="0.0 0.0 0.0" rot="0.0 0.0 0.0" />
<fx id="loc_fx" pos="-0.76 0.36 0" name="Outgame_location.ps" rot="0.0 0.0 0.0" />
<auto_anim name="Helice00.anim" />
<auto_anim name="Helice01.anim" />
<auto_anim name="Helice02.anim" />
<auto_anim name="Helice03.anim" />
<auto_anim name="Helice04.anim" />
</scene3d>
<!-- Menu 3d -->
<scene3d id="3d_menu_1" w="200" h="150" posref="TL TL" curcam="cam_menu1" curcs="env" render_layer="-2"
user_interaction="false"
ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<scene3d id="3d_menu_1" w="200" h="150" posref="TL TL" curcam="cam_menu1" curcs="env" render_layer="-2" user_interaction="false" ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0">
<camera id="cam_menu1" fov="20" pos="0.0 -2.5 2.0" target="0.0 0.0 0.0" roll="0" />
<camera id="cam_menu2" fov="20" pos="0.0 -2.5 2.0" target="0.0 0.0 0.0" roll="0" />
<camera id="cam_menu3" fov="20" pos="0.0 -2.5 2.0" target="0.0 0.0 0.0" roll="0" />
<camera id="cam_menu4" fov="20" pos="0.0 -2.5 2.0" target="0.0 0.0 0.0" roll="0" />
<camera id="cam_menu5" fov="20" pos="0.0 -2.5 2.0" target="0.0 0.0 0.0" roll="0" />
<!--
<light id="back" pos="-0.90 1.53 1.24" color="170 150 120" near="10" far="20" />
<light id="lgt" pos="0.65 -1.12 2.65" color="255 255 255" near="10" far="20" />
-->
<ig id="land" name="nb_fyros.ig" pos="0.0 0.0 0.0" rot="0.0 0.0 0.0" />
<shape id="clouds" name="nb_matis_clouds.shape" pos="0.0 0.0 0.0" rot="0.0 0.0 0.0" />
<auto_anim name="Helice00.anim" />
<auto_anim name="Helice01.anim" />
<auto_anim name="Helice02.anim" />
<auto_anim name="Helice03.anim" />
<auto_anim name="Helice04.anim" />
</scene3d>
<scene3d id="3d_menu_2" posparent="3d_menu_1" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu2"
curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false"
ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
</scene3d>
<scene3d id="3d_menu_3" posparent="3d_menu_2" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu3"
curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false"
ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
</scene3d>
<scene3d id="3d_menu_4" posparent="3d_menu_3" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu4"
curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false"
ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
</scene3d>
<scene3d id="3d_menu_5" posparent="3d_menu_4" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu5"
curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false"
ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
</scene3d>
<scene3d id="3d_menu_2" posparent="3d_menu_1" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu2" curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false" ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0"></scene3d>
<scene3d id="3d_menu_3" posparent="3d_menu_2" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu3" curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false" ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0"></scene3d>
<scene3d id="3d_menu_4" posparent="3d_menu_3" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu4" curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false" ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0"></scene3d>
<scene3d id="3d_menu_5" posparent="3d_menu_4" w="200" h="150" y="-3" posref="BL TL" curcam="cam_menu5" curcs="env" render_layer="-2" reference="3d_menu_1" user_interaction="false" ambient="64 64 64" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0"></scene3d>
<!-- Buttons on left -->
<group id="leftbuts" sizeref="wh" w="0" h="0">
<ctrl style="menu_button" id="but0" posref="TL TL" x="3" y="-3" hardtext="uiLocDest1Matis"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_choice_location|0" />
<ctrl style="menu_button" id="but1" posref="BL TL" posparent="but0" y="-3" hardtext="uiLocDest2Matis"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_choice_location|1" />
<ctrl style="menu_button" id="but2" posref="BL TL" posparent="but1" y="-3" hardtext="uiLocDest3Matis"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_choice_location|2" />
<ctrl style="menu_button" id="but3" posref="BL TL" posparent="but2" y="-3" hardtext="uiLocDest4Matis"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_choice_location|3" />
<ctrl style="menu_button" id="but4" posref="BL TL" posparent="but3" y="-3" hardtext="uiLocDest5Matis"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_choice_location|4" />
<ctrl style="menu_button" id="but0" posref="TL TL" x="3" y="-3" hardtext="uiLocDest1Matis" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_choice_location|0" />
<ctrl style="menu_button" id="but1" posref="BL TL" posparent="but0" y="-3" hardtext="uiLocDest2Matis" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_choice_location|1" />
<ctrl style="menu_button" id="but2" posref="BL TL" posparent="but1" y="-3" hardtext="uiLocDest3Matis" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_choice_location|2" />
<ctrl style="menu_button" id="but3" posref="BL TL" posparent="but2" y="-3" hardtext="uiLocDest4Matis" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_choice_location|3" />
<ctrl style="menu_button" id="but4" posref="BL TL" posparent="but3" y="-3" hardtext="uiLocDest5Matis" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_choice_location|4" />
</group>
<!--*************-->
<!-- SKIN BANNER -->
<!--*************-->
<view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="outgame_skin_banner.tga"
color="255 255 255 255" global_color="false" />
<view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="outgame_skin_banner.tga" color="255 255 255 255" global_color="false" />
<!-- MODAL BLACK SCREEN -->
<view type="bitmap" id="infos_screen" x="-3" y="-3" w="815" h="762" posref="TR TR" render_layer="1" texture="blank.tga" color="0 0 0 160"
scale="true" global_color="false" />
<view type="bitmap" id="infos_screen" x="-3" y="-3" w="815" h="762" posref="TR TR" render_layer="1" texture="blank.tga" color="0 0 0 160" scale="true" global_color="false" />
<link expr="eq(@UI:TEMP:INFOS, 1)" target="infos_screen:active" />
<!-- Bottom buttons -->
<!--
<ctrl style="valid_txt_button" id="infos_but" posref="BL BL" x="248" y="48" hardtext="uiCP_Infos"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_location_infos"/>
-->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="36" hardtext="uiLocation_Play"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_location_finish"/>
<ctrl style="valid_txt_button" id="abort_but" posparent="finish_but" posref="TM BM" y="4" hardtext="uiLocation_Back"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_play_later"/>
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="36" hardtext="uiLocation_Play" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_location_finish" />
<ctrl style="valid_txt_button" id="abort_but" posparent="finish_but" posref="TM BM" y="4" hardtext="uiLocation_Back" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_play_later" />
<!-- SKIN -->
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga"
color="255 255 255 255" global_color="false" />
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga" color="255 255 255 255" global_color="false" />
<!-- TITLE -->
<group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR">
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="-4" hardtext="uiCP_title2" />
<view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_selection" />
</group>
<!-- SKIN MENU SELECTION 1 -->
<view type="bitmap" id="select_menu" posref="TL TL" x="0" y="2" render_layer="4" scale="true" texture="blank.tga"
color="0 0 0 0" w="212" h="160" />
<view type="bitmap" id="select_menu" posref="TL TL" x="0" y="2" render_layer="4" scale="true" texture="blank.tga" color="0 0 0 0" w="212" h="160" />
<!-- Select 3d -->
<scene3d id="3d_select" w="206" h="156" posref="TL TL" curcam="cam" curcs="env" render_layer="4"
user_interaction="false"
ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<scene3d id="3d_select" w="206" h="156" posref="TL TL" curcam="cam" curcs="env" render_layer="4" user_interaction="false" ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0">
<camera id="cam" fov="70" pos="0 -3 0" target="0.0 0.0 0.0" roll="0" />
<fx id="select_fx" pos="2.0 0.0 1.5" name="sfx_interface_selectioncadre.ps" rot="0.0 0.0 0.0" />
</scene3d>
<!-- KAMI MENU SELECT -->
<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga"
color="255 255 255 255" global_color="false" />
<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga" color="255 255 255 255" global_color="false" />
<!-- QUIT BUTTON -->
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0"
tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_quit"/>
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0" tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_quit" />
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
</group>
<link expr="eq(@UI:CURRENT_SCREEN, %screen_location)" target="location:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<anim id="anim_location_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="location:black_screen:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
<anim id="anim_location_outro_finish" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_location_finish2">
<track type="linear" target="location:black_screen:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_location_finish3to4" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_location_finish4">
<track type="linear" target="location:black_screen:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_location_outro_abort" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_location_abort2">
<track type="linear" target="location:black_screen:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_loc_clouds" duration="60.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_loc_clouds">
<track type="linear" target="location:loc3d:clouds:rotz">
<key time="0.0" value="0" />
<key time="60.0" value="360" />
</track>
</anim>
<anim id="anim_loc_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_loc_select_fx">
<track type="linear" target="location:3d_select:select_fx:posx">
<key time="0.0" value="2" />
<key time="0.5" value="-2" />
@ -939,7 +633,6 @@
<key time="1.5" value="2" />
<key time="2.0" value="2" />
</track>
<track type="linear" target="location:3d_select:select_fx:posz">
<key time="0.0" value="1.5" />
<key time="0.5" value="1.5" />
@ -947,28 +640,23 @@
<key time="1.5" value="-1.5" />
<key time="2.0" value="1.5" />
</track>
</anim>
<anim id="anim_CP_location_abort" duration="0.5" disable_buttons="true" on_finish="proc" on_finish_params="proc_play_later2">
<track type="linear" target="location:black_screen:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="128" />
</track>
</anim>
<anim id="anim_CP_location_abort_ok" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_play_later3">
<track type="linear" target="location:black_screen:alpha">
<key time="0.0" value="128" />
<key time="1.5" value="255" />
</track>
</anim>
<anim id="anim_CP_location_abort_cancel" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="">
<track type="linear" target="location:black_screen:alpha">
<key time="0.0" value="128" />
<key time="1.0" value="0" />
</track>
</anim>
</interface_config>

@ -1,7 +1,5 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<lua file="out_v2_select.lua" />
<!--
<lua file="bg_downloader.lua" />
@ -9,41 +7,32 @@
<!-- *********************** -->
<!-- * CHARACTER SELECTION * -->
<!-- *********************** -->
<!-- *************** -->
<!-- * VARIABLES * -->
<!-- *************** -->
<variable entry="UI:TEMP:CHARSELSLOT" type="sint64" value="-1" />
<variable entry="UI:TEMP:EDIT_SCENARIO" type="sint64" value="0" />
<!-- are we in del char mode ? -->
<variable entry="UI:TEMP:CHARSELDELCHAR" type="sint64" value="0" />
<variable entry="UI:TEMP:CHAR3D:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHARSLOT0:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHARSLOT1:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHARSLOT2:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHARSLOT3:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHARSLOT4:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHARSELOPT1" type="sint64" value="0" />
<variable entry="UI:TEMP:CHARSELOPT2" type="sint64" value="0" />
<variable entry="UI:TEMP:HAIRCUT" type="sint64" value="1" />
<variable entry="UI:TEMP:RAND" type="sint64" value="1" />
<variable entry="UI:TEMP:CHAR3DFYROS:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHAR3DMATIS:PEOPLE" type="sint64" value="1" />
<variable entry="UI:TEMP:CHAR3DTRYKER:PEOPLE" type="sint64" value="2" />
<variable entry="UI:TEMP:CHAR3DZORAI:PEOPLE" type="sint64" value="3" />
<variable entry="UI:TEMP:INFOS" type="sint64" value="-1" />
<variable entry="UI:TEMP:HAS_EDITSESSION" type="sint64" value="0" />
<!-- ***************** -->
<!-- * PROCEDURES * -->
<!-- ***************** -->
<!-- When we reach the charsel page -->
<proc id="proc_charsel_active">
<action handler="proc" params="proc_charsel_initslot|0" />
@ -51,38 +40,26 @@
<action handler="proc" params="proc_charsel_initslot|2" />
<action handler="proc" params="proc_charsel_initslot|3" />
<action handler="proc" params="proc_charsel_initslot|4" />
<action handler="set" params="dblink=UI:TEMP:INFOS|value=-1" />
<action handler="set" params="dblink=UI:TEMP:INFOS|value=0" />
<action handler="anim_start" params="anim=anim_charsel_intro" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posy|value=23.0" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posz|value=2.8" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgty|value=26.5" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtz|value=2.0" />
<action handler="lua:game:procCharselClickSlot()" />
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:select_fx:started|value=1" />
<action handler="anim_start" params="anim=anim_sel_select_fx" />
<action handler="anim_start" params="anim=anim_empty" />
<action handler="proc" params="charsel_enable_buttons" />
<!-- Continue or Restart Default Outgame Music
MUST PLAY IT NOT ASYNCLY, else it don't works well during loading
-->
<!-- Play character selection music -->
<!-- <action handler="play_music_outgame" params="async=0" /> -->
</proc>
<proc id="charsel_disable_buttons">
<action handler="set" params="target_property=ui:outgame:charsel:but_slot0:active|value=0" />
<action handler="set" params="target_property=ui:outgame:charsel:but_slot1:active|value=0" />
@ -97,11 +74,8 @@
<action handler="set" params="target_property=ui:outgame:charsel:del_but:active|value=0" />
<action handler="set" params="target_property=ui:outgame:charsel:create_new_but:active|value=0" />
<action handler="set" params="target_property=ui:outgame:charsel:resume_session_but:active|value=0" />
<action handler="set" params="target_property=ui:outgame:charsel:quit_but:active|value=0" />
</proc>
<proc id="charsel_enable_buttons">
<action handler="set" params="target_property=ui:outgame:charsel:but_slot0:active|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:but_slot1:active|value=1" />
@ -116,46 +90,32 @@
<action handler="set" params="target_property=ui:outgame:charsel:del_but:active|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:create_new_but:active|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:resume_session_but:active|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:quit_but:active|value=1" />
</proc>
<proc id="restart_sel_select_fx">
<action handler="anim_start" params="anim=anim_sel_select_fx" />
</proc>
<!-- Init Slots -->
<proc id="proc_charsel_initslot">
<action handler="proc" cond="not(isCharSelSlotEmpty(@0))" params="proc_charsel_initslot_full|@0" />
<action handler="proc" cond="isCharSelSlotEmpty(@0)" params="proc_charsel_initslot_empty|@0" />
</proc>
<proc id="proc_charsel_initslot_full">
<action handler="set_db_from_slot" params="dblink=UI:TEMP:CHARSLOT@0|slot=@0" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:active|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:empty_slot@0:active|value=0" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:char:anim|value=3" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:env:name |
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:fov |
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 21, 22, 20, 23)" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:env:name | value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:fov | value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 21, 22, 20, 23)" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:posz|value=add(0.06,getprop('ui:outgame:charsel:slot@0:char:headz'))" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:tgtz|value=add(0.06,getprop('ui:outgame:charsel:slot@0:char:headz'))" />
<action handler="get_slot" cond="not(isCharSelSlotEmpty(@0))" params="prop=name|target=ui:outgame:charsel:but_slot@0:hardtext|slot=@0" />
</proc>
<proc id="proc_charsel_initslot_empty">
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:active|value=0" />
<action handler="set" params="target_property=ui:outgame:charsel:empty_slot@0:active|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:hardtext|value='uiCharSel_EmptySlot'" />
</proc>
<proc id="select_specie_anim">
<action handler="set" params="target_property=ui:outgame:charsel:char3d:char:anim|value=5" />
<!--
@ -165,80 +125,57 @@
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:charsel:char3d:char:anim|value=14" />
-->
</proc>
<!-- When we click on a slot -->
<proc id="proc_charsel_clickslot">
<action handler="set" params="dblink=UI:TEMP:CHARSELSLOT|value=-1" />
<action handler="set" params="dblink=UI:TEMP:CHARSELSLOT|value=@0" />
<action handler="set_db_from_slot" params="dblink=UI:TEMP:CHAR3D|slot=@0" />
<action handler="set" cond="ne(@UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND, 0)" params="target_property=ui:outgame:charsel:char3d:char:anim|value=10" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:VPA:WEAPONRIGHTHAND, 0)" params="select_specie_anim" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:active|value=not(isCharSelSlotEmpty(@0))" />
<action handler="set" params="target_property=ui:outgame:charsel:empty3d:active|value=isCharSelSlotEmpty(@0)" />
<action handler="set" params="target_property=ui:outgame:charsel:select_menu:y |
value=switch(@0, 2, -151, -304, -457, -610)" />
<action handler="set" params="target_property=ui:outgame:charsel:select_menu:y | value=switch(@0, 2, -151, -304, -457, -610)" />
<action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:pushed|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:env:name |
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:fov |
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 60, 60, 60, 60)" />
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:y |
value=switch(@0, 0, -153, -306, -459, -612)" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:env:name | value=switch(@UI:TEMP:CHAR3D:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:fov | value=switch(@UI:TEMP:CHAR3D:PEOPLE, 60, 60, 60, 60)" />
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:y | value=switch(@0, 0, -153, -306, -459, -612)" />
<!-- Play character selection music -->
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,0),not(isCharSelSlotEmpty(@0)))" params="name=character creation fyros.ogg|async=1" />
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,1),not(isCharSelSlotEmpty(@0)))" params="name=character creation matis.ogg|async=1" />
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,2),not(isCharSelSlotEmpty(@0)))" params="name=character creation trykers.ogg|async=1" />
<action handler="play_music_outgame" cond="and(eq(@UI:TEMP:CHAR3D:PEOPLE,3),not(isCharSelSlotEmpty(@0)))" params="name=character creation zorai.ogg|async=1" />
<action handler="play_music_outgame" cond="isCharSelSlotEmpty(@0)" params="async=1" />
<action handler="proc" params="proc_charsel_infos2" />
</proc>
<proc id="proc_charsel_play">
<action handler="set" params="dblink=UI:TEMP:EDIT_SCENARIO|value=0" />
<action handler="anim_start" params="anim=anim_charsel_outro_play" />
</proc>
<proc id="proc_charsel_edit_menu">
<action handler="set" params="dblink=UI:TEMP:HAS_EDITSESSION|value=isCharSelSlotHasEditSession(@UI:TEMP:CHARSELSLOT)" />
<action handler="lua:game:openEditorMenu()" />
</proc>
<proc id="proc_charsel_edit_scenario">
<action handler="set" params="dblink=UI:TEMP:EDIT_SCENARIO|value=1" />
<action handler="anim_start" params="anim=anim_charsel_outro_play" />
</proc>
<proc id="proc_charsel_new_scenario">
<action handler="set" params="dblink=UI:TEMP:EDIT_SCENARIO|value=2" />
<action handler="anim_start" params="anim=anim_charsel_outro_play" />
</proc>
<proc id="proc_charsel_new_scenario_warning">
<action handler="enter_modal" params="group=ui:outgame:r2ed_editor_new_sceneario_warning" />
<!-- <action handler="lua:game:openEditorMenuWarningNewScenario()" /> -->
</proc>
<proc id="proc_charsel_new_scenario_warning_cancel">
<action handler="play_sound" params="name=charsel_delno_click" />
<action handler="leave_modal" params="" />
<action handler="anim_start" params="anim=anim_charsel_delout" />
</proc>
<proc id="proc_charsel_play2">
<action handler="proc" params="charsel_disable_buttons" />
<action handler="launch_game" params="slot=@UI:TEMP:CHARSELSLOT|edit_mode=@UI:TEMP:EDIT_SCENARIO" />
</proc>
<proc id="proc_charsel_create_new">
<action handler="anim_start" params="anim=anim_charsel_outro_new" />
</proc>
@ -246,7 +183,6 @@
<action handler="proc" params="charsel_disable_buttons" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" />
</proc>
<proc id="proc_charsel_create_ran">
<action handler="anim_start" params="anim=anim_charsel_outro_ran" />
</proc>
@ -254,295 +190,159 @@
<action handler="proc" params="charsel_disable_buttons" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" />
</proc>
<!-- When we click on the exit button -->
<proc id="proc_quit">
<action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" />
</proc>
<!-- Relance la rotation du sigle empty -->
<proc id="restart_empty_anim">
<action handler="anim_start" params="anim=anim_empty" />
</proc>
<!-- ***************** -->
<!-- * TEMPLATES * -->
<!-- ***************** -->
<template name="char_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="-3">
<scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
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" >
<scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" 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">
<character3d id="char" dblink="#dblink" pos="0.0 26.5 0.85" rot="0.0 0.0 10.0" />
<camera id="cam" fov="20" pos="0.0 24.0 2.2" target="0.0 26.5 2.0" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" 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" />
<ig id="env" name="outgame_matis.ig" pos="0 0 0" />
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 0.85" rot="0.0 0.0 0.0" />
<auto_anim name="brazero-inter1.anim" />
<auto_anim name="brazero-inter2.anim" />
<auto_anim name="lanterne-int1.anim" />
<auto_anim name="lanterne-int2.anim" />
</scene3d>
</template>
<template name="empty_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="-3">
<scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
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" >
<scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" 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 24.0 2.6" target="0.0 26.5 2.2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" 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="empty" name="empty.shape" pos="0.0 26.5 2.0" rot="0.0 0.0 0.0" />
</scene3d>
</template>
<!-- ******************** -->
<!-- * DELETE CHARACTER * -->
<!-- ******************** -->
<group type="modal" id="charsel_delchar_confirm" posref="MM MM" w="300" h="180"
mouse_pos="false" escapable="false" exit_click_out="false" display="false">
<group type="modal" id="charsel_delchar_confirm" posref="MM MM" w="300" h="180" mouse_pos="false" escapable="false" exit_click_out="false" display="false">
<instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284"
fontsize="17" shadow="true" hardtext="uiCharSel_DelChar" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="submit" posref="BR BR" x="-8" y="8" hardtext="uiCP_Delete_yes"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_delchar_confirm_ok" />
<ctrl style="valid_txt_button" id="cancel" posref="TR BR" posparent="submit" x="0" y="4" hardtext="uiCP_Delete_no"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_delchar_confirm_cancel" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284" fontsize="17" shadow="true" hardtext="uiCharSel_DelChar" multi_line="true" multi_line_space="0" />
<ctrl style="valid_txt_button" id="submit" posref="BR BR" x="-8" y="8" hardtext="uiCP_Delete_yes" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_delchar_confirm_ok" />
<ctrl style="valid_txt_button" id="cancel" posref="TR BR" posparent="submit" x="0" y="4" hardtext="uiCP_Delete_no" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_delchar_confirm_cancel" />
</group>
<!-- ********* -->
<!-- * INFOS * -->
<!-- ********* -->
<proc id="proc_charsel_infos">
<action handler="set" params="dblink=UI:TEMP:INFOS|value=not(@UI:TEMP:INFOS)" />
<action handler="leave_modal" params="" />
<action handler="set" cond="eq(@UI:TEMP:INFOS, 1)" params="target_property=ui:outgame:charsel:quit_but:active|value=0" />
<action handler="set" cond="eq(@UI:TEMP:INFOS, 0)" params="target_property=ui:outgame:charsel:quit_but:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:INFOS, 0)" params="target_property=ui:outgame:appear:quit_but:active|value=1" />
<action handler="set" cond="eq(@UI:TEMP:INFOS, 0)" params="target_property=ui:outgame:location:quit_but:active|value=1" />
<action handler="enter_modal" cond="and(eq(@UI:TEMP:INFOS, 1),not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)))" params="group=ui:outgame:charsel_infos1" />
<action handler="enter_modal" cond="and(eq(@UI:TEMP:INFOS, 1),isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT))" params="group=ui:outgame:charsel_infos2" />
</proc>
<proc id="proc_charsel_infos2">
<action handler="enter_modal" cond="and(eq(@UI:TEMP:INFOS, 1),not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)))" params="group=ui:outgame:charsel_infos1" />
<action handler="enter_modal" cond="and(eq(@UI:TEMP:INFOS, 1),isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT))" params="group=ui:outgame:charsel_infos2" />
</proc>
<group type="modal" id="charsel_infos1" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" display="false">
<view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780"
fontsize="17" shadow="true" hardtext="uiCharSel_Infos1" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_infos"/>
<group type="modal" id="charsel_infos1" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1" mouse_pos="false" escapable="false" exit_click_out="true" display="false">
<view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780" fontsize="17" shadow="true" hardtext="uiCharSel_Infos1" multi_line="true" multi_line_space="0" />
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_infos" />
</group>
<group type="modal" id="charsel_infos2" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" display="false">
<view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780"
fontsize="17" shadow="true" hardtext="uiCharSel_Infos2" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_infos"/>
<group type="modal" id="charsel_infos2" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1" mouse_pos="false" escapable="false" exit_click_out="true" display="false">
<view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780" fontsize="17" shadow="true" hardtext="uiCharSel_Infos2" multi_line="true" multi_line_space="0" />
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_infos" />
</group>
<proc id="proc_charsel_del">
<action handler="anim_start" params="anim=anim_charsel_delin" />
<action handler="set" params="dblink=UI:TEMP:CHARSELDELCHAR|value=1" />
<action handler="enter_modal" params="group=ui:outgame:charsel_delchar_confirm" />
</proc>
<proc id="proc_charsel_delchar_confirm_ok">
<action handler="anim_start" params="anim=anim_charsel_delin2" />
<action handler="play_sound" params="name=charsel_delok_click" />
<action handler="leave_modal" params="" />
<action handler="ask_delete_char" params="slot=@UI:TEMP:CHARSELSLOT" />
</proc>
<proc id="proc_charsel_delchar_confirm_ok2">
<action handler="set" params="dblink=UI:TEMP:CHARSELDELCHAR|value=0" />
<action handler="anim_start" params="anim=anim_char_sel_delete" />
<action handler="proc" params="proc_charsel_active" />
</proc>
<proc id="proc_charsel_test">
<action handler="proc" params="proc_charsel_delchar_confirm_ok2"
cond="and(eq(@UI:TEMP:CHARSELDELCHAR,1),eq(@UI:CURRENT_SCREEN, %screen_select),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
<action handler="proc" params="proc_charsel_delchar_confirm_ok2" cond="and(eq(@UI:TEMP:CHARSELDELCHAR,1),eq(@UI:CURRENT_SCREEN, %screen_select),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
</proc>
<!-- When we got the answer from server terminate delchar -->
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_charsel_test" />
<proc id="proc_charsel_delchar_confirm_cancel">
<action handler="play_sound" params="name=charsel_delno_click" />
<action handler="leave_modal" params="" />
<action handler="anim_start" params="anim=anim_charsel_delout" />
</proc>
<proc id="charsel_init_buttons">
<action handler="add_link" params="id=play_edit_session_del_init|expr=and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT))))|target=ui:outgame:charsel:play_but:active,ui:outgame:charsel:edit_session_but:active,ui:outgame:charsel:del_but:active" />
<action handler="add_link" params="id=create_new_but_init|expr=isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)|target=ui:outgame:charsel:create_new_but:active" />
<action handler="add_link" params="id=resume_session_but_init|expr=isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)|target=ui:outgame:charsel:resume_session_but:active,ui:outgame:charsel:in_ring_session:active" />
<action handler="remove_link" params="id=play_edit_session_del_init" />
<action handler="remove_link" params="id=create_new_but_init" />
<action handler="remove_link" params="id=resume_session_but_init" />
</proc>
<!-- ***************** -->
<!-- * MAIN WINDOW * -->
<!-- ***************** -->
<group id="charsel" w="1024" h="768" posref="MM MM"
on_active="proc" on_active_params="proc_charsel_active" >
<group id="charsel" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_charsel_active">
<!-- TEMP BACK -->
<view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="-3" scale="true" w="1024" h="768" texture="blank.tga"
color="0 0 0 255" global_color="false" />
<view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="-3" scale="true" w="1024" h="768" texture="blank.tga" color="0 0 0 255" global_color="false" />
<!--***************-->
<!-- MAIN 3D SCENE -->
<!--***************-->
<!-- Vue Globale -->
<scene3d id="char3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2"
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="3.0" dist_limit_max="3.8"
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"
>
<scene3d id="char3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2" 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="3.0" dist_limit_max="3.8" 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">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 1.0" rot="0.0 0.0 0.0" />
<camera id="cam" fov="80" pos="0.0 24.0 2.6" target="0.0 26.5 2.2" roll="0" />
<camera id="camface" fov="20" pos="0.0 25.0 2.2" target="0.0 26.5 2.2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" 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" />
<ig id="env" name="outgame_matis.ig" pos="0 0 0.15" />
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 1.0" rot="0.0 0.0 0.0" />
<auto_anim name="brazero-inter1.anim" />
<auto_anim name="brazero-inter2.anim" />
<auto_anim name="lanterne-int1.anim" />
<auto_anim name="lanterne-int2.anim" />
</scene3d>
<view type="text" id="in_ring_session" multi_line="true" w="650" line_maxw="650" posref="TL TL" global_color="false" render_layer="2" fontsize="17" shadow="true" y="-80" x="260" hardtext_format="uiCP_InRingSession" />
<!-- Empty Scene -->
<scene3d id="empty3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2"
user_interaction="false"
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" >
<scene3d id="empty3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" 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 24.0 2.6" target="0.0 26.5 2.2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" 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="empty" name="empty.shape" pos="0.0 26.5 2.5" rot="0.0 0.0 0.0" />
</scene3d>
<!--***********-->
<!-- MAIN MENU -->
<!--***********-->
<!-- View of each slot TODO : convert relative pos by absolute !!! -->
<instance template="char_slot_view" id="slot0" dblink="UI:TEMP:CHARSLOT0" posref="TL TL" x="3" />
<instance template="char_slot_view" id="slot1" dblink="UI:TEMP:CHARSLOT1" posref="TL TL" y="-153" />
<instance template="char_slot_view" id="slot2" dblink="UI:TEMP:CHARSLOT2" posref="TL TL" y="-306" />
<instance template="char_slot_view" id="slot3" dblink="UI:TEMP:CHARSLOT3" posref="TL TL" y="-459" />
<instance template="char_slot_view" id="slot4" dblink="UI:TEMP:CHARSLOT4" posref="TL TL" y="-612" />
<instance template="empty_slot_view" id="empty_slot0" posref="TL TL" x="3" y="-3" />
<instance template="empty_slot_view" id="empty_slot1" posref="TL TL" x="3" y="-156" />
<instance template="empty_slot_view" id="empty_slot2" posref="TL TL" x="3" y="-309" />
<instance template="empty_slot_view" id="empty_slot3" posref="TL TL" x="3" y="-462" />
<instance template="empty_slot_view" id="empty_slot4" posref="TL TL" x="3" y="-615" />
<!-- Button of each slot (always present even if empty slot) -->
<ctrl style="menu_button" id="but_slot0" posref="TL TL" x="3" y="-3"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|0" />
<ctrl style="menu_button" id="but_slot1" posref="BL TL" posparent="but_slot0" y="-3"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|1" />
<ctrl style="menu_button" id="but_slot2" posref="BL TL" posparent="but_slot1" y="-3"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|2" />
<ctrl style="menu_button" id="but_slot3" posref="BL TL" posparent="but_slot2" y="-3"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|3" />
<ctrl style="menu_button" id="but_slot4" posref="BL TL" posparent="but_slot3" y="-3"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|4" />
<ctrl style="menu_button" id="but_slot0" posref="TL TL" x="3" y="-3" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_clickslot|0" />
<ctrl style="menu_button" id="but_slot1" posref="BL TL" posparent="but_slot0" y="-3" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_clickslot|1" />
<ctrl style="menu_button" id="but_slot2" posref="BL TL" posparent="but_slot1" y="-3" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_clickslot|2" />
<ctrl style="menu_button" id="but_slot3" posref="BL TL" posparent="but_slot2" y="-3" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_clickslot|3" />
<ctrl style="menu_button" id="but_slot4" posref="BL TL" posparent="but_slot3" y="-3" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_clickslot|4" />
<!-- UI 'commented out' for future purpose -->
<!--
<group id="bgd_progress" posref="BM BM" w="430" h="75" x="85" y="65" active="true">
@ -567,11 +367,9 @@
</group>
-->
<!--***************-->
<!-- BOTTOM BUTTON -->
<!--***************-->
<!--
<ctrl type="button" id="display_infos" button_type="toggle_button" posref="BL BL" x="248" y="48"
tx_normal="infos.tga" tx_pushed="infos.tga" tx_over="infos.tga"
@ -584,159 +382,65 @@
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_infos"/>
-->
<!--
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="76" hardtext="uiCharSel_Play"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_play"/>
-->
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_Play"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="lua" params_l="outgame:launchGame()"/>
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_Play" onover="play_sound" params_over="name=specie_but_over" onclick_l="lua" params_l="outgame:launchGame()" />
<!--
<ctrl style="valid_txt_button" id="edit_session_but" posref="BR BM" x="-112" y="36" hardtext="uiLaunchEditor"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_edit_menu"/>
-->
<ctrl style="valid_txt_button" id="del_but" posref="BR BL" x="-794" y="56" hardtext="uiCharSel_Del"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_del"/>
<ctrl style="valid_txt_button" id="del_but" posref="BR BL" x="-794" y="56" hardtext="uiCharSel_Del" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_del" />
<link expr="and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)))" target="play_but:active,edit_session_but:active,del_but:active" />
<ctrl style="valid_txt_button" id="create_new_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_CreateNew"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_create_new"/>
<ctrl style="valid_txt_button" id="create_new_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_CreateNew" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_create_new" />
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
<link expr="isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)" target="create_new_but:active" />
<ctrl style="valid_txt_button" id="resume_session_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_ResumeSession"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_play"/>
<ctrl style="valid_txt_button" id="resume_session_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_ResumeSession" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_play" />
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
<link expr="isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)" target="resume_session_but:active,in_ring_session:active" />
<!--*************-->
<!-- SKIN BANNER -->
<!--*************-->
<view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="outgame_skin_banner.tga"
color="255 255 255 255" global_color="false" />
<view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="outgame_skin_banner.tga" color="255 255 255 255" global_color="false" />
<!-- MODAL BLACK SCREEN -->
<view type="bitmap" id="infos_screen" x="-3" y="-3" w="815" h="762" posref="TR TR" render_layer="1" texture="blank.tga" color="0 0 0 160"
scale="true" global_color="false" />
<view type="bitmap" id="infos_screen" x="-3" y="-3" w="815" h="762" posref="TR TR" render_layer="1" texture="blank.tga" color="0 0 0 160" scale="true" global_color="false" />
<link expr="eq(@UI:TEMP:INFOS, 1)" target="infos_screen:active" />
<!-- SKIN -->
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga"
color="255 255 255 255" global_color="false" />
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga" color="255 255 255 255" global_color="false" />
<!-- TITLE -->
<group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR">
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_title1" />
<view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_selection" />
</group>
<!-- SKIN MENU SELECTION 1 -->
<view type="bitmap" id="select_menu" posref="TL TL" x="0" y="2" render_layer="4" scale="true" texture="blank.tga"
color="0 0 0 0" w="212" h="160" />
<view type="bitmap" id="select_menu" posref="TL TL" x="0" y="2" render_layer="4" scale="true" texture="blank.tga" color="0 0 0 0" w="212" h="160" />
<!-- Select 3d -->
<scene3d id="3d_select" w="206" h="156" posref="TL TL" curcam="cam" curcs="env" render_layer="4"
user_interaction="false"
ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<scene3d id="3d_select" w="206" h="156" posref="TL TL" curcam="cam" curcs="env" render_layer="4" user_interaction="false" ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0">
<camera id="cam" fov="70" pos="0 -3 0" target="0.0 0.0 0.0" roll="0" />
<fx id="select_fx" pos="2.0 0.0 1.5" name="sfx_interface_selectioncadre.ps" rot="0.0 0.0 0.0" />
</scene3d>
<!-- KAMI MENU SELECT -->
<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga"
color="255 255 255 255" global_color="false" />
<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga" color="255 255 255 255" global_color="false" />
<!-- QUIT BUTTON
<ctrl style="valid_txt_button" id="quit_but" posref="TR TR" x="-4" y="-4" hardtext="uiCharSel_Quit"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_quit"/>
-->
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0"
tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_quit"/>
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0" tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_quit" />
<!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
<!-- Simple Message Box with just a OK button -->
<group type="modal" id="message_box" exit_click_out="true" posparent="char3d" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="100"
on_enter="leave_modal" mouse_pos="false" escapable="false"
display="false">
<group type="modal" id="message_box" exit_click_out="true" posparent="char3d" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="100" on_enter="leave_modal" mouse_pos="false" escapable="false" display="false">
<instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TL TL" line_maxw="234" x="8" y="-56" w="0" h="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up" />
<ctrl style="valid_txt_button" id="ok" posref="BM BM" x="0" y="8" hardtext="uittOK"
avoid_resize_parent="true"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="leave_modal" />
<ctrl style="valid_txt_button" id="ok" posref="BM BM" x="0" y="8" hardtext="uittOK" avoid_resize_parent="true" onover="play_sound" params_over="name=specie_but_over" onclick_l="leave_modal" />
</group>
<group id="webstart" posref="BR BR" w="100" h="60" active="true">
<group id="content" x="0" y="0" w="100" h="60" posref="MM MM">
<group id="webstart_html" type="html" posref="MM MM"
url=""
title_prefix="uiQuickhelpTitle"
sizeref="wh" x="0" y="0" w="-40" h="-40"
background_color="0 0 0 0"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="16"
h2_font_size="14"
h3_font_size="13"
h4_font_size="12"
h5_font_size="11"
h6_font_size="11"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="patch_off.tga"
checkbox_bitmap_pushed="patch_on.tga"
checkbox_bitmap_over=""
background_bitmap_view=""
home=""
browse_next_time="false"
timeout="0"
form_text_area_group="edit_box_widget_multiline" >
<group id="webstart_html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="-40" h="-40" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true" />
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="0" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
@ -744,9 +448,7 @@
</group>
</group>
</group>
</group>
<!--
<template name="r2ed_editor_menu_button" id="but" bitmap="brick_default.tga" keep="true" size="24">
<group id="#id" posref="TL TL" child_resize_h="true" child_resize_w="true">
@ -754,31 +456,13 @@
</group>
</template>
-->
<group type="modal" id="r2ed_editor_new_sceneario_warning" w="300" h="200"
posref="MM MM" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true"
display="false"
>
<group type="modal" id="r2ed_editor_new_sceneario_warning" w="300" h="200" posref="MM MM" render_layer="1" mouse_pos="false" escapable="false" exit_click_out="true" display="false">
<instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284"
fontsize="17" shadow="true" hardtext="uiR2EDNewScenarioWarning" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="8" hardtext="uittOK"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_new_scenario" />
<ctrl style="valid_txt_button" id="cancel" posref="TM BM" posparent="submit" x="0" y="4" hardtext="uiCP_Delete_no"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_new_scenario_warning_cancel" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284" fontsize="17" shadow="true" hardtext="uiR2EDNewScenarioWarning" multi_line="true" multi_line_space="0" />
<ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="8" hardtext="uittOK" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_new_scenario" />
<ctrl style="valid_txt_button" id="cancel" posref="TM BM" posparent="submit" x="0" y="4" hardtext="uiCP_Delete_no" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_new_scenario_warning_cancel" />
</group>
<options name="menu_back">
<param name="tx_tl" value="w_modal_tl.tga" />
<param name="tx_t" value="w_modal_t.tga" />
<param name="tx_tr" value="w_modal_tr.tga" />
@ -788,95 +472,65 @@
<param name="tx_bl" value="w_modal_bl.tga" />
<param name="tx_b" value="w_modal_b.tga" />
<param name="tx_br" value="w_modal_br.tga" />
</options>
<group type="menu" id="r2ed_editor_menu"
options="menu_back"
space="0"
color="255 255 255 255"
fontsize="16"
shadow="true"
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"
mouse_pos="false">
<group type="menu" id="r2ed_editor_menu" options="menu_back" space="0" color="255 255 255 255" fontsize="16" shadow="true" 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" mouse_pos="false">
<action id="new_scenario" name="uiR2EDNewScenario" handler="proc" params="proc_charsel_new_scenario_warning" />
<action id="new_scenario" name="uiR2EDEditScenario" handler="proc" params="proc_charsel_edit_scenario" />
</group>
<!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_select)" target="charsel:active" />
<!-- ***************** -->
<!-- * ANIMATIONS * -->
<!-- ***************** -->
<anim id="anim_charsel_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="charsel:black_screen:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
</anim>
<anim id="anim_charsel_outro_play" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_charsel_play2">
<track type="linear" target="charsel:black_screen:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_charsel_outro_new" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_charsel_create_new2">
<track type="linear" target="charsel:black_screen:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_charsel_outro_ran" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_charsel_create_ran2">
<track type="linear" target="charsel:black_screen:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_charsel_delin" duration="0.5" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="charsel:black_screen:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="128" />
</track>
</anim>
<anim id="anim_charsel_delin2" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="charsel:black_screen:alpha">
<key time="0.0" value="128" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_charsel_delout" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="">
<track type="linear" target="charsel:black_screen:alpha">
<key time="0.0" value="128" />
<key time="1.0" value="0" />
</track>
</anim>
<anim id="anim_empty" duration="5.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_empty_anim">
<track type="linear" target="charsel:empty3d:empty:rotz">
<key time="0.0" value="0" />
<key time="5.0" value="360" />
</track>
</anim>
<anim id="anim_sel_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_sel_select_fx">
<track type="linear" target="charsel:3d_select:select_fx:posx">
<key time="0.0" value="2" />
<key time="0.5" value="-2" />
@ -884,7 +538,6 @@
<key time="1.5" value="2" />
<key time="2.0" value="2" />
</track>
<track type="linear" target="charsel:3d_select:select_fx:posz">
<key time="0.0" value="1.5" />
<key time="0.5" value="1.5" />
@ -892,10 +545,7 @@
<key time="1.5" value="-1.5" />
<key time="2.0" value="1.5" />
</track>
</anim>
<proc id="proc_browse_faq">
<!--
NB : do not leave the window here, this way the user can refer to the message in the help message box
@ -903,38 +553,15 @@
-->
<action handler="browse_faq" params="" />
</proc>
<proc id="proc_message_box_with_help_ok">
<action handler="leave_modal" /> <!-- must leave modal first if another modal is to be displayed after this one -->
<action handler="leave_modal" />
<!-- must leave modal first if another modal is to be displayed after this one -->
<action handler="" params="" />
</proc>
<group type="modal" id="message_box_with_help" exit_click_out="false" posparent="charsel:char3d" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="100"
on_enter="proc" on_enter_params="proc_message_box_with_help_ok"
on_deactive = "proc" on_deactive_params="proc_message_box_with_help_ok"
escapable="true"
mouse_pos="false"
display="false"
>
<group type="modal" id="message_box_with_help" exit_click_out="false" posparent="charsel:char3d" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="100" on_enter="proc" on_enter_params="proc_message_box_with_help_ok" on_deactive="proc" on_deactive_params="proc_message_box_with_help_ok" escapable="true" mouse_pos="false" display="false">
<instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TL TL" line_maxw="234" x="8" y="-56" w="0" h="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up" />
<ctrl style="valid_txt_button" id="ok" posref="BM BL" x="0" y="8" hardtext="uittOK"
avoid_resize_parent="true"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_message_box_with_help_ok"
/>
<ctrl style="valid_txt_button" id="browse_faq" posref="BM BR" x="0" y="8" hardtext="uittBrowseFaq"
avoid_resize_parent="true"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_browse_faq"/>
<ctrl style="valid_txt_button" id="ok" posref="BM BL" x="0" y="8" hardtext="uittOK" avoid_resize_parent="true" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_message_box_with_help_ok" />
<ctrl style="valid_txt_button" id="browse_faq" posref="BM BR" x="0" y="8" hardtext="uittBrowseFaq" avoid_resize_parent="true" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_browse_faq" />
</group>
</interface_config>

@ -1,100 +1,18 @@
<!-- ****************************************** -->
<!-- * 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" />
<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" />
@ -104,9 +22,7 @@
<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" />
@ -116,9 +32,7 @@
<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 -->
@ -128,13 +42,8 @@
<!-- 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" >
<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" />
@ -146,11 +55,8 @@
<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" />
<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" />
@ -166,33 +72,14 @@
<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>
<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,7 +1,5 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<!-- **************************************** -->
<!-- * CONFIGURATION FOR OUTGAME INTERFACES * -->
<!-- **************************************** -->
@ -38,7 +36,6 @@
<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" />
@ -58,17 +55,11 @@
<!-- * 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" />
<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 * -->
<!-- ************* -->
@ -82,7 +73,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" />
@ -90,7 +80,6 @@
<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" />
@ -100,25 +89,19 @@
<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" />

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

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

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

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

@ -1,14 +1,11 @@
<!-- **************************** -->
<!-- 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" />
@ -35,5 +32,4 @@
<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,37 +1,24 @@
<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_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" />
@ -40,13 +27,10 @@
<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" />
@ -54,59 +38,41 @@
<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))" />
<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" />
<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" />
@ -114,7 +80,6 @@
<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" />
@ -122,53 +87,34 @@
<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">
<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="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" />
@ -179,54 +125,16 @@
<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" />
<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" />
@ -234,279 +142,178 @@
<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" />
<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" />
<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"/>
<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

@ -1,43 +1,30 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:SPECIECLICKRACE" type="sint64" value="-1" />
<variable entry="UI:TEMP:SPECIECLICKINFO" type="sint64" value="-1" />
<variable entry="UI:TEMP:SPECIECLICKNEWRACE" type="sint64" value="-1" />
<variable entry="UI:TEMP:SPECIECLICKNEWINFO" type="sint64" value="-1" />
<proc id="specie_start">
<action handler="set" params="target_property=ui:outgame:specie:logos_species:h|value=mul(256.0,div(getprop('ui:outgame:specie:h'),600.0))" />
<action handler="reset_pushed" params="dblink=ui:outgame:specie" />
<action handler="reset_pushed" params="dblink=ui:outgame:specie:options" />
<action handler="proc" params="proc_create_persos_specie" />
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:x|value=mul(100.0,div(getprop('ui:outgame:specie:w'),800.0))" />
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:x|value=mul(300.0,div(getprop('ui:outgame:specie:w'),800.0))" />
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:x|value=mul(500.0,div(getprop('ui:outgame:specie:w'),800.0))" />
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:x|value=mul(700.0,div(getprop('ui:outgame:specie:w'),800.0))" />
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie.tga'" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:w|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:y|value=-104" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posy|value=20.0" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:posz|value=2.2" />
@ -45,186 +32,132 @@
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgty|value=26.5" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtz|value=1.8" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=50.0" />
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-2" />
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-1" />
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-2" />
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=-1" />
<action handler="anim_start" params="anim=anim_specie_intro" />
</proc>
<proc id="specie_finish">
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=0" />
<action handler="proc" params="proc_specie_close_help2" />
<action handler="anim_start" cond="ne(@UI:TEMP:SPECIECLICKRACE,-1)" params="anim=undisplay_infos" />
<action handler="copy" params="dbdst=UI:TEMP:CHAR3D:PEOPLE|dbsrc=UI:TEMP:SPECIECLICKRACE" />
<action handler="anim_start" params="anim=anim_specie_outro" />
</proc>
<proc id="proc_specie_big_buttons_on">
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:zorai2:active|value=1" />
</proc>
<!-- PROC CREATE PERSOS 3D SPECIE -->
<proc id="proc_create_persos_specie">
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:FY_MALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:FY_FEMALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:MA_MALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:MA_FEMALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:TR_MALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:TR_FEMALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:ZO_MALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="proc" params="proc_random" />
<action handler="copy" params="dbdst=UI:TEMP:ZO_FEMALE|dbsrc=UI:TEMP:RANDOM" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:PEOPLE|value=0" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:SEX|value=0" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:JACKETMODEL|value=getVSIndex('fyros_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:ARMMODEL|value=getVSIndex('fyros_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:TROUSERMODEL|value=getVSIndex('fyros_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:FEETMODEL|value=getVSIndex('fyros_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:HATMODEL|value=getVSIndex('fy_cheveux_medium01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:JACKETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:ARMCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:HANDSCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:TROUSERCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPB:FEETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_MALE:VPA:HATCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:PEOPLE|value=0" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:SEX|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:JACKETMODEL|value=getVSIndex('fyros_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:ARMMODEL|value=getVSIndex('fyros_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('fyros_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:FEETMODEL|value=getVSIndex('fyros_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:HATMODEL|value=getVSIndex('fy_cheveux_long01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:JACKETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:ARMCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:HANDSCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:TROUSERCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPB:FEETCOLOR|value=1" />
<action handler="set" params="dblink=UI:TEMP:FY_FEMALE:VPA:HATCOLOR|value=4" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:PEOPLE|value=1" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:SEX|value=0" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:JACKETMODEL|value=getVSIndex('matis_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:ARMMODEL|value=getVSIndex('matis_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:TROUSERMODEL|value=getVSIndex('matis_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:FEETMODEL|value=getVSIndex('matis_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:HATMODEL|value=getVSIndex('ma_cheveux_long01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:JACKETCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:ARMCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:HANDSCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:TROUSERCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPB:FEETCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_MALE:VPA:HATCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:PEOPLE|value=1" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:SEX|value=1" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:JACKETMODEL|value=getVSIndex('matis_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:ARMMODEL|value=getVSIndex('matis_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('matis_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:FEETMODEL|value=getVSIndex('matis_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:HATMODEL|value=getVSIndex('ma_cheveux_medium01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:JACKETCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:ARMCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:HANDSCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:TROUSERCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPB:FEETCOLOR|value=7" />
<action handler="set" params="dblink=UI:TEMP:MA_FEMALE:VPA:HATCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:PEOPLE|value=2" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:SEX|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:JACKETMODEL|value=getVSIndex('tryker_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:ARMMODEL|value=getVSIndex('tryker_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:TROUSERMODEL|value=getVSIndex('tryker_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:FEETMODEL|value=getVSIndex('tryker_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:HATMODEL|value=getVSIndex('tr_cheveux_medium01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_MALE:VPA:HATCOLOR|value=4" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:PEOPLE|value=2" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:SEX|value=1" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:JACKETMODEL|value=getVSIndex('tryker_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:ARMMODEL|value=getVSIndex('tryker_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('tryker_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:FEETMODEL|value=getVSIndex('tryker_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:HATMODEL|value=getVSIndex('tr_cheveux_long01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:JACKETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:ARMCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:HANDSCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:TROUSERCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPB:FEETCOLOR|value=0" />
<action handler="set" params="dblink=UI:TEMP:TR_FEMALE:VPA:HATCOLOR|value=2" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:PEOPLE|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:SEX|value=0" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET1|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET2|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET3|value=rand(0,7)" />
@ -232,28 +165,21 @@
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET5|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET6|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:MORPHTARGET7|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPC:TATTOO|value=rand(0,15)" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:JACKETMODEL|value=getVSIndex('zorai_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:ARMMODEL|value=getVSIndex('zorai_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:TROUSERMODEL|value=getVSIndex('zorai_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:FEETMODEL|value=getVSIndex('zorai_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:HATMODEL|value=getVSIndex('zo_cheveux_shave01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:JACKETCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:ARMCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:HANDSCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:TROUSERCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPB:FEETCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_MALE:VPA:HATCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:PEOPLE|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:SEX|value=1" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET1|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET2|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET3|value=rand(0,7)" />
@ -261,25 +187,19 @@
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET5|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET6|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:MORPHTARGET7|value=rand(0,7)" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPC:TATTOO|value=rand(0,15)" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:JACKETMODEL|value=getVSIndex('zorai_light_vest.sitem','CHEST')" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:ARMMODEL|value=getVSIndex('zorai_light_sleeves.sitem','ARMS')" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:HANDSMODEL|value=0" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:TROUSERMODEL|value=getVSIndex('zorai_light_pants.sitem','LEGS')" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:FEETMODEL|value=getVSIndex('zorai_light_boots.sitem','FEET')" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:HATMODEL|value=getVSIndex('zo_cheveux_short01.sitem','HEAD')" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:JACKETCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:ARMCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:HANDSCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:TROUSERCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPB:FEETCOLOR|value=3" />
<action handler="set" params="dblink=UI:TEMP:ZO_FEMALE:VPA:HATCOLOR|value=4" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:fy_m:anim|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:fy_f:anim|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:ma_m:anim|value=0" />
@ -288,12 +208,8 @@
<action handler="set" params="target_property=ui:outgame:specie:char3d:tr_f:anim|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:zo_m:anim|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:zo_f:anim|value=0" />
</proc>
<proc id="proc_random">
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET1|value=0" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET2|value=0" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET3|value=0" />
@ -301,20 +217,16 @@
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET5|value=0" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET6|value=0" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:MORPHTARGET7|value=0" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:EYESCOLOR|value=rand(0,6)" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:HATCOLOR|value=rand(0,5)" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:TATTOO|value=0" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:CHARACTERHEIGHT|value=rand(0,14)" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:TORSOWIDTH|value=rand(4,10)" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:ARMSWIDTH|value=rand(4,10)" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPC:LEGSWIDTH|value=rand(4,10)" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:WEAPONRIGHTHAND|value=0" />
<action handler="set" params="dblink=UI:TEMP:RANDOM:VPA:WEAPONLEFTHAND|value=0" />
</proc>
<!-- Warning people not active on server -->
<proc id="proc_warning_people">
<action handler="set" params="target_property=ui:outgame:warning_box:text:hardtext|value='uiWarningPeople'" />
@ -322,7 +234,6 @@
<action handler="set" params="target='ui:outgame:warning_box:x'|value=div(sub(getprop('ui:outgame:w'),getprop('ui:outgame:warning_box:w')),2)" />
<action handler="set" params="target='ui:outgame:warning_box:y'|value=div(sub(getprop('ui:outgame:h'),getprop('ui:outgame:warning_box:h')),2)" />
</proc>
<!-- PROC SELECT SPECIE -->
<proc id="proc_specie_click_race">
<action handler="play_sound" params="name=specie_but_click" />
@ -331,21 +242,17 @@
<!-- if People active on server -->
<action handler="proc" params="proc_specie_click_race_bis|value=@0" />
</proc>
<!-- Ok People active on server -->
<proc id="proc_specie_click_race_bis">
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWRACE|@0" />
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
<action handler="anim_start" params="anim=anim_specie_logo_fade_out" />
</proc>
<proc id="proc_specie_click_race2">
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:fyros2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:matis2:active|value=0" />
<action handler="set" params="target_property=ui:outgame:specie:tryker2:active|value=0" />
@ -354,16 +261,12 @@
<action handler="set" cond="eq(@UI:TEMP:SPECIECLICKINFO,1)" params="dblink=UI:TEMP:SPECIECLICKINFO|value=0" />
<action handler="set" cond="eq(@UI:TEMP:SPECIECLICKINFO,2)" params="dblink=UI:TEMP:SPECIECLICKINFO|value=0" />
-->
<action handler="reset_pushed" params="dblink=ui:outgame:specie:options" />
<action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKINFO,-1)" params="anim=display_infos" />
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,0)" params="specie_fyros_selected" />
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,1)" params="specie_matis_selected" />
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,2)" params="specie_tryker_selected" />
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,3)" params="specie_zorai_selected" />
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKINFO|value=1" />
<!--
<action handler="set" params="target_property=ui:outgame:specie:options:culture:pushed|value=1" />
@ -372,17 +275,12 @@
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,1)" params="proc_specie_back_select_ma" />
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,2)" params="proc_specie_back_select_tr" />
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKNEWRACE,3)" params="proc_specie_back_select_zo" />
<action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
<action handler="anim_start" params="anim=anim_specie_logo_fade_in" />
</proc>
<proc id="specie_fyros_selected">
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:fy_txt:x|value=100" />
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultFy'" />
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoFy'" />
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_fy.tga'" />
@ -391,12 +289,9 @@
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=-2.25" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
</proc>
<proc id="specie_matis_selected">
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:ma_txt:x|value=100" />
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultMa'" />
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoMa'" />
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_ma.tga'" />
@ -405,12 +300,9 @@
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=-0.75" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
</proc>
<proc id="specie_tryker_selected">
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:tr_txt:x|value=100" />
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultTr'" />
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoTr'" />
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_tr.tga'" />
@ -419,12 +311,9 @@
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=0.75" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
</proc>
<proc id="specie_zorai_selected">
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:specie:zo_txt:x|value=100" />
<action handler="set" params="target_property=ui:outgame:specie:txt_culture:text_list:el0:hardtext|value='uiCultZo'" />
<action handler="set" params="target_property=ui:outgame:specie:txt_ecosystem:text_list:el0:hardtext|value='uiEcoZo'" />
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:texture|value='bk_specie_zo.tga'" />
@ -433,7 +322,6 @@
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:tgtx|value=2.25" />
<action handler="set" params="target_property=ui:outgame:specie:char3d:cam:fov|value=13" />
</proc>
<!--
<proc id="proc_specie_click_race">
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWRACE|@0" />
@ -455,9 +343,7 @@
<action handler="anim_start" cond="ne(@UI:TEMP:SPECIECLICKINFO,-1)" params="anim=anim_specie_back_fade_out" />
</proc>
-->
<!-- called at the end of the anim_specie_back_fade_out -->
<proc id="proc_specie_back_select">
<action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKINFO|dbsrc=UI:TEMP:SPECIECLICKNEWINFO" />
<action handler="copy" params="dbdst=UI:TEMP:SPECIECLICKRACE|dbsrc=UI:TEMP:SPECIECLICKNEWRACE" />
@ -467,7 +353,6 @@
<action handler="proc" cond="eq(@UI:TEMP:SPECIECLICKRACE,3)" params="proc_specie_back_select_zo" />
<action handler="anim_start" params="anim=anim_specie_back_fade_in" />
</proc>
<!--
<proc id="proc_specie_back_select_fy" >
<! -<action handler="set" params="target_property=ui:outgame:specie:people_bg:bk_people:texture|value='bk_fyros_people.tga'" />- >
@ -517,14 +402,12 @@
</proc>
-->
<!-- PROC INFOS KIND -->
<proc id="proc_specie_click_info">
<action handler="play_sound" params="name=generic_bb_click" />
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKNEWINFO|@0" />
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=-200" />
<action handler="anim_start" params="anim=anim_specie_back_fade_out" />
</proc>
<!-- restart anim of the background if we are in ecosystem mode (loop through 4 images) -->
<!--
<proc id="proc_restart_anim_bk_loop">
@ -532,40 +415,32 @@
<action handler="anim_start" cond="eq(@UI:TEMP:SPECIECLICKINFO,2)" params="anim=anim_bk_loop" />
</proc>
-->
<proc id="proc_specie_click_help">
<action handler="play_sound" params="name=generic_help_click" />
<action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=1" />
</proc>
<proc id="proc_specie_close_click_help">
<action handler="play_sound" params="name=generic_help_close_click" />
<action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=0" />
</proc>
<proc id="proc_specie_close_help2">
<action handler="set" params="target_property=ui:outgame:specie:help_box:active|value=0" />
</proc>
<!-- BACK -->
<proc id="proc_specie_home_screen">
<action handler="play_sound" params="name=generic_home_click" />
<action handler="proc" params="proc_specie_prev_screen" />
</proc>
<proc id="proc_specie_back_screen">
<action handler="play_sound" params="name=generic_prev_click" />
<action handler="proc" params="proc_specie_prev_screen" />
</proc>
<proc id="proc_specie_prev_screen">
<action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_select" />
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
<action handler="anim_start" params="anim=undisplay_back" />
<action handler="proc" params="specie_finish" />
</proc>
<!-- NEXT -->
<proc id="proc_specie_next_screen">
<action handler="play_sound" params="name=generic_next_click" />
@ -573,7 +448,6 @@
<action handler="set" params="target_property=ui:outgame:specie:blackbox:w|value=0" />
<action handler="proc" params="specie_finish" />
</proc>
<!-- called when anim_specie_outro is finished -->
<proc id="proc_specie_when_outro_finished">
<action handler="set" params="target_property=ui:outgame:specie:specie_bg:alpha|value=0" />
@ -581,60 +455,38 @@
<action handler="set" params="dblink=UI:TEMP:SPECIECLICKRACE|value=-1" />
<action handler="anim_start" params="anim=anim_specie_outro2" />
</proc>
<proc id="proc_specie_when_outro_finished2">
<action handler="copy" params="dbdst=UI:CURRENT_SCREEN|dbsrc=UI:NEXT_SCREEN" />
</proc>
<proc id="proc_big_fyros">
<action handler="set" params="target_property=ui:outgame:specie:fyros:pushed|value=1" />
<action handler="proc" params="proc_specie_click_race|0" />
</proc>
<proc id="proc_big_matis">
<action handler="set" params="target_property=ui:outgame:specie:matis:pushed|value=1" />
<action handler="proc" params="proc_specie_click_race|1" />
</proc>
<proc id="proc_big_tryker">
<action handler="set" params="target_property=ui:outgame:specie:tryker:pushed|value=1" />
<action handler="proc" params="proc_specie_click_race|2" />
</proc>
<proc id="proc_big_zorai">
<action handler="set" params="target_property=ui:outgame:specie:zorai:pushed|value=1" />
<action handler="proc" params="proc_specie_click_race|3" />
</proc>
<!-- ***************** -->
<!-- * Select Specie * -->
<!-- ***************** -->
<group id="specie" w="800" h="600" posref="MM MM"
on_active="proc" on_active_params="specie_start">
<group id="specie" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="specie_start">
<!-- BLACK BACK -->
<view type="bitmap" id="bg" posref="TL TL" x="0" y="-32" render_layer="-3" sizeref="w" w="0" h="0" texture="blank.tga" color="0 0 0 255" scale="true" global_color="false" />
<!-- SPECIE BACK -->
<view type="bitmap" id="specie_bg" render_layer="-2" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="bk_specie.tga" sizeref="wh" w="0" h="-112" scale="true" />
<view type="bitmap" id="specie_bg" render_layer="-2" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="488" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="bk_specie.tga" sizeref="wh" w="0" h="-112" scale="true" />
<!-- CULTURE -->
<group id="culture_bg" sizeref="wh" w="-200" h="-112" x="200" y="-32" posref="TL TL" render_layer="0" active="false">
<view type="bitmap" id="bk_culture" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="bk_fyros_culture.tga" sizeref="wh" w="0" h="0" scale="true" />
<view type="bitmap" id="bk_culture" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="600" txtheight="488" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="bk_fyros_culture.tga" sizeref="wh" w="0" h="0" scale="true" />
</group>
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="culture_bg:active" />
<!-- ECOSYSTEM -->
<!--
<group id="ecosys_bg" sizeref="wh" w="-200" h="-112" x="200" y="-32" posref="TL TL" render_layer="0"
@ -656,73 +508,31 @@
</group>
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="ecosys_bg:active" />
-->
<!-- BIG BUTTONS -->
<ctrl type="button" id="fyros2" button_type="push_button" posref="TL TL" x="0" y="-32" sizeref="w4h" w="0" h="-112" 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="40 73 34 128"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_big_fyros" />
<ctrl type="button" id="matis2" button_type="push_button" posparent="fyros2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" 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="40 73 34 128"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_big_matis" />
<ctrl type="button" id="tryker2" button_type="push_button" posparent="matis2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" 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="40 73 34 128"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_big_tryker" />
<ctrl type="button" id="zorai2" button_type="push_button" posparent="tryker2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" 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="40 73 34 128"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_big_zorai" />
<ctrl type="button" id="fyros2" button_type="push_button" posref="TL TL" x="0" y="-32" sizeref="w4h" w="0" h="-112" 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="40 73 34 128" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_big_fyros" />
<ctrl type="button" id="matis2" button_type="push_button" posparent="fyros2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" 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="40 73 34 128" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_big_matis" />
<ctrl type="button" id="tryker2" button_type="push_button" posparent="matis2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" 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="40 73 34 128" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_big_tryker" />
<ctrl type="button" id="zorai2" button_type="push_button" posparent="tryker2" posref="TR TL" x="0" y="0" sizeref="wh" w="0" 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="40 73 34 128" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_big_zorai" />
<!-- TITLE SPECIES -->
<view type="text" id="fy_txt" render_layer="0" posref="BL MM" x="100" y="104" hardtext="uiFyName" fontsize="26" color="255 255 255 255" active="false" />
<view type="text" id="ma_txt" render_layer="0" posref="BL MM" x="300" y="104" hardtext="uiMaName" fontsize="26" color="255 255 255 255" active="false" />
<view type="text" id="tr_txt" render_layer="0" posref="BL MM" x="500" y="104" hardtext="uiTrName" fontsize="26" color="255 255 255 255" active="false" />
<view type="text" id="zo_txt" render_layer="0" posref="BL MM" x="700" y="104" hardtext="uiZoName" fontsize="26" color="255 255 255 255" active="false" />
<!-- LOGOS -->
<view type="bitmap" id="logos_species" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="256"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="logo_species.tga" active="false"
sizeref="w" w="0" h="256" scale="true" />
<view type="bitmap" id="logos_species" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="256" global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="-32" texture="logo_species.tga" active="false" sizeref="w" w="0" h="256" scale="true" />
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,-1)" target="logos_species:active" />
<!-- vue 3D du perso -->
<scene3d id="char3d" x="0" y="-62" sizeref="wh" w="0" h="-112" posref="TL TL" curcam="cam" render_layer="-2"
user_interaction="false" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15"
dist_factor="0.005" dist_limit_min="2.0" dist_limit_max="3.0"
ambient="0 0 0" sun_ambient="96 96 96" sun_diffuse="255 255 255" sun_specular="255 255 255" sun_direction="-1.0 1.0 -1.0" >
<scene3d id="char3d" x="0" y="-62" sizeref="wh" w="0" h="-112" posref="TL TL" curcam="cam" render_layer="-2" user_interaction="false" rotz_factor="0.017" roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15" dist_factor="0.005" dist_limit_min="2.0" dist_limit_max="3.0" ambient="0 0 0" sun_ambient="96 96 96" sun_diffuse="255 255 255" sun_specular="255 255 255" sun_direction="-1.0 1.0 -1.0">
<character3d id="fy_m" dblink="UI:TEMP:FY_MALE" pos="-2.6 26.5 0.0" rot="0.0 0.0 45.0" />
<character3d id="fy_f" dblink="UI:TEMP:FY_FEMALE" pos="-2.0 26.5 0.1" rot="0.0 0.0 30.0" />
<character3d id="ma_m" dblink="UI:TEMP:MA_MALE" pos="-1.0 26.5 0.0" rot="0.0 0.0 15.0" />
<character3d id="ma_f" dblink="UI:TEMP:MA_FEMALE" pos="-0.4 26.5 0.1" rot="0.0 0.0 0.0" />
<character3d id="tr_m" dblink="UI:TEMP:TR_MALE" pos="0.5 26.5 0.0" rot="0.0 0.0 0.0" />
<character3d id="tr_f" dblink="UI:TEMP:TR_FEMALE" pos="1.1 26.5 0.1" rot="0.0 0.0 -15.0" />
<character3d id="zo_m" dblink="UI:TEMP:ZO_MALE" pos="2.0 26.5 0.0" rot="0.0 0.0 -30.0" />
<character3d id="zo_f" dblink="UI:TEMP:ZO_FEMALE" pos="2.6 26.5 0.1" rot="0.0 0.0 -45.0" />
<camera id="cam" fov="120" pos="0.0 -10.0 2.2" target="0.0 26.5 2.2" roll="0" />
</scene3d>
<!-- PEOPLE -->
<!-- <group id="people_bg" w="800" h="488" x="0" y="-32" posref="TL TL" active="false" >
@ -732,15 +542,8 @@
</group>
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,0)" target="people_bg:active" />
-->
<!-- BLACK BACK -->
<view type="bitmap" id="over_black" render_layer="-2" posref="TL TL" x="0" y="-32" texture="blank.tga" color="0 0 0 0" scale="true" w="290" h="488" global_color="false" />
<!-- TEXTS CULTURE -->
<!--
<view type="text" id="fy_culture_txt" render_layer="-1" posref="TL TL" x="24" y="-48" hardtext="uiFyCulture" fontsize="14" color="255 255 255 255" active="false" />
@ -763,40 +566,28 @@
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,2),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="tr_eco_txt:active" />
<link expr="and(eq(@UI:TEMP:SPECIECLICKRACE,3),eq(@UI:TEMP:SPECIECLICKINFO,2))" target="zo_eco_txt:active" />
-->
<!-- TEXTS CULTURE -->
<group type="scroll_text" id="txt_culture" sizeref="w" w="-200" h="488" posref="TL TL" x="200" y="-32" min_height="488" max_height="488" active="true">
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<view type="bitmap" id="bg" sizeref="wh" w="0" h="0" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
<group type="list" id="text_list" hardtext="uiCultFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
<group type="list" id="text_list" hardtext="uiCultFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3" posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
<view type="bitmap" id="cult_line" posparent="txt_culture" posref="BL BL" x="0" y="0" texture="border_hor.tga" scale="true" w="600" h="1" global_color="false" active="false" />
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="txt_culture:active" />
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,1)" target="cult_line:active" />
<!-- TEXTS ECOSYSTEM -->
<group type="scroll_text" id="txt_ecosystem" sizeref="w" w="-200" h="488" posref="TL TL" x="200" y="-32" min_height="488" max_height="488" active="true">
<group id="black" posref="TL TL" sizeref="hw" w="0" h="0" />
<view type="bitmap" id="bg" sizeref="wh" w="0" h="0" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
<group type="list" id="text_list" hardtext="uiEcoFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3"
posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
<group type="list" id="text_list" hardtext="uiEcoFy" shadow="true" fontsize="12" justification="justified" color="255 255 255 255" space="3" posref="TL TL" posparent="black" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
<view type="bitmap" id="eco_line" posparent="txt_ecosystem" posref="BL BL" x="0" y="0" texture="border_hor.tga" scale="true" w="600" h="1" global_color="false" active="false" />
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="txt_ecosystem:active" />
<link expr="eq(@UI:TEMP:SPECIECLICKINFO,2)" target="eco_line:active" />
<!-- BLACK BOX (sert a faire les transition...) -->
<view type="bitmap" id="blackbox" posref="TR TR" x="0" y="-32" render_layer="1" sizeref="w" w="0" h="0" texture="blank.tga" color="0 0 0 0" scale="true" global_color="false" />
<!-- Title -->
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiSelCiv" fontsize="20" />
<!-- TIMELINE -->
<group id="timeline" sizeref="w" w="-16" h="32" posref="BL BL" x="8" y="16">
<view type="bitmap" id="b1" posref="TL TL" x="364" y="0" texture="time_button.tga" global_color="false" />
@ -811,30 +602,11 @@
<view type="bitmap" id="line" posparent="back_bg" posref="MR ML" x="0" y="0" texture="time_line.tga" scale="true" w="132" h="4" global_color="false" />
<view type="bitmap" id="line" posref="MR MR" x="-64" y="0" texture="time_line.tga" scale="true" sizeref="w" w="-652" h="4" global_color="false" />
</group>
<!-- Buttons species -->
<ctrl type="button" button_type="radio_button" id="fyros" posref="BL MM" x="232" y="32"
tx_normal="logo_fy.tga" tx_over="button_blank_over.tga" tx_pushed="logo_fy_pushed.tga"
onover="play_sound" params_over="name=specie_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|0" tooltip="uiFyName"/>
<ctrl type="button" button_type="radio_button" id="matis" posref="BL MM" x="288" y="32"
tx_normal="logo_ma.tga" tx_over="button_blank_over.tga" tx_pushed="logo_ma_pushed.tga"
onover="play_sound" params_over="name=specie_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|1" tooltip="uiMaName"/>
<ctrl type="button" button_type="radio_button" id="tryker" posref="BL MM" x="344" y="32"
tx_normal="logo_tr.tga" tx_over="button_blank_over.tga" tx_pushed="logo_tr_pushed.tga"
onover="play_sound" params_over="name=specie_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|2" tooltip="uiTrName"/>
<ctrl type="button" button_type="radio_button" id="zorai" posref="BL MM" x="400" y="32"
tx_normal="logo_zo.tga" tx_over="button_blank_over.tga" tx_pushed="logo_zo_pushed.tga"
onover="play_sound" params_over="name=specie_but_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|3" tooltip="uiZoName"/>
<ctrl type="button" button_type="radio_button" id="fyros" posref="BL MM" x="232" y="32" tx_normal="logo_fy.tga" tx_over="button_blank_over.tga" tx_pushed="logo_fy_pushed.tga" onover="play_sound" params_over="name=specie_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|0" tooltip="uiFyName" />
<ctrl type="button" button_type="radio_button" id="matis" posref="BL MM" x="288" y="32" tx_normal="logo_ma.tga" tx_over="button_blank_over.tga" tx_pushed="logo_ma_pushed.tga" onover="play_sound" params_over="name=specie_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|1" tooltip="uiMaName" />
<ctrl type="button" button_type="radio_button" id="tryker" posref="BL MM" x="344" y="32" tx_normal="logo_tr.tga" tx_over="button_blank_over.tga" tx_pushed="logo_tr_pushed.tga" onover="play_sound" params_over="name=specie_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|2" tooltip="uiTrName" />
<ctrl type="button" button_type="radio_button" id="zorai" posref="BL MM" x="400" y="32" tx_normal="logo_zo.tga" tx_over="button_blank_over.tga" tx_pushed="logo_zo_pushed.tga" onover="play_sound" params_over="name=specie_but_over" over_when_pushed="false" onclick_l="proc" params_l="proc_specie_click_race|3" tooltip="uiZoName" />
<!-- Home & Help -->
<!-- Removed for Beta 1
<ctrl type="button" id="help" button_type="push_button" posref="TR MM" x="-24" y="-16"
@ -842,31 +614,15 @@
onover="play_sound" params_over="name=generic_help_over"
onclick_l="launch_help" params_l="url=help_outgame.html" tooltip="uiHelp" />
-->
<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_specie_home_screen" tooltip="uiReturnCharSel" />
<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_specie_home_screen" tooltip="uiReturnCharSel" />
<!-- BORDERS -->
<view type="bitmap" id="top_line" posref="TL TL" posparent="bg" x="0" y="1" texture="border_hor.tga" scale="true" sizeref="w" w="0" h="1" global_color="false" />
<view type="bitmap" id="bot_line" posref="BL BL" posparent="bg" x="0" y="-1" texture="border_hor.tga" scale="true" sizeref="w" w="0" h="1" global_color="false" />
<view type="bitmap" id="vertical_line" posref="TL TL" x="-1" y="-32" texture="border_ver.tga" scale="true" w="1" sizeref="h" h="-112" global_color="false" />
<!-- 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_specie_back_screen" tooltip="uiPrevStep"/>
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga"
onover="play_sound" params_over="name=generic_next_over"
onclick_l="proc" params_l="proc_specie_next_screen" tooltip="uiNextStep"/>
<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_specie_back_screen" tooltip="uiPrevStep" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" onover="play_sound" params_over="name=generic_next_over" onclick_l="proc" params_l="proc_specie_next_screen" tooltip="uiNextStep" />
<link expr="ne(@UI:TEMP:SPECIECLICKRACE,-1)" target="next:active" />
<group id="options" posref="BL TL" x="800" y="96" w="800" h="40" render_layer="2">
<!--
<ctrl type="button" id="culture" button_type="radio_button" posref="TL TL" x="224" render_layer="2"
@ -883,94 +639,65 @@
<view type="text" id="title2" posparent="ecosystem" render_layer="2" posref="MM MM" x="-4" y="4" hardtext="uiEcosystem" color="255 255 255 255" fontsize="12"/>
-->
</group>
<!-- HELP -->
<group id="help_box" w="320" h="240" posref="MM MM" active="false" group_onclick_l="proc" group_params_l="proc_nothing">
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
<instance template="window_border" id="bord" posref="MM MM" />
<view type="text" id="title_help" posref="TL TL" x="8" y="-8" hardtext="uiHelpTitle" fontsize="12" />
<ctrl type="button" id="close_help" button_type="push_button" posref="TR TR" x="-8" y="-8"
tx_normal="W_close.tga" tx_pushed="W_close.tga" tx_over="W_button_12_over.tga"
onover="play_sound" params_over="name=generic_help_close_over"
onclick_l="proc" params_l="proc_specie_close_click_help" tooltip="uiClose" />
<ctrl type="button" id="close_help" button_type="push_button" posref="TR TR" x="-8" y="-8" tx_normal="W_close.tga" tx_pushed="W_close.tga" tx_over="W_button_12_over.tga" onover="play_sound" params_over="name=generic_help_close_over" onclick_l="proc" params_l="proc_specie_close_click_help" tooltip="uiClose" />
</group>
</group>
<link expr="eq(@UI:CURRENT_SCREEN, %screen_specie)" target="specie:active" />
<!-- ANIMATION -->
<!-- Intro -->
<anim id="anim_specie_intro" duration="3.0" on_finish="proc" on_finish_params="proc_specie_big_buttons_on">
<track type="linear" target="specie:bg:h,specie:blackbox:h" dynamic="true">
<key time="0.1" value="0" />
<key time="0.35" value="sub(getprop('ui:outgame:specie:h'),112)" />
</track>
<track type="linear" target="specie:bg:y,specie:blackbox:y" dynamic="true">
<key time="0.1" value="sub(0,add(div(sub(getprop('ui:outgame:specie:h'),112),2),32))" />
<key time="0.35" value="-32" />
</track>
<track type="linear" target="specie:title:y">
<key time="0.0" value="20" />
<key time="1.0" value="-6" />
</track>
<track type="linear" target="specie:timeline:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="specie:fyros:alpha,specie:matis:alpha,specie:tryker:alpha,specie:zorai:alpha">
<key time="0.5" value="0" />
<key time="1.5" value="255" />
</track>
<track type="linear" target="specie:specie_bg:alpha">
<key time="0.5" value="0" />
<key time="1.5" value="255" />
</track>
<track type="linear" target="specie:back:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="specie:fy_txt:alpha,specie:ma_txt:alpha,specie:tr_txt:alpha,specie:zo_txt:alpha">
<key time="2.0" value="0" />
<key time="2.5" value="255" />
</track>
<track type="linear" target="specie:char3d:x,specie:logos_species:x" dynamic="true">
<key time="2.0" value="sub(0,getprop('ui:outgame:specie:w'))" />
<key time="2.5" value="0" />
</track>
<track type="linear" target="specie:blackbox:alpha">
<key time="2.5" value="255" />
<key time="3.0" value="0" />
</track>
</anim>
<!-- intro : called when the people/culture/ecosys must arrive -->
<anim id="display_infos" duration="1.0">
<track type="linear" target="specie:options:x">
<key time="0.0" value="800" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="specie:next:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
@ -987,22 +714,16 @@
</track>
-->
</anim>
<!-- outro : called when the people/culture/ecosys must leave -->
<anim id="undisplay_infos" duration="1.0">
<track type="linear" target="specie:specie_bg:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="specie:options:x" dynamic="true">
<key time="0.0" value="0" />
<key time="1.0" value="sub(0,getprop('ui:outgame:specie:w'))" />
</track>
<track type="linear" target="specie:back:alpha,specie:next:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
@ -1019,57 +740,43 @@
</track>
-->
</anim>
<!-- Outro called when BACK or NEXT buttons pressed -->
<anim id="anim_specie_outro" duration="2.5" on_finish="proc" on_finish_params="proc_specie_when_outro_finished">
<track type="linear" target="specie:fyros:alpha,specie:matis:alpha,specie:tryker:alpha,specie:zorai:alpha">
<key time="0.0" value="255" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="specie:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="specie:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
<track type="linear" target="specie:char3d:x,specie:logos_species:x" dynamic="true">
<key time="1.5" value="0" />
<key time="1.8" value="sub(0,getprop('ui:outgame:specie:w'))" />
</track>
<track type="linear" target="specie:fy_txt:alpha,specie:ma_txt:alpha,specie:tr_txt:alpha,specie:zo_txt:alpha">
<key time="1.5" value="255" />
<key time="1.8" value="0" />
</track>
<track type="linear" target="specie:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
</anim>
<anim id="anim_specie_outro2" duration="0.5" on_finish="proc" on_finish_params="proc_specie_when_outro_finished2">
<track type="linear" target="specie:bg:h,specie:blackbox:h" dynamic="true">
<key time="0.0" value="sub(getprop('ui:outgame:specie:h'),112)" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="specie:bg:y,specie:blackbox:y" dynamic="true">
<key time="0.0" value="-32" />
<key time="0.35" value="sub(0,add(div(sub(getprop('ui:outgame:specie:h'),112),2),32))" />
</track>
</anim>
<!-- global ecosystem background loop -->
<!--
<anim id="anim_bk_loop" duration="8.0" disable_buttons="false"
@ -1104,53 +811,36 @@
</track>
</anim>
-->
<!-- Background Fade -->
<anim id="anim_specie_back_fade_out" duration="0.5" on_finish="proc" on_finish_params="proc_specie_back_select">
<track type="linear" target="specie:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
</anim>
<anim id="anim_specie_back_fade_in" duration="0.5">
<track type="linear" target="specie:blackbox:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
</anim>
<!-- Logo Fade -->
<anim id="anim_specie_logo_fade_out" duration="0.5" on_finish="proc" on_finish_params="proc_specie_click_race2">
<track type="linear" target="specie:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
</anim>
<anim id="anim_specie_logo_fade_in" duration="0.5">
<track type="linear" target="specie:blackbox:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
</anim>
<anim id="undisplay_back" duration="0.5">
<track type="linear" target="specie:back:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
</anim>
</interface_config>

@ -1,206 +1,148 @@
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
<variable entry="UI:TEMP:VALID" type="sint64" value="-1" />
<variable entry="UI:TEMP:FROM" type="sint64" value="0" />
<!-- ************** -->
<!-- * PROCEDURES * -->
<!-- ************** -->
<proc id="proc_summary_start">
<action handler="reset_camera" params="target=ui:outgame:summary:char3d:cam" />
<action handler="reset_camera" params="target=ui:outgame:summary:char3d:camf" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="import_fyros" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="import_matis" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="import_tryker" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="import_zorai" />
<action handler="set" params="dblink=UI:TEMP:VALID|value=-1" />
<action handler="set" params="target_property=ui:outgame:summary:next:alpha|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:next:active|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:home:alpha|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:invalid_txt:alpha|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:valid_txt:alpha|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:input_txt:alpha|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:eb:input_string|value=''" />
<action handler="set" params="target_property=ui:outgame:summary:name_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:summary:job_txt:active|value=1" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:posy|value=23.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:tgty|value=26.5" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:camf:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:camf:posy|value=25.3" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:camf:tgtx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:camf:tgty|value=26.5" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:char:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:char:posy|value=26.5" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:char:posz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:char:rotx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:char:roty|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:char:rotz|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:shadow:posx|value=0.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:shadow:posy|value=26.5" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:shadow:posz|value=0.85" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:posx|value=-0.4" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:posy|value=28.5" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:lgt:posx|value=0.4" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:lgt:posy|value=25.3" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:lgt:posz|value=2.48" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:lgt:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:lgt:colg|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:lgt:colb|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:char:anim|value=0" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_summary_intro" />
<action handler="anim_start" params="anim=anim_summary_intro2" />
</proc>
<proc id="proc_summary_init_3d">
<action handler="set" params="target_property=ui:outgame:summary:logo_fy:active|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:logo_ma:active|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:logo_tr:active|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:logo_zo:active|value=0" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="proc_summary_init3d_fy" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="proc_summary_init3d_ma" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="proc_summary_init3d_tr" />
<action handler="proc" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="proc_summary_init3d_zo" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:CAREER,0)" params="target_property=ui:outgame:summary:job_txt:hardtext|value='uiCaNaBoldF'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:CAREER,1)" params="target_property=ui:outgame:summary:job_txt:hardtext|value='uiCaNaBoldM'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:CAREER,2)" params="target_property=ui:outgame:summary:job_txt:hardtext|value='uiCaNaBoldC'" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:summary:char3d:back:near|value=2.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:summary:char3d:back:far|value=3.5" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:summary:char3d:back:posz|value=2.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:summary:char3d:back:near|value=1.5" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:summary:char3d:back:far|value=3.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:summary:char3d:back:posz|value=2.2" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:summary:char3d:back:near|value=2.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:summary:char3d:back:far|value=3.5" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:summary:char3d:back:posz|value=2.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:summary:char3d:back:near|value=3.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:summary:char3d:back:far|value=4.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:summary:char3d:back:posz|value=2.4" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:SEX,0)" params="target_property=ui:outgame:summary:char3d:char:posz|value=0.0" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:VPA:SEX,1)" params="target_property=ui:outgame:summary:char3d:char:posz|value=0.04" />
</proc>
<!-- fyros -->
<proc id="proc_summary_init3d_fy">
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:name|value='outgame_fyros.ig'" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:posz|value=-1.03" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:posz|value=2.3" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:tgtz|value=1.7" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:fov|value=55.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colg|value=128" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colb|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:logo_fy:active|value=1" />
</proc>
<!-- matis -->
<proc id="proc_summary_init3d_ma">
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:name|value='outgame_matis.ig'" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:posz|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:posz|value=2.4" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:tgtz|value=1.8" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:fov|value=60.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colr|value=192" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colg|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colb|value=64" />
<action handler="set" params="target_property=ui:outgame:summary:logo_ma:active|value=1" />
</proc>
<!-- tryker -->
<proc id="proc_summary_init3d_tr">
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:name|value='outgame_tryker.ig'" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:posz|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:posz|value=2.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:tgtz|value=1.6" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:fov|value=50.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colr|value=64" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colg|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colb|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:logo_tr:active|value=1" />
</proc>
<!-- zorai -->
<proc id="proc_summary_init3d_zo">
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:name|value='outgame_zorai.ig'" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:env:posz|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:posz|value=2.4" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:tgtz|value=1.9" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:cam:fov|value=65.0" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colr|value=255" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colg|value=128" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:back:colb|value=0" />
<action handler="set" params="target_property=ui:outgame:summary:logo_zo:active|value=1" />
</proc>
<proc id="proc_sum_enter_name">
<action handler="reset_keyboard_focus" />
<action handler="play_sound" params="name=summary_enter_name" />
<action handler="ask_valid_name" params="target=ui:outgame:summary:eb:input_string|dblink=UI:TEMP:VALID" />
</proc>
<!-- proc_sum_enter_name2 is called after the server reception of VALID look at SERVER_RECEIVED_VALID -->
<proc id="proc_sum_enter_name2">
<action handler="set" params="target_property=ui:outgame:summary:input_txt:hardtext|value=getprop('ui:outgame:summary:eb:input_string')" />
<action handler="disp_info" params="str='isPeopleActive(@UI:TEMP:CHAR3D:PEOPLE) = '|val=isPeopleActive(@UI:TEMP:CHAR3D:PEOPLE)" />
<action handler="disp_info" params="str='isCareerActive(@UI:TEMP:CHAR3D:CAREER) = '|val=isCareerActive(@UI:TEMP:CHAR3D:CAREER)" />
<action handler="disp_info" params="str='@UI:TEMP:CHAR3D:CAREER = '|val=@UI:TEMP:CHAR3D:CAREER" />
<action handler="disp_info" params="str='@UI:TEMP:VALID = '|val=@UI:TEMP:VALID" />
<action handler="proc" cond="not(isPeopleActive(@UI:TEMP:CHAR3D:PEOPLE))" params="proc_warning_people" />
<action handler="proc" cond="not(isCareerActive(@UI:TEMP:CHAR3D:CAREER))" params="proc_warning_career" />
<action handler="proc" cond="and(isPeopleActive(@UI:TEMP:CHAR3D:PEOPLE),isCareerActive(@UI:TEMP:CHAR3D:CAREER))"
params="proc_sum_enter_name3" />
<action handler="proc" cond="and(isPeopleActive(@UI:TEMP:CHAR3D:PEOPLE),isCareerActive(@UI:TEMP:CHAR3D:CAREER))" params="proc_sum_enter_name3" />
</proc>
<proc id="proc_sum_enter_name3">
<action handler="play_sound" cond="eq(@UI:TEMP:VALID,1)" params="name=summary_valid_name" />
<action handler="play_sound" cond="eq(@UI:TEMP:VALID,0)" params="name=summary_invalid_name" />
@ -209,88 +151,72 @@
<action handler="set" cond="eq(@UI:TEMP:VALID,1)" params="target_property=ui:outgame:summary:next:active|value=1" />
<action handler="anim_start" cond="eq(@UI:TEMP:VALID,1)" params="anim=anim_valid_name" />
</proc>
<proc id="proc_sum_change_name">
<action handler="play_sound" params="name=summary_typing" />
<action handler="anim_start" cond="eq(@UI:TEMP:VALID,1)" params="anim=anim_sum_hide_next" />
<action handler="anim_start" cond="ne(@UI:TEMP:VALID,-1)" params="anim=anim_sum_hide_texts" />
<action handler="set" params="dblink=UI:TEMP:VALID|value=-1" />
</proc>
<proc id="proc_sum_rand_all">
<action handler="proc" params="proc_charsel_randomcreate" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_fadeout_randomize" />
</proc>
<proc id="proc_sum_rand_career">
<action handler="proc" params="proc_rand_career" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_fadeout_randomize" />
</proc>
<proc id="proc_sum_rand_appear">
<action handler="proc" params="proc_rand_appear" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_fadeout_randomize" />
</proc>
<proc id="proc_sum_rand_specie">
<action handler="proc" params="proc_rand_specie" />
<action handler="proc" params="proc_update_career" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_fadeout_randomize" />
</proc>
<proc id="proc_sum_rand_body">
<action handler="proc" params="proc_rand_body" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_fadeout_randomize" />
</proc>
<proc id="proc_sum_rand_face">
<action handler="proc" params="proc_rand_face" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_fadeout_randomize" />
</proc>
<proc id="proc_sum_rand_colors">
<action handler="proc" params="proc_rand_colors" />
<action handler="proc" params="proc_summary_init_3d" />
<action handler="anim_start" params="anim=anim_fadeout_randomize" />
</proc>
<proc id="proc_update_camf">
<action handler="set" params="target_property=ui:outgame:summary:char3d:camf:posz|value=add(0.1,getprop('ui:outgame:summary:char3d:char:headz'))" />
<action handler="set" params="target_property=ui:outgame:summary:char3d:camf:tgtz|value=add(0.1,getprop('ui:outgame:summary:char3d:char:headz'))" />
</proc>
<proc id="proc_summary_finish">
<action handler="set" params="target_property=ui:outgame:summary:next:active|value=0" />
<action handler="proc" params="proc_summary_close_help2" />
<action handler="anim_start" params="anim=anim_summary_outro2" />
</proc>
<proc id="proc_summary_finish2">
<action handler="copy" cond="eq(@UI:TEMP:FROM,0)" params="dbdst=UI:CURRENT_SCREEN|dbsrc=UI:NEXT_SCREEN" />
<action handler="proc" cond="eq(@UI:TEMP:FROM,1)" params="proc_summary_next_screen2" />
</proc>
<proc id="proc_summary_open_help">
<action handler="play_sound" params="name=generic_help_click" />
<action handler="set" params="target_property=ui:outgame:summary:help_box:active|value=1" />
</proc>
<proc id="proc_summary_close_help">
<action handler="play_sound" params="name=generic_help_close_click" />
<action handler="set" params="target_property=ui:outgame:summary:help_box:active|value=0" />
</proc>
<proc id="proc_summary_close_help2">
<action handler="set" params="target_property=ui:outgame:summary:help_box:active|value=0" />
</proc>
<!-- BACK -->
<proc id="proc_summary_back_screen">
<action handler="reset_keyboard_focus" />
@ -300,7 +226,6 @@
<action handler="set" params="dblink=UI:TEMP:FROM|value=0" />
<action handler="anim_start" params="anim=anim_summary_outro" />
</proc>
<proc id="proc_summary_home_screen">
<action handler="reset_keyboard_focus" />
<action handler="play_sound" params="name=generic_home_click" />
@ -308,8 +233,6 @@
<action handler="set" params="dblink=UI:TEMP:FROM|value=0" />
<action handler="anim_start" params="anim=anim_summary_outro" />
</proc>
<!-- NEXT -->
<proc id="proc_summary_next_screen">
<action handler="reset_keyboard_focus" />
@ -318,22 +241,15 @@
<action handler="set" params="dblink=UI:TEMP:FROM|value=1" />
<action handler="anim_start" params="anim=anim_summary_outro" />
</proc>
<proc id="proc_summary_next_screen2">
<action handler="set" params="dblink=UI:NEXT_SCREEN|value=%screen_location" />
<action handler="copy" params="dbdst=UI:CURRENT_SCREEN|dbsrc=UI:NEXT_SCREEN" />
<!--<action handler="anim_start" params="anim=anim_summary_outro" />-->
</proc>
<proc id="proc_sum_server_test">
<action handler="proc" params="proc_sum_enter_name2"
cond="and(eq(@UI:CURRENT_SCREEN,%screen_summary),eq(@UI:SERVER_RECEIVED_VALID,1))" />
<action handler="proc" params="proc_sum_enter_name2" cond="and(eq(@UI:CURRENT_SCREEN,%screen_summary),eq(@UI:SERVER_RECEIVED_VALID,1))" />
</proc>
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_VALID)"
action="proc" params="proc_sum_server_test" />
<link expr="depends(@UI:CURRENT_SCREEN, @UI:SERVER_RECEIVED_VALID)" action="proc" params="proc_sum_server_test" />
<!-- TEMPLATE DISPLAY CARACS -->
<template name="sum_caracs" posparent="parent" x="0" y="0" w="128" h="16" posref="TL TL" id="" title="" max="" reg="" color="">
<group id="#id" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref">
@ -344,149 +260,63 @@
<link expr="#reg" target="value2:hardtext" />
</group>
</template>
<!-- *************** -->
<!-- * MODAL WINDOW * -->
<!-- *************** -->
<group type="modal" id="summary_invalid_name" mouse_pos="false" escapable="false" exit_click_out="false" posref="MM MM" w="320" h="68">
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
<instance template="window_border" id="bord" posref="MM MM" />
<view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" global_color="false" fontsize="12" shadow="true" hardtext="invalid char name" />
<ctrl type="button" id="ok" button_type="push_button" posparent="text" posref="BR TR" 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="proc_invalid_name" global_color_normal="false" global_color_pushed="false" />
<ctrl type="button" id="ok" button_type="push_button" posparent="text" posref="BR TR" 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="proc_invalid_name" global_color_normal="false" global_color_pushed="false" />
</group>
<!-- *************** -->
<!-- * MAIN WINDOW * -->
<!-- *************** -->
<group id="summary" w="800" h="600" posref="MM MM"
on_active="proc" on_active_params="proc_summary_start">
<group id="summary" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_summary_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" />
<!-- Title -->
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiSummaryTitle" fontsize="20" />
<!-- <instance template="edit_box_widget" id="ebw" posref="TR TR" x="-128" y="-228" w="128" onenter="proc" params="proc_sum_enter_name" reset_focus_on_hide="false" prompt=" " max_num_chars="16" />
<view type="text" id="eyn" posparent="ebw" posref="TL BL" x="0" y="8" hardtext="uiEnterName" color="255 255 255 255" fontsize="12"/> -->
<!-- vue 3D du perso -->
<scene3d id="char3d" x="0" y="-32" w="800" h="488" posref="TL TL" curcam="cam" curcs="env" render_layer="-2"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-20" roty_limit_max="10"
dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="4.0"
ambient="0 0 0" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<scene3d id="char3d" x="0" y="-32" w="800" h="488" posref="TL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="true" rotz_factor="0.017" roty_factor="0.005" roty_limit_min="-20" roty_limit_max="10" dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="4.0" ambient="0 0 0" sun_ambient="20 20 20" sun_diffuse="80 64 32" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 0.0" rot="0.0 0.0 0.0" />
<camera id="cam" fov="80" pos="0.0 24.0 2.2" target="0.0 26.5 2.2" roll="0" />
<camera id="camf" fov="20" pos="0.0 25.3 2.2" target="0.0 26.5 2.2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="255 128 0" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="2.0" far="2.5" />
<ig id="env" name="matis.ig" pos="0 0 0" />
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 0.85" rot="0.0 0.0 0.0" />
<auto_anim name="waterfall01_maserre.anim" />
<auto_anim name="waterfall02_maserre.anim" />
</scene3d>
<view type="bitmap" id="bg_camface" posref="TR TR" scale="true" w="244" h="204" x="-14" y="-46" texture="blank.tga" color="0 0 0 255" global_color="false" render_layer="-2" />
<scene3d id="char3dface" x="-2" y="-2" w="240" h="200" posparent="bg_camface" posref="TR TR" reference="char3d" curcam="camf" render_layer="-1"
user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15"
dist_factor="0.005" dist_limit_min="0.9" dist_limit_max="1.5" >
</scene3d>
<scene3d id="char3dface" x="-2" y="-2" w="240" h="200" posparent="bg_camface" posref="TR TR" reference="char3d" curcam="camf" render_layer="-1" user_interaction="true" rotz_factor="0.017" roty_factor="0.005" roty_limit_min="-10" roty_limit_max="15" dist_factor="0.005" dist_limit_min="0.9" dist_limit_max="1.5"></scene3d>
<!-- Character select its name -->
<group type="edit_box" id="eb" posref="TL TL" x="16" y="-64" w="226" h="32" render_layer="4" child_resize_h="true"
onenter="proc" params="proc_sum_enter_name"
onchange="proc" onchange_params="proc_sum_change_name"
prompt="" enter_loose_focus="true" reset_focus_on_hide="true"
menu_r="" max_historic="" entry_type="alpha">
<group type="edit_box" id="eb" posref="TL TL" x="16" y="-64" w="226" h="32" render_layer="4" child_resize_h="true" onenter="proc" params="proc_sum_enter_name" onchange="proc" onchange_params="proc_sum_change_name" prompt="" enter_loose_focus="true" reset_focus_on_hide="true" menu_r="" max_historic="" entry_type="alpha">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="blank2.tga" color="0 0 0 255" global_color="false" render_layer="4" />
<instance template="window_border" id="bord" posref="MM MM" />
<view type="text" id="edit_text" x="4" y="-2" posref="ML ML" multi_line="false" render_layer="4"
fontsize="20" shadow="true" hardtext="" global_color="false" line_maxw="216" case="%case_first_string_letter_up" />
<view type="text" id="edit_text" x="4" y="-2" posref="ML ML" multi_line="false" render_layer="4" fontsize="20" shadow="true" hardtext="" global_color="false" line_maxw="216" case="%case_first_string_letter_up" />
</group>
<!-- BUTTON VALIDATE NAME -->
<ctrl type="button" button_type="push_button" id="valid_name" posparent="eb" posref="MR ML" x="4" y="0"
tx_normal="logo_ok.tga" tx_over="button_blank_over.tga" tx_pushed="logo_ok.tga"
onover="play_sound" params_over="name=generic_next_over"
over_when_pushed="false" onclick_l="proc" params_l="proc_sum_enter_name" tooltip="uiValidName"/>
<ctrl type="button" button_type="push_button" id="valid_name" posparent="eb" posref="MR ML" x="4" y="0" tx_normal="logo_ok.tga" tx_over="button_blank_over.tga" tx_pushed="logo_ok.tga" onover="play_sound" params_over="name=generic_next_over" over_when_pushed="false" onclick_l="proc" params_l="proc_sum_enter_name" tooltip="uiValidName" />
<!-- RANDOMIZE BUTTONS -->
<group id="randomize" posref="BR BR" x="-16" y="96" w="96" h="176" active="false">
<view type="text" id="rand_txt" render_layer="0" posref="TM MM" x="0" y="-16" shadow="true" hardtext="uiRand" fontsize="14" color="255 192 64 255" />
<group id="buttons" posref="BL BL" w="96" h="144">
<ctrl type="button" button_type="push_button" id="rand_but1" posref="TL TL" x="0" y="0"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24"
onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand1" />
<ctrl type="button" button_type="push_button" id="rand_but1" posref="TL TL" x="0" y="0" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24" onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand1" />
<!--
<ctrl type="button" button_type="push_button" id="rand_but2" posref="TL TL" x="0" y="-24"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24"
onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand2" />
-->
<ctrl type="button" button_type="push_button" id="rand_but3" posref="TL TL" x="0" y="-24"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24"
onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand3" />
<ctrl type="button" button_type="push_button" id="rand_but4" posref="TL TL" x="0" y="-48"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24"
onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand4" />
<ctrl type="button" button_type="push_button" id="rand_but5" posref="TL TL" x="0" y="-72"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24"
onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand5" />
<ctrl type="button" button_type="push_button" id="rand_but6" posref="TL TL" x="0" y="-96"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24"
onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand6" />
<ctrl type="button" button_type="push_button" id="rand_but7" posref="TL TL" x="0" y="-120"
tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga"
color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24"
onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand7" />
<ctrl type="button" button_type="push_button" id="rand_but3" posref="TL TL" x="0" y="-24" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24" onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand3" />
<ctrl type="button" button_type="push_button" id="rand_but4" posref="TL TL" x="0" y="-48" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24" onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand4" />
<ctrl type="button" button_type="push_button" id="rand_but5" posref="TL TL" x="0" y="-72" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24" onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand5" />
<ctrl type="button" button_type="push_button" id="rand_but6" posref="TL TL" x="0" y="-96" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24" onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand6" />
<ctrl type="button" button_type="push_button" id="rand_but7" posref="TL TL" x="0" y="-120" tx_normal="blank.tga" tx_over="blank.tga" tx_pushed="blank.tga" color="0 0 0 128" col_over="111 125 116 255" col_pushed="0 0 0 128" scale="true" w="96" h="24" onover="play_sound" params_over="name=generic_next_over" onclick_l="anim_start" params_l="anim=anim_fadein_rand7" />
<view type="text" id="rand_txt1" render_layer="0" posparent="rand_but1" posref="MM MM" x="0" y="0" shadow="true" hardtext="uiRand1" fontsize="14" color="255 255 255 255" />
<!--
<view type="text" id="rand_txt2" render_layer="0" posparent="rand_but2" posref="MM MM" x="0" y="0" shadow="true" hardtext="uiRand2" fontsize="14" color="255 255 255 255" />
@ -496,46 +326,23 @@
<view type="text" id="rand_txt5" render_layer="0" posparent="rand_but5" posref="MM MM" x="0" y="0" shadow="true" hardtext="uiRand5" fontsize="14" color="255 255 255 255" />
<view type="text" id="rand_txt6" render_layer="0" posparent="rand_but6" posref="MM MM" x="0" y="0" shadow="true" hardtext="uiRand6" fontsize="14" color="255 255 255 255" />
<view type="text" id="rand_txt7" render_layer="0" posparent="rand_but7" posref="MM MM" x="0" y="0" shadow="true" hardtext="uiRand7" fontsize="14" color="255 255 255 255" />
<instance template="window_border" id="bord" posref="MM MM" />
</group>
</group>
<link expr="eq(@UI:TEMP:RAND,1)" target="randomize:active" />
<!-- NAME TITLES -->
<view type="text" id="name_txt" render_layer="0" posref="TL TL" x="16" y="-48" hardtext="uiEnterName" shadow="true" fontsize="14" color="255 192 64 255" active="false" />
<!-- JOBS TITLES -->
<view type="text" id="job_txt" render_layer="0" posref="TL TL" x="16" y="-104" hardtext="uiCaNaBoldF" shadow="true" fontsize="20" color="255 192 64 0" active="false" />
<!-- VALID TITLES -->
<view type="text" id="input_txt" render_layer="0" posref="BM BM" x="0" y="36" hardtext="" shadow="true" fontsize="24" color="255 192 64 0" />
<view type="text" id="invalid_txt" render_layer="0" posref="BM BM" x="0" y="16" hardtext="uiInvalid" shadow="true" fontsize="22" color="255 192 64 0" />
<view type="text" id="valid_txt" render_layer="0" posref="BM BM" x="0" y="16" hardtext="uiValid" shadow="true" fontsize="22" color="255 192 64 0" />
<!-- LOGOS -->
<view type="bitmap" id="logo_fy" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="200" txtheight="256"
global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<view type="bitmap" id="logo_ma" render_layer="0" txtoffsetx="200" txtoffsety="0" txtwidth="200" txtheight="256"
global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<view type="bitmap" id="logo_tr" render_layer="0" txtoffsetx="400" txtoffsety="0" txtwidth="200" txtheight="256"
global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<view type="bitmap" id="logo_zo" render_layer="0" txtoffsetx="600" txtoffsety="0" txtwidth="200" txtheight="256"
global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<view type="bitmap" id="logo_fy" render_layer="0" txtoffsetx="0" txtoffsety="0" txtwidth="200" txtheight="256" global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<view type="bitmap" id="logo_ma" render_layer="0" txtoffsetx="200" txtoffsety="0" txtwidth="200" txtheight="256" global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<view type="bitmap" id="logo_tr" render_layer="0" txtoffsetx="400" txtoffsety="0" txtwidth="200" txtheight="256" global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<view type="bitmap" id="logo_zo" render_layer="0" txtoffsetx="600" txtoffsety="0" txtwidth="200" txtheight="256" global_color="false" color="255 255 255 255" posref="BL BL" x="0" y="48" texture="logo_species.tga" active="false" />
<group id="table" posparent="job_txt" posref="BL TL" w="136" h="96" x="0" y="-8">
<!--
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="blank2.tga" color="0 0 0 255" global_color="false" />
@ -551,20 +358,14 @@
<instance template="sum_caracs" id="c_wishmax" posref="BL TL" posparent="c_sapmax" x="0" y="-2" title="uiSumWish" color="%focus_color" max="mul(@UI:TEMP:CARACS:WISHMAX,10)" reg="div(@UI:TEMP:CARACS:WISHREG,10)" />
-->
</group>
<!-- 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 255" scale="true" w="800" h="488" global_color="false" />
<!-- TIMELINE -->
<group id="timeline" w="784" h="32" posref="BL BL" x="8" y="16">
<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" posref="MM MM" x="0" y="0" texture="time_line.tga" scale="true" w="656" h="4" global_color="false" />
</group>
<!-- Home & Help -->
<!-- Removed for Beta 1
<ctrl type="button" id="help" button_type="push_button" posref="TR MM" x="-24" y="-16"
@ -572,108 +373,67 @@
onover="play_sound" params_over="name=generic_help_over"
onclick_l="launch_help" params_l="url=help_outgame.html" tooltip="uiHelp" />
-->
<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_summary_home_screen" tooltip="uiReturnCharSel" />
<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_summary_home_screen" tooltip="uiReturnCharSel" />
<!-- 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" posref="TL TL" x="-1" y="-32" texture="border_ver.tga" scale="true" w="1" h="488" global_color="false" />
<!-- 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_summary_back_screen" tooltip="uiPrevStep" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16"
tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga"
onover="play_sound" params_over="name=generic_next_over"
onclick_l="proc" params_l="proc_summary_next_screen" tooltip="uiNextStep" />
<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_summary_back_screen" tooltip="uiPrevStep" />
<ctrl type="button" id="next" button_type="push_button" posref="BR BR" x="-8" y="16" tx_normal="button_next.tga" tx_pushed="button_next_over.tga" tx_over="button_next_over.tga" onover="play_sound" params_over="name=generic_next_over" onclick_l="proc" params_l="proc_summary_next_screen" tooltip="uiNextStep" />
<!-- HELP -->
<group id="help_box" w="320" h="240" posref="MM MM" active="false" group_onclick_l="proc" group_params_l="proc_nothing">
<view type="bitmap" id="bg" sizeref="wh" posref="TL TL" x="0" y="0" texture="blank.tga" scale="true" color="0 0 0 192" global_color="false" />
<instance template="window_border" id="bord" posref="MM MM" />
<view type="text" id="title_help" posref="TL TL" x="8" y="-8" hardtext="uiHelpTitle" fontsize="12" />
<ctrl type="button" id="close_help" button_type="push_button" posref="TR TR" x="-8" y="-8"
tx_normal="W_close.tga" tx_pushed="W_close.tga" tx_over="W_button_12_over.tga"
onover="play_sound" params_over="name=generic_help_close_over"
onclick_l="proc" params_l="proc_summary_close_help" tooltip="uiClose" />
<ctrl type="button" id="close_help" button_type="push_button" posref="TR TR" x="-8" y="-8" tx_normal="W_close.tga" tx_pushed="W_close.tga" tx_over="W_button_12_over.tga" onover="play_sound" params_over="name=generic_help_close_over" onclick_l="proc" params_l="proc_summary_close_help" tooltip="uiClose" />
</group>
</group>
<link expr="eq(@UI:CURRENT_SCREEN, %screen_summary)" target="summary:active" />
<!-- ANIMATION -->
<!-- Intro -->
<anim id="anim_summary_intro" duration="3.0">
<track type="linear" target="summary:bg:h,summary:blackbox:h">
<key time="0.1" value="0" />
<key time="0.35" value="488" />
</track>
<track type="linear" target="summary:bg:y,summary:blackbox:y">
<key time="0.1" value="-276" />
<key time="0.35" value="-32" />
</track>
<track type="linear" target="summary:title:y">
<key time="0.0" value="20" />
<key time="1.0" value="-6" />
</track>
<track type="linear" target="summary:timeline:alpha">
<key time="0.0" value="0" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="summary:table:alpha,summary:logo_fy:alpha,summary:logo_ma:alpha,summary:logo_tr:alpha,summary:logo_zo:alpha,summary:name_txt:alpha">
<key time="0.0" value="0" />
<key time="0.4" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="summary:eb:alpha,summary:valid_name:alpha,summary:randomize:alpha">
<key time="0.0" value="0" />
<key time="0.4" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="summary:char3d:x">
<key time="0.0" value="-800" />
<key time="0.4" value="-800" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="255" />
<key time="2.5" value="255" />
<key time="3.0" value="0" />
</track>
<track type="linear" target="summary:back:alpha">
<key time="1.5" value="0" />
<key time="2.5" value="255" />
</track>
</anim>
<anim id="anim_summary_intro2" duration="0.5" on_finish="proc" on_finish_params="proc_update_camf">
<track type="linear" target="summary:bg_camface:x">
<key time="0.0" value="300" />
@ -681,243 +441,173 @@
<key time="0.5" value="-14" />
</track>
</anim>
<!-- Outro called when NEXT button pressed -->
<anim id="anim_summary_outro" duration="2.0" on_finish="proc" on_finish_params="proc_summary_finish">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.5" value="255" />
</track>
<track type="linear" target="summary:table:alpha,summary:logo_fy:alpha,summary:logo_ma:alpha,summary:logo_tr:alpha,summary:logo_zo:alpha,summary:name_txt:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="255" />
<key time="1.5" value="0" />
</track>
<track type="linear" target="summary:eb:alpha,summary:valid_name:alpha,summary:randomize:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:back:alpha,summary:home:alpha">
<key time="0.0" value="255" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:next:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:next:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="summary:input_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:input_txt:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="summary:valid_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:valid_txt:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="summary:invalid_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:invalid_txt:alpha')" />
<key time="1.0" value="0" />
</track>
<track type="linear" target="summary:char3d:x">
<key time="0.0" value="0" />
<key time="0.5" value="0" />
<key time="1.5" value="-800" />
</track>
<track type="linear" target="summary:bg_camface:x">
<key time="0.0" value="-14" />
<key time="0.4" value="-14" />
<key time="0.5" value="300" />
</track>
<track type="linear" target="summary:title:y">
<key time="1.0" value="-6" />
<key time="2.0" value="20" />
</track>
<track type="linear" target="summary:timeline:alpha">
<key time="0.0" value="255" />
<key time="1.5" value="0" />
</track>
</anim>
<anim id="anim_summary_outro2" duration="0.4" on_finish="proc" on_finish_params="proc_summary_finish2">
<track type="linear" target="summary:bg:h,summary:blackbox:h">
<key time="0.1" value="488" />
<key time="0.35" value="0" />
</track>
<track type="linear" target="summary:bg:y,summary:blackbox:y">
<key time="0.1" value="-32" />
<key time="0.35" value="-276" />
</track>
</anim>
<anim id="anim_fadein_rand1" duration="0.1" on_finish="proc" on_finish_params="proc_sum_rand_all">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_fadein_rand2" duration="0.1" on_finish="proc" on_finish_params="proc_sum_rand_career">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_fadein_rand3" duration="0.1" on_finish="proc" on_finish_params="proc_sum_rand_specie">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_fadein_rand4" duration="0.1" on_finish="proc" on_finish_params="proc_sum_rand_appear">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_fadein_rand5" duration="0.1" on_finish="proc" on_finish_params="proc_sum_rand_body">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_fadein_rand6" duration="0.1" on_finish="proc" on_finish_params="proc_sum_rand_face">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_fadein_rand7" duration="0.1" on_finish="proc" on_finish_params="proc_sum_rand_colors">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_fadeout_randomize" duration="0.1" on_finish="proc" on_finish_params="proc_update_camf">
<track type="linear" target="summary:blackbox:alpha">
<key time="0.0" value="0" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_valid_name" duration="1.0" disable_buttons="false">
<track type="linear" target="summary:next:alpha" dynamic="true">
<key time="0.5" value="getprop('ui:outgame:summary:next:alpha')" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="summary:valid_txt:alpha" dynamic="true">
<key time="0.5" value="getprop('ui:outgame:summary:valid_txt:alpha')" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="summary:invalid_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:invalid_txt:alpha')" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:input_txt:alpha" dynamic="true">
<key time="0.5" value="getprop('ui:outgame:summary:input_txt:alpha')" />
<key time="1.0" value="255" />
</track>
</anim>
<anim id="anim_invalid_name" duration="1.0" disable_buttons="false" on_finish="set" on_finish_params="target_property=ui:outgame:summary:next:active|value=0">
<track type="linear" target="summary:next:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:next:alpha')" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:valid_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:valid_txt:alpha')" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:invalid_txt:alpha" dynamic="true">
<key time="0.5" value="getprop('ui:outgame:summary:invalid_txt:alpha')" />
<key time="1.0" value="255" />
</track>
<track type="linear" target="summary:input_txt:alpha" dynamic="true">
<key time="0.5" value="getprop('ui:outgame:summary:input_txt:alpha')" />
<key time="1.0" value="255" />
</track>
</anim>
<!-- disable_buttons="true" -->
<anim id="anim_sum_hide_next" duration="0.1" disable_buttons="false" on_finish="set" on_finish_params="target_property=ui:outgame:summary:next:active|value=0">
<track type="linear" target="summary:next:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:next:alpha')" />
<key time="0.1" value="0" />
</track>
</anim>
<anim id="anim_sum_hide_texts" duration="0.5" disable_buttons="false">
<track type="linear" target="summary:valid_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:valid_txt:alpha')" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:invalid_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:invalid_txt:alpha')" />
<key time="0.5" value="0" />
</track>
<track type="linear" target="summary:input_txt:alpha" dynamic="true">
<key time="0.0" value="getprop('ui:outgame:summary:input_txt:alpha')" />
<key time="0.5" value="0" />
</track>
</anim>
</interface_config>

@ -1,40 +1,24 @@
<!-- ****************************************** -->
<!-- * WIDGETS * -->
<!-- ****************************************** -->
<interface_config>
<root id="outgame" x="0" y="0" w="800" h="600" active="true" />
<proc id="proc_nothing">
</proc>
<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="" >
<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" />
<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" />
<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" />
@ -43,8 +27,6 @@
<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" />
@ -53,7 +35,6 @@
<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" />
@ -66,11 +47,9 @@
<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" />
@ -81,31 +60,15 @@
<ctrl type="scroll" id="scroll_bar" posref="BL BL" w="8" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
</group>
</template>
<!-- ********************* -->
<!-- * EDIT BOX WIDGET * -->
<!-- ********************* -->
<template name="edit_box_widget" posref="TL TL" text_x="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0"
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
enter_loose_focus="true" prompt="&gt;"
max_num_chars="255"
max_num_bytes="0"
menu_r=""
onchange=""
onchange_params=""
entry_type="text"
keep="true"
max_historic="40"
fontsize="12"
>
<template name="edit_box_widget" posref="TL TL" text_x="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt="&gt;" max_num_chars="255" max_num_bytes="0" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="12">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h">
<group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_bytes="#max_num_bytes" prompt="#prompt" enter_loose_focus="#enter_loose_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" />
<view id="edit_text" type="text" x="#text_x" posref="#text_ref" multi_line="#multi_line" fontsize="#fontsize" shadow="true" hardtext="" global_color="false" />
</group>
<!-- border around the list -->
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" />
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" />
@ -117,11 +80,9 @@
<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" />
@ -137,7 +98,6 @@
<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">
@ -151,21 +111,15 @@
<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"
>
<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" />
<!--
@ -173,10 +127,6 @@
onclick_l="leave_modal" global_color_normal="false" global_color_pushed="false" />
-->
</group>
<!-- ***************** -->
<!-- * CONTEXT HELP * -->
<!-- ***************** -->
@ -187,7 +137,6 @@
<!--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"
@ -211,7 +160,6 @@
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active"/>
</group>
-->
<!-- confirm drop/destroy item -->
<!--
<proc id="confirm_drop_destroy_item">
@ -220,7 +168,6 @@
<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 -->
<!--
<group type="modal" id="drop_destroy_item_confirm_modal" exit_click_out="true" posref="TL TL" x="-8" y="8" w="104" h="96"
@ -254,5 +201,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

@ -1,12 +1,8 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<!-- ************** -->
<!-- * PHRASE MAIN * -->
<!-- ************** -->
<!-- search "DEPENDS on %phrase_max_restrict_combat" if you have to change this value" -->
<define id="phrase_max_restrict_combat" value="15" />
<!-- Definition of all combat Skill (ie weapons) we want to see in weapon restriction.
@ -14,8 +10,6 @@
the number of skill must be == %phrase_max_restrict_combat (nlassert)
-->
<define id="phrase_def_skill_restrict_combat" value="SFM1SSM SFM1SAM SFM1BMM SFM1BSM SFM1PSM SFM2SSM SFM2SAM SFM2BMM SFM2PPM SFMCADM SFMCAHM SFR1APM SFR2AAM SFR2ALM SFR2ARM" />
<variable entry="UI:SAVE:PHRASE:BOOK_AS_LIST_TEXT" type="sint32" value="1" />
<variable entry="UI:SAVE:PHRASE:BOOK_AUTOFOLD" type="sint32" value="1" />
<variable entry="UI:PHRASE:BUILD:TOTAL_COST" type="sint32" value="0" />
@ -25,177 +19,86 @@
<variable entry="UI:PHRASE:BUILD:RESTRICT_COMBAT:$i:SHEET" type="sint32" value="0" size="%phrase_max_restrict_combat" />
<variable entry="UI:PHRASE:BUILD:RESTRICT_COMBAT:$i:LOCKED" type="sint32" value="0" size="%phrase_max_restrict_combat" />
<variable entry="UI:VARIABLES:LINKS_INFOS" type="sint32" value="0" />
<proc id="phrase_book_opened">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:ACTIONS|value=1" />
<!--<action handler="context_help_html" params="action_drag_drop"/>-->
</proc>
<!-- Spell_Book Frame def-->
<define id="phrase_book_main_w" value="610" />
<define id="phrase_book_filter_w" value="382" />
<define id="phrase_book_list_w" value="216" />
<define id="phrase_book_line_maxw" value="176" />
<!-- * SKILL template skill * -->
<template name="tips_skill" keep="true" posparent="parent" posref="TL TL" h="30" id="" skillid="">
<group id="#id" w="160" h="#h" posparent="#posparent" posref="#posref">
<instance template="frame_widget" id="frame" posref="TL TL" sizeref="wh" w="0" h="0" x="0" />
<view type="bitmap" id="back" scale="true" posref="TL TL" x="1" y="-1" sizeref="hw" h="-2" w="-2" texture="blank.tga" color="28 28 28 255" global_color="false" />
<!-- do not change id (used for setting right skill name) -->
<group id="group_name" x="0" sizeref="wh" w="0" h="0" posref="TL TL">
<view type="text" id="name" fontsize="10" x="1" y="-3" posref="TM TM" shadow="true" global_color="false" line_maxw="156"
over_extend_view_text="true" over_extend_parent_rect="true" />
<view type="text" id="name" fontsize="10" x="1" y="-3" posref="TM TM" shadow="true" global_color="false" line_maxw="156" over_extend_view_text="true" over_extend_parent_rect="true" />
</group>
<!-- Show Value of the skill and the Cap_Skill. Do not change the ids. -->
<view type="text" id="max" posref="BR BR" x="-4" y="0" fontsize="10" shadow="true" global_color="false" />
<view type="text" id="sep" posparent="max" posref="BL BR" x="-2" y="0" fontsize="10" shadow="true" hardtext="/" global_color="false" />
<view type="text" id="bas" posparent="sep" posref="BL BR" x="-2" y="0" fontsize="10" shadow="true" global_color="false" />
<view type="text_number" id="lvl" posparent="bas" posref="BL BR" x="-2" y="0" fontsize="10" shadow="true" value="%player_skills:#skillid:%skill" positive="true" global_color="false" />
<view type="bar" id="progress" posref="BL BL" x="4" y="4" mini="true" value="%player_skills:#skillid:%skill_progress" range="255" />
<!-- Buf Debuf. -->
<link expr="ifthenelse(lt(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base), '%skill_neg_buf',
ifthenelse(gt(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base), '%skill_pos_buf', '255 255 255 255' ) )"
target="lvl:color" />
<link expr="getSkillBaseText(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base)"
target="bas:hardtext" />
<link expr="ifthenelse(lt(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base), '%skill_neg_buf', ifthenelse(gt(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base), '%skill_pos_buf', '255 255 255 255' ) )" target="lvl:color" />
<link expr="getSkillBaseText(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base)" target="bas:hardtext" />
<!-- Change Skill Background Color -->
<link expr="ifthenelse(eq(@%player_skills:#skillid:%skill_base, 0), '60 90 90 64',
ifthenelse(not(isSkillAtMax(#skillid,@UI:VARIABLES:TRACK_SKILL_CHANGE)), '175 100 10 192', '145 155 20 192'))" target="back:color" />
<link expr="ifthenelse(eq(@%player_skills:#skillid:%skill_base, 0), '60 90 90 64', ifthenelse(not(isSkillAtMax(#skillid,@UI:VARIABLES:TRACK_SKILL_CHANGE)), '175 100 10 192', '145 155 20 192'))" target="back:color" />
<!-- Skill not At Max or not 0: show progress & change name Y-->
<link expr="and(ne(@%player_skills:#skillid:%skill_base, 0),not(isSkillAtMax(#skillid,@UI:VARIABLES:TRACK_SKILL_CHANGE)))" target="progress:active,max:active,sep:active,bas:active,lvl:active" />
<link expr="ifthenelse(and(ne(@%player_skills:#skillid:%skill_base, 0),not(isSkillAtMax(#skillid,@UI:VARIABLES:TRACK_SKILL_CHANGE))), '-3' ,'-11')" target="group_name:name:y" />
</group>
</template>
<!-- * template for Phrase Section display -->
<template name="template_phrase_progression_section" keep="true" posparent="parent" id="">
<group id="#id" posref="TL TL" x="0" y="0" h="26" child_resize_w="true">
<view type="text" id="name" posref="ML ML" x="0" y="-8" shadow="true" global_color="false" color="255 255 255 255" fontsize="10" />
</group>
</template>
<!-- * template for Phrase as Icon List -->
<template name="template_phrase_action_icon_list" id="" dbentry="">
<group type="list_sheet_icon_phrase" nature="sphrase" id="#id" value="#dbentry" array="false"
posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"
wspace="4" hspace="4" dragable="true" rowmax="32" lmargin="10" tmargin="2" bmargin="0"
onclick_r="open_help_auto" oncandrag="phrase_can_drag_castable" auto_grayed="true" >
<group type="list_sheet_icon_phrase" nature="sphrase" id="#id" value="#dbentry" array="false" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" wspace="4" hspace="4" dragable="true" rowmax="32" lmargin="10" tmargin="2" bmargin="0" onclick_r="open_help_auto" oncandrag="phrase_can_drag_castable" auto_grayed="true">
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="26" />
</group>
<view type="bitmap" id="sep1" posparent="#id" posref="BL TL" scale="true" sizeref="w" h="2" y="0" texture="W_line_hor.tga" />
<link expr="eq(@UI:SAVE:PHRASE:BOOK_AS_LIST_TEXT,0)" target="#id:active,sep1:active" />
</template>
<!-- * template for Phrase as Text List -->
<template name="template_phrase_action_text_list" id="" dbentry="">
<group type="list_sheet_text_phrase" nature="sphrase" id="#id" value="#dbentry" array="false"
child_resize_h="false"
posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"
hspace="4" selection="false"
onclick_r="open_help_auto" oncandrag="phrase_can_drag_castable"
xitem="2" yitem="-2" xtext="30" ytext="-2"
dragable="true" auto_grayed="true" gray_text_with_ctrl="true"
over_color="%bot_chat_sheet_selection_normal"
over_col_pushed="%bot_chat_sheet_selection_pushed"
over_col_over="%bot_chat_sheet_selection_over"
color="255 255 255 255" fontsize="8" shadow="true"
multi_line="true" multi_line_space="0" >
<group type="list_sheet_text_phrase" nature="sphrase" id="#id" value="#dbentry" array="false" child_resize_h="false" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" hspace="4" selection="false" onclick_r="open_help_auto" oncandrag="phrase_can_drag_castable" xitem="2" yitem="-2" xtext="30" ytext="-2" dragable="true" auto_grayed="true" gray_text_with_ctrl="true" over_color="%bot_chat_sheet_selection_normal" over_col_pushed="%bot_chat_sheet_selection_pushed" over_col_over="%bot_chat_sheet_selection_over" color="255 255 255 255" fontsize="8" shadow="true" multi_line="true" multi_line_space="0">
<!-- the scroll -->
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="30" />
<!-- the group to scroll -->
<group id="list" max_sizeref="h" max_sizeparent="parent" max_h="0" sizeref="w" posref="TL TL" x="8" y="0" w="-16" />
</group>
<view type="bitmap" id="sep2" posparent="#id" posref="BL TL" scale="true" sizeref="w" h="2" y="0" texture="W_line_hor.tga" />
<link expr="eq(@UI:SAVE:PHRASE:BOOK_AS_LIST_TEXT,1)" target="#id:active,sep2:active" />
</template>
<!-- **** Main container SKILLS PROGRESSION & ACTIONS -->
<group type="container" id="phrase_book" title="uiPhraseBookTitle" global_color="false" opened="true" openable="false"
movable="true" active="true" header_color="UI:SAVE:WIN:COLORS:INV"
on_active="proc" on_active_params="phrase_book_opened"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:ACTIONS|value=0"
help_page="interf_action_book.html"
resizer="true" w="610" h="400" pop_min_w="420" pop_min_h="300" pop_max_w="1024" pop_max_h="768"
>
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color" >
<group type="container" id="phrase_book" title="uiPhraseBookTitle" global_color="false" opened="true" openable="false" movable="true" active="true" header_color="UI:SAVE:WIN:COLORS:INV" on_active="proc" on_active_params="phrase_book_opened" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:ACTIONS|value=0" help_page="interf_action_book.html" resizer="true" w="610" h="400" pop_min_w="420" pop_min_h="300" pop_max_w="1024" pop_max_h="768">
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group id="death_malus" posref="MR MR" w="80" h="10" x="-32" y="0">
<view type="bar" id="xp_malus" posref="MR MR" mini="true" color="255 255 255 255" value="SERVER:USER:DEATH_XP_MALUS" range="255" />
<ctrl type="tooltip" id="tt_malus" tooltip="uittPhraseXPMalus" tooltip_parent="win" posref="TL TL" x="0" y="0" sizeref="w" w="0" h="10" />
<view type="bitmap" id="death" posref="TL TL" texture="w_death.tga" global_color="false" />
</group>
<link expr="ne(@SERVER:USER:DEATH_XP_MALUS,255)" target="death_malus:active" />
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<!-- SKILLS -->
<group type="skills_displayer" id="content" posref="TL TL" x="0" y="-6" sizeref="w6h" w="0" h="-24" template_skill="tips_skill"
node_handler="phrase_book_skill_filter" >
<group type="skills_displayer" id="content" posref="TL TL" x="0" y="-6" sizeref="w6h" w="0" h="-24" template_skill="tips_skill" node_handler="phrase_book_skill_filter">
<group id="sbtree" posref="TL TL" sizeref="wh" w="0" x="0" y="0" h="0">
<group id="black" posref="TL TL" sizeref="wh" x="10" w="-10" h="0" inherit_gc_alpha="true" />
<instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
<group id="tree_list" type="tree" posref="TL TL" x="14" y="-2"
col_over="255 255 255 150" col_select="255 255 255 255" fontsize="10"
max_sizeparent="parent" max_sizeref="wh" max_w="-16" max_h="-8"
arbo_open_first="skill_arbo_open_first.tga"
arbo_close_just_one="skill_arbo_close_just_one.tga"
arbo_son_without_son="skill_arbo_son_without_son.tga"
arbo_son_last="skill_arbo_son_last.tga"
arbo_son="skill_arbo_son.tga"
arbo_level="skill_arbo_level.tga"
arbo_x_extend="skill_arbo_x_extend.tga"
select_ancestor_on_close="true"
navigate_one_branch="true"
rectangle_outline="true"
rectangle_w="160"
rectangle_h="30"
rectangle_x="0"
rectangle_y="0"
rectangle_drl="1"
>
</group>
<group id="tree_list" type="tree" posref="TL TL" x="14" y="-2" col_over="255 255 255 150" col_select="255 255 255 255" fontsize="10" max_sizeparent="parent" max_sizeref="wh" max_w="-16" max_h="-8" arbo_open_first="skill_arbo_open_first.tga" arbo_close_just_one="skill_arbo_close_just_one.tga" arbo_son_without_son="skill_arbo_son_without_son.tga" arbo_son_last="skill_arbo_son_last.tga" arbo_son="skill_arbo_son.tga" arbo_level="skill_arbo_level.tga" arbo_x_extend="skill_arbo_x_extend.tga" select_ancestor_on_close="true" navigate_one_branch="true" rectangle_outline="true" rectangle_w="160" rectangle_h="30" rectangle_x="0" rectangle_y="0" rectangle_drl="1"></group>
<ctrl style="skin_scroll" id="scroll_bar" posref="TL TL" target="tree_list" target_stepy="32" />
</group>
</group>
<!-- ACTION TYPE SELECTION -->
<group id="tab_group" posref="TR TR" x="-4" y="-8" sizeref="w4" w="-4" h="24">
<group type="tab" id="action_select" posref="TL TL" x="0" y="0" child_resize_w="true" h="24">
@ -204,8 +107,6 @@
</group>
<view type="bitmap" id="septab" posparent="action_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<!-- PROGRESSION ACTIONS -->
<group id="progress_actions" posref="TR TR" x="-4" y="-36" sizeref="w4h" w="-4" h="-60">
<!-- Raw List of Phrase -->
@ -213,8 +114,6 @@
<!-- Text List of Phrase -->
<instance template="template_phrase_action_text_list" id="list_text" dbentry="UI:PHRASE:PROGRESS_ACTIONS" />
</group>
<!-- PROGRESSION UPGRADES -->
<group id="progress_upgrades" posref="TR TR" x="-4" y="-36" sizeref="w4h" w="-4" h="-60">
<!-- Raw List of Phrase -->
@ -222,29 +121,19 @@
<!-- Text List of Phrase -->
<instance template="template_phrase_action_text_list" id="list_text" dbentry="UI:PHRASE:PROGRESS_UPGRADES" />
</group>
<!-- TOGGLE List / Details -->
<instance template="check_box" id="details" posref="BR BR" hardtext="uiPhraseDisplayTextList" dblink="UI:SAVE:PHRASE:BOOK_AS_LIST_TEXT" />
<!-- TOGGLE AutoFold / Not -->
<instance template="check_box" id="autofold" posref="BL BL" hardtext="uiPhraseAutoFold" dblink="UI:SAVE:PHRASE:BOOK_AUTOFOLD" />
<link expr="@UI:SAVE:PHRASE:BOOK_AUTOFOLD" target="content:sbtree:tree_list:navigate_one_branch" />
</group>
</group>
<!-- ******************************************** -->
<!-- * PHRASE BRICK SELECTION * -->
<!-- ******************************************** -->
<!-- Define varaibles for the list sheet of the root brick selection modal-->
<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />
<variable entry="UI:PHRASE:SELECT:$i:SHEET" type="sint32" value="0" size="%phrase_brick_selection_max" />
<!-- The modal for Brick selection -->
<!--<group type="modal" id="build_phrase_select_brick" x="0" y="0" w="184" posref="BL TL" child_resize_h="true" child_resize_hmargin="4"
exit_click_l="true" >
@ -253,93 +142,47 @@
</group>
</group>
-->
<!-- The modal for Brick selection. NB: don't exit on lclick cause of scrollbar -->
<group type="modal" id="build_phrase_select_brick" x="0" y="0" w="285" posref="BL TL" child_resize_h="true" child_resize_hmargin="4" options="skin_modal">
<!-- This group is here only to ensure that the modal is not too small -->
<group id="fake_minh" posref="TL TL" sizeref="w" w="0" h="30" />
<!-- The Selection group -->
<group type="list_sheet_compo_brick" id="list" sizeref="w" w="-12" child_resize_h="true" child_resize_hmargin="0"
posref="TL TL"
x="4"
y="-4"
xitem="2" yitem="-2"
xtext="32" ytext="-2"
xcost="235" ycost="-8"
hspace="4"
array="false"
value="UI:PHRASE:SELECT"
selection="false"
dragable="false"
nature="sbrick"
brick_over="true"
onclick_l="phrase_validate_brick" params_l="src=ctrl_launch_modal"
onclick_r="open_sbrick_help"
over_color="%bot_chat_sheet_selection_normal"
over_col_pushed="%bot_chat_sheet_selection_pushed"
over_col_over="%bot_chat_sheet_selection_over"
color="255 255 255 255"
fontsize="8"
shadow="true"
multi_line="true"
multi_line_space="0"
line_maxw="210"
>
<group type="list_sheet_compo_brick" id="list" sizeref="w" w="-12" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" x="4" y="-4" xitem="2" yitem="-2" xtext="32" ytext="-2" xcost="235" ycost="-8" hspace="4" array="false" value="UI:PHRASE:SELECT" selection="false" dragable="false" nature="sbrick" brick_over="true" onclick_l="phrase_validate_brick" params_l="src=ctrl_launch_modal" onclick_r="open_sbrick_help" over_color="%bot_chat_sheet_selection_normal" over_col_pushed="%bot_chat_sheet_selection_pushed" over_col_over="%bot_chat_sheet_selection_over" color="255 255 255 255" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" line_maxw="210">
<!-- the scroll -->
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" y="-2" />
<!-- the group to scroll -->
<group id="list" sizeref="w" posref="TL TL" max_h="300" x="8" y="0" w="-8" h="0" />
</group>
</group>
<!-- ******************************** -->
<!-- * PHRASE COMPOSITION ELEMENTS * -->
<!-- ******************************** -->
<!-- Max Slots for phrase composition -->
<define id="phrase_max_brick" value="64" />
<!-- Ctrls for a Parameter -->
<template name="ctrl_phrase_param" id="" index="" paramindex="" posparent="" x="4" y="0">
<view type="bitmap" id="param_back#index_#paramindex" posref="TR TL" posparent="#posparent" x="#x" y="#y" texture="W_slot_brick.tga" color="255 255 255 192" />
<ctrl type="sheet" id="param_brick#index_#paramindex" nature="sbrick" value="UI:PHRASE:BUILD:PARAM:#index:#paramindex" posref="TL TL" posparent="param_back#index_#paramindex" x="0" y="0"
onclick_l="phrase_select_param_brick" params_l="index=#index|param_index=#paramindex" onclick_r="open_sbrick_help" />
<ctrl type="sheet" id="param_brick#index_#paramindex" nature="sbrick" value="UI:PHRASE:BUILD:PARAM:#index:#paramindex" posref="TL TL" posparent="param_back#index_#paramindex" x="0" y="0" onclick_l="phrase_select_param_brick" params_l="index=#index|param_index=#paramindex" onclick_r="open_sbrick_help" />
</template>
<!-- This define the special maxw of the root text info -->
<define id="phrase_build_root_info_maxw" value="200" />
<!-- Ctrls for a Root/Mandatory/Optional Brick and its parameters instanciation -->
<template name="ctrl_phrase_main" posref="" posparent="parent" x="0" y="-2" index="" id="">
<!-- The Main Suffix Brick -->
<view type="bitmap" id="main_back#index" posref="#posref" posparent="#posparent" x="#x" y="#y" texture="W_slot_brick.tga" color="255 255 255 192" />
<ctrl type="sheet" id="main_brick#index" nature="sbrick" value="UI:PHRASE:BUILD:MAIN:#index" posref="TL TL" posparent="main_back#index" x="0" y="0"
onclick_l="phrase_select_main_brick" params_l="index=#index" onclick_r="open_sbrick_help" tooltip="uittSelectBrick" />
<ctrl type="sheet" id="main_brick#index" nature="sbrick" value="UI:PHRASE:BUILD:MAIN:#index" posref="TL TL" posparent="main_back#index" x="0" y="0" onclick_l="phrase_select_main_brick" params_l="index=#index" onclick_r="open_sbrick_help" tooltip="uittSelectBrick" />
<view type="text" id="main_cost#index" posparent="main_brick#index" posref="MR ML" x="128" y="-2" color="255 210 11 255" shadow="true" fontsize="10" />
<view type="text" id="main_credit#index" posparent="main_brick#index" posref="MR ML" x="172" y="-2" color="80 217 11 255" shadow="true" fontsize="10" />
<view type="text" id="main_info#index" posparent="main_brick#index" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10"
multi_line="true" line_maxw="116" multi_line_space="0" />
<view type="text" id="main_info#index" posparent="main_brick#index" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10" multi_line="true" line_maxw="116" multi_line_space="0" />
<!-- The 4 Params Brick (hardcoded). Relative to Suffix then each other -->
<instance template="ctrl_phrase_param" id="param_back#index_0" index="#index" paramindex="0" posparent="main_back#index" x="8" />
<instance template="ctrl_phrase_param" id="param_back#index_1" index="#index" paramindex="1" posparent="param_back#index_0" />
<instance template="ctrl_phrase_param" id="param_back#index_2" index="#index" paramindex="2" posparent="param_back#index_1" />
<instance template="ctrl_phrase_param" id="param_back#index_3" index="#index" paramindex="3" posparent="param_back#index_2" />
</template>
<!-- ****************************** -->
<!-- * PHRASE COMPOSITION MAIN * -->
<!-- ****************************** -->
<template name="box_widget_color" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" color="" keep="true">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" color="#color" sizeref="#sizeref">
<group id="bg" sizeref="hw" h="0" w="0" />
@ -355,26 +198,14 @@
<view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" color="#color" global_color="false" inherit_gc_alpha="true" />
</group>
</template>
<!-- brick to show weapon restriction -->
<template name="ctrl_combat_restrict" posparent="parent" posref="" x="0" y="0" index="" id="">
<ctrl type="sheet" id="#id" nature="sbrick" value="UI:PHRASE:BUILD:RESTRICT_COMBAT:#index" posparent="#posparent" posref="#posref"
x="#x" y="#y" auto_grayed="true" on_tooltip="phrase_combat_restrict_tooltip" />
<ctrl type="sheet" id="#id" nature="sbrick" value="UI:PHRASE:BUILD:RESTRICT_COMBAT:#index" posparent="#posparent" posref="#posref" x="#x" y="#y" auto_grayed="true" on_tooltip="phrase_combat_restrict_tooltip" />
</template>
<!-- Composition Modal container-->
<group style="container_modal" id="phrase_composition" w="272" h="440" title="uiPhraseCreate"
modal_parent="phrase_book" header_color="UI:SAVE:WIN:COLORS:INV" pop_max_h="700"
on_enter="phrase_validate_on_enter"
on_active="set" on_active_params="dblink=UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE|value=1"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE|value=0"
>
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL" >
</group>
<group style="container_modal" id="phrase_composition" w="272" h="440" title="uiPhraseCreate" modal_parent="phrase_book" header_color="UI:SAVE:WIN:COLORS:INV" pop_max_h="700" on_enter="phrase_validate_on_enter" on_active="set" on_active_params="dblink=UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE|value=0">
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL"></group>
<group type="build_phrase" id="header_opened" x="0" y="0" w="0" h="0" posref="TL TL">
<!-- RESTRICT -->
<group id="restrict" posref="TM TM" w="256" h="66" x="0" y="-59">
<view type="text" id="restrict_text" posref="TL BL" x="0" y="-15" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiPhraseRESTRICTION" />
@ -383,7 +214,6 @@
<vector template="ctrl_combat_restrict" _firstindex="9" _size="6" id="combat_brick$i" index="$i" _firstpos="TL TL" _xfirst="4" _yfirst="-39" _nextpos="TR TL" />
</group>
<link expr="@UI:PHRASE:BUILD:RESTRICT_COMBAT:ENABLED" target="restrict:active" />
<!-- BACK -->
<group id="back" posref="TM TM" w="256" h="0" x="0" y="-74">
<instance template="box_widget" id="back_root" posref="TL TL" w="256" h="0" x="0" y="0" />
@ -395,107 +225,60 @@
<link expr="ifthenelse(ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0), 316, 66)" target="back:h" />
<link expr="ifthenelse(ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0), 316, 66)" target="back:back_root:h" />
<link expr="ifthenelse(ne(@UI:PHRASE:BUILD:RESTRICT_COMBAT:ENABLED,0), -142, -74)" target="back:y" />
<!-- NEW OP BUTTON. -->
<group id="new_buttons" posparent="back" posref="TM TM" x="0" y="-8" child_resize_w="true" child_resize_h="true">
<ctrl style="new_element_content" id="new_optional_button" posref="TL TL" y="0" wmargin="8" hardtext="uittPhraseEditNewOptional"
onclick_l="phrase_select_new_brick" params_l="type=optional"/>
<ctrl style="new_element_content" id="new_credit_button" posref="TR TL" posparent="new_optional_button" x="4" y="0"
wmargin="8" hardtext="uittPhraseEditNewCredit" onclick_l="phrase_select_new_brick" params_l="type=credit"/>
<ctrl style="new_element_content" id="new_optional_button" posref="TL TL" y="0" wmargin="8" hardtext="uittPhraseEditNewOptional" onclick_l="phrase_select_new_brick" params_l="type=optional" />
<ctrl style="new_element_content" id="new_credit_button" posref="TR TL" posparent="new_optional_button" x="4" y="0" wmargin="8" hardtext="uittPhraseEditNewCredit" onclick_l="phrase_select_new_brick" params_l="type=credit" />
</group>
<!-- display only if root and effects are valid -->
<link expr="@UI:PHRASE:BUILD:ROOT_EFFECT_VALID" target="new_buttons:active" />
<!-- SPELL ICON -->
<ctrl type="sheet" id="spell_view" nature="sphraseid" posref="TL BL" x="4" y="-56" value="UI:PHRASE:BUILD:EDITION_PHRASE" tooltip="uittActionIcon" />
<view type="text" id="spell_view_name" posparent="spell_view" posref="TL BL" x="0" y="-3" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiPhraseEditIcon" />
<!-- Hide only the Icon if no composition starter (game design request) -->
<link expr="ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0)" target="spell_view:active" />
<!-- NAME OF SPELL -->
<instance template="edit_box_widget" id="eb_spell_name" posref="TR BR" x="0" w="216" y="-54" h="20" child_resize="false"
text_x="0" text_y="0" text_ref="ML ML"
fontsize="12" multi_line="false" max_num_chars="20"
enter_loose_focus="true" enter_recover_focus="false" prompt="" reset_focus_on_hide="true" onchange="phrase_change_name" />
<instance template="edit_box_widget" id="eb_spell_name" posref="TR BR" x="0" w="216" y="-54" h="20" child_resize="false" text_x="0" text_y="0" text_ref="ML ML" fontsize="12" multi_line="false" max_num_chars="20" enter_loose_focus="true" enter_recover_focus="false" prompt="" reset_focus_on_hide="true" onchange="phrase_change_name" />
<view type="text" id="text_spell_name" posparent="eb_spell_name" posref="TL BL" x="0" y="-2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiPhraseEditName" />
<!-- INFOS -->
<group id="infos" w="256" h="90" posparent="back" posref="BL TL" x="0" y="-4">
<!-- Sabrina Cost -->
<view type="text" id="totaltext" posref="TL TL" fontsize="12" global_color="true" shadow="true" color="255 255 255 255" hardtext="uiPhraseTotal" />
<view type="text_number" id="cost" posref="TL TM" fontsize="12" x="186" global_color="false" shadow="true" color="255 210 11 255" value="UI:PHRASE:BUILD:TOTAL_COST" />
<view type="text_number" id="credit" posref="TL TM" fontsize="12" x="230" global_color="false" shadow="true" color="80 217 11 255" value="UI:PHRASE:BUILD:TOTAL_CREDIT" />
<!-- Phrase DESC -->
<view type="text" id="phrase_desc" posref="TL TL" x="0" y="-17" color="255 255 255 255" shadow="true" fontsize="10"
multi_line="true" multi_line_space="0" />
<view type="text" id="phrase_desc" posref="TL TL" x="0" y="-17" color="255 255 255 255" shadow="true" fontsize="10" multi_line="true" multi_line_space="0" />
</group>
<link expr="ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0)" target="infos:active" />
<!-- BALANCE -->
<view type="bitmap" id="balance" posref="BM BM" x="0" y="34" texture="action_balance_equal.tga" global_color="false" />
<link expr="ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0)" target="balance:active" />
<link expr="ifthenelse(eq(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'action_balance_equal.tga',
ifthenelse(gt(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'action_balance_cost.tga',
'action_balance_cred.tga'))"
target="balance:texture" />
<link expr="ifthenelse(eq(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'action_balance_equal.tga', ifthenelse(gt(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'action_balance_cost.tga', 'action_balance_cred.tga'))" target="balance:texture" />
<view type="text" id="balancetext" posparent="balance" posref="BM TM" fontsize="10" global_color="false" shadow="true" color="255 255 255 255" hardtext="uiBalanceEqual" />
<link expr="ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0)" target="balancetext:active" />
<link expr="ifthenelse(eq(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'uiBalanceEqual',
ifthenelse(gt(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'uiBalanceCost',
'uiBalanceCred'))"
target="balancetext:hardtext" />
<link expr="ifthenelse(eq(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'255 255 255 255',
ifthenelse(gt(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'255 210 11 255',
'80 217 11 255'))"
target="balancetext:color" />
<link expr="ifthenelse(eq(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'uiBalanceEqual', ifthenelse(gt(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'uiBalanceCost', 'uiBalanceCred'))" target="balancetext:hardtext" />
<link expr="ifthenelse(eq(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'255 255 255 255', ifthenelse(gt(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'255 210 11 255', '80 217 11 255'))" target="balancetext:color" />
<view type="text" id="compo" posref="TL BL" posparent="back" x="0" y="0" fontsize="10" shadow="true" global_color="true" color="255 255 255 255" hardtext="uiPhraseCOMPOSITION" />
<!-- The scroll group -->
<group id="bricks" posparent="back" posref="TL TL" x="12" y="-32" w="244" child_resize_h="true" child_resize_hmargin="4" max_h="280">
<!-- List of Bricks -->
<vector template="ctrl_phrase_main" id="main_back$i" _size="%phrase_max_brick" _firstpos="TL TL" _xfirst="4" _yfirst="-2" _nextpos="BL TL" index="$i" />
</group>
<ctrl style="skin_scroll" id="scroll_row" posparent="back" posref="TL TL" x="4" y="-34" target="bricks" target_stepy="28" />
<!-- VALIDATION -->
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_validate" ok_text="uittPhraseEditValidate"
onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:phrase_composition:active|value=0" cancel_text="uittCancel" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_validate" ok_text="uittPhraseEditValidate" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:phrase_composition:active|value=0" cancel_text="uittCancel" />
</group>
<link expr="ifthenelse( eq(@UI:PHRASE:BUILD:MAIN:0:SHEET,0), 190,
ifthenelse(ne(@UI:PHRASE:BUILD:RESTRICT_COMBAT:ENABLED,0), 608, 540) )"
target="header_opened:h" />
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
<link expr="ifthenelse( eq(@UI:PHRASE:BUILD:MAIN:0:SHEET,0), 190, ifthenelse(ne(@UI:PHRASE:BUILD:RESTRICT_COMBAT:ENABLED,0), 608, 540) )" target="header_opened:h" />
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL"></group>
</group>
</group>
<!-- ****************************** -->
<!-- * PHRASE FABER EXECUTION * -->
<!-- ****************************** -->
<!-- constants -->
<define id="phrase_faber_selection_max" value_from_code="getPhraseMPSelectionMax()" />
<define id="phrase_faber_max_item_req" value="10" /> <!-- Max 5 item part, and 5 formula MPs -->
<define id="phrase_faber_max_item_req" value="10" />
<!-- Max 5 item part, and 5 formula MPs -->
<define id="phrase_faber_max_mp_slot" value="36" />
<!-- Define varaibles for the list sheet of the mp selection modal-->
<variable entry="UI:PHRASE:FABER:MP_SELECT:$i:SHEET" type="sint32" value="0" size="%phrase_faber_selection_max" />
<variable entry="UI:PHRASE:FABER:MP_SELECT:$i:QUALITY" type="sint32" value="0" size="%phrase_faber_selection_max" />
@ -537,23 +320,13 @@
<variable entry="UI:PHRASE:FABER:RESULT_ITEM:ENCHANT" type="sint32" value="0" />
<variable entry="UI:PHRASE:FABER:RESULT_ITEM:RM_CLASS_TYPE" type="sint32" value="0" />
<variable entry="UI:PHRASE:FABER:RESULT_ITEM:RM_FABER_STAT_TYPE" type="sint32" value="0" />
<!-- The modal for Mp selection. NB: x/y so the mouse is ready to click on first mp -->
<group type="modal" id="phrase_faber_mp_selection" posref="BL TL" x="-24" y="24" w="290"
child_resize_h="true" child_resize_hmargin="4" exit_click_out="true" options="skin_modal" >
<group type="list_sheet" nature="item" id="list" posref="TL TL" value="UI:PHRASE:FABER:MP_SELECT"
wspace="4" hspace="4" array="false" x="4" y="-4" w="290" child_resize_h="true"
rowmax="6" column_max="6" lmargin="10"
onclick_l="phrase_faber_validate_mp" params_l="src=ctrl_launch_modal" onclick_r="open_item_help" >
<group type="modal" id="phrase_faber_mp_selection" posref="BL TL" x="-24" y="24" w="290" child_resize_h="true" child_resize_hmargin="4" exit_click_out="true" options="skin_modal">
<group type="list_sheet" nature="item" id="list" posref="TL TL" value="UI:PHRASE:FABER:MP_SELECT" wspace="4" hspace="4" array="false" x="4" y="-4" w="290" child_resize_h="true" rowmax="6" column_max="6" lmargin="10" onclick_l="phrase_faber_validate_mp" params_l="src=ctrl_launch_modal" onclick_r="open_item_help">
<!-- the scroll -->
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" />
</group>
</group>
<!-- the modal For Mp Quantity Selection. NB: x/y so the mouse is ready to click "REMOVE" -->
<proc id="phrase_faber_remove_mp">
<!-- set the quantity to -->
@ -561,60 +334,28 @@
<!-- then select the quantity -->
<action handler="phrase_faber_select_mp_quantity" />
</proc>
<group type="modal" id="phrase_faber_mp_quantity" exit_click_out="true"
posref="TL TL" w="185" h="100" x="-35" y="85"
on_enter="phrase_faber_select_mp_quantity" options="skin_modal"
>
<group type="modal" id="phrase_faber_mp_quantity" exit_click_out="true" posref="TL TL" w="185" h="100" x="-35" y="85" on_enter="phrase_faber_select_mp_quantity" options="skin_modal">
<view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="SELECT QUANTITY" />
<ctrl type="sheet" id="sheet" onclick_r="open_help_auto" value="UI:PHRASE:FABER:STACK_SELECT" posref="MM MM" x="-26" y="0" use_quantity="false" />
<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" id="edit" entry_type="positive_integer" text_ref="TR TR" text_y="-1" fontsize="12"
posparent="sheet" posref="MR ML" x="16" y="0" text_x="-2" w="32"
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3"
onchange="editbox_number" onchange_params="value=UI:PHRASE:FABER:STACK_SELECT:CUR_QUANTITY|update_text=false|value=UI:PHRASE:FABER:STACK_SELECT:MAX_QUANTITY"
onenter="phrase_faber_select_mp_quantity" max_historic="0" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
onclick_ok="phrase_faber_select_mp_quantity"
onclick_ok_param=""
onclick_cancel="leave_modal"
onclick_cancel_param="" />
<instance template="edit_box_widget" id="edit" entry_type="positive_integer" text_ref="TR TR" text_y="-1" fontsize="12" posparent="sheet" posref="MR ML" x="16" y="0" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:PHRASE:FABER:STACK_SELECT:CUR_QUANTITY|update_text=false|value=UI:PHRASE:FABER:STACK_SELECT:MAX_QUANTITY" onenter="phrase_faber_select_mp_quantity" max_historic="0" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_faber_select_mp_quantity" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param="" />
<!-- the button to remove it (smae as set 0), on the left -->
<ctrl style="button_ok" id="button_remove" posref="BL BL" x="4" y="4"
onclick_l="proc" params_l="phrase_faber_remove_mp" hardtext="uiFaberMpRemove" />
<ctrl style="button_ok" id="button_remove" posref="BL BL" x="4" y="4" onclick_l="proc" params_l="phrase_faber_remove_mp" hardtext="uiFaberMpRemove" />
</group>
<!-- Template for a required item line -->
<template name="faber_item_req" posref="" posparent="parent" x="0" y="0" item_req="" id="">
<group id="#id" x="#x" y="#y" posref="#posref" posparent="#posparent" w="350" child_resize_h="true">
<!-- The item part info Icon. Hidden if a formula MP and not an item part -->
<view type="bitmap" id="icon" posref="TL TL" scale="true" x="5" y="0" w="24" h="24" global_color="false" />
<!-- The item part/formula MP info text -->
<view type="text" id="text" posref="TL TL" x="30" y="-8"
color="255 255 255 255" global_color="true" fontsize="10" shadow="true" />
<view type="text" id="text" posref="TL TL" x="30" y="-8" color="255 255 255 255" global_color="true" fontsize="10" shadow="true" />
<!-- The Quantity of item required info text -->
<view type="text_quantity" id="text_quantity" posref="TR TR" x="0" y="-8"
color="255 255 255 255" global_color="true" fontsize="10" shadow="true"
value="UI:PHRASE:FABER:MP_QUANTITY:#item_req:SELECTED"
valuemax="UI:PHRASE:FABER:MP_QUANTITY:#item_req:REQUIRED" />
<view type="text_quantity" id="text_quantity" posref="TR TR" x="0" y="-8" color="255 255 255 255" global_color="true" fontsize="10" shadow="true" value="UI:PHRASE:FABER:MP_QUANTITY:#item_req:SELECTED" valuemax="UI:PHRASE:FABER:MP_QUANTITY:#item_req:REQUIRED" />
<!-- The list of item -->
<group type="list_sheet" nature="item" id="list"
posref="TL TL" x="8" y="-24" w="350" child_resize_h="true"
wspace="8" hspace="8"
value="UI:PHRASE:FABER:MP_BUILD:#item_req" array="false"
auto_grayed="false"
onclick_l="phrase_faber_select_mp" params_l="item_req=#item_req" onclick_r="open_item_help" tooltip="uittSelectMp" />
<group type="list_sheet" nature="item" id="list" posref="TL TL" x="8" y="-24" w="350" child_resize_h="true" wspace="8" hspace="8" value="UI:PHRASE:FABER:MP_BUILD:#item_req" array="false" auto_grayed="false" onclick_l="phrase_faber_select_mp" params_l="item_req=#item_req" onclick_r="open_item_help" tooltip="uittSelectMp" />
</group>
</template>
<!-- Template for a MPStat in Faber -->
<template name="template_mp_faber_stat" id="" x="0" y="-2" posparent="item_result" posref="">
<group id="#id" posparent="#posparent" posref="#posref" x="#x" y="#y" w="380" h="18" active="false">
@ -624,8 +365,6 @@
<ctrl type="tooltip" id="tt" sizeref="wh" w="0" h="0" tooltip="" />
</group>
</template>
<!-- To know if Faber phrase is opened or not -->
<variable entry="UI:VARIABLES:ISACTIVE:PHRASE_FABER" type="sint32" value="0" />
<proc id="proc_phrase_faber_opened">
@ -635,48 +374,29 @@
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:PHRASE_FABER|value=0" />
<action handler="phrase_faber_on_close" />
</proc>
<!-- container modal on hand -->
<!-- on_enter="phrase_faber_validate_on_enter" -->
<group style="container_modal" id="phrase_faber_execution" w="800" h="516" title="uiPhraseFaberExecute"
modal_parent="gestionsets|bot_chat_missions" header_color="UI:SAVE:WIN:COLORS:INV" pop_max_h="716"
on_active="proc" on_active_params="proc_phrase_faber_opened"
on_deactive="proc" on_deactive_params="proc_phrase_faber_closed"
>
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL" >
</group>
<group style="container_modal" id="phrase_faber_execution" w="800" h="516" title="uiPhraseFaberExecute" modal_parent="gestionsets|bot_chat_missions" header_color="UI:SAVE:WIN:COLORS:INV" pop_max_h="716" on_active="proc" on_active_params="proc_phrase_faber_opened" on_deactive="proc" on_deactive_params="proc_phrase_faber_closed">
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="0" h="496" posref="TL TL">
<!-- BACK -->
<group id="back" posref="TL TL" w="792" h="424" x="0" y="-44">
<instance template="box_widget" id="back_root" posref="TL TL" w="792" h="424" x="0" y="0" />
</group>
<!-- Help info -->
<view type="text" id="select_info" posref="TL TL" x="8" y="-26" color="255 255 255 255" shadow="true" fontsize="12"
multi_line="true" line_maxw="380" multi_line_space="0" hardtext="uiTextHelpSelectMp" />
<view type="text" id="select_info" posref="TL TL" x="8" y="-26" color="255 255 255 255" shadow="true" fontsize="12" multi_line="true" line_maxw="380" multi_line_space="0" hardtext="uiTextHelpSelectMp" />
<link expr="ifthenelse(eq(@UI:PHRASE:FABER:FABER_PLAN:SHEET, 0), 'uiTextHelpSelectFaberPlan', 'uiTextHelpSelectMp')" target="select_info:hardtext" />
<!-- The FaberPlan Brick -->
<ctrl type="sheet" id="faber_plan" nature="sbrick" value="UI:PHRASE:FABER:FABER_PLAN" posref="TL TL" posparent="back" x="8" y="-6"
onclick_l="phrase_faber_select_plan" onclick_r="open_sbrick_help" tooltip="uittSelectPlan" />
<view type="text" id="faber_plan_info" posparent="faber_plan" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10"
multi_line="true" line_maxw="250" multi_line_space="0" hardtext="uiTextHelpSelectFaberPlanSlot" />
<ctrl type="sheet" id="faber_plan" nature="sbrick" value="UI:PHRASE:FABER:FABER_PLAN" posref="TL TL" posparent="back" x="8" y="-6" onclick_l="phrase_faber_select_plan" onclick_r="open_sbrick_help" tooltip="uittSelectPlan" />
<view type="text" id="faber_plan_info" posparent="faber_plan" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10" multi_line="true" line_maxw="250" multi_line_space="0" hardtext="uiTextHelpSelectFaberPlanSlot" />
<link expr="eq(@UI:PHRASE:FABER:FABER_PLAN:SHEET, 0)" target="faber_plan_info:active" />
<view type="text" id="name" posparent="faber_plan" posref="TR TL" x="4" y="0" color="255 255 255 255" shadow="true" fontsize="10" multi_line="false" line_maxw="350" hardtext="" over_extend_view_text="true" />
<view type="text" id="desc" posparent="name" posref="BL TL" x="0" y="0" color="255 255 255 255" shadow="true" fontsize="8" multi_line="false" line_maxw="350" hardtext="" over_extend_view_text="true" />
<link expr="ne(@UI:PHRASE:FABER:FABER_PLAN:SHEET, 0)" target="name:active,desc:active" />
<link expr="@UI:PHRASE:FABER:FABER_PLAN:SHEET" action="lua:game:updatePhraseFaberPreview('UI:PHRASE:FABER:FABER_PLAN:SHEET')" />
<!-- The Success Rate info. Must be multiline for Formating -->
<view type="text" id="success_text" posparent="back" posref="TL TL" x="8" y="-36" color="255 255 255 255" shadow="true" fontsize="12"
multi_line="true" line_maxw="350" multi_line_space="0" hardtext="" />
<view type="text" id="success_text" posparent="back" posref="TL TL" x="8" y="-36" color="255 255 255 255" shadow="true" fontsize="12" multi_line="true" line_maxw="350" multi_line_space="0" hardtext="" />
<link expr="ne(@UI:PHRASE:FABER:FABER_PLAN:SHEET, 0)" target="success_text:active" />
<!-- The 10 item_req (itemParts and specific Formula items) -->
<group id="back_slots" x="16" y="-56" posparent="back" posref="TL TL" w="368" h="312">
<instance template="inner_thin_border" inherit_gc_alpha="true" />
@ -685,39 +405,29 @@
<vector template="faber_item_req" _size="%phrase_faber_max_item_req" id="item_req_$i" item_req="$i" _firstpos="TL TL" _nextpos="BL TL" x="0" y="0" />
</group>
<ctrl style="skin_scroll" id="sv" posparent="back" posref="TL TL" x="4" y="-60" target="item_reqs" />
<!-- RESULT ITEM -->
<group id="item_result" posparent="back" posref="TR TR" x="-10" y="-6" w="390" child_resize_h="true" max_h="375">
<instance template="inner_thin_border" inherit_gc_alpha="true" />
<!-- Text Header -->
<view type="text" id="header" posref="TL TL" x="5" y="-2" hardtext="uiFaberItemResultHeader"/> <!-- for item, pacts, .. -->
<view type="text" id="header" posref="TL TL" x="5" y="-2" hardtext="uiFaberItemResultHeader" />
<!-- for item, pacts, .. -->
<!-- item result -->
<ctrl type="sheet" id="item_result" nature="item" value="UI:PHRASE:FABER:RESULT_ITEM" posparent="header" posref="BL TL" y="-4" tooltip="uittFaberItemResult" />
<view type="text" id="name" posparent="item_result" posref="TR TL" x="4" y="0" fontsize="10" multi_line="false" line_maxw="340" hardtext="uittFaberItemResult" over_extend_view_text="true" />
<view type="text" id="desc" posparent="name" posref="BL TL" x="0" y="0" fontsize="8" multi_line="false" line_maxw="340" hardtext="..." over_extend_view_text="true" />
<link expr="@UI:PHRASE:FABER:RESULT_ITEM:SHEET" action="lua:game:updatePhraseFaberPreview('UI:PHRASE:FABER:RESULT_ITEM:SHEET')" />
<!-- Stat Preview -->
<vector template="template_mp_faber_stat" id="stat$i" _size="%MAX_STAT_MP_CRAFT" _firstpos="BL TL" _xfirst="0" _yfirst="-6" _nextpos="BL TL" />
</group>
<ctrl style="skin_scroll" id="sv_ir" posparent="back" posref="TR TR" x="-8" y="-44" target="item_result" />
<!-- VALIDATION -->
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_faber_validate" ok_text="uittPhraseFaberBuild"
onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:phrase_faber_execution:active|value=0" cancel_text="uittCancel" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_faber_validate" ok_text="uittPhraseFaberBuild" onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:phrase_faber_execution:active|value=0" cancel_text="uittCancel" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL"></group>
</group>
<!--************************-->
<!-- LINKS -->
<!--************************-->
<!-- TEMPLATE DE LINK -->
<template name="active_link" keep="true" posparent="parent" posref="TL TL" h="32" id="" x="0" y="0" index="">
<group id="#id" w="306" h="#h" posparent="#posparent" posref="#posref" x="#x" y="#y">
@ -729,23 +439,17 @@
<view type="bitmap" id="cadre4" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
</group>
<link expr="ifthenelse(eq(@UI:VARIABLES:LINKS_INFOS, 0), 306, 200)" target="cadre:w" />
<!-- SLOT. don't change the id for info -->
<ctrl type="sheet" id="ctrl_phrase" nature="sphraseid" posref="ML ML" x="2" dragable="false"
value="SERVER:EXECUTE_PHRASE:LINK:#index" onclick_r="open_phraseid_help" />
<ctrl type="sheet" id="ctrl_phrase" nature="sphraseid" posref="ML ML" x="2" dragable="false" value="SERVER:EXECUTE_PHRASE:LINK:#index" onclick_r="open_phraseid_help" />
<group id="name_cost" w="120" h="26" posparent="ctrl_phrase" posref="TR TL" x="2" y="-1">
<!-- NAME. Get the Name spell -->
<view type="text" id="spell_name" posref="TL TL" y="-1" w="120" h="10" shadow="true" fontsize="10"
global_color="false" />
<view type="text" id="spell_name" posref="TL TL" y="-1" w="120" h="10" shadow="true" fontsize="10" global_color="false" />
<link expr="getSPhraseName(@SERVER:EXECUTE_PHRASE:LINK:#index:PHRASE)" target="spell_name:hardtext" />
<!-- COSTS (HP, SAP, STA) -->
<!--
<view type="text" id="costs" posparent="spell" posref="BR BL" x="2" y="0" shadow="true" fontsize="8" hardtext="uiLinksCosts" />
-->
<instance template="box_widget" id="box_cost" posref="BL BL" w="81" h="13" />
<view type="text_number" id="hp_cost" posparent="box_cost" posref="ML MM" x="14" y="-2" fontsize="8" shadow="true" value="SERVER:EXECUTE_PHRASE:LINK:#index:HP_COST" color="%hp_color" global_color="false" />
<view type="text" id="sep1" posparent="box_cost" posref="ML MM" x="27" y="-1" shadow="true" fontsize="10" hardtext="/" color="255 255 255 255" />
<view type="text_number" id="sap_cost" posparent="box_cost" posref="MM MM" x="0" y="-2" fontsize="8" shadow="true" value="SERVER:EXECUTE_PHRASE:LINK:#index:SAP_COST" color="%sap_color" global_color="false" />
@ -753,59 +457,30 @@
<view type="text_number" id="sta_cost" posparent="box_cost" posref="MR MM" x="-14" y="-2" fontsize="8" shadow="true" value="SERVER:EXECUTE_PHRASE:LINK:#index:STA_COST" color="%sta_color" global_color="false" />
</group>
<link expr="eq(@UI:VARIABLES:LINKS_INFOS, 0)" target="name_cost:active" />
<!-- SEP SPELL/TARGET -->
<view type="bitmap" id="sep" posref="ML ML" x="150" scale="true" w="2" h="26" color="255 255 255 160" texture="W_line_ver.tga" />
<link expr="eq(@UI:VARIABLES:LINKS_INFOS, 0)" target="sep:active" />
<!-- TARGET -->
<group id="target" posref="ML ML" x="154" w="150" h="26">
<!-- TARGET Name -->
<view type="text_id" id="name" posref="TL TL" x="0" y="-1" h="10" shadow="true" fontsize="10" textid="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_NAME" />
<!-- Jauges Target -->
<view type="bar3" id="jauges" posref="BL BL" mini="true" y="1"
color1="%sta_color" value1="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_STA" range1="UI:CONST:127"
color2="%sap_color" value2="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_SAP" range2="UI:CONST:127"
color3="%hp_color" value3="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_HP" range3="UI:CONST:127" />
<view type="bar3" id="jauges" posref="BL BL" mini="true" y="1" color1="%sta_color" value1="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_STA" range1="UI:CONST:127" color2="%sap_color" value2="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_SAP" range2="UI:CONST:127" color3="%hp_color" value3="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_HP" range3="UI:CONST:127" />
</group>
<link expr="ifthenelse(eq(@UI:VARIABLES:LINKS_INFOS, 0), 154, 40)" target="target:x" />
<!-- BUTTON TO STOP THE LINK -->
<ctrl type="button" id="stop_button" button_type="push_button" posref="MM MM" sizeref="wh" w="-2" h="-4" 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="phrase_link_stop" params_l="#index" tooltip="uiStopLinkSpell"
onclick_r="phrase_link_ctrl_rclick" />
<ctrl type="button" id="stop_button" button_type="push_button" posref="MM MM" sizeref="wh" w="-2" h="-4" 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="phrase_link_stop" params_l="#index" tooltip="uiStopLinkSpell" onclick_r="phrase_link_ctrl_rclick" />
<!-- HIDE THIS GROUP IF NO LINK -->
<link expr="ne(@SERVER:EXECUTE_PHRASE:LINK:#index:PHRASE, 0)" target="active" />
</group>
</template>
<!-- LE CONTAINER DE LINKS -->
<group type="container" id="links" w="314" title="uiLinksTitle" global_color="false" opened="true" resizer="false" openable="false"
movable="true" active="true" header_color="UI:SAVE:WIN:COLORS:INV"
on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:LINKS|value=1"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:LINKS|value=0"
>
<group id="header_closed" x="0" y="0" w="314" h="16" posref="TL TL" >
</group>
<group id="header_opened" x="0" y="0" w="314" h="20" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color" >
<group type="container" id="links" w="314" title="uiLinksTitle" global_color="false" opened="true" resizer="false" openable="false" movable="true" active="true" header_color="UI:SAVE:WIN:COLORS:INV" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:LINKS|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:LINKS|value=0">
<group id="header_closed" x="0" y="0" w="314" h="16" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="314" h="20" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<view type="text" id="text_show_preview" posref="MR MR" x="-16" y="0" color="255 255 255 255" fontsize="10" global_color="false" shadow="true" hardtext="uiLinkInfo" />
<ctrl type="button" id="show_info" button_type="toggle_button" posparent="text_show_preview" posref="ML MR" x="-2" y="2" pushed="false"
tx_normal="w_opacity_on.tga" tx_pushed="w_slot_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
global_color_normal="true" global_color_over="true" global_color_pushed="true"
onclick_l="set" params_l="dblink=UI:VARIABLES:LINKS_INFOS|value=not(@UI:VARIABLES:LINKS_INFOS)" />
</group>
<ctrl type="button" id="show_info" button_type="toggle_button" posparent="text_show_preview" posref="ML MR" x="-2" y="2" pushed="false" tx_normal="w_opacity_on.tga" tx_pushed="w_slot_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" global_color_normal="true" global_color_over="true" global_color_pushed="true" onclick_l="set" params_l="dblink=UI:VARIABLES:LINKS_INFOS|value=not(@UI:VARIABLES:LINKS_INFOS)" />
</group>
<group id="content" x="0" y="0" w="310" child_resize_h="true" posref="TL TL">
<!-- Yoyo: must leave 0 to the Y, if we want the system "hide=>H==0" to work -->
<instance template="active_link" id="al0" index="0" posref="TL TL" />
@ -821,21 +496,11 @@
</group>
</group>
<link expr="ifthenelse(eq(@UI:VARIABLES:LINKS_INFOS, 0), 314, 208)" target="ui:interface:links:w" />
<!--************************-->
<!-- LINKS -->
<!--************************-->
<tree node="phrase_book" />
<tree node="phrase_composition" />
<tree node="phrase_faber_execution" />
<tree node="links" />
</interface_config>

@ -105,12 +105,7 @@
- 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()" />
<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 -->
<!-- ************* -->
@ -250,8 +245,7 @@
-->
<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_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">
@ -267,10 +261,7 @@
<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" />
<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>
@ -315,9 +306,7 @@
<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" />
<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" />
@ -340,21 +329,16 @@
</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" />
<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">

@ -1,8 +1,5 @@
<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 -->
@ -10,27 +7,21 @@
<!-- 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 -->
@ -39,33 +30,13 @@
<!-- 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 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>
</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="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" />
@ -75,13 +46,10 @@
<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" />
@ -100,24 +68,17 @@
<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" />
@ -130,15 +91,10 @@
-->
<!-- 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" />
<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" />
<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 -->
@ -146,23 +102,16 @@
<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 -->
@ -171,8 +120,6 @@
<!-- 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 -->
@ -181,48 +128,32 @@
<!-- 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"/>
<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 -->
@ -233,8 +164,6 @@
<!-- 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 -->
@ -244,60 +173,33 @@
<!-- 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"
>
<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"
/>
<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="" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="proc" onclick_ok_param="confirm_money_quantity" onclick_cancel="leave_modal" onclick_cancel_param="" />
</group>
<!-- the player accept the invitation -->
<proc id="player_accept_invitation">
<action handler="accept_exchange_invitation" />
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0" />
</proc>
<!-- the player decline the invitation -->
<proc id="player_decline_invitation">
<action handler="decline_exchange_invitation" />
<action handler="set" params="target_property=ui:interface:accept_trade_invitation:active|value=0" />
</proc>
<!-- init the trade invitation modal box -->
<proc id="init_invitation_box">
<!-- set the name of the player that propose the invitation -->
<action handler="set_server_string" params="value=@@%other_player_name_id|target=other_player_name:hardtext" />
</proc>
<!-- INVITATION TO TRADE -->
<!--<group type="modal" id="accept_trade_invitation" posref="MM MM" w="192" h="56"
on_active="proc" on_active_params="init_invitation_box"
mouse_pos="false" exit_click_out="false"
@ -315,64 +217,14 @@
<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 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" />
<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>
<tree node="player_trade"></tree>
<tree node="accept_trade_invitation"></tree>
</interface_config>

@ -1,336 +1,144 @@
<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">
<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" />
<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"/>
<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" />
<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" />
<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="">
<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" />
<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" />
<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" >
<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 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 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="">
<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" />
<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" />
<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" />
<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" >
<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 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="">
<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" />
<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="">
<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"/>
<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" />
<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="">
<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" />
<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"/>
<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>
<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 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" />
<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" />
<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" />
<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>
<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>
<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>
<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" />
<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>
<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">
@ -395,180 +203,79 @@
</group>
</template>
-->
<!-- ************************************************ EVENT EDITOR *********************************************** -->
<template name="template_edit_events" keep="true" sizeref="w" active="false" w="0" id=""
col_pushed="200 150 0 255">
<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()" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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')" />
<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="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" />
<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 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>
<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" 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" >
<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" />
<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" />
<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">
<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')" />
<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="" />
<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" />
<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" />
<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" />
<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')"/>
<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=""/>
<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"/>
<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>

@ -1,77 +1,38 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<template name="template_label_menu" 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" color_text="">
<template name="template_label_menu" 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" color_text="">
<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="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" />
<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" />
</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" color_text="#color_text" />
<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" color_text="#color_text" />
</group>
</template>
<template name="template_label_menu_resize" keep="true" active="true" id="" x="0" y="0" sizeref="" w="" h="" posparent=""
posref="" w_combo="0" hardtext="" on_change_params="" y_text="4">
<template name="template_label_menu_resize" keep="true" active="true" id="" x="0" y="0" sizeref="" w="" h="" posparent="" posref="" 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="h" w="#w_label" h="0" x="0" y="0" posref="TL TL" posparent="parent">
<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" />
<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" />
</group>
<instance template="menu_button_template" id="menu" x="#w_label" y="0" sizeref="wh" posparent="parent"
posref="BL BL" w="#w_combo" h="0" params_l="#on_change_params" />
<instance template="menu_button_template" id="menu" x="#w_label" y="0" sizeref="wh" posparent="parent" posref="BL BL" w="#w_combo" h="0" params_l="#on_change_params" />
</group>
</template>
<template name="template_menu_label" 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">
<template name="template_menu_label" 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">
<!-- menu -->
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="w5h" posparent="parent"
posref="TL TL" w="#w_combo" h="0" params_l="#on_change_params" />
<instance template="menu_button_template" id="menu" x="0" y="0" sizeref="w5h" posparent="parent" posref="TL TL" w="#w_combo" h="0" params_l="#on_change_params" />
<!-- label -->
<group id="label" sizeref="wh" w="#w_label" h="0" x="0" y="0" posref="TR TL" posparent="menu">
<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" />
<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" />
</group>
</group>
</template>
<template name="r2ed_triggers_button" keep="true" id="" x="0" y="0" active="true" posref="BL BM" posparent="parent" icon="" icon_over="" icon_pushed="" w="44" h="39" tooltip=""
color="" col_over="" col_pushed="" offset_x = "0" offset_y = "0" onclick_l="" params_l=""
>
<group id="#id" active="#active" x="#x" y="#y" posref="#posref" posparent="#posparent"
child_resize_w="true" child_resize_h="true" child_resize_wmargin="#offset_x" child_resize_hmargin="#offset_y"
onclick_l="" params_l="" >
<template name="r2ed_triggers_button" keep="true" id="" x="0" y="0" active="true" posref="BL BM" posparent="parent" icon="" icon_over="" icon_pushed="" w="44" h="39" tooltip="" color="" col_over="" col_pushed="" offset_x="0" offset_y="0" onclick_l="" params_l="">
<group id="#id" active="#active" x="#x" y="#y" posref="#posref" posparent="#posparent" child_resize_w="true" child_resize_h="true" child_resize_wmargin="#offset_x" child_resize_hmargin="#offset_y" onclick_l="" params_l="">
<group id="button_group" active="true" child_resize_w="true" child_resize_h="true" posref="BR BR">
<view type="bitmap" id="bl" color="#color" w="8" h="8" posref="BL BL" texture="r2ed_triggers_corner.tga" rot="3" />
<ctrl type="button" id="button" button_type="push_button" w="#w" h="#h" posref="TR BL" posparent="bl"
tx_normal="#icon" tx_pushed="#icon_pushed" tx_over="#icon_over" tooltip="#tooltip"
color="#color" col_over="#col_over" col_pushed="#col_pushed"
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
onclick_l="#onclick_l" params_l="#params_l" over_when_pushed = "false" />
<ctrl type="button" id="button" button_type="push_button" w="#w" h="#h" posref="TR BL" posparent="bl" tx_normal="#icon" tx_pushed="#icon_pushed" tx_over="#icon_over" tooltip="#tooltip" color="#color" col_over="#col_over" col_pushed="#col_pushed" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="#onclick_l" params_l="#params_l" over_when_pushed="false" />
<view type="bitmap" id="bottom" color="#color" scale="true" posparent="button" posref="BL TL" sizeref="w" w="0" h="8" texture="r2ed_triggers_border.tga" rot="2" />
<view type="bitmap" id="top" color="#color" scale="true" posparent="button" posref="TL BL" sizeref="w" w="0" h="8" texture="r2ed_triggers_border.tga" rot="0" />
<view type="bitmap" id="left" color="#color" scale="true" posparent="button" posref="BL BR" sizeref="h" w="8" h="0" texture="r2ed_triggers_border.tga" rot="3" />
@ -82,228 +43,89 @@
</group>
</group>
</template>
<!-- button tab style -->
<style style="tab_button_sequence" keep="true" 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_sequence_pushed" tx_over="r2_tab_wide_over"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
color="255 255 255 255" col_over="255 255 255 255"
text_y="-2" fontsize="10" shadow="true" 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="true"
text_global_color_over="true"
onclick_l="lua" params_l=""
/>
<template name="element_template" keep="true" id="" posref="" x="" y="" hardtext=""
select_elt="" open_elt_editor="" max_min_elt="" remove_elt=""
col_over="" col_pushed="" multi_max_line="3" >
<style style="tab_button_sequence" keep="true" 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_sequence_pushed" tx_over="r2_tab_wide_over" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 255" text_y="-2" fontsize="10" shadow="true" 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="true" text_global_color_over="true" onclick_l="lua" params_l="" />
<template name="element_template" keep="true" id="" posref="" x="" y="" hardtext="" select_elt="" open_elt_editor="" max_min_elt="" remove_elt="" col_over="" col_pushed="" multi_max_line="3">
<group id="#id" sizeref="w" posref="#posref" x="#x" y="#y" w="0" child_resize_h="true" child_resize_hmargin="0">
<group id="element_list" active="true" posparent="parent" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0">
<group id="element" active="true" posparent="parent" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0">
<instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
<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" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
col_over="#col_over" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true"
onclick_l="lua" params_l="#select_elt" pushed="false" />
<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" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" col_over="#col_over" col_pushed="#col_pushed" tx_over="blank.tga" tx_pushed="blank.tga" scale="true" onclick_l="lua" params_l="#select_elt" pushed="false" />
<group id="element_title" posparent="parent" sizeref="w" w="0" min_h="22" child_resize_h="true" posref="TL TL" x="0" y="0">
<group id="group_title" posparent="parent" sizeref="w" w="-26" child_resize_h="true" child_resize_hmargin="8" posref="TL TL" x="0" y="0">
<view type="text" id="title" posref="TL TL" x="10" y="-5" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" multi_line="true" multi_max_line="#multi_max_line"/>
</group>
<instance template="r2ed_triggers_little_button" id="minimize_element" x="-2" y="-2" posparent="parent" posref="TR TR"
onclick_l="lua" params_l="#max_min_elt" active="false"
icon="r2ed_triggers_minimize.tga" icon_over="r2ed_triggers_minimize.tga" icon_pushed="r2ed_triggers_minimize.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
<instance template="r2ed_triggers_little_button" id="maximize_element" x="-2" y="-2" posparent="parent" posref="TR TR"
onclick_l="lua" params_l="#max_min_elt" active="false"
icon="r2ed_triggers_maximize.tga" icon_over="r2ed_triggers_maximize.tga" icon_pushed="r2ed_triggers_maximize.tga"
color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed"/>
<ctrl type="button" button_type="toggle_button" id="invalid_event" active="false" posref="TR TR"
w="24" h="24" x="-2" y="-2" 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="TR TR"
w="24" h="24" x="-2" y="-2" 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="text" id="title" posref="TL TL" x="10" y="-5" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" multi_line="true" multi_max_line="#multi_max_line" />
</group>
<instance template="r2ed_triggers_little_button" id="minimize_element" x="-2" y="-2" posparent="parent" posref="TR TR" onclick_l="lua" params_l="#max_min_elt" active="false" icon="r2ed_triggers_minimize.tga" icon_over="r2ed_triggers_minimize.tga" icon_pushed="r2ed_triggers_minimize.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
<instance template="r2ed_triggers_little_button" id="maximize_element" x="-2" y="-2" posparent="parent" posref="TR TR" onclick_l="lua" params_l="#max_min_elt" active="false" icon="r2ed_triggers_maximize.tga" icon_over="r2ed_triggers_maximize.tga" icon_pushed="r2ed_triggers_maximize.tga" color="#col_pushed" col_over="#col_pushed" col_pushed="#col_pushed" />
<ctrl type="button" button_type="toggle_button" id="invalid_event" active="false" posref="TR TR" w="24" h="24" x="-2" y="-2" 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="TR TR" w="24" h="24" x="-2" y="-2" 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>
<group id="element_text" active="false" posparent="element_title" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0" posref="BL TL" x="0" y="0">
<view type="bitmap" id="sep" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="-40" h="1"
x="10" scale="true" texture="blank.tga" color="200 200 200 90" />
<view type="bitmap" id="sep" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="-40" h="1" x="10" scale="true" texture="blank.tga" color="200 200 200 90" />
<group id="crop" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" />
<group id="scroll_text_gr" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true"
child_resize_hmargin="0" max_h="200" >
<group id="scroll_text_gr" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="0" max_h="200">
<group type="scroll_text" id="scroll_activity" sizeref="w" child_resize_h="true" child_resize_hmargin="0" posref="TL TL" x="0" y="0" min_height="80" max_height="200">
<group type="list" id="text_list" hardtext="" shadow="true" fontsize="12" justification="dont_clip_word" color="255 255 255 160" space="3"
global_color="true" posref="TL TL" x="10" y="0" sizeref="hw" w="-25" h="0" />
<ctrl type="scroll" id="scroll_bar" align="T" posref="TR TR" w="8" y="0" x="-2" tx_topright="w_scroll_l123_t.tga"
tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga"/>
<group type="list" id="text_list" hardtext="" shadow="true" fontsize="12" justification="dont_clip_word" color="255 255 255 160" space="3" global_color="true" posref="TL TL" x="10" y="0" sizeref="hw" w="-25" h="0" />
<ctrl type="scroll" id="scroll_bar" align="T" posref="TR TR" w="8" y="0" x="-2" tx_topright="w_scroll_l123_t.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_l123_b.tga" />
</group>
</group>
<ctrl style="skin_scroll" id="scroll_bar_text" align="T" target="scroll_text_gr" posparent="crop" posref="TR TR"
x="-5" y="0" />
<ctrl style="skin_scroll" id="scroll_bar_text" align="T" target="scroll_text_gr" posparent="crop" posref="TR TR" x="-5" y="0" />
</group>
</group>
</group>
</group>
</template>
<!-- sequence tab template -->
<template name="sequence_tab_template" keep="true" active="true" id="" posparent="" posref="" hardtext=""
group="" col_pushed="" params_l="" >
<ctrl style="tab_button_sequence" id="#id" x="0" posparent="#posparent" posref="#posref" group="#group"
hardtext="#hardtext" col_pushed="#col_pushed" params_l="#params_l" color="255 255 255 255" col_over="255 255 255 255" />
<template name="sequence_tab_template" keep="true" active="true" id="" posparent="" posref="" hardtext="" group="" col_pushed="" params_l="">
<ctrl style="tab_button_sequence" id="#id" x="0" posparent="#posparent" posref="#posref" group="#group" hardtext="#hardtext" col_pushed="#col_pushed" params_l="#params_l" color="255 255 255 255" col_over="255 255 255 255" />
</template>
<!-- sequence elements template -->
<template name="sequence_elements_template" keep="true" active="true" id=""
new_elt="" new_elt_text="" elt_order_text="" up_elt="" down_elt="" max_min_elts="" x="10" y="-30"
posparent="parent" posref="TL TL" sizeparent="parent" w="-10" h="-30" down_up_color="" over_down_up_color="255 255 255 255">
<template name="sequence_elements_template" keep="true" active="true" id="" new_elt="" new_elt_text="" elt_order_text="" up_elt="" down_elt="" max_min_elts="" x="10" y="-30" posparent="parent" posref="TL TL" sizeparent="parent" w="-10" h="-30" down_up_color="" over_down_up_color="255 255 255 255">
<group id="#id" posparent="#posparent" posref="#posref" sizeparent="#sizeparent" sizeref="wh" x="#x" w="#w" y="#y" h="#h" active="true">
<group id="sequence_content" posref="TL TL" sizeref="wh" x="0" w="0" y="0" h="0">
<ctrl style="button_ok" id="new_button" x="0" y="-10" posref="TL TL" posparent="parent"
text_y="0" onclick_l="lua" params_l="#new_elt" hardtext="#new_elt_text" />
<group id="mi_group" posparent="new_button" posref="BL BL" x="0" y="0"
sizeparent="parent" sizeref="w5" w="0" h="0" />
<ctrl style="button_ok" id="new_button" x="0" y="-10" posref="TL TL" posparent="parent" text_y="0" onclick_l="lua" params_l="#new_elt" hardtext="#new_elt_text" />
<group id="mi_group" posparent="new_button" posref="BL BL" x="0" y="0" sizeparent="parent" sizeref="w5" w="0" h="0" />
<group id="order_group" active="false" posparent="mi_group" posref="BR BL" x="-45" y="-4" w="200" h="27">
<view type="text" id="element_order" posparent="parent" posref="BL BL"
x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#elt_order_text" />
<ctrl type="button" id="up_element" button_type="push_button" posparent="element_order"
x="10" y="-1" posref="BR BL" tx_normal="r2ed_up_element.tga" tx_pushed="r2ed_up_element.tga"
tx_over="r2ed_up_element.tga" onclick_l="lua" params_l="#up_elt"
color="#down_up_color" col_over="#over_down_up_color"
/>
<ctrl type="button" id="down_element" button_type="push_button" posparent="up_element"
x="5" y="0" posref="BR BL" tx_normal="r2ed_down_element.tga" tx_pushed="r2ed_down_element.tga"
tx_over="r2ed_down_element.tga" onclick_l="lua" params_l="#down_elt"
color="#down_up_color" col_over="#over_down_up_color"
/>
</group>
<instance template="r2ed_triggers_little_button" id="minimize_elements" x="-17" y="-10" posparent="parent" posref="TR TR"
onclick_l="lua" params_l="#max_min_elts" active="false"
icon="r2ed_triggers_minimize.tga" icon_over="r2ed_triggers_minimize.tga" icon_pushed="r2ed_triggers_minimize.tga"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"/>
<instance template="r2ed_triggers_little_button" id="maximize_elements" x="-17" y="-10" posparent="parent" posref="TR TR"
onclick_l="lua" params_l="#max_min_elts" active="false"
icon="r2ed_triggers_maximize.tga" icon_over="r2ed_triggers_maximize.tga" icon_pushed="r2ed_triggers_maximize.tga"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"/>
<view type="text" id="element_order" posparent="parent" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#elt_order_text" />
<ctrl type="button" id="up_element" button_type="push_button" posparent="element_order" x="10" y="-1" posref="BR BL" tx_normal="r2ed_up_element.tga" tx_pushed="r2ed_up_element.tga" tx_over="r2ed_up_element.tga" onclick_l="lua" params_l="#up_elt" color="#down_up_color" col_over="#over_down_up_color" />
<ctrl type="button" id="down_element" button_type="push_button" posparent="up_element" x="5" y="0" posref="BR BL" tx_normal="r2ed_down_element.tga" tx_pushed="r2ed_down_element.tga" tx_over="r2ed_down_element.tga" onclick_l="lua" params_l="#down_elt" color="#down_up_color" col_over="#over_down_up_color" />
</group>
<instance template="r2ed_triggers_little_button" id="minimize_elements" x="-17" y="-10" posparent="parent" posref="TR TR" onclick_l="lua" params_l="#max_min_elts" active="false" icon="r2ed_triggers_minimize.tga" icon_over="r2ed_triggers_minimize.tga" icon_pushed="r2ed_triggers_minimize.tga" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<instance template="r2ed_triggers_little_button" id="maximize_elements" x="-17" y="-10" posparent="parent" posref="TR TR" onclick_l="lua" params_l="#max_min_elts" active="false" icon="r2ed_triggers_maximize.tga" icon_over="r2ed_triggers_maximize.tga" icon_pushed="r2ed_triggers_maximize.tga" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<group id="elts_list_border" posparent="parent" posref="TL TL" x="0" y="-40" sizeref="wh" w="0" h="-55">
<group id="crop" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="-17" h="0" />
<group id="elts_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="elements_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_objects" align="T" target="elts_list_gr" posparent="crop" posref="TR TR"
x="11" y="0" />
<view type="bitmap" id="sep_top" posparent="crop" posref="TL TL" sizeparent="crop" sizeref="w" w="0" h="1"
scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="crop" posref="TL TL" sizeparent="crop" 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="crop" posref="BR BR" sizeparent="crop" 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="crop" posref="BL BL" sizeparent="crop" sizeref="w" w="0" h="1"
y="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<group id="elts_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="elements_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_objects" align="T" target="elts_list_gr" posparent="crop" posref="TR TR" x="11" y="0" />
<view type="bitmap" id="sep_top" posparent="crop" posref="TL TL" sizeparent="crop" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_left" posparent="crop" posref="TL TL" sizeparent="crop" 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="crop" posref="BR BR" sizeparent="crop" 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="crop" posref="BL BL" sizeparent="crop" sizeref="w" w="0" h="1" y="0" scale="true" texture="blank.tga" color="120 120 120 255" />
</group>
</group>
</group>
</template>
<!-- main menu button -->
<template name="menu_button_template" keep="true" id="" sizeref="wh" posparent="parent" posref="TL TL"
x="0" y="0" w="0" h="0" params_l="" params_over="" color_text="" >
<template name="menu_button_template" keep="true" id="" sizeref="wh" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="0" params_l="" params_over="" color_text="">
<group id="#id" x="#x" y="#y" posparent="#posparent" posref="#posref" sizeref="#sizeref" w="#w" h="#h">
<!-- DECORATION -->
<instance template="inner_thin_border_group" />
<view type="bitmap" id="arrow" posref="MR MR" x="-4" texture="W_arrow_down_2.tga" />
<!-- SYSTEM -->
<group id="text_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="-17" y="0" h="0">
<view type="text" id="text" posref="ML ML" x="2" multi_line="false"
auto_clamp="true" over_extend_view_text="true" over_extend_parent_rect="true"
color="#color_text" />
</group>
<ctrl type="button" button_type="push_button" id="select" sizeref="wh" w="0" h="0"
col_over="255 255 255 90" tx_over="blank.tga" scale="true" onclick_l="lua" params_l="#params_l"
onover="lua" params_over="#params_over" />
<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="200 200 200 255" />
<view type="text" id="text" posref="ML ML" x="2" multi_line="false" auto_clamp="true" over_extend_view_text="true" over_extend_parent_rect="true" color="#color_text" />
</group>
<ctrl type="button" button_type="push_button" id="select" sizeref="wh" w="0" h="0" col_over="255 255 255 90" tx_over="blank.tga" scale="true" onclick_l="lua" params_l="#params_l" onover="lua" params_over="#params_over" />
<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="200 200 200 255" />
</group>
</template>
<template name="r2ed_triggers_little_button" keep="true" id="" x="0" y="0" active="true" posref="BL BM" posparent="parent" icon="" icon_over="" icon_pushed="" w="44" h="39" tooltip=""
color="" col_over="" col_pushed="" offset_x = "0" offset_y = "0" onclick_l="" params_l=""
>
<group id="#id" active="#active" x="#x" y="#y" posref="#posref" posparent="#posparent"
child_resize_w="true" child_resize_h="true" child_resize_wmargin="#offset_x" child_resize_hmargin="#offset_y"
onclick_l="" params_l="" >
<template name="r2ed_triggers_little_button" keep="true" id="" x="0" y="0" active="true" posref="BL BM" posparent="parent" icon="" icon_over="" icon_pushed="" w="44" h="39" tooltip="" color="" col_over="" col_pushed="" offset_x="0" offset_y="0" onclick_l="" params_l="">
<group id="#id" active="#active" x="#x" y="#y" posref="#posref" posparent="#posparent" child_resize_w="true" child_resize_h="true" child_resize_wmargin="#offset_x" child_resize_hmargin="#offset_y" onclick_l="" params_l="">
<group id="button_group" child_resize_w="true" child_resize_h="true" posref="BR BR">
<view type="bitmap" id="bl" color="#color" w="4" h="4" posref="BL BL" texture="r2ed_triggers_little_corner.tga" rot="3" />
<ctrl type="button" id="button" button_type="push_button" w="#w" h="#h" posref="TR BL" posparent="bl"
tx_normal="#icon" tx_pushed="#icon_pushed" tx_over="#icon_over" tooltip="#tooltip"
color="#color" col_over="#col_over" col_pushed="#col_pushed"
global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
onclick_l="#onclick_l" params_l="#params_l" over_when_pushed = "false" />
<ctrl type="button" id="button" button_type="push_button" w="#w" h="#h" posref="TR BL" posparent="bl" tx_normal="#icon" tx_pushed="#icon_pushed" tx_over="#icon_over" tooltip="#tooltip" color="#color" col_over="#col_over" col_pushed="#col_pushed" global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false" onclick_l="#onclick_l" params_l="#params_l" over_when_pushed="false" />
<view type="bitmap" id="bottom" color="#color" scale="true" posparent="button" posref="BL TL" sizeref="w" w="0" h="4" texture="r2ed_triggers_little_border.tga" rot="2" />
<view type="bitmap" id="top" color="#color" scale="true" posparent="button" posref="TL BL" sizeref="w" w="0" h="4" texture="r2ed_triggers_little_border.tga" rot="0" />
<view type="bitmap" id="left" color="#color" scale="true" posparent="button" posref="BL BR" sizeref="h" w="4" h="0" texture="r2ed_triggers_little_border.tga" rot="3" />
@ -314,109 +136,36 @@
</group>
</group>
</template>
<!-- ************************************************************************************************** -->
<!-- ************************************ ACTIVITY SEQUENCE EDITOR ************************************ -->
<!-- ************************************************************************************************** -->
<style style="button_color" type="text_button" button_type="push_button"
tx_normal="w_text_button_pushed" tx_pushed="w_text_button_over" tx_over="w_text_button_pushed"
global_color_normal="false" global_color_over="false" global_color_pushed="false"
text_y="-2" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
text_global_color_normal="true" text_global_color_pushed="true" text_global_color_over="true"
text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
text_header_color="true" />
<template name="window_sequence_template" new_seq="" new_seq_text="" remove_seq="" open_seq_editor=""
seq_color="" over_seq_color="" repeat_seq="" right_seq="" left_seq="" on_change="" >
<ctrl style="button_ok" id="new_sequence_button" posref="TL TL" x="30" y="-15"
text_y="0" onclick_l="lua" params_l="#new_seq" hardtext="#new_seq_text" />
<style style="button_color" type="text_button" button_type="push_button" tx_normal="w_text_button_pushed" tx_pushed="w_text_button_over" tx_over="w_text_button_pushed" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_y="-2" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_global_color_normal="true" text_global_color_pushed="true" text_global_color_over="true" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_header_color="true" />
<template name="window_sequence_template" new_seq="" new_seq_text="" remove_seq="" open_seq_editor="" seq_color="" over_seq_color="" repeat_seq="" right_seq="" left_seq="" on_change="">
<ctrl style="button_ok" id="new_sequence_button" posref="TL TL" x="30" y="-15" text_y="0" onclick_l="lua" params_l="#new_seq" hardtext="#new_seq_text" />
<group id="sequence_menu" x="30" y="-40" sizeref="wh" w="-60" h="-90" posparent="parent" posref="TL TL">
<group type="tab" id="sequence_tabs" hide_out_tabs="true" child_resize_w="true"
onchange="lua" onchange_params="#on_change" h="24" posref="TL TL" x="0" y="-4" >
</group>
<view type="bitmap" id="sep_top" active="false" posparent="sequence_tabs" posref="BL 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" active="false" 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" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="-28" w="1"
y="-28" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" active="false" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="-28" w="1"
y="-28" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
</group>
<ctrl type="button" id="left_sequences" active="false" button_type="push_button" posparent="sequence_menu"
x="-3" y="-4" posref="TL TR" tx_normal="r2ed_left_sequence.tga" tx_pushed="r2ed_left_sequence.tga"
tx_over="r2ed_left_sequence.tga" onclick_l="lua" params_l="#left_seq"
color="#seq_color" col_over="#over_seq_color" />
<ctrl type="button" id="right_sequences" active="false" button_type="push_button" posparent="sequence_menu"
x="3" y="-4" posref="TR TL" tx_normal="r2ed_right_sequence.tga" tx_pushed="r2ed_right_sequence.tga"
tx_over="r2ed_right_sequence.tga" onclick_l="lua" params_l="#right_seq"
color="#seq_color" col_over="#over_seq_color" />
<instance template="r2ed_triggers_button" id="remove_sequence_button" active="false"
onclick_l="lua" params_l="#remove_seq" posparent="parent" posref="BL BL" x="10" y="8"
icon="r2ed_triggers_trash.tga" icon_over="r2ed_triggers_trash.tga" icon_pushed="r2ed_triggers_trash.tga"
color="#seq_color" col_over="#seq_color" col_pushed="#seq_color"/>
<instance template="r2ed_triggers_button" id="edit_sequence" active="false"
onclick_l="lua" params_l="#open_seq_editor" posparent="parent" posref="BR BR" x="-10" y="8"
icon="r2_suspension.tga" icon_over="r2_suspension.tga" icon_pushed="r2_suspension.tga"
color="#seq_color" col_over="#seq_color" col_pushed="#seq_color"/>
<group type="tab" id="sequence_tabs" hide_out_tabs="true" child_resize_w="true" onchange="lua" onchange_params="#on_change" h="24" posref="TL TL" x="0" y="-4"></group>
<view type="bitmap" id="sep_top" active="false" posparent="sequence_tabs" posref="BL 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" active="false" 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" active="false" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="-28" w="1" y="-28" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
<view type="bitmap" id="sep_right" active="false" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="-28" w="1" y="-28" x="0" scale="true" texture="blank.tga" color="120 120 120 255" />
</group>
<ctrl type="button" id="left_sequences" active="false" button_type="push_button" posparent="sequence_menu" x="-3" y="-4" posref="TL TR" tx_normal="r2ed_left_sequence.tga" tx_pushed="r2ed_left_sequence.tga" tx_over="r2ed_left_sequence.tga" onclick_l="lua" params_l="#left_seq" color="#seq_color" col_over="#over_seq_color" />
<ctrl type="button" id="right_sequences" active="false" button_type="push_button" posparent="sequence_menu" x="3" y="-4" posref="TR TL" tx_normal="r2ed_right_sequence.tga" tx_pushed="r2ed_right_sequence.tga" tx_over="r2ed_right_sequence.tga" onclick_l="lua" params_l="#right_seq" color="#seq_color" col_over="#over_seq_color" />
<instance template="r2ed_triggers_button" id="remove_sequence_button" active="false" onclick_l="lua" params_l="#remove_seq" posparent="parent" posref="BL BL" x="10" y="8" icon="r2ed_triggers_trash.tga" icon_over="r2ed_triggers_trash.tga" icon_pushed="r2ed_triggers_trash.tga" color="#seq_color" col_over="#seq_color" col_pushed="#seq_color" />
<instance template="r2ed_triggers_button" id="edit_sequence" active="false" onclick_l="lua" params_l="#open_seq_editor" posparent="parent" posref="BR BR" x="-10" y="8" icon="r2_suspension.tga" icon_over="r2_suspension.tga" icon_pushed="r2_suspension.tga" color="#seq_color" col_over="#seq_color" col_pushed="#seq_color" />
<group id="repeat_group" x="0" y="5" sizeparent="parent" active="false" sizeref="w5" w="40" h="20" posparent="edit_sequence" posref="BR BR">
<instance template="label_toggle_button" id="repeat" posparent="parent"
x="0" y="0" posref="BL BL" w="200" hardtext="uiR2EdRepeatSequence" fontsize="12" y_text="-3"
params_l="#repeat_seq"/>
<instance template="label_toggle_button" id="repeat" posparent="parent" x="0" y="0" posref="BL BL" w="200" hardtext="uiR2EdRepeatSequence" fontsize="12" y_text="-3" params_l="#repeat_seq" />
</group>
</template>
<group type="container" id="r2ed_activities" title="uiR2EDActivitySequenceEditor" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_ACTIVITIES"
on_close="lua" on_close_params="if r2 and r2.Mode == 'Edit' then r2.activities:closeEditor() end" on_deactive="lua" on_deactive_params="if r2 then r2.activities:closeEditor() end"
pop_min_w="405" pop_min_h="231" w="420" h="565" pop_max_w="700" pop_max_h="800"
savable="true"
>
<group id="header_opened" x="0" y="0" w="300" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<group type="container" id="r2ed_activities" title="uiR2EDActivitySequenceEditor" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_ACTIVITIES" on_close="lua" on_close_params="if r2 and r2.Mode == 'Edit' then r2.activities:closeEditor() end" on_deactive="lua" on_deactive_params="if r2 then r2.activities:closeEditor() end" pop_min_w="405" pop_min_h="231" w="420" h="565" pop_max_w="700" pop_max_h="800" savable="true">
<group id="header_opened" x="0" y="0" w="300" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"></group>
<group id="header_closed" x="0" y="0" w="700" 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="window_sequence_template" new_seq="r2.activities:newSequenceInst()" new_seq_text="New sequence" remove_seq="r2.activities:removeSequenceInst()" seq_color="200 80 80 255" over_seq_color="255 120 120 255" open_seq_editor="r2.activities:openSequenceEditor()" repeat_seq="r2.activities:repeatSequence()" right_seq="r2.activities:rightSequenceUI()" left_seq="r2.activities:leftSequenceUI()" on_change="r2.activities:showSequencesUI()" />
</group>
<group id="header_closed" x="0" y="0" w="700" 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="window_sequence_template" new_seq="r2.activities:newSequenceInst()" new_seq_text="New sequence"
remove_seq="r2.activities:removeSequenceInst()" seq_color="200 80 80 255" over_seq_color="255 120 120 255"
open_seq_editor="r2.activities:openSequenceEditor()"
repeat_seq="r2.activities:repeatSequence()" right_seq="r2.activities:rightSequenceUI()" left_seq="r2.activities:leftSequenceUI()"
on_change="r2.activities:showSequencesUI()" />
</group>
</group>
<tree node="r2ed_activities">
</tree>
<group type="container" id="r2ed_edit_activity_sequence" active="false" title="uiR2EDActivitySequenceProp" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_ACTIVITIES"
on_close="lua" on_close_params="" pop_min_w="340" pop_min_h="95" pop_max_w="340" pop_max_h="95" w="340" h="95"
>
<tree node="r2ed_activities"></tree>
<group type="container" id="r2ed_edit_activity_sequence" active="false" title="uiR2EDActivitySequenceProp" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_ACTIVITIES" on_close="lua" on_close_params="" pop_min_w="340" pop_min_h="95" pop_max_w="340" pop_max_h="95" w="340" h="95">
<!--
<group id="header_opened" x="0" y="0" w="340" h="16" posref="TL TL"
group_onclick_r="active_menu"
@ -426,355 +175,148 @@
-->
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<instance template="back_widget" id="back" x="0" y="-7" sizeref="wh" w="0" h="-7" color="255 150 0 255" texture="r2ed_triggers_gray.tga" />
<instance template="h_label_edit_box" id="sequence_name" y="-25" x="15" posparent="parent" posref="TL TL"
hardtext="uiR2EdSequenceName" w="290" w_label="105" w_box="185" fontsize="12" max_num_chars="15"
params="r2.activities:setSequenceName()" on_focus_lost_params="" />
<instance template="h_label_edit_box" id="sequence_name" y="-25" x="15" posparent="parent" posref="TL TL" hardtext="uiR2EdSequenceName" w="290" w_label="105" w_box="185" fontsize="12" max_num_chars="15" params="r2.activities:setSequenceName()" on_focus_lost_params="" />
</group>
</group>
<tree node="r2ed_edit_activity_sequence">
</tree>
<tree node="r2ed_edit_activity_sequence"></tree>
<!-- ************************************************************************************************** -->
<!-- ******************************************* EDIT ACTIVITY *************************************** -->
<!-- ************************************************************************************************** -->
<template name="back_widget" posref="TL TL" x="0" y="0" w="0" h="0" id="" posparent="parent" sizeref="wh"
keep="true" color="" texture="" >
<template name="back_widget" posref="TL TL" x="0" y="0" w="0" h="0" id="" posparent="parent" sizeref="wh" keep="true" color="" texture="">
<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" color="#color" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="0" w="0" texture="#texture" inherit_gc_alpha="false" />
</group>
</template>
<!-- horizontal label/combo box template -->
<template name="h_label_combo_box_resize" keep="true" active="true" id="" x="0" y="0" w="195"
sizeref="w" w_label="" w_combo="" posparent="" posref="" hardtext=""
on_change_params="">
<template name="h_label_combo_box_resize" keep="true" active="true" id="" x="0" y="0" w="195" sizeref="w" w_label="" w_combo="" posparent="" posref="" hardtext="" on_change_params="">
<group id="#id" active="#active" sizeref="#sizeref" x="#x" y="#y" w="#w" h="20" posparent="#posparent" posref="#posref">
<!-- label -->
<group id="label" w="#w_label" h="20" x="0" y="0" posref="TL TL" posparent="parent">
<view type="text" id="name_text" posref="BL BL" x="0" y="0" color="255 255 255 255"
global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" />
<view type="text" id="name_text" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" />
</group>
<!-- combo box -->
<group type="combo_box" id="combo_box" sizeref="w" w="#w_combo" h="20" x="#w_label" y="0" posref="TL TL" posparent="parent"
linked_to_db="false" on_change="lua" on_change_params="#on_change_params" >
<group type="combo_box" id="combo_box" sizeref="w" w="#w_combo" h="20" x="#w_label" y="0" posref="TL TL" posparent="parent" linked_to_db="false" on_change="lua" on_change_params="#on_change_params">
<instance template="r2ed_combo_box" />
</group>
</group>
</template>
<template name="template_edit_activity" keep="true" sizeref="w" active="false" w="0" h="200" id=""
col_pushed="200 120 80 255" >
<template name="template_edit_activity" keep="true" sizeref="w" active="false" w="0" h="200" id="" col_pushed="200 120 80 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL">
<instance template="back_widget" id="back" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0"
onclick_l="lua" params_l="r2.activities:closeElementEditor()" />
<ctrl type="button" button_type="toggle_button" id="select" sizeref="wh" w="0" h="0" onclick_l="lua" params_l="r2.activities:closeElementEditor()" />
<group id="activity_name" posparent="parent" 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="activity_name" posref="BL BL" sizeref="w" w="-20" h="1"
x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<instance template="template_label_menu_resize" id="activity" sizeref="w" w="-50" h="20" x="18" y="-20" y_text="0"
posparent="activity_name" posref="BL TL" w_label="80" w_combo="-80" hardtext="uiR2EdActivity"
on_change_params="r2.activities:initActivityMenu()"/>
<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="activity_name" posref="BL BL" sizeref="w" w="-20" h="1" x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<instance template="template_label_menu_resize" id="activity" sizeref="w" w="-50" h="20" x="18" y="-20" y_text="0" posparent="activity_name" posref="BL TL" w_label="80" w_combo="-80" hardtext="uiR2EdActivity" on_change_params="r2.activities:initActivityMenu()" />
<group id="limit_group" posparent="activity" posref="BL TL" sizeref="w" child_resize_h="true" x="0" w="0" y="-20" h="0">
<instance template="h_label_combo_box_resize" id="time_limit" sizeref="w" h="20" posparent="parent"
posref="TL TL" w="0" w_label="80" w_combo="-80" x="0" y="0" hardtext="uiR2EdTimeLimit"
on_change_params="r2.activities:setTimeLimit()" />
<instance template="h_label_combo_box_resize" id="time_limit" sizeref="w" h="20" posparent="parent" posref="TL TL" w="0" w_label="80" w_combo="-80" x="0" y="0" hardtext="uiR2EdTimeLimit" on_change_params="r2.activities:setTimeLimit()" />
<group id="certain_time" active="false" posparent="time_limit" sizeref="w" posref="BL TL" w="-80" h="20" x="80" y="-5">
<instance template="template_menu_label" id="hours" sizeref="w3" w="-3" h="20" x="0" y="0" y_text="0"
posparent="parent" posref="TL TL" w_label="-14" w_combo="7" hardtext="uiR2EdShortHours"
on_change_params="r2.activities:initTimeMenu('r2.activities:activityForHours', true)"/>
<instance template="template_menu_label" id="minutes" sizeref="wh" w="10" h="0" x="2" y="0" y_text="0"
posparent="hours" posref="BR BL" w_label="-14" w_combo="7" hardtext="uiR2EdShortMinutes"
on_change_params="r2.activities:initTimeMenu('r2.activities:activityForMinutes', false)"/>
<instance template="template_menu_label" id="seconds" sizeref="wh" w="0" h="0" x="5" y="0" y_text="0"
posparent="minutes" posref="BR BL" w_label="-14" w_combo="7" hardtext="uiR2EdShortSeconds"
on_change_params="r2.activities:initTimeMenu('r2.activities:activityForSeconds', false)"/>
</group>
</group>
<instance template="template_menu_label" id="hours" sizeref="w3" w="-3" h="20" x="0" y="0" y_text="0" posparent="parent" posref="TL TL" w_label="-14" w_combo="7" hardtext="uiR2EdShortHours" on_change_params="r2.activities:initTimeMenu('r2.activities:activityForHours', true)" />
<instance template="template_menu_label" id="minutes" sizeref="wh" w="10" h="0" x="2" y="0" y_text="0" posparent="hours" posref="BR BL" w_label="-14" w_combo="7" hardtext="uiR2EdShortMinutes" on_change_params="r2.activities:initTimeMenu('r2.activities:activityForMinutes', false)" />
<instance template="template_menu_label" id="seconds" sizeref="wh" w="0" h="0" x="5" y="0" y_text="0" posparent="minutes" posref="BR BL" w_label="-14" w_combo="7" hardtext="uiR2EdShortSeconds" on_change_params="r2.activities:initTimeMenu('r2.activities:activityForSeconds', false)" />
</group>
</group>
<group id="road_count_group" posparent="limit_group" posref="BL TL" sizeref="w" child_resize_h="true" x="0" w="0" y="-20" h="0" tooltip="uiR2EdRoadCountLimitTooltip">
<instance template="h_label_combo_box_resize" id="road_count_limit" sizeref="w" h="20" posparent="parent"
posref="TL TL" w="0" w_label="80" w_combo="-80" x="0" y="0" hardtext="uiR2EdRoadCountLimit"
on_change_params="r2.activities:setRoadCountLimit()" />
<instance template="h_label_combo_box_resize" id="road_count_limit" sizeref="w" h="20" posparent="parent" posref="TL TL" w="0" w_label="80" w_combo="-80" x="0" y="0" hardtext="uiR2EdRoadCountLimit" on_change_params="r2.activities:setRoadCountLimit()" />
<group id="certain_count" active="false" posparent="road_count_group" sizeref="w" posref="BL TL" w="-80" h="20" x="80" y="-5">
<instance template="template_menu_label" id="hours" sizeref="w3" w="-3" h="20" x="0" y="0" y_text="0"
posparent="parent" posref="TL TL" w_label="-14" w_combo="7" hardtext="uiR2EdShortHours"
on_change_params="r2.activities:initRoadCountMenu()"/>
<instance template="template_menu_label" id="hours" sizeref="w3" w="-3" h="20" x="0" y="0" y_text="0" posparent="parent" posref="TL TL" w_label="-14" w_combo="7" hardtext="uiR2EdShortHours" on_change_params="r2.activities:initRoadCountMenu()" />
</group>
</group>
<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.activities: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"/>
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL" onclick_l="lua" params_l="r2.activities: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" />
</group>
</group>
</template>
<group type="menu" id="r2ed_triggers_menu" extends="base_menu" mouse_pos="false">
</group>
<group type="menu" id="r2ed_triggers_menu" extends="base_menu" mouse_pos="false"></group>
<!-- ************************************************************************************************** -->
<!-- ************************************ CHAT SEQUENCE EDITOR ************************************ -->
<!-- ************************************************************************************************** -->
<group type="container" id="r2ed_dialogs" title="uiR2EDChatSequenceEditor" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_DIALOGS"
on_close="lua" on_close_params="if r2 and r2.Mode == 'Edit' then r2.dialogs:closeEditor() end"
on_deactive="lua" on_deactive_params="if r2 and r2.Mode == 'Edit' then r2.dialogs:closeEditor() end"
on_active="lua" on_active_params="if r2 and r2.Mode == 'Edit' then r2.dialogs:checkDialog() end"
pop_min_w="350" pop_min_h="231" pop_max_h="800" w="400" h="565" pop_max_w="700"
>
<group id="header_opened" x="0" y="0" h="16" w="2048" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group type="container" id="r2ed_dialogs" title="uiR2EDChatSequenceEditor" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:R2_DIALOGS" on_close="lua" on_close_params="if r2 and r2.Mode == 'Edit' then r2.dialogs:closeEditor() end" on_deactive="lua" on_deactive_params="if r2 and r2.Mode == 'Edit' then r2.dialogs:closeEditor() end" on_active="lua" on_active_params="if r2 and r2.Mode == 'Edit' then r2.dialogs:checkDialog() end" pop_min_w="350" pop_min_h="231" pop_max_h="800" w="400" h="565" pop_max_w="700">
<group id="header_opened" x="0" y="0" h="16" w="2048" 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="dialogMenu" w="250" h="20" x="15" y="-15" y_text="0"
posparent="parent" posref="TL TL" w_label="-20" w_combo="40" hardtext="uiR2EDDialogList"
on_change_params="r2.dialogs:initDialogsMenu()"/>
<instance template="sequence_elements_template" id="sequence_elts" x="0" y="-10" h="-65" posparent="dialogMenu" posref="BL TL"
new_elt="r2.dialogs:newElementInst()" new_elt_text="uiR2EdNewChat" elt_order_text="chat order" up_elt="r2.dialogs:upElementInst()"
down_elt="r2.dialogs:downElementInst()" max_min_elts="r2.dialogs:maximizeMinimizeElements()"
down_up_color="120 170 140 255" over_down_up_color="200 255 200 255"/>
<instance template="template_label_menu" id="dialogMenu" w="250" h="20" x="15" y="-15" y_text="0" posparent="parent" posref="TL TL" w_label="-20" w_combo="40" hardtext="uiR2EDDialogList" on_change_params="r2.dialogs:initDialogsMenu()" />
<instance template="sequence_elements_template" id="sequence_elts" x="0" y="-10" h="-65" posparent="dialogMenu" posref="BL TL" new_elt="r2.dialogs:newElementInst()" new_elt_text="uiR2EdNewChat" elt_order_text="chat order" up_elt="r2.dialogs:upElementInst()" down_elt="r2.dialogs:downElementInst()" max_min_elts="r2.dialogs:maximizeMinimizeElements()" down_up_color="120 170 140 255" over_down_up_color="200 255 200 255" />
<group id="repeat_group" x="15" y="10" sizeparent="parent" active="true" sizeref="w5" w="40" h="20" posparent="parent" posref="BL BL">
<instance template="label_toggle_button" id="repeat" posparent="parent"
x="0" y="0" posref="BL BL" w="200" hardtext="Repeat dialog" fontsize="12" y_text="-3"
params_l="r2.dialogs:repeatSequence()"/>
</group>
</group>
</group>
<tree node="r2ed_dialogs">
</tree>
<group type="container" id="r2ed_edit_chat_sequence" active="false" title="uiR2EDChatSequenceProp" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:CHAT_SEQUENCES"
on_close="lua" on_close_params="" pop_min_w="300" pop_min_h="100" pop_max_w="300" pop_max_h="100" w="300" h="100"
>
<group id="header_opened" x="0" y="0" w="300" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<instance template="label_toggle_button" id="repeat" posparent="parent" x="0" y="0" posref="BL BL" w="200" hardtext="Repeat dialog" fontsize="12" y_text="-3" params_l="r2.dialogs:repeatSequence()" />
</group>
</group>
</group>
<tree node="r2ed_dialogs"></tree>
<group type="container" id="r2ed_edit_chat_sequence" active="false" title="uiR2EDChatSequenceProp" global_color="false" line_at_bottom="false" movable="true" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:CHAT_SEQUENCES" on_close="lua" on_close_params="" pop_min_w="300" pop_min_h="100" pop_max_w="300" pop_max_h="100" w="300" h="100">
<group id="header_opened" x="0" y="0" w="300" 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="back_widget" id="back" x="0" y="-7" sizeref="wh" w="0" h="-7" color="0 255 0 255" texture="r2ed_triggers_gray.tga" />
<instance template="h_label_edit_box" id="sequence_name" y="-25" x="15" posparent="parent" posref="TL TL"
hardtext="uiR2EdSequenceName" w="205" w_label="105" w_box="100" fontsize="12" max_num_chars="5"
params="r2:setSequenceName('r2ed_chat_sequence', 'r2ed_edit_chat_sequence')"
on_focus_lost_params="r2:setSequenceName('r2ed_chat_sequence', 'r2ed_edit_chat_sequence')" />
</group>
</group>
<tree node="r2ed_edit_chat_sequence">
</tree>
<instance template="h_label_edit_box" id="sequence_name" y="-25" x="15" posparent="parent" posref="TL TL" hardtext="uiR2EdSequenceName" w="205" w_label="105" w_box="100" fontsize="12" max_num_chars="5" params="r2:setSequenceName('r2ed_chat_sequence', 'r2ed_edit_chat_sequence')" on_focus_lost_params="r2:setSequenceName('r2ed_chat_sequence', 'r2ed_edit_chat_sequence')" />
</group>
</group>
<tree node="r2ed_edit_chat_sequence"></tree>
<!-- ************************************************************************************************** -->
<!-- ******************************************* EDIT CHAT ******************************************* -->
<!-- ************************************************************************************************** -->
<!-- horizontal label/edit box template/scroll -->
<template name="h_label_edit_box_scroll" keep="true" active="true" id="" sizeparent="" sizeref="" h="20" x="0" y="0" posparent="" posref="" hardtext=""
w="" w_label="" w_box="" fontsize="12" max_num_chars="100" h_min=""
onenter="lua" params="" onchange="lua" onchange_params="" on_focus_lost="lua" on_focus_lost_params="" >
<template name="h_label_edit_box_scroll" keep="true" active="true" id="" sizeparent="" sizeref="" h="20" x="0" y="0" posparent="" posref="" hardtext="" w="" w_label="" w_box="" fontsize="12" max_num_chars="100" h_min="" onenter="lua" params="" onchange="lua" onchange_params="" on_focus_lost="lua" on_focus_lost_params="">
<group id="#id" active="#active" sizeparent="#sizeparent" sizeref="#sizeref" y="#y" x="#x" w="#w" h="#h" posparent="#posparent" posref="#posref">
<!-- label -->
<group id="label" w="#w_label" h="20" x="0" y="0" posref="TL TL" posparent="parent">
<view type="text" id="name_text" posref="BL BL" x="0" y="0" color="255 255 255 255"
global_color="true" fontsize="#fontsize" shadow="true" hardtext="#hardtext" />
<view type="text" id="name_text" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="#fontsize" shadow="true" hardtext="#hardtext" />
</group>
<!-- Edit box -->
<group id="back_edit_box" posparent="parent" sizeref="w" posref="TL TL" x="#w_label" y="0" h="#h" w="#w_box">
<instance template="inner_thin_border_group" />
</group>
<group id="crop_box_ed" posparent="back_edit_box" posref="TL TL" x="0" y="0" sizeref="wh" w="10" h="0">
<group type="edit_box" id="edit_box_group" posparent="parent" posref="TL TL" x="0" y="0" sizeref="w"
child_resize_h="true" w="-10" child_resize_hmargin="#h_min" max_sizeparent="crop_box_ed" max_sizeref="h"
max_h="0" want_return="false"
onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params"
on_focus_lost="#on_focus_lost" on_focus_lost_params="#on_focus_lost_params"
prompt="" enter_loose_focus="true" >
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="true"
fontsize="12" shadow="true" hardtext="" global_color="false"/>
</group>
<ctrl style="skin_scroll" id="edit_box_scroll_ed" align="B" target="edit_box_group"
posparent="crop_box_ed" posref="TR TR" x="0" y="0" />
</group>
<group type="edit_box" id="edit_box_group" posparent="parent" posref="TL TL" x="0" y="0" sizeref="w" child_resize_h="true" w="-10" child_resize_hmargin="#h_min" max_sizeparent="crop_box_ed" max_sizeref="h" max_h="0" want_return="false" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" on_focus_lost="#on_focus_lost" on_focus_lost_params="#on_focus_lost_params" prompt="" enter_loose_focus="true">
<view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="true" fontsize="12" shadow="true" hardtext="" global_color="false" />
</group>
<ctrl style="skin_scroll" id="edit_box_scroll_ed" align="B" target="edit_box_group" posparent="crop_box_ed" posref="TR TR" x="0" y="0" />
</group>
</group>
</template>
<template name="template_edit_chat" keep="true" sizeref="w" active="false" w="0" h="315" id=""
col_pushed="120 150 140 255" >
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL"
group_onclick_l="lua" group_params_l="r2.dialogs:closeElementEditor()"
on_deactive="lua" on_deactive_params="r2.dialogs:updateSaysWhat()" >
<template name="template_edit_chat" keep="true" sizeref="w" active="false" w="0" h="315" id="" col_pushed="120 150 140 255">
<group id="#id" active="#active" x="0" y="0" sizeref="#sizeref" w="#w" h="#h" posref="TL TL" group_onclick_l="lua" group_params_l="r2.dialogs:closeElementEditor()" on_deactive="lua" on_deactive_params="r2.dialogs:updateSaysWhat()">
<instance template="back_widget" id="back" x="0" y="0" sizeref="wh" w="0" h="0" color="#col_pushed" texture="r2ed_triggers_blank.tga" />
<group id="chat_name" posparent="parent" 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="" />
<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="chat_name" posref="BL BL" sizeref="w" w="-20" h="1"
x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<view type="bitmap" id="sep" posparent="chat_name" posref="BL BL" sizeref="w" w="-20" h="1" x="5" y="-2" scale="true" texture="blank.tga" color="200 200 200 200" />
<group id="after_how_long" posparent="chat_name" posref="BL TL" sizeref="w" w="-20" h="20" x="17" y="-20">
<instance template="template_label_menu" id="minutes" w="130" h="20" x="0" y="0" y_text="0"
posparent="parent" posref="TL TL" w_label="10" w_combo="-20" hardtext="uiR2EdAfterHowLong"
on_change_params="r2.dialogs:initTimeMenu('r2.dialogs:chatAfterMinutes', false)"/>
<instance template="template_label_menu" id="seconds" w="100" h="20" x="2" y="0" y_text="0"
posparent="minutes" posref="BR BL" w_label="-10" w_combo="20" hardtext="uiR2EdShortMinutes"
on_change_params="r2.dialogs:initTimeMenu('r2.dialogs:chatAfterSeconds', false)"/>
<view type="text" id="seconds_label" x="2" y="0" posparent="seconds" posref="BR BL"
color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdShortSeconds" />
</group>
<instance template="template_label_menu_resize" id="whoMenu" sizeref="wh" w="-25" h="0" x="0" y="-15" y_text="0"
posparent="after_how_long" posref="BL TL" w_label="75" w_combo="-75" hardtext="uiR2EdWho"
on_change_params="r2.dialogs:initWhoMenu('r2.dialogs:setWho', false)"/>
<instance template="h_label_edit_box_scroll" id="says" sizeref="w" h="100" w="10" y="-15" x="0" posparent="whoMenu" posref="BL TL"
hardtext="uiR2EdSaysWhat" w_label="75" w_box="-85" fontsize="12" max_num_chars="1000" h_min="85"
multi_line="true" on_focus_lost_params="" />
<instance template="template_label_menu_resize" id="toWhoMenu" sizeref="w" w="-10" h="20" x="0" y="-15" y_text="0"
posparent="says" posref="BL TL" w_label="75" w_combo="-75" hardtext="uiR2EdToWho"
on_change_params="r2.dialogs:initWhoMenu('r2.dialogs:setToWho', true)"/>
<instance template="template_label_menu_resize" id="emote" sizeref="w" w="0" h="20" x="0" y="-15" y_text="0"
posparent="toWhoMenu" posref="BL TL" w_label="75" w_combo="-75" hardtext="uiR2EdEmote"
on_change_params="r2.dialogs:initEmoteMenu()"/>
<instance template="template_label_menu" id="minutes" w="130" h="20" x="0" y="0" y_text="0" posparent="parent" posref="TL TL" w_label="10" w_combo="-20" hardtext="uiR2EdAfterHowLong" on_change_params="r2.dialogs:initTimeMenu('r2.dialogs:chatAfterMinutes', false)" />
<instance template="template_label_menu" id="seconds" w="100" h="20" x="2" y="0" y_text="0" posparent="minutes" posref="BR BL" w_label="-10" w_combo="20" hardtext="uiR2EdShortMinutes" on_change_params="r2.dialogs:initTimeMenu('r2.dialogs:chatAfterSeconds', false)" />
<view type="text" id="seconds_label" x="2" y="0" posparent="seconds" posref="BR BL" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="uiR2EdShortSeconds" />
</group>
<instance template="template_label_menu_resize" id="whoMenu" sizeref="wh" w="-25" h="0" x="0" y="-15" y_text="0" posparent="after_how_long" posref="BL TL" w_label="75" w_combo="-75" hardtext="uiR2EdWho" on_change_params="r2.dialogs:initWhoMenu('r2.dialogs:setWho', false)" />
<instance template="h_label_edit_box_scroll" id="says" sizeref="w" h="100" w="10" y="-15" x="0" posparent="whoMenu" posref="BL TL" hardtext="uiR2EdSaysWhat" w_label="75" w_box="-85" fontsize="12" max_num_chars="1000" h_min="85" multi_line="true" on_focus_lost_params="" />
<instance template="template_label_menu_resize" id="toWhoMenu" sizeref="w" w="-10" h="20" x="0" y="-15" y_text="0" posparent="says" posref="BL TL" w_label="75" w_combo="-75" hardtext="uiR2EdToWho" on_change_params="r2.dialogs:initWhoMenu('r2.dialogs:setToWho', true)" />
<instance template="template_label_menu_resize" id="emote" sizeref="w" w="0" h="20" x="0" y="-15" y_text="0" posparent="toWhoMenu" posref="BL TL" w_label="75" w_combo="-75" hardtext="uiR2EdEmote" on_change_params="r2.dialogs:initEmoteMenu()" />
<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.dialogs: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"/>
<instance template="r2ed_triggers_little_button" id="remove_element" x="1" y="1" posparent="parent" posref="BL BL" onclick_l="lua" params_l="r2.dialogs: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" />
</group>
<!-- VL -->
<group id="break_group" x="-150" y="0" sizeparent="parent" active="true" sizeref="w5" w="10" h="20" posparent="parent" posref="BR BL">
<instance template="label_toggle_button" id="break" posparent="parent"
x="1" y="3" posref="BL BL" w="200" hardtext="uiR2EdBreakChat" fontsize="12" y_text="-3"
params_l="r2.dialogs:setChatBreak()"/>
<instance template="label_toggle_button" id="break" posparent="parent" x="1" y="3" posref="BL BL" w="200" hardtext="uiR2EdBreakChat" fontsize="12" y_text="-3" params_l="r2.dialogs:setChatBreak()" />
</group>
</group>
</template>
<!-- *********************** -->
<!-- MINI ACTIVITIY VIEW -->
<!-- *********************** -->
<define id="r2ed_max_num_mini_activities" value="14" />
<!-- mini activity template -->
<template name="mini_activity" active="true" id="" x="0" y="0" posref="BL BM" posparent="parent">
<group id="#id" active="#active" x="#x" y="#y" child_resize_h="true" child_resize_w="true"
child_resize_wmargin="20" posparent="#posparent" posref="#posref" >
<instance template="r2ed_triggers_little_button" id="activity" x="2" y="0" h="50"
posparent="parent" posref="TL TL"
onclick_l="lua" params_l="r2.miniActivities:openActivity()"
onclick_r="lua" params_r=""
icon="" icon_over="" icon_pushed=""
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"/>
<view type="text" id="activity_name" active="true" posparent="activity" posref="BR BL"
x="4" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" />
<group id="#id" active="#active" x="#x" y="#y" child_resize_h="true" child_resize_w="true" child_resize_wmargin="20" posparent="#posparent" posref="#posref">
<instance template="r2ed_triggers_little_button" id="activity" x="2" y="0" h="50" posparent="parent" posref="TL TL" onclick_l="lua" params_l="r2.miniActivities:openActivity()" onclick_r="lua" params_r="" icon="" icon_over="" icon_pushed="" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<view type="text" id="activity_name" active="true" posparent="activity" posref="BR BL" x="4" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" />
</group>
</template>
<group id="r2ed_mini_activity_view" active="false" posparent="r2ed_contextual_toolbar_new" posref="TL BL" x="0" y="3" child_resize_w="true" child_resize_h="true">
<instance template="r2ed_triggers_little_button" id="open_activities" x="0" y="0"
posref="TL TL" onclick_l="lua" params_l="r2.activities:openEditor()"
icon="r2ed_open_activities.tga" icon_over="r2ed_open_activities.tga" icon_pushed="r2ed_open_activities.tga"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<view type="text" id="no_activity" active="true" posparent="open_activities" posref="BL TL"
x="0" y="-2" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" />
<instance template="r2ed_triggers_little_button" id="open_activities" x="0" y="0" posref="TL TL" onclick_l="lua" params_l="r2.activities:openEditor()" icon="r2ed_open_activities.tga" icon_over="r2ed_open_activities.tga" icon_pushed="r2ed_open_activities.tga" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" />
<view type="text" id="no_activity" active="true" posparent="open_activities" posref="BL TL" x="0" y="-2" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="" />
<group id="mini_activities" align="T" posparent="no_activity" posref="BL TL" child_resize_h="true" child_resize_w="true">
<vector template="mini_activity" _size="%r2ed_max_num_mini_activities"
_firstpos="TL TL" _nextpos="BL TL" id="$i" active="true"
/>
</group>
<vector template="mini_activity" _size="%r2ed_max_num_mini_activities" _firstpos="TL TL" _nextpos="BL TL" id="$i" active="true" />
</group>
<tree node="r2ed_mini_activity_view">
</tree>
<group type="menu" id="r2ed_chat_sequences_menu" extends="base_menu" mouse_pos="false">
</group>
<tree node="r2ed_mini_activity_view"></tree>
<group type="menu" id="r2ed_chat_sequences_menu" extends="base_menu" mouse_pos="false"></group>
</interface_config>

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"
/>
<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 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 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>
<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>
<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" >
<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" >
<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" >
<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>
<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="" >
<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" />
<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>
<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>
<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" />
<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="" >
<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="" />
<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" />
<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"
/>
<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>
<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>
<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>
<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"
/>
<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" />
<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="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>
<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>
<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"
/>
<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" />
<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" />
<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"
/>
<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>
<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"
/>
<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>
<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 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" />
<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()" >
<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"/>
<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" />
<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()" >
<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"/>
<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()" />
<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 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" />
<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()" >
<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"/>
<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()" />
<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>
<tree node="r2ed_acts"></tree>
</interface_config>

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

File diff suppressed because it is too large Load Diff

@ -3,13 +3,9 @@
<!-- ****************************************** -->
<!-- A container is ALWAYS defined in BL TL hotspot when poped (layer0) else (layer > 0) it is a TL TL -->
<!-- Take care that if the container is not active a getProp of w or h will return 0 -->
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:TEMP:ACTIVE" type="sint64" value="0" />
<proc id="pri_top_center">
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" />
<action handler="set" params="target='@0:active'|value=1" />
@ -17,87 +13,69 @@
<action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" />
<action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" />
</proc>
<proc id="base_desktop">
<action handler="reset_interface" params="" />
<action handler="unlock_all_container" params="" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:active'|value=1" />
<action handler="set" params="target='ui:interface:player:x'|value=4" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:player" />
<!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" />
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Target -->
<action handler="set" params="target='ui:interface:target:active'|value=1" />
<action handler="set" params="target='ui:interface:target:x'|value=4" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),8)" />
<action handler="set_transparent" params="ui:interface:target" />
<!-- Team -->
<action handler="set" params="target='ui:interface:team_list:x'|value=4" />
<action handler="set" params="target='ui:interface:team_list:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),getprop('ui:interface:target:h')),12)" />
<!-- Compass -->
<action handler="set" params="target='ui:interface:compass:active'|value=1" />
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:compass" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:active'|value=1" />
<action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Info Player Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=sub(getprop('ui:interface:h'),113)" />
<action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" />
<!-- Milko -->
<action handler="set" params="target='ui:interface:milko_pad:active'|value=1" />
<action handler="set" params="target='ui:interface:milko_pad:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:milko_pad:w')),4)" />
<action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" />
<action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" />
<!-- Map -->
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<action handler="set" params="target='ui:interface:map:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:map:w')),4)" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 8)" />
<action handler="set" params="target='ui:interface:map:active'|value=0" />
<!-- Contacts -->
<action handler="set" params="target='ui:interface:contact_list:active'|value=1" />
<action handler="set" params="target='ui:interface:contact_list:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:contact_list:w')),4)" />
<action handler="set" params="target='ui:interface:contact_list:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 12)" />
<action handler="set" params="target='ui:interface:contact_list:active'|value=0" />
<!-- Mailbox -->
<action handler="set" params="target='ui:interface:mailbox:w'|value=480" />
<action handler="set" params="target='ui:interface:mailbox:h'|value=360" />
<!-- Gestion Windows (the popup in middle of the screen) -->
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('ui:interface:gestion_windows:active')" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=1" />
<action handler="set" params="target='ui:interface:gestion_windows:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestion_windows:w')),2)" />
<action handler="set" params="target='ui:interface:gestion_windows:y'|value=add(getprop('ui:interface:gestion_windows:h'),div(sub(getprop('ui:interface:h'),getprop('ui:interface:gestion_windows:h')),2))" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=@UI:TEMP:ACTIVE" />
<!-- AppZone -->
<action handler="set" params="target='ui:interface:appzone:active'|value=1" />
<action handler="set" params="target='ui:interface:appzone:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:appzone:w')),2)" />
<action handler="set" params="target='ui:interface:appzone:y'|value=add(getprop('ui:interface:appzone:h'),2)" />
</proc>
<proc id="proc_reset_interface">
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
@ -115,7 +93,6 @@
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" />
@ -129,7 +106,6 @@
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER|value=makeRGB(255,113,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" />
@ -140,7 +116,6 @@
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" />
@ -157,7 +132,6 @@
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" />
@ -190,7 +164,6 @@
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:HP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" />
@ -221,7 +194,6 @@
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" />
<action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" />
@ -237,12 +209,10 @@
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" />
<action handler="set" params="dblink=UI:SAVE:SHOW_ICON_BUFFS|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_SAP|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_STA|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_FOC|value=1" />
<action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:INVERSE_DISPLAY|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:EN:HIDE_FLAG|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:FR:INVERSE_DISPLAY|value=0" />
@ -265,7 +235,6 @@
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:ARROUND:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:SYSTEM:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:TRANSLATION:REGION:DISABLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:FONT_SIZE|value=10" />
<action handler="set" params="dblink=UI:SAVE:CHAT:MULTI_LINE_SPACE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHADOWED_TEXT|value=1" />
@ -283,7 +252,6 @@
<action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" />
@ -374,7 +342,6 @@
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" />
@ -390,29 +357,24 @@
<action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=0" />
<action handler="reset_virtual_desktop" params="vdesk=1" />
<action handler="reset_virtual_desktop" params="vdesk=2" />
<action handler="reset_virtual_desktop" params="vdesk=3" />
<!-- ********* -->
<!-- DESKTOP 1 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<action handler="proc" params="base_desktop" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
@ -420,41 +382,32 @@
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- ********* -->
<!-- DESKTOP 2 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=1" />
<action handler="proc" params="base_desktop" />
<!-- Compass -->
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Player -->
<action handler="set" params="target='ui:interface:player:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:player:w')),4)" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" />
<!-- Target -->
<action handler="set" params="target='ui:interface:target:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:target:w')),4)" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')), getprop('ui:interface:compass:h')), 12)" />
<!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:bonus_malus:w')),4)" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(sub(sub(sub(getprop('ui:interface:h'), getprop('ui:interface:target:h')), getprop('ui:interface:compass:h')), getprop('ui:interface:player:h')), 16)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=132" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Map -->
<action handler="set" params="target='ui:interface:map:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" />
@ -462,31 +415,25 @@
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:map:h')),4)" />
<action handler="set" params="target='ui:interface:map:locked'|value=0" />
<action handler="set" params="target='ui:interface:map:active'|value=1" />
<!-- ********* -->
<!-- DESKTOP 3 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=2" />
<action handler="reset_interface" params="" />
<!-- ********* -->
<!-- DESKTOP 4 -->
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=3" />
<action handler="proc" params="base_desktop" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
@ -494,19 +441,13 @@
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- SAUVEGARDE DU DESKTOP 4 ET RETOUR AU DESKTOP 0 -->
<action handler="set_virtual_desktop" params="vdesk=0" />
<!-- ************ -->
<!-- INFO WINDOWS -->
<!-- ************ -->
<action handler="help_reset_pos" params="y=-100" />
<action handler="lua" params="local tbw = getUI('ui:interface:r2ed_toolbar_window', false) if tbw then tbw.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- ************ -->
<!-- MISC -->
<!-- ************ -->
@ -514,23 +455,8 @@
<action handler="lua" params="local w = getUI('ui:interface:r2ed_toolbar_window', false) if w then w.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<!-- reenable missions, possibly hidden after a ring session -->
<action handler="lua:game:updateMissionJournalMode()" />
<action handler="lua" params="local animals = getUI('ui:interface:animal_global');
if animals then
animals.content.no_available_animals.active = false;
animals.header_opened.active = true;
animals.header_closed.active = false;
if animals.list then
animals.list.active = true;
end;
end"/>
<action handler="lua" params="local animals = getUI('ui:interface:animal_global'); if animals then animals.content.no_available_animals.active = false; animals.header_opened.active = true; animals.header_closed.active = false; if animals.list then animals.list.active = true; end; end" />
<action handler="lua" params="if r2 and r2.initDMToolbarWindowPos then r2:initDMToolbarWindowPos() end" />
</proc>
<proc id="proc_reset_r2ed_interface">
</proc>
<proc id="proc_reset_r2ed_interface"></proc>
</interface_config>

@ -1,64 +1,26 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="ring_access_point_filter.lua" />
<group type="container" id="ring_access_point_filter" title="uiR2EDScenarioFilters" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:OPT"
on_close="" on_close_params="" on_deactive="" on_deactive_params=""
pop_min_w="300" pop_min_h="270" w="300" h="270" pop_max_w="300" pop_max_h="270"
>
<group 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="" />
<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="" />
<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="" />
<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="" />
<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 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" />
<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>
<tree node="ring_access_point_filter"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

@ -1,381 +1,81 @@
<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">
<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()"/>
<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">
<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" >
<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" />
<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"/>
<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 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="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"
@ -399,47 +99,25 @@
<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()" />
<ctrl style="text_button_16" id="validate" posref="BR BR" x="-2" y="2" hardtext="reset" onclick_l="lua" params_l="RyzhomePlace:apply()" />
<ctrl style="text_button_16" id="reset" posref="ML MR" posparent="validate" x="-2" y="0" hardtext="reset" onclick_l="lua" params_l="RyzhomePlace:reset()" />
</group>
</group>
<tree node="webig_ryzhome_place_item"></tree>
</interface_config>

File diff suppressed because it is too large Load Diff

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

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

@ -8,14 +8,12 @@
<lua file="base64.lua" />
<lua file="sceneedit.lua" />
<lua file="ark.lua" />
<!-- //////////// STYLE : webigchat_desc /////////// -->
<style style="webigchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<!-- //////////// STYLE : webigchat_option /////////// -->
<style style="webigchat_option" type="text" format_taged="true" fontsize="10" justification="dont_clip_word" color="0 0 64 255" underlined="true" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<!-- //////////// STYLE : webigchat_option_but /////////// -->
<style style="webigchat_option_but" type="button_link" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" onclick_l="proc" params_l="proc_browse_faq" />
<!-- //////////// TEMPLATE : webig_3dbulle_L /////////// -->
<template name="webig_3dbulle_L" id="" keep="true">
<group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true">
@ -58,7 +56,6 @@
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_modal /////////// -->
<group type="modal" id="webig_html_modal" w="360" posref="TL TL" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
@ -68,14 +65,12 @@
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
<!-- //////////// MODAL : webig_exchange_choose_in_bag /////////// -->
<group type="modal" id="webig_exchange_choose_in_bag" w="360" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
<view type="text" id="title" posref="TL TL" x="6" y="-8" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="uiBCTitleMPItemType" />
<group type="list_sheet" id="list" nature="item" posref="TL TL" x="4" y="-20" value="UI:VARIABLES:BOTCHAT:FILTER_ITEM_TYPE_SELECTED" force_item_background_generic="true" wspace="2" hspace="2" array="false" w="350" lmargin="0" rmargin="0" tmargin="2" bmargin="2" child_resize_h="true" onclick_l="confirm_change_botchat_buy_filter_item_type" on_tooltip="botchat_tt_item_type" use_quantity="false" use_quality="false" display_empty_slot="true" />
<view type="text" id="no_filter" posparent="ctrl" posref="TL MM" x="24" y="-46" fontsize="12" shadow="true" case_mode="%case_upper" global_color="false" hardtext="uiBCNoItemTypeFilter" />
</group>
<!-- //////////// MODAL : webig_drop_destroy_item_quantity_modal /////////// -->
<group type="modal" id="webig_drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" options="skin_modal">
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" />
@ -85,14 +80,12 @@
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="drop_text:active" />
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="destroy_text:active" />
</group>
<!-- //////////// TEMPLATE : webig_list_sheet /////////// -->
<template name="webig_list_sheet" keep="true" db="" w="200" y="-10" x="10">
<group id="list_group" w="#w" y="#y" x="#x" posref="TL TL" child_resize_h="true">
<group type="list_sheet" nature="item" id="list" posref="TL TL" x="0" y="0" child_resize_h="true" wspace="8" hspace="8" value="#db" array="true" auto_grayed="true" onclick_r="open_item_help" tooltip="uittSelectMp" />
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_borderless /////////// -->
<template name="webig_frame_borderless" keep="true" w="200" h="200" x="0" y="0" movable="true">
<group title="" id="content" type="container" posref="MM MM" movable="#movable" pop_max_h="#h" pop_min_h="#h" pop_min_w="#w" pop_max_w="#w" opened="false" openable="false" options="compass" header_active="true" right_button="false">
@ -104,7 +97,6 @@
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_frame_skin_modal /////////// -->
<template name="webig_frame_skin_modal" keep="true" w="200" h="200" x="0" y="0">
<group id="group" type="container" active="true" w="#w" h="#h" x="#x" y="#y" posref="MM MM" options="skin_modal" opened="true" openable="true" movable="true" header_color="UI:SAVE:WIN:COLORS:COM">
@ -120,7 +112,6 @@
</group>
</group>
</template>
<template name="money_tmpl" keep="true" posparent="parent" x="0" y="0" w="110" h="32" posref="TL TL" id="" value="?" icon="money_32.tga" tooltip="uittPlayerMoney">
<group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
<view type="bitmap" id="icone" posref="ML ML" texture="#icon" scale="true" w="32" global_color="false" />
@ -129,7 +120,6 @@
<ctrl type="tooltip" id="tt" posparent="box1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="#tooltip" />
</group>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy /////////// -->
<template name="webig_bot_chat_buy" keep="true" title="uiBuy" tooltip="Dappers" icon_points="money_seve.tga" buyto_text="uiBuyFrom" buyto_name="?">
<group id="#id" type="container" openable="false" opened="true" movable="true" resizer="false" savable="false" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false" escapable="true" posref="BL TL" min_w="450" max_w="450" w="450" x="352" y="200" pop_max_h="700" max_h="2000" active="true" title="#title">
@ -152,7 +142,6 @@
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_bot_chat_buy_item /////////// -->
<template name="webig_bot_chat_buy_item" id="" money_tooltip="uiDappers" money_icon="money_seve.tga" onclick="" infosclick="" infos_text="uiTS_Items" ok_text="uiBuy" tooltip_ok="" keep="true" x="0" y="0">
<group id="#id" type="container" posref="TL TL" min_w="240" w="408" x="#x" y="#y" pop_min_h="320" pop_max_h="420" min_h="320" max_h="420" active="true" openable="false" opened="true" movable="true" resizer="false" savable="false" title="uiBotChatMissions" escapable="true" header_color="UI:SAVE:WIN:COLORS:BOT" global_color="false">
@ -164,7 +153,6 @@
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
<group id="standard_price" posparent="buy_sell_slot" posref="TR TL" x="0" y="-2" w="335" h="50">
<instance template="money_tmpl" id="item_price" tooltip="#money_tooltip" icon="#money_icon" posref="ML ML" x="0" w="130" h="32" value="UI:TEMP:ARK_MONEY_PRICE" />
<instance template="edit_box_widget" id="edit" posref="MM MM" x="0" text_x="0" text_ref="BR BR" w="36" backup_father_container_pos="true" prompt="" value="1" enter_loose_focus="true" multi_line="false" max_num_chars="4" onenter="lua" params="arkNpcShop:CheckMoney()" onchange="lua" onchange_params="arkNpcShop:CheckMoney()" enter_recover_focus="true" reset_focus_on_hide="true" max_historic="0" entry_type="positive_integer" />
@ -176,7 +164,6 @@
<view type="text" id="total_price_header" posparent="item_total_price" posref="TR BR" color="255 255 255 255" fontsize="10" x="0" y="-5" shadow="true" hardtext="uiImmediatePrice" />
</group>
</group>
<group id="scroll_text" posref="TL TL" h="200" y="-20" sizeref="w" w="0">
<instance template="inner_thin_border_group" />
<group id="infos" type="html" posref="MM MM" sizeref="hw" w="0" h="0" url="" title_prefix="uiQuickhelpTitle" x="0" y="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color_global_color="true" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="12" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline">
@ -186,7 +173,6 @@
<ctrl style="skin_scroll" id="scroll_bar" />
</group>
</group>
<group id="item_preview" active="false" posref="TL TL" sizeref="w" w="200" h="320" x="0" y="-70">
<scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.7" rot="0.0 0.0 -60.0" />
@ -195,13 +181,11 @@
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
<ctrl style="button_ok" id="ok" x="-7" y="-7" posparent="scroll_text" posref="BR TR" text_y="0" onclick_l="lua" params_l="#onclick" hardtext="#ok_text" tooltip="#tooltip_ok" />
<ctrl style="button_ok" id="desc" x="-5" y="0" posparent="ok" posref="BL BR" text_y="0" onclick_l="lua" params_l="#infosclick" hardtext="#infos_text" tooltip="#infos_text" />
</group>
</group>
</template>
<!-- //////////// TEMPLATE : webig_inv_item /////////// -->
<template name="webig_inv_item" render_layer1="1" render_layer2="2" render_layer3="3" w="45" keep="true" img1="token_basic.tga" img2="" img3="" tooltip="" quality="" quantity="" overlay="" text="" text2="" color="255 255 255 255" gc1="true" gc2="true" color2="255 255 255 255" bg="w_slot_item.tga" params_l="" params_r="" x="0" y="0">
<group id="#id" posref="MM MM" w="#w" h="45" x="#x" y="#y" sizeref="" render_layer="#render_layer1">
@ -217,13 +201,11 @@
<ctrl type="button" id="ctrl" button_type="push_button" global_color_normal="false" posref="ML ML" x="1" y="0" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true" w="40" h="40" tooltip="#tooltip" color="0 0 0 0" col_over="255 255 255 0" col_pushed="255 255 255 0" render_layer="#render_layer1" onclick_l="lua" params_l="#params_l" onclick_r="lua" params_r="#params_r" />
</group>
</template>
<template name="html_push_button" id="" texture="" posparent="parent" posref="TL TL" onclick="" onclick_param="" x="0" y="0" keep="true">
<group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
<ctrl type="button" id="b" button_type="push_button" pushed="false" tx_normal="#texture" tx_pushed="#texture" tx_over="#texture" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="#onclick" params_l="#onclick_param" />
</group>
</template>
<template name="lesson_template" bg="storyline_lesson_bg" script="0" parent="0" open_script="false" check_color="255 255 255 200" over="80" pushed="90" waiting="true" started="false" finished="false" event="" lesson="">
<group id="#id" posref="MM MM" w="510" h="70">
<view type="bitmap" id="back" posref="ML ML" texture="#bg.tga" global_color="false" />
@ -238,12 +220,10 @@
<ctrl type="button" id="open_script" active="#open_script" button_type="push_button" posref="BL BL" x="78" y="9" tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga" onclick_l="lua" params_l="openStorylineStepDetails(#script, #parent)" tooltip="" />
</group>
</template>
<template name="webig_button" w="100" h="20" x="0" y="0" text="OK" fontsize="12" shadow="true" color_text="255 255 255 255" normal="blank.tga" pushed="blank.tga" over="blank.tga" color="255 255 255 0" color_over="255 255 255 55" color_pushed="255 255 255 100" params_l="">
<group id="#id" posref="MM MM" w="#w" h="#h" x="#x" y="#y">
<ctrl type="button" id="but" button_type="push_button" global_color_normal="false" global_color_over="false" global_color_pushed="false" posref="MM MM" x="0" y="0" w="#w" h="#h" tx_normal="#normal" tx_pushed="#pushed" tx_over="#over" scale="true" color="#color" col_over="#color_over" col_pushed="#color_pushed" onclick_l="lua" params_l="#params_l" />
<view type="text" id="text" color="#color_text" global_color="false" fontsize="#fontsize" shadow="#shadow" posref="MM MM" hardtext="#text" />
</group>
</template>
</interface_config>

@ -51,7 +51,6 @@
</template>
<template name="in_scene_user_info" id="" keep="true">
<group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" w="0" h="0" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="false">
<group id="right" child_resize_w="true" child_resize_h="true" w="0" x="38" h="158" posref="TL TL" child_resize_hmargin="7">
<view type="text" id="info0" posref="TL TL" x="0" y="-7" fontsize="14" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
<view type="text" id="info1" posref="BL TL" posparent="info0" x="0" fontsize="12" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
@ -60,30 +59,25 @@
<view type="bitmap" id="target" posref="TR TL" posparent="info0" x="4" texture="target.tga" global_color="false" />
<view type="bitmap" id="invisible_logo" posref="TR TL" posparent="target" x="2" y="3" scale="true" w="20" h="20" texture="ico_fear.tga" active="false" global_color="false" />
<view type="bitmap" id="mission_target" posref="TR TL" posparent="invisible_logo" x="2" y="4" texture="target_mission.tga" global_color="false" />
<view type="bitmap" id="win_top" posparent="info2" posref="BL TL" y="-8" texture="Infos_top.tga" global_color="true" />
<view type="bitmap" id="win_mid" posparent="win_top" posref="BL TL" scale="true" w="70" h="1" texture="Infos_mid.tga" global_color="true" />
<view type="bitmap" id="win_bot" posparent="win_mid" posref="BL TL" texture="Infos_bot.tga" global_color="true" />
<view type="bitmap" id="win_jauge_mid" posparent="win_bot" posref="TL ML" x="0" y="-2" scale="true" w="128" h="24" texture="Bg_jauge_mid.tga" global_color="true" />
<view type="bitmap" id="win_jauge_top" posparent="win_jauge_mid" posref="TL BL" texture="Bg_jauge_top.tga" global_color="true" />
<view type="bitmap" id="win_jauge_bot" posparent="win_jauge_mid" posref="BL TL" texture="Bg_jauge_bot.tga" global_color="true" />
<view type="bitmap" id="bar0" posparent="win_jauge_top" posref="TL TL" x="3" y="-3" scale="true" w="64" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar1" posparent="bar0" posref="BL TL" x="0" y="-2" scale="true" w="120" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar2" posparent="bar1" posref="BL TL" x="0" y="-2" scale="true" w="112" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar3" posparent="bar2" posref="BL TL" x="0" y="-2" scale="true" w="30" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
<view type="bitmap" id="bar4" posparent="bar3" posref="BL TL" x="0" y="-2" scale="true" w="0" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
</group>
<ctrl type="sheet" id="guild_logo" posref="TL TR" posparent="right" x="-4" y="-7" slot="false" nature="guild_flag" value="UI:TEMP:GUILD_SHEET" dragable="false" color="255 255 255 255" />
<view type="bitmap" id="npc_mission_logo" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="1" texture="" global_color="false" />
<view type="bitmap" id="npc_mission_logo_over" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="2" texture="" global_color="false" />
<group id="right_rp" posref="TR TL" posparent="right" x="4" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4">
<view type="bitmap" id="rp_logo_3" posref="TL TL" x="0" w="24" h="24" scale="true" slot="false" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
<view type="bitmap" id="rp_logo_4" posref="TR TL" x="0" w="24" h="24" scale="true" slot="false" posparent="rp_logo_3" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
</group>
<group id="right_pvp" posref="BL TL" posparent="right_rp" x="-2" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<group id="top_pvp" posref="TL TL" w="0" h="0" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
<view type="bitmap" id="pvp_faction_logo" posref="TL TL" active="false" texture="blank.tga" global_color="false" />
@ -96,7 +90,6 @@
<view type="bitmap" id="pvp_duel_logo" posref="TR TL" posparent="pvp_outpost_logo" active="false" texture="pvp_duel.tga" global_color="false" />
</group>
</group>
</group>
</template>
<!-- prototype for fast cloning -->
@ -373,7 +366,6 @@
<action id="item_group" name="uimGroup" />
<!-- Will be activated and populated in code -->
<group type="menu" id="item_group_menu" extends="base_menu"></group>
</group>
<!-- MAX_INVENTORY_ANIMAL -->
<link expr="switch(@%pa_beast0:TYPE, 'uimMtPaMount0', 'uimMtPaMount0', 'uimMtPaPacker0', 'uimMtPaDemon0')" target="ui:interface:item_menu_in_bag:move:pa0:hardtext" />
@ -481,7 +473,6 @@
<view type="text_number" id="sp_value" posref="MR ML" posparent="sp_text" x="4" y="0" color="255 255 255 255" shadow="true" fontsize="#fontsize_number" value="#value" global_color="false" />
</group>
</template>
<!-- ********************* -->
<!-- * FACTION POINTS * -->
<!-- ********************* -->
@ -816,11 +807,9 @@
<!-- ***************** -->
<define id="over_border_color" value="140 140 240 255" />
<define id="help_bg_color" value="100 120 120 255" />
<!-- Define varaibles for the list sheet of the root brick selection modal-->
<!--<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />-->
<variable entry="UI:VARIABLES:CRYSTALBRICKS:$i:SHEET" type="sint32" value="0" size="64" />
<!-- Over Text used for buttons or controls -->
<group id="context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9">
<!--Decoration-->
@ -910,9 +899,7 @@
<view type="text" id="text" posref="TL TL" y="-6" x="5" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
<!-- For Cristallized Phrase -->
<instance template="template_info_list_brick" type="list_sheet_compo_brick" id="list_brick" brickdb="UI:VARIABLES:CRYSTALBRICKS" posparent="text" xcost="230" line_maxw="185" multi_line_maxw_only="true" param_deltax="13" sizeref="none" child_resize_w="true" child_resize_wmargin="13" global_color="false" />
</group>
<!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
<group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL">
<!-- System, don'change the ids, nor the posref -->
@ -1350,23 +1337,15 @@
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
<!-- Item preview 3D window -->
<group id="item_preview" posref="TL TL" sizeref="w" w="200" h="300" x="0" y="-60">
<scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.8" rot="0.0 0.0 -60.0" anim="1" />
<camera id="cam_item_preview" fov="5" pos="0.0 -40.0 0.0" target="0.0 0.0 -0.85" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
</scene3d>
</group>
</group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" x="4" y="-4" target_stepy="14" target="text_list" />
</group>
@ -1480,14 +1459,9 @@
<instance template="tinv_item_list_filter" id="filter_weapon" x="-2" posref="ML MR" posparent="filter_tool" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_WEAPON" texture="filter_weapon.tga" tooltip="uittFilterWeapon" />
<instance template="tinv_item_list_filter" id="filter_armor" x="-2" posref="ML MR" posparent="filter_weapon" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_ARMOR" texture="filter_armor.tga" tooltip="uittFilterArmor" />
<!-- search -->
<ctrl type="button" id="but_inv_search" button_type="toggle_button" x="-2" posref="ML MR" posparent="but_filter_armor"
tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" tooltip="uittInventorySearch"
onclick_l="inv_search_button" params_l="inv_query_eb" />
<ctrl type="button" id="but_inv_search" button_type="toggle_button" x="-2" posref="ML MR" posparent="but_filter_armor" tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" tooltip="uittInventorySearch" onclick_l="inv_search_button" params_l="inv_query_eb" />
<view type="bitmap" id="bit_inv_search" posref="MM MM" posparent="but_inv_search" texture="w_help_1.tga" global_color="false" color="255 255 255 150" />
<instance template="edit_box_widget" id="inv_query_eb" active="false" posref="TR BR" posparent="but_detail" x="0" y="8" w="100" render_layer="9"
clear_on_escape="true" enter_recover_focus="false" max_num_chars="20" max_historic="0"
onenter="inv_set_search" onchange="inv_set_search"
on_focus_lost="inv_search_unfocus" on_focus_lost_params="but_inv_search"/>
<instance template="edit_box_widget" id="inv_query_eb" active="false" posref="TR BR" posparent="but_detail" x="0" y="8" w="100" render_layer="9" clear_on_escape="true" enter_recover_focus="false" max_num_chars="20" max_historic="0" onenter="inv_set_search" onchange="inv_set_search" on_focus_lost="inv_search_unfocus" on_focus_lost_params="but_inv_search" />
</group>
</template>
<!-- Link to trig brick action message. don't play when 0 (avoid flying text at startup) -->
@ -1567,7 +1541,6 @@
</group>
</group>
</template>
<!-- html browsing context -->
<template name="webig_html" id="html" keep="true" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 255">
<group id="#id" type="webig_html" posref="TL TL" home="#home" title_prefix="" sizeref="wh" x="0" y="0" w="0" h="0" background_color="#bg_color" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="#browse_refresh" browse_undo="#browse_undo" browse_redo="#browse_redo">
@ -1596,24 +1569,20 @@
<ctrl style="text_button_header" id="browse_refresh" button_type="push_button" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="lua" params_l="WebBrowser:onClickRefresh()" frozen="true" />
<ctrl style="text_button_header" id="browse_home" button_type="push_button" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="lua" params_l="WebBrowser:onClickHome()" />
</group>
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
<instance template="webig_html" home="#home" browse_redo="#browse_redo" browse_undo="#browse_undo" browse_refresh="#browse_refresh" />
</group>
</group>
</template>
<!-- html <hr> element -->
<template name="html_hr" keep="true">
<group id="sep_gr" posref="ML ML" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="12">
<view type="bitmap" id="hr" posref="MM MM" sizeref="w" w="-2" h="2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
</group>
</template>
<template name="html_form_select_box_menu_widget" keep="true" id="sb">
<group type="menu" id="#id" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" color_over="255 255 255 255" color_grayed="0 0 0 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="false"></group>
</template>
<template name="html_meter" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
<group id="#id" w="#w" h="#h" active="#active">
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
@ -1622,7 +1591,6 @@
</group>
</group>
</template>
<template name="html_progress" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
<group id="#id" w="#w" h="#h" active="#active">
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
@ -1631,15 +1599,10 @@
</group>
</group>
</template>
<!-- icon for menu user group -->
<template name="menu_row_icon" keep="true"
id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18"
icon_id="icon" icon_x="0" icon_y="-1" icon_color="255 255 255 255" icon_texture="blank.tga">
<template name="menu_row_icon" keep="true" id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18" icon_id="icon" icon_x="0" icon_y="-1" icon_color="255 255 255 255" icon_texture="blank.tga">
<group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h">
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" w="16" h="16" scale="true"
global_color="false" texture="#icon_texture" />
<view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" w="16" h="16" scale="true" global_color="false" texture="#icon_texture" />
</group>
</template>
</interface_config>

@ -8,13 +8,7 @@
<bank name="PLR" class="CCDBSynchronised" />
<bank name="GUILD" class="CCDBGroup" dbAccessor=".Database">
<include file="game_share/far_position.h" />
<verbatime>inline void _setProp(CCDBSynchronised &amp;db,
ICDBStructNode *node, TCharConnectionState value, bool
forceSending = false) { db.x_setProp(node, uint64(value),
forceSending); } inline void _getProp(const CCDBSynchronised
&amp;db, ICDBStructNode *node, TCharConnectionState
&amp;value) { value =
(TCharConnectionState)db.x_getProp(node); }</verbatime>
<verbatime>inline void _setProp(CCDBSynchronised &amp;db, ICDBStructNode *node, TCharConnectionState value, bool forceSending = false) { db.x_setProp(node, uint64(value), forceSending); } inline void _getProp(const CCDBSynchronised &amp;db, ICDBStructNode *node, TCharConnectionState &amp;value) { value = (TCharConnectionState)db.x_getProp(node); }</verbatime>
</bank>
<bank name="OUTPOST" class="CCDBGroup" dbAccessor=".Database" />
</bank_superclass>
@ -249,17 +243,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32"/> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<branch name="RECEIVE">
@ -272,17 +274,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<leaf name="FORCE_REFUSE" type="I4" />
@ -307,16 +317,23 @@
<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="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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<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) -->
<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 -->
@ -330,17 +347,23 @@
<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="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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<leaf name="PRICE" type="I32" />
<leaf name="RESALE_FLAG" type="I2" /> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<leaf name="RESALE_FLAG" type="I2" />
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<branch name="EQUIP">
@ -364,17 +387,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
<leaf name="ENABLE_TAKE" type="I1" />
<!-- Used only in forage -->
@ -393,17 +424,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<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) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> -->
<!-- true if item is worned (show a red cross) -->
<!-- Additionnal info -->
<leaf name="NB_MEMBER" type="I4" />
<!-- Number of team member who wants this item or phrase -->
@ -432,16 +471,23 @@
<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="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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<leaf name="MONEY" type="I64" />
@ -565,17 +611,25 @@
<leaf name="SERIAL" type="I32" />
<leaf name="USER_COLOR" type="I3" />
<!-- <leaf name="LOCKED" type="I10" /> -->
<!-- <leaf name="ACCESS" type="I2" /> --> <!-- TGuildGrade access grade -->
<leaf name="WEIGHT" type="I16" /> <!-- weight. see DB_WEIGHT_SCALE -->
<leaf name="NAMEID" type="I32" /> <!-- 0 or special name of item -->
<!-- <leaf name="ACCESS" type="I2" /> -->
<!-- TGuildGrade access grade -->
<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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<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) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> -->
<!-- true if item is worned (show a red cross) -->
<!-- Muti currency info -->
<leaf name="CURRENCY" type="I4" />
<!-- The currency type RYMSG::TTradeCurrency -->
@ -743,16 +797,23 @@
<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="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" /> <!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" /> <!-- RM_FABER_STAT_TYPE enum -->
<leaf name="ENCHANT" type="I10" />
<!-- 0=not enchanted, 1=enchanted nbcharge 0, 10=e. nbcharge 9 -->
<leaf name="RM_CLASS_TYPE" type="I3" />
<!-- RM_CLASS_TYPE enum -->
<leaf name="RM_FABER_STAT_TYPE" type="I6" />
<!-- RM_FABER_STAT_TYPE enum -->
<leaf name="PREREQUISIT_VALID" type="I1" />
<!-- <leaf name="PRICE" type="I32" /> -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> --> <!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) --> <!-- true if item is worned (show a red cross) -->
<!-- <leaf name="RESALE_FLAG" type="I2" /> -->
<!-- TBotChatResaleFlag -->
<!-- <leaf name="WORNED" type="I1" /> (FIXME: Add this) -->
<!-- true if item is worned (show a red cross) -->
</branch>
</branch>
<branch name="OUTPOST">

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