mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-24 17:58:45 +00:00
Integrating Khanat former changes
This commit is contained in:
parent
5cd464003a
commit
7bbeae5dca
20 changed files with 2139 additions and 2621 deletions
|
@ -1617,7 +1617,7 @@
|
|||
<view type="bitmap"
|
||||
id="icone"
|
||||
posref="TL TL"
|
||||
texture="money_seve.tga"
|
||||
texture="money.tga"
|
||||
global_color="false" />
|
||||
<instance template="box_widget"
|
||||
id="box1"
|
||||
|
@ -1673,7 +1673,7 @@
|
|||
<view type="bitmap"
|
||||
id="icone"
|
||||
posref="TL TL"
|
||||
texture="money_seve.tga"
|
||||
texture="money.tga"
|
||||
global_color="false" />
|
||||
<instance template="box_widget"
|
||||
id="box1"
|
||||
|
|
|
@ -183,7 +183,7 @@
|
|||
posref="BL BL"
|
||||
scale="true"
|
||||
y="4"
|
||||
w="130"
|
||||
w="110"
|
||||
h="2"
|
||||
texture="W_line_hor2.tga" />
|
||||
<view type="text"
|
||||
|
@ -202,7 +202,7 @@
|
|||
posref="MM MM"
|
||||
x="0"
|
||||
y="-1"
|
||||
w="130"
|
||||
w="110"
|
||||
h="8"
|
||||
vertical="false"
|
||||
align="L"
|
||||
|
@ -246,7 +246,7 @@
|
|||
posref="BL BL"
|
||||
scale="true"
|
||||
y="4"
|
||||
w="130"
|
||||
w="110"
|
||||
h="2"
|
||||
texture="W_line_hor2.tga" />
|
||||
<view type="text"
|
||||
|
@ -265,7 +265,7 @@
|
|||
posref="MM MM"
|
||||
x="0"
|
||||
y="-1"
|
||||
w="130"
|
||||
w="110"
|
||||
h="8"
|
||||
vertical="false"
|
||||
align="L"
|
||||
|
@ -1005,11 +1005,11 @@
|
|||
text_ref="BR BR"
|
||||
w="100"
|
||||
prompt=""
|
||||
enter_loose_ChaScore4="true"
|
||||
enter_loose_focus="true"
|
||||
multi_line="false"
|
||||
onenter="game_config_change_screen_ratio_custom"
|
||||
enter_recover_ChaScore4="false"
|
||||
reset_ChaScore4_on_hide="true"
|
||||
enter_recover_focus="false"
|
||||
reset_focus_on_hide="true"
|
||||
max_historic="0"
|
||||
entry_type="positive_float"
|
||||
max_float_prec="5"
|
||||
|
@ -1334,7 +1334,7 @@
|
|||
y="0"
|
||||
hardtext="uiHud" />
|
||||
<!--<instance template="tgcw_checkbox" id="suc" text="uiShowUnderCursor" posref="TL TL" x="0" y="-20" />
|
||||
<instance template="tgcw_checkbox" id="ChaScore2" text="uiShowTargeted" posref="BL TL" posparent="suc" x="0" y="-12" />-->
|
||||
<instance template="tgcw_checkbox" id="sta" text="uiShowTargeted" posref="BL TL" posparent="suc" x="0" y="-12" />-->
|
||||
<instance template="tgcw_checkbox"
|
||||
id="swrc"
|
||||
text="uiSelectWithRClick"
|
||||
|
@ -2043,34 +2043,34 @@
|
|||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_user_ChaScore1"
|
||||
text="uiChaScore1"
|
||||
tooltip="uittChaScore1"
|
||||
text="uiHP"
|
||||
tooltip="uittHP"
|
||||
posref="BL TL"
|
||||
posparent="is_user_guild_name"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_user_ChaScore3"
|
||||
text="uiChaScore3"
|
||||
tooltip="uittChaScore3"
|
||||
id="is_user_sap"
|
||||
text="uiSAP"
|
||||
tooltip="uittSAP"
|
||||
posref="BL TL"
|
||||
posparent="is_user_ChaScore1"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_user_ChaScore2"
|
||||
text="uiChaScore2"
|
||||
tooltip="uittChaScore2"
|
||||
id="is_user_sta"
|
||||
text="uiSTA"
|
||||
tooltip="uittSTA"
|
||||
posref="BL TL"
|
||||
posparent="is_user_ChaScore3"
|
||||
posparent="is_user_sap"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_user_ChaScore4"
|
||||
text="uiChaScore4"
|
||||
tooltip="uittChaScore4"
|
||||
id="is_user_focus"
|
||||
text="uiFOC"
|
||||
tooltip="uittFocus"
|
||||
posref="BL TL"
|
||||
posparent="is_user_ChaScore2"
|
||||
posparent="is_user_sta"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
|
@ -2078,7 +2078,7 @@
|
|||
text="uiActionBar"
|
||||
tooltip="uittActionBar"
|
||||
posref="BL TL"
|
||||
posparent="is_user_ChaScore4"
|
||||
posparent="is_user_focus"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
|
@ -2160,34 +2160,34 @@
|
|||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_friend_ChaScore1"
|
||||
text="uiChaScore1"
|
||||
tooltip="uittChaScore1"
|
||||
text="uiHP"
|
||||
tooltip="uittHP"
|
||||
posref="BL TL"
|
||||
posparent="is_friend_guild_name"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_friend_ChaScore3"
|
||||
text="uiChaScore3"
|
||||
tooltip="uittChaScore3"
|
||||
id="is_friend_sap"
|
||||
text="uiSAP"
|
||||
tooltip="uittSTA"
|
||||
posref="BL TL"
|
||||
posparent="is_friend_ChaScore1"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_friend_ChaScore2"
|
||||
text="uiChaScore2"
|
||||
tooltip="uittChaScore2"
|
||||
id="is_friend_sta"
|
||||
text="uiSTA"
|
||||
tooltip="uittSAP"
|
||||
posref="BL TL"
|
||||
posparent="is_friend_ChaScore3"
|
||||
posparent="is_friend_sap"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_friend_ChaScore4"
|
||||
text="uiChaScore4"
|
||||
tooltip="uittChaScore4"
|
||||
id="is_friend_focus"
|
||||
text="uiFOC"
|
||||
tooltip="uittFocus"
|
||||
posref="BL TL"
|
||||
posparent="is_friend_ChaScore2"
|
||||
posparent="is_friend_sta"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
|
@ -2195,7 +2195,7 @@
|
|||
text="uiPvpLogo"
|
||||
tooltip="uittPvpLogo"
|
||||
posref="BL TL"
|
||||
posparent="is_friend_ChaScore4"
|
||||
posparent="is_friend_focus"
|
||||
x="0"
|
||||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
|
@ -2301,8 +2301,8 @@
|
|||
y="-4" />
|
||||
<instance template="tgcw_checkbox"
|
||||
id="is_enemy_ChaScore1"
|
||||
text="uiChaScore1"
|
||||
tooltip="uittChaScore1"
|
||||
text="uiHP"
|
||||
tooltip="uittHP"
|
||||
posref="BL TL"
|
||||
posparent="is_enemy_guild_name"
|
||||
x="0"
|
||||
|
@ -3222,7 +3222,7 @@
|
|||
preset="UI:TEMP:PRESET_FX" />
|
||||
<!--
|
||||
<param ui="hud:suc:c" type="cfg" widget="boolbut" link="ShowNameUnderCursor" realtime="true"/>
|
||||
<param ui="hud:ChaScore2:c" type="cfg" widget="boolbut" link="ShowNameSelected" realtime="true"/>
|
||||
<param ui="hud:sta:c" type="cfg" widget="boolbut" link="ShowNameSelected" realtime="true"/>
|
||||
-->
|
||||
<param ui="hud:swrc:c"
|
||||
type="cfg"
|
||||
|
@ -3553,17 +3553,17 @@
|
|||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:USER:ChaScore1"
|
||||
realtime="true" />
|
||||
<param ui="in_scene_user:is_user_ChaScore3:c"
|
||||
<param ui="in_scene_user:is_user_sap:c"
|
||||
type="db"
|
||||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:USER:ChaScore3"
|
||||
realtime="true" />
|
||||
<param ui="in_scene_user:is_user_ChaScore2:c"
|
||||
<param ui="in_scene_user:is_user_sta:c"
|
||||
type="db"
|
||||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:USER:ChaScore2"
|
||||
realtime="true" />
|
||||
<param ui="in_scene_user:is_user_ChaScore4:c"
|
||||
<param ui="in_scene_user:is_user_focus:c"
|
||||
type="db"
|
||||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:USER:ChaScore4"
|
||||
|
@ -3608,17 +3608,17 @@
|
|||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:FRIEND:ChaScore1"
|
||||
realtime="true" />
|
||||
<param ui="in_scene_friend:is_friend_ChaScore3:c"
|
||||
<param ui="in_scene_friend:is_friend_sap:c"
|
||||
type="db"
|
||||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:FRIEND:ChaScore3"
|
||||
realtime="true" />
|
||||
<param ui="in_scene_friend:is_friend_ChaScore2:c"
|
||||
<param ui="in_scene_friend:is_friend_sta:c"
|
||||
type="db"
|
||||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:FRIEND:ChaScore2"
|
||||
realtime="true" />
|
||||
<param ui="in_scene_friend:is_friend_ChaScore4:c"
|
||||
<param ui="in_scene_friend:is_friend_focus:c"
|
||||
type="db"
|
||||
widget="boolbut"
|
||||
link="UI:SAVE:INSCENE:FRIEND:ChaScore4"
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
y="0"
|
||||
fontsize="12"
|
||||
shadow="true"
|
||||
case_mode="%case_normal" />
|
||||
case_mode="%case_first_word_letter_up" />
|
||||
<view type="text"
|
||||
id="grade"
|
||||
x="158"
|
||||
|
@ -739,7 +739,7 @@
|
|||
posparent="title"
|
||||
x="20"
|
||||
y="-4"
|
||||
texture="money_seve.tga"
|
||||
texture="money.tga"
|
||||
global_color="false" />
|
||||
<!-- edit box for the seeds -->
|
||||
<instance template="edit_box_widget"
|
||||
|
@ -1050,7 +1050,7 @@
|
|||
id="html"
|
||||
posref="TL TL"
|
||||
url=""
|
||||
home="http://app.ryzom.com/index.php"
|
||||
home="http://app.khaganat.net/"
|
||||
sizeref="wh"
|
||||
x="0"
|
||||
y="0"
|
||||
|
@ -1216,7 +1216,7 @@
|
|||
id="html"
|
||||
posref="TL TL"
|
||||
url=""
|
||||
home="http://app.ryzom.com/init_ig.php"
|
||||
home="http://app.khaganat.net/"
|
||||
sizeref="wh"
|
||||
x="0"
|
||||
y="0"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
h="290"
|
||||
pop_min_h="290"
|
||||
pop_max_h="290"
|
||||
title="TheSagaOfRyzom"
|
||||
title="Khanat"
|
||||
resizer="true"
|
||||
global_color="false"
|
||||
header_color="UI:SAVE:WIN:COLORS:HELP"
|
||||
|
@ -138,7 +138,7 @@
|
|||
x="0"
|
||||
y="6"
|
||||
posref="BM BM"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
onclick_l="proc"
|
||||
params_l="welcome_close"
|
||||
hardtext="uittOK" />
|
||||
|
@ -199,7 +199,7 @@
|
|||
x="-15"
|
||||
y="10"
|
||||
posref="BM BM"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
onclick_l="proc"
|
||||
params_l="active_hardware_cursor"
|
||||
hardtext="uiYes" />
|
||||
|
@ -208,7 +208,7 @@
|
|||
y="0"
|
||||
posparent="active_ok"
|
||||
posref="BR BL"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
onclick_l="proc"
|
||||
params_l="close_hardware_cursor"
|
||||
hardtext="uiNo" />
|
||||
|
@ -316,7 +316,7 @@
|
|||
x="0"
|
||||
y="6"
|
||||
posref="BM BM"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
onclick_l="proc"
|
||||
params_l="universe_chanel_warning_close"
|
||||
hardtext="uittOK" />
|
||||
|
@ -356,9 +356,9 @@
|
|||
</proc>
|
||||
<group type="container"
|
||||
id="death_warning"
|
||||
w="500"
|
||||
pop_min_w="500"
|
||||
pop_max_w="500"
|
||||
w="400"
|
||||
pop_min_w="400"
|
||||
pop_max_w="400"
|
||||
h="250"
|
||||
pop_min_h="250"
|
||||
pop_max_h="250"
|
||||
|
@ -401,7 +401,7 @@
|
|||
id="death_warning_text"
|
||||
posref="TM TM"
|
||||
x="0"
|
||||
y="-10"
|
||||
y="-20"
|
||||
color="255 255 255 255"
|
||||
fontsize="12"
|
||||
shadow="true"
|
||||
|
@ -416,7 +416,6 @@
|
|||
y="30"
|
||||
w="0"
|
||||
h="16"
|
||||
y_text="-5"
|
||||
fontsize="10"
|
||||
hardtext="uiDeathWarningAvoid"
|
||||
dblink="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID"
|
||||
|
@ -425,7 +424,7 @@
|
|||
x="0"
|
||||
y="6"
|
||||
posref="BM BM"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
onclick_l="proc"
|
||||
params_l="death_warning_close"
|
||||
hardtext="uittOK" />
|
||||
|
@ -464,9 +463,9 @@
|
|||
</proc>
|
||||
<group type="container"
|
||||
id="night_warning"
|
||||
w="500"
|
||||
pop_min_w="500"
|
||||
pop_max_w="500"
|
||||
w="400"
|
||||
pop_min_w="400"
|
||||
pop_max_w="400"
|
||||
h="250"
|
||||
pop_min_h="250"
|
||||
pop_max_h="250"
|
||||
|
@ -509,7 +508,7 @@
|
|||
id="night_warning_text"
|
||||
posref="TM TM"
|
||||
x="0"
|
||||
y="-10"
|
||||
y="-20"
|
||||
color="255 255 255 255"
|
||||
fontsize="12"
|
||||
shadow="true"
|
||||
|
@ -532,7 +531,7 @@
|
|||
x="0"
|
||||
y="6"
|
||||
posref="BM BM"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
onclick_l="proc"
|
||||
params_l="night_warning_close"
|
||||
hardtext="uittOK" />
|
||||
|
@ -864,8 +863,10 @@
|
|||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<!--<define id="cs_url"
|
||||
value="http://app.ryzom.com/ticket_system/index.php?mode=load" />-->
|
||||
<define id="cs_url"
|
||||
value="http://app.ryzom.com/ticket_system/index.php?mode=load" />
|
||||
value="http://lirria.khaganat.net/ams/" />
|
||||
<group type="container"
|
||||
id="cs_browser"
|
||||
w="410"
|
||||
|
@ -906,6 +907,22 @@
|
|||
group_params_r="menu=ui:interface:base_menu_with_color"
|
||||
on_active="lua"
|
||||
on_active_params="help:openCSBrowserHeader('cs_browser')">
|
||||
|
||||
|
||||
<!--Quitta start-->
|
||||
<ctrl style="text_button_header"
|
||||
button_type="push_button"
|
||||
id="browse_home"
|
||||
posref="MR MR"
|
||||
x="-16"
|
||||
y="0"
|
||||
hardtext="AMS-HOME"
|
||||
tooltip="uittBrowseHome"
|
||||
onclick_l="browse_home"
|
||||
params_l="name=ui:interface:cs_browser:content:html"
|
||||
frozen="false" />
|
||||
<!--Quitta end-->
|
||||
|
||||
</group>
|
||||
<group id="content"
|
||||
x="0"
|
||||
|
@ -920,9 +937,9 @@
|
|||
url="home"
|
||||
title_prefix="uiHelpTitle"
|
||||
sizeref="wh"
|
||||
x="184"
|
||||
x="2"
|
||||
y="0"
|
||||
w="-190"
|
||||
w="-4"
|
||||
h="0"
|
||||
background_color="0 0 0 255"
|
||||
error_color="255 240 48 255"
|
||||
|
@ -943,7 +960,7 @@
|
|||
h6_font_size="12"
|
||||
paragraph_begin_space="12"
|
||||
multi_line_space_factor="0.25"
|
||||
td_begin_space="0"
|
||||
td_begin_space="10"
|
||||
li_begin_space="4"
|
||||
ul_begin_space="12"
|
||||
li_indent="-10"
|
||||
|
@ -990,43 +1007,6 @@
|
|||
<ctrl style="skin_scroll"
|
||||
id="scroll_bar" />
|
||||
</group>
|
||||
<group id="sbtree"
|
||||
posref="TL TL"
|
||||
x="0"
|
||||
y="-12"
|
||||
sizeref="h"
|
||||
w="180"
|
||||
h="-12">
|
||||
<group id="black"
|
||||
posref="BR BR"
|
||||
sizeref="hw"
|
||||
w="-12"
|
||||
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="16"
|
||||
y="-4"
|
||||
col_over="255 255 255 48"
|
||||
col_select="255 255 255 80"
|
||||
fontsize="10"
|
||||
max_sizeparent="parent"
|
||||
max_sizeref="wh"
|
||||
max_w="-20"
|
||||
max_h="-10">
|
||||
<node name="uiCSBase"
|
||||
handler="launch_help"
|
||||
params="help_container=ui:interface:cs_browser|url=%cs_url" />
|
||||
</group>
|
||||
<ctrl style="skin_scroll"
|
||||
id="scroll_bar"
|
||||
align="T"
|
||||
target="tree_list" />
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<!--******************-->
|
||||
|
@ -2829,7 +2809,7 @@
|
|||
global_color_normal="true"
|
||||
global_color_over="true"
|
||||
global_color_pushed="true"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
fontsize="10"
|
||||
shadow="true"
|
||||
case_mode="%case_upper"
|
||||
|
@ -2888,21 +2868,21 @@
|
|||
x="4"
|
||||
y="0"
|
||||
posref="TL TL"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
onclick_l="proc"
|
||||
params_l="proc_stat_report_yes"
|
||||
hardtext="uiYes" />
|
||||
<ctrl style="button_cancel"
|
||||
x="4"
|
||||
posparent="ok"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
posref="TR TL"
|
||||
onclick_l="leave_modal"
|
||||
hardtext="uiNo" />
|
||||
<ctrl style="button_always"
|
||||
x="4"
|
||||
posparent="cancel"
|
||||
text_y="0"
|
||||
text_y="-2"
|
||||
posref="TR TL"
|
||||
onclick_l="proc"
|
||||
params_l="proc_stat_report_always"
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
<tree node="keys_edit"/>
|
||||
<tree node="keys_windows"/>
|
||||
<tree node="keys_miscellaneous"/>
|
||||
<tree node="keys_debug"
|
||||
<tree node="keys_debug"/>
|
||||
</tree>
|
||||
<!-- done with template teditcmd now <tree node="editkey" />-->
|
||||
|
||||
|
|
|
@ -1467,7 +1467,7 @@
|
|||
<group type="webig_html"
|
||||
id="html"
|
||||
posref="TL TL"
|
||||
url="http://app.ryzom.com/app_rpjobs/index.php"
|
||||
url="http://app.khaganat.net"
|
||||
title_prefix=""
|
||||
sizeref="wh"
|
||||
x="0"
|
||||
|
@ -1502,7 +1502,7 @@
|
|||
checkbox_bitmap_pushed="w_opacity_on.tga"
|
||||
checkbox_bitmap_over=""
|
||||
background_bitmap_view="black2"
|
||||
home="http://app.ryzom.com/app_rpjobs/index.php"
|
||||
home="http://app.khaganat.net"
|
||||
browse_next_time="true"
|
||||
form_text_area_group="edit_box_widget_multiline">
|
||||
<group id="black"
|
||||
|
@ -1602,7 +1602,7 @@
|
|||
id="html"
|
||||
posref="TL TL"
|
||||
posparent="parent"
|
||||
url="http://app.ryzom.com/app_profile/index.php"
|
||||
url="http://app.khaganat.net"
|
||||
title_prefix=""
|
||||
sizeref="wh"
|
||||
x="0"
|
||||
|
@ -1637,7 +1637,7 @@
|
|||
checkbox_bitmap_pushed="w_opacity_on.tga"
|
||||
checkbox_bitmap_over=""
|
||||
background_bitmap_view="black2"
|
||||
home="http://app.ryzom.com/app_profile/index.php"
|
||||
home="http://app.khaganat.net"
|
||||
browse_next_time="true"
|
||||
form_text_area_group="edit_box_widget_multiline">
|
||||
<group id="black"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -63,7 +63,7 @@
|
|||
</template>
|
||||
|
||||
|
||||
<template name="edit_box_log" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" multi_line="false" x="0" y="0" w="0" h="0"
|
||||
<template name="edit_box_log" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" multi_line="false" x="0" y="0" w="0" h="0"
|
||||
id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" on_focus="" on_focus_params=""
|
||||
enter_loose_focus="true" prompt=">"
|
||||
enter_recover_focus="true"
|
||||
|
@ -100,7 +100,7 @@
|
|||
</template>
|
||||
|
||||
|
||||
<template name="edit_box_widget_multiline" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0"
|
||||
<template name="edit_box_widget_multiline" posref="TL TL" text_x="0" text_y="-1" 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=">"
|
||||
enter_recover_focus="true"
|
||||
|
@ -111,20 +111,17 @@
|
|||
entry_type="text"
|
||||
keep="true"
|
||||
max_historic="40"
|
||||
fontsize="10"
|
||||
fontweight=""
|
||||
fontstyle=""
|
||||
fontsize="10"
|
||||
backup_father_container_pos="false"
|
||||
want_return="false"
|
||||
color="255 255 255 255"
|
||||
sizeref_eb="w"
|
||||
render_layer="0"
|
||||
multi_min_line="0"
|
||||
>
|
||||
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer">
|
||||
<group type="edit_box" sizeref="#sizeref_eb" w="-16" id="eb" posref="TL TL" x="8" y="-8" child_resize_h="#child_resize_h" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer">
|
||||
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="log_eb_m.tga" inherit_gc_alpha="false" render_layer="#render_layer"/>
|
||||
<view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" multi_min_line="#multi_min_line" fontsize="#fontsize" color="#color" fontweight="#fontweight" fontstyle="#fontstyle" shadow="true" hardtext="" global_color="false" render_layer="#render_layer"/>
|
||||
<view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" fontsize="#fontsize" color="#color" shadow="true" hardtext="" global_color="false" render_layer="#render_layer"/>
|
||||
</group>
|
||||
|
||||
<!-- border around the list -->
|
||||
|
@ -141,7 +138,7 @@
|
|||
|
||||
|
||||
<!-- Alternate look for multi line input -->
|
||||
<template name="edit_box_widget_multiline_2" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0"
|
||||
<template name="edit_box_widget_multiline_2" posref="TL TL" text_x="0" text_y="-1" 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=">"
|
||||
enter_recover_focus="true"
|
||||
|
@ -182,7 +179,7 @@
|
|||
<style style="log_button" type="text_button" button_type="push_button"
|
||||
tx_normal="log_but" tx_pushed="log_but_over" tx_over="log_but_over" wmargin="48"
|
||||
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
|
||||
text_y="0" fontsize="10" shadow="true"
|
||||
text_y="-3" fontsize="10" shadow="true"
|
||||
text_color_normal="255 255 255 160"
|
||||
text_color_pushed="255 255 255 255"
|
||||
text_color_over="255 255 255 255"
|
||||
|
@ -195,10 +192,10 @@
|
|||
<style style="log_std_but" type="text_button" button_type="push_button"
|
||||
tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16"
|
||||
color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
|
||||
text_y="-1" fontsize="10" shadow="true"
|
||||
text_color_normal="135 243 28 160"
|
||||
text_color_pushed="135 243 28 255"
|
||||
text_color_over="135 243 28 255"
|
||||
text_y="-3" fontsize="10" shadow="true"
|
||||
text_color_normal="255 254 243 160"
|
||||
text_color_pushed="255 254 243 255"
|
||||
text_color_over="255 254 243 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"
|
||||
|
@ -208,9 +205,9 @@
|
|||
tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16" wmin="552"
|
||||
color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
|
||||
text_y="-3" fontsize="10" shadow="true"
|
||||
text_color_normal="135 243 28 160"
|
||||
text_color_pushed="135 243 28 255"
|
||||
text_color_over="135 243 28 255"
|
||||
text_color_normal="255 254 243 160"
|
||||
text_color_pushed="255 254 243 255"
|
||||
text_color_over="255 254 243 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"
|
||||
|
@ -221,9 +218,9 @@
|
|||
tx_normal="serv_note" tx_pushed="serv_note" tx_over="serv_note_over" wmargin="16"
|
||||
color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
|
||||
text_y="-3" fontsize="10" shadow="true"
|
||||
text_color_normal="135 243 28 160"
|
||||
text_color_pushed="135 243 28 255"
|
||||
text_color_over="135 243 28 255"
|
||||
text_color_normal="255 254 243 160"
|
||||
text_color_pushed="255 254 243 255"
|
||||
text_color_over="255 254 243 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"
|
||||
|
@ -232,7 +229,7 @@
|
|||
<style style="text_button_16" type="text_button" button_type="push_button"
|
||||
tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
|
||||
global_color_normal="true" global_color_over="true" global_color_pushed="true"
|
||||
text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
|
||||
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" />
|
||||
|
||||
|
||||
|
@ -244,7 +241,7 @@
|
|||
<instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" />
|
||||
|
||||
<view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12"
|
||||
color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
|
||||
color="255 254 243 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
|
||||
|
||||
<ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TM" y="-6" onclick_l="leave_modal" hardtext="uittOK"/>
|
||||
|
||||
|
@ -279,7 +276,7 @@
|
|||
<instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" />
|
||||
|
||||
<view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12"
|
||||
color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
|
||||
color="255 254 243 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
|
||||
|
||||
<ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TL" x="2" y="-6" onclick_l="proc" params_l="proc_message_box_with_help_ok" hardtext="uittOK"/>
|
||||
<ctrl style="log_std_but" id="but_help" posparent="text" posref="BM TR" x="-2" y="-6" onclick_l="proc" params_l="proc_browse_faq" hardtext="uittBrowseFaq"/>
|
||||
|
@ -385,7 +382,7 @@
|
|||
<!-- * EDIT BOX WIDGET * -->
|
||||
<!-- ********************* -->
|
||||
|
||||
<template name="edit_box_widget" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
|
||||
<template name="edit_box_widget" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
|
||||
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
|
||||
enter_loose_focus="true" prompt=">"
|
||||
enter_recover_focus="true"
|
||||
|
@ -423,7 +420,7 @@
|
|||
</template>
|
||||
|
||||
<!-- alternate look for edit box -->
|
||||
<template name="edit_box_widget_2" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
|
||||
<template name="edit_box_widget_2" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
|
||||
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
|
||||
enter_loose_focus="true" prompt=">"
|
||||
enter_recover_focus="true"
|
||||
|
@ -598,8 +595,8 @@
|
|||
<template name="button_ok_cancel" id="ok_cancel" ok_text="uittOK" cancel_text="uittCancel" posparent="parent" posref="BM TM"
|
||||
onclick_ok="" onclick_ok_param="" onclick_cancel="" onclick_cancel_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 style="button_ok" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick_ok" params_l="#onclick_ok_param" hardtext="#ok_text" />
|
||||
<ctrl style="button_cancel" x="4" posparent="ok" text_y="0" posref ="TR TL" onclick_l="#onclick_cancel" params_l="#onclick_cancel_param" hardtext="#cancel_text" />
|
||||
<ctrl style="button_ok" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick_ok" params_l="#onclick_ok_param" hardtext="#ok_text" />
|
||||
<ctrl style="button_cancel" x="4" posparent="ok" text_y="-2" posref ="TR TL" onclick_l="#onclick_cancel" params_l="#onclick_cancel_param" hardtext="#cancel_text" />
|
||||
</group>
|
||||
</template>
|
||||
|
||||
|
@ -614,7 +611,7 @@
|
|||
<template name="html_text_button" id="" text="" posparent="parent" posref="TL TL"
|
||||
onclick="" onclick_param="" x="0" y="0" keep="true" active="true" wmin="0">
|
||||
<group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y" active="#active">
|
||||
<ctrl style="log_spe_but" id="button" wmin="#wmin" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
|
||||
<ctrl style="log_spe_but" id="button" wmin="#wmin" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
|
||||
</group>
|
||||
</template>
|
||||
|
||||
|
@ -623,7 +620,7 @@
|
|||
<template name="html_text_button_look2" id="" text="" posparent="parent" posref="TL TL"
|
||||
onclick="" onclick_param="" x="0" y="0" keep="true" >
|
||||
<group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
|
||||
<ctrl style="log_button" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
|
||||
<ctrl style="log_button" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
|
||||
</group>
|
||||
</template>
|
||||
|
||||
|
@ -632,7 +629,7 @@
|
|||
<template name="html_text_button_look3" id="" text="" posparent="parent" posref="TL TL"
|
||||
onclick="" onclick_param="" x="0" y="0" keep="true" >
|
||||
<group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
|
||||
<ctrl style="server_note" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
|
||||
<ctrl style="server_note" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
|
||||
</group>
|
||||
</template>
|
||||
|
||||
|
@ -829,7 +826,7 @@
|
|||
>
|
||||
<view type="bitmap" posref="MM MM" id="log" texture="new_launcher_bg.tga" global_color="false" render_layer="-1" />
|
||||
|
||||
<view type="text" id="text" posref="MM MM" line_maxw="412" w="412" x="0" y="0" color="135 243 28 255" fontsize="18" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
|
||||
<view type="text" id="text" posref="MM MM" line_maxw="412" w="412" x="0" y="0" color="255 254 243 255" fontsize="18" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
|
||||
|
||||
|
||||
<ctrl type="button" button_type="push_button" id="but_cancel" posref="BR BR" x="-304" y="157"
|
||||
|
@ -958,46 +955,6 @@
|
|||
highlight_over="255 255 255 128"
|
||||
force_inside_screen="true"
|
||||
/>
|
||||
<!-- 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>
|
||||
|
||||
</interface_config>
|
||||
|
|
|
@ -403,12 +403,12 @@
|
|||
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 id="cmds" type="list" posref="BR TR" posparent="sep" x="0" y="-22" over="true" >
|
||||
<!--
|
||||
<instance template="macro_command" id="cmd1" posref="TL TL" />
|
||||
<instance template="macro_command" id="cmd2" posparent="cmd1" posref="BL 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"
|
||||
|
@ -659,4 +659,4 @@
|
|||
<tree node="keys_r2ed"/>
|
||||
</tree>
|
||||
|
||||
</interface_config>
|
||||
</interface_config>
|
|
@ -3,256 +3,69 @@
|
|||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
-- create the game namespace without reseting if already created in an other file.
|
||||
if (outgame == nil) then
|
||||
outgame = {}
|
||||
if (outgame==nil) then
|
||||
outgame= {};
|
||||
end
|
||||
|
||||
|
||||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
-- Name generator.
|
||||
|
||||
--nb noms:
|
||||
-- matis: male 621 - female 621 - FirstName 621
|
||||
-- fyros: given name 14269, FirstName 841
|
||||
-- zorai: given name one 318, given name two 644, FirstName 1287
|
||||
-- tryker: given name 4500, FirstName 4335
|
||||
|
||||
-- Fyros
|
||||
function outgame:getFyrosFirstName()
|
||||
local nbFyrosFirstNames = #fyrosFirstNames
|
||||
|
||||
return fyrosFirstNames[math.random(nbFyrosFirstNames)]
|
||||
end
|
||||
|
||||
function outgame:getFyrosLastName()
|
||||
local nbFyrosLastNames = #fyrosLastNames
|
||||
|
||||
return fyrosLastNames[math.random(nbFyrosLastNames)]
|
||||
end
|
||||
|
||||
-- Matis
|
||||
function outgame:getMatisFirstName(sex)
|
||||
-- 1 = male, 2 = female
|
||||
local dbNameSex = getDbProp("UI:TEMP:NAME_SEX")
|
||||
|
||||
if sex ~= nil then
|
||||
dbNameSex = sex
|
||||
end
|
||||
|
||||
local FirstName = ""
|
||||
if tonumber(dbNameSex) == 1 then
|
||||
local nbMatisMaleFirstNames = #matisMaleFirstNames
|
||||
FirstName = matisMaleFirstNames[math.random(nbMatisMaleFirstNames)]
|
||||
else
|
||||
local nbMatisFemaleFirstNames = #matisFemaleFirstNames
|
||||
FirstName = matisFemaleFirstNames[math.random(nbMatisFemaleFirstNames)]
|
||||
end
|
||||
|
||||
return FirstName
|
||||
end
|
||||
|
||||
function outgame:getMatisLastName()
|
||||
local nbMatisLastNames = #matisLastNames
|
||||
|
||||
return matisLastNames[math.random(nbMatisLastNames)]
|
||||
end
|
||||
|
||||
-- Tryker
|
||||
function outgame:getTrykerFirstName()
|
||||
local nbTrykerFirstNames = #trykerFirstNames
|
||||
|
||||
return trykerFirstNames[math.random(nbTrykerFirstNames)]
|
||||
end
|
||||
|
||||
function outgame:getTrykerLastName()
|
||||
local nbTrykerLastNames = #trykerLastNames
|
||||
|
||||
return trykerLastNames[math.random(nbTrykerLastNames)]
|
||||
end
|
||||
|
||||
-- Zoraï
|
||||
function outgame:getZoraiFirstName()
|
||||
local nbFirstNamesOne = #zoraiFirstNamesOne
|
||||
local FirstNameOne = zoraiFirstNamesOne[math.random(nbFirstNamesOne)]
|
||||
|
||||
local nbFirstNamesTwo = #zoraiFirstNamesTwo
|
||||
local FirstNameTwo = zoraiFirstNamesTwo[math.random(nbFirstNamesTwo)]
|
||||
|
||||
return FirstNameOne .. "-" .. FirstNameTwo
|
||||
end
|
||||
|
||||
function outgame:getZoraiLastName()
|
||||
local nbLastNames = #zoraiLastNames
|
||||
|
||||
return zoraiLastNames[math.random(nbLastNames)]
|
||||
end
|
||||
|
||||
function outgame:procGenerateName()
|
||||
local uiNameFull = getUI("ui:outgame:appear_name:name_full")
|
||||
local uiGenText = getUI("ui:outgame:appear_name:eb")
|
||||
local dbNameRace = getDbProp("UI:TEMP:NAME_RACE")
|
||||
local dbNameSubRaceFirstName = getDbProp("UI:TEMP:NAME_SUB_RACE_FIRST_NAME")
|
||||
local dbNameSubRaceLastName = getDbProp("UI:TEMP:NAME_SUB_RACE_LAST_NAME")
|
||||
local uiNameFull = getUI("ui:outgame:appear_name:name_full");
|
||||
local uiNameDef = getUI("ui:outgame:appear_name:name_def");
|
||||
local uiGenText = getUI("ui:outgame:appear_name:eb");
|
||||
local dbNameSyllabe = getDbProp("UI:TEMP:NAME_SYLLABE");
|
||||
local dbNameRace = getDbProp("UI:TEMP:NAME_RACE");
|
||||
local dbNameSyllabeMax = getDbProp("UI:TEMP:NAME_SYLLABE_MAX");
|
||||
|
||||
local nameResult = ""
|
||||
local fullnameResult = ""
|
||||
|
||||
-- Look at outgame:procUpdateNameRaceLabel() for the "race" list.
|
||||
-- fy ma try zo -->
|
||||
local firstName = "test2"
|
||||
local lastName = "test"
|
||||
|
||||
-- Fyros and Matis are using "first name, last name" order
|
||||
-- Trykers and Zoraïs are using "last name, first name" order
|
||||
if tonumber(dbNameRace) == 1 then
|
||||
-- Fyros
|
||||
firstName = self:getFyrosFirstName()
|
||||
lastName = self:getFyrosLastName()
|
||||
fullnameResult = firstName .. " " .. lastName
|
||||
elseif tonumber(dbNameRace) == 2 then
|
||||
-- Matis
|
||||
firstName = self:getMatisFirstName()
|
||||
lastName = self:getMatisLastName()
|
||||
fullnameResult = firstName .. " " .. lastName
|
||||
elseif tonumber(dbNameRace) == 3 then
|
||||
-- Tryker
|
||||
firstName = self:getTrykerFirstName()
|
||||
lastName = self:getTrykerLastName()
|
||||
fullnameResult = lastName .. " " .. firstName
|
||||
elseif tonumber(dbNameRace) == 4 then
|
||||
-- Zorai
|
||||
firstName = self:getZoraiFirstName()
|
||||
lastName = self:getZoraiLastName()
|
||||
fullnameResult = lastName .. " " .. firstName
|
||||
elseif tonumber(dbNameRace) == 5 then
|
||||
-- Maraudeurs
|
||||
|
||||
-- firstName
|
||||
if tonumber(dbNameSubRaceFirstName) == 1 then
|
||||
-- Fyros
|
||||
firstName = self:getFyrosFirstName()
|
||||
elseif tonumber(dbNameSubRaceFirstName) == 2 then
|
||||
-- Matis M
|
||||
firstName = self:getMatisFirstName(1)
|
||||
elseif tonumber(dbNameSubRaceFirstName) == 3 then
|
||||
-- Matis F
|
||||
firstName = self:getMatisFirstName(2)
|
||||
elseif tonumber(dbNameSubRaceFirstName) == 4 then
|
||||
-- Tryker
|
||||
firstName = self:getTrykerFirstName()
|
||||
elseif tonumber(dbNameSubRaceFirstName) == 5 then
|
||||
-- Zorai
|
||||
firstName = self:getZoraiFirstName()
|
||||
end
|
||||
|
||||
-- lastName
|
||||
if tonumber(dbNameSubRaceLastName) == 1 then
|
||||
-- Fyros
|
||||
lastName = self:getFyrosLastName()
|
||||
elseif tonumber(dbNameSubRaceLastName) == 2 then
|
||||
-- Matis
|
||||
lastName = self:getMatisLastName()
|
||||
elseif tonumber(dbNameSubRaceLastName) == 3 then
|
||||
-- Tryker
|
||||
lastName = self:getTrykerLastName()
|
||||
elseif tonumber(dbNameSubRaceLastName) == 4 then
|
||||
-- Zorai
|
||||
lastName = self:getZoraiLastName()
|
||||
end
|
||||
|
||||
fullnameResult = firstName .. " " .. lastName
|
||||
end
|
||||
|
||||
-- always use first name for character name
|
||||
nameResult = firstName
|
||||
|
||||
uiNameFull.hardtext = fullnameResult
|
||||
|
||||
nameResult = string.gsub(nameResult, "'", "")
|
||||
nameResult = string.gsub(nameResult, " ", "")
|
||||
nameResult = string.gsub(nameResult, "-", "")
|
||||
nameResult = string.lower(nameResult)
|
||||
nameResult = nameResult:gsub("^%l", string.upper)
|
||||
uiGenText.input_string = nameResult
|
||||
local nameResult = "";
|
||||
local fullnameResult = "";
|
||||
local defResult = "";
|
||||
|
||||
local nbRafsi = 0;
|
||||
for _ in pairs(rafsi) do nbRafsi = nbRafsi + 1 end
|
||||
|
||||
|
||||
index = math.random(nbRafsi);
|
||||
nameResult = rafsi[index];
|
||||
fullnameResult = gismu[index];
|
||||
defResult = def[index];
|
||||
|
||||
imax = tonumber(dbNameSyllabe);
|
||||
for i=2,imax,1 do
|
||||
index = math.random(nbRafsi);
|
||||
nameResult = nameResult .. rafsi[index];
|
||||
fullnameResult = fullnameResult .. " " .. gismu[index];
|
||||
defResult = defResult .. " | " .. def[index];
|
||||
end
|
||||
|
||||
uiNameFull.hardtext = fullnameResult;
|
||||
uiNameDef.hardtext = defResult;
|
||||
|
||||
nameResult = string.gsub(nameResult, "'", "");
|
||||
nameResult = string.gsub(nameResult, " ", "");
|
||||
nameResult = string.gsub(nameResult, "-", "");
|
||||
nameResult = string.lower( nameResult );
|
||||
nameResult = nameResult:gsub("^%l", string.upper);
|
||||
uiGenText.input_string = nameResult;
|
||||
|
||||
end
|
||||
|
||||
-- Name sex slider update.
|
||||
function outgame:procUpdateNameSexLabel()
|
||||
local nameSexType = { "uiCP_Sex_Male", "uiCP_Sex_Female" }
|
||||
local uiNameSexText = getUI("ui:outgame:appear_name:name_sex_slider:name_sex")
|
||||
local uiNameSex = getDbProp("UI:TEMP:NAME_SEX")
|
||||
|
||||
tempstr = tostring(i18n.get(nameSexType[tonumber(uiNameSex)]))
|
||||
tempstr = string.lower(tempstr)
|
||||
tempstr = (tempstr:gsub("^%l", string.upper))
|
||||
|
||||
uiNameSexText.hardtext = tempstr
|
||||
end
|
||||
|
||||
-- Name race slider update.
|
||||
function outgame:procUpdateNameRaceLabel()
|
||||
local nameRaceType = { "Fyros", "Matis", "Tryker", "Zoraï", "uiCP_Maraudeur" }
|
||||
|
||||
local uiNameRaceText = getUI("ui:outgame:appear_name:name_race_slider:name_race")
|
||||
local dbNameRace = getDbProp("UI:TEMP:NAME_RACE")
|
||||
|
||||
local uiNameSexSlider = getUI("ui:outgame:appear_name:name_sex_slider")
|
||||
|
||||
local uiNameSubRaceFirstNameSlider = getUI("ui:outgame:appear_name:name_sub_race_first_name_slider")
|
||||
local uiNameSubRaceLastNameSlider = getUI("ui:outgame:appear_name:name_sub_race_last_name_slider")
|
||||
|
||||
local uiNameGenerate = getUI("ui:outgame:appear_name:generate")
|
||||
-- Show/Hide sex slider
|
||||
|
||||
uiNameGenerate.y = "-50"
|
||||
if tonumber(dbNameRace) == 2 then
|
||||
uiNameSexSlider.active = true
|
||||
uiNameGenerate.y = "-65"
|
||||
else
|
||||
uiNameSexSlider.active = false
|
||||
end
|
||||
|
||||
-- Show/Hide sub race slider
|
||||
if tonumber(dbNameRace) == 5 then
|
||||
uiNameSubRaceFirstNameSlider.active = true
|
||||
uiNameSubRaceLastNameSlider.active = true
|
||||
uiNameGenerate.y = "-105"
|
||||
else
|
||||
uiNameSubRaceFirstNameSlider.active = false
|
||||
uiNameSubRaceLastNameSlider.active = false
|
||||
end
|
||||
|
||||
uiNameRaceText.hardtext = tostring(nameRaceType[tonumber(dbNameRace)])
|
||||
end
|
||||
|
||||
|
||||
local matisF = "Matis " .. (string.lower(tostring(i18n.get("uiCP_Sex_Female")) )):gsub("^%l", string.upper)
|
||||
local matisM = "Matis " .. (string.lower(tostring(i18n.get("uiCP_Sex_Male")) )):gsub("^%l", string.upper)
|
||||
|
||||
function outgame:procUpdateNameSubRaceFirstNameLabel()
|
||||
local nameSubRaceFirstNameType = { "Fyros", matisM, matisF, "Tryker", "Zoraï" }
|
||||
local uiNameSubRaceFirstNameText = getUI("ui:outgame:appear_name:name_sub_race_first_name_slider:name_race")
|
||||
local dbNameSubRaceFirstName = getDbProp("UI:TEMP:NAME_SUB_RACE_FIRST_NAME")
|
||||
|
||||
uiNameSubRaceFirstNameText.hardtext= tostring(nameSubRaceFirstNameType[tonumber(dbNameSubRaceFirstName)])
|
||||
end
|
||||
|
||||
function outgame:procUpdateNameSubRaceLastNameLabel()
|
||||
local nameSubRaceLastNameType = { "Fyros", "Matis", "Tryker", "Zoraï" }
|
||||
local uiNameSubRaceLastNameText = getUI("ui:outgame:appear_name:name_sub_race_last_name_slider:name_race")
|
||||
local dbNameSubRaceLastName = getDbProp("UI:TEMP:NAME_SUB_RACE_LAST_NAME")
|
||||
|
||||
uiNameSubRaceLastNameText.hardtext= tostring(nameSubRaceLastNameType[tonumber(dbNameSubRaceLastName)])
|
||||
-- Name syllabe slider update.
|
||||
function outgame:procUpdateNameSyllabeLabel()
|
||||
local uiNameSyllabeText_nb = getUI("ui:outgame:appear_name:name_syllabe_slider:name_syllabe_nb");
|
||||
local uiNameSyllabe = getDbProp("UI:TEMP:NAME_SYLLABE");
|
||||
uiNameSyllabeText_nb.hardtext = uiNameSyllabe;
|
||||
-- uiNameSyllabeText.hardtext = uiNameSyllabe .. " " .. i18n.get("uiCP_Syllabe");
|
||||
end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
-- called to construct icons
|
||||
function outgame:activePackElement(id, icon)
|
||||
local uiDesc = getUI("ui:outgame:appear:job_options:options:desc")
|
||||
uiDesc['ico' .. tostring(id)].active = true
|
||||
uiDesc['ico' .. tostring(id)].texture = icon
|
||||
uiDesc['ico' .. tostring(id) .. 'txt'].active = true
|
||||
local uiDesc = getUI("ui:outgame:appear:job_options:options:desc");
|
||||
uiDesc['ico' .. tostring(id)].active= true;
|
||||
uiDesc['ico' .. tostring(id)].texture= icon;
|
||||
uiDesc['ico' .. tostring(id) .. 'txt'].active= true;
|
||||
end
|
||||
|
||||
|
||||
|
@ -260,13 +73,13 @@ end
|
|||
-- called to construct pack text
|
||||
function outgame:setPackJobText(id, spec)
|
||||
-- Set Pack content
|
||||
local uiPackText = getUI("ui:outgame:appear:job_options:options:desc:pack_" .. id)
|
||||
uiPackText.hardtext= "uiCP_Job_" .. id .. tostring(spec)
|
||||
local uiPackText = getUI("ui:outgame:appear:job_options:options:desc:pack_" .. id);
|
||||
uiPackText.hardtext= "uiCP_Job_" .. id .. tostring(spec);
|
||||
|
||||
-- Set specialization text
|
||||
local uiResText = getUI("ui:outgame:appear:job_options:options:result:res")
|
||||
local uiResText = getUI("ui:outgame:appear:job_options:options:result:res");
|
||||
if(spec==2) then
|
||||
uiResText.hardtext= "uiCP_Res_" .. id
|
||||
uiResText.hardtext= "uiCP_Res_" .. id;
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -274,65 +87,65 @@ end
|
|||
-- called to construct pack
|
||||
function outgame:buildActionPack()
|
||||
|
||||
local uiDesc = getUI("ui:outgame:appear:job_options:options:desc")
|
||||
local uiDesc = getUI("ui:outgame:appear:job_options:options:desc");
|
||||
if (uiDesc==nil) then
|
||||
return
|
||||
return;
|
||||
end
|
||||
|
||||
-- Reset All
|
||||
for i = 1,20 do
|
||||
uiDesc['ico' .. tostring(i)].active = false
|
||||
uiDesc['ico' .. tostring(i) .. 'txt'].active = false
|
||||
uiDesc['ico' .. tostring(i)].active= false;
|
||||
uiDesc['ico' .. tostring(i) .. 'txt'].active= false;
|
||||
end
|
||||
|
||||
-- Build Default Combat
|
||||
self:activePackElement(1, 'f1.tga') -- Dagger
|
||||
self:activePackElement(2, 'f2.tga') -- Accurate Attack
|
||||
|
||||
self:activePackElement(1, 'f1.tga'); -- Dagger
|
||||
self:activePackElement(2, 'f2.tga'); -- Accurate Attack
|
||||
|
||||
-- Build Default Magic
|
||||
self:activePackElement(6, 'm2.tga') -- Gloves
|
||||
self:activePackElement(7, 'm1.tga') -- Acid
|
||||
|
||||
self:activePackElement(6, 'm2.tga'); -- Gloves
|
||||
self:activePackElement(7, 'm1.tga'); -- Acid
|
||||
|
||||
-- Build Default Forage
|
||||
self:activePackElement(11, 'g1.tga') -- Forage Tool
|
||||
self:activePackElement(12, 'g2.tga') -- Basic Extract
|
||||
|
||||
self:activePackElement(11, 'g1.tga'); -- Forage Tool
|
||||
self:activePackElement(12, 'g2.tga'); -- Basic Extract
|
||||
|
||||
-- Build Default Craft
|
||||
self:activePackElement(16, 'c2.tga') -- Craft Tool
|
||||
self:activePackElement(17, 'c1.tga') -- 50 raw mat
|
||||
self:activePackElement(18, 'c3.tga') -- Craft Root
|
||||
self:activePackElement(19, 'c4.tga') -- Boots Plan
|
||||
self:activePackElement(16, 'c2.tga'); -- Craft Tool
|
||||
self:activePackElement(17, 'c1.tga'); -- 50 raw mat
|
||||
self:activePackElement(18, 'c3.tga'); -- Craft Root
|
||||
self:activePackElement(19, 'c4.tga'); -- Boots Plan
|
||||
|
||||
-- Build Option
|
||||
if (getDbProp('UI:TEMP:JOB_FIGHT') == 2) then
|
||||
self:activePackElement(3, 'f3.tga') -- Increase damage
|
||||
self:activePackElement(3, 'f3.tga'); -- Increase damage
|
||||
elseif (getDbProp('UI:TEMP:JOB_MAGIC') == 2) then
|
||||
self:activePackElement(8, 'm5.tga') -- Fear
|
||||
self:activePackElement(8, 'm5.tga'); -- Fear
|
||||
elseif (getDbProp('UI:TEMP:JOB_FORAGE') == 2) then
|
||||
self:activePackElement(13, 'g3.tga') -- Basic Prospection
|
||||
self:activePackElement(13, 'g3.tga'); -- Basic Prospection
|
||||
elseif (getDbProp('UI:TEMP:JOB_CRAFT') == 2) then
|
||||
self:activePackElement(20, 'c6.tga') -- Gloves Plan
|
||||
self:activePackElement(17, 'c5.tga') -- Replace 17, with 100x RawMat
|
||||
self:activePackElement(20, 'c6.tga'); -- Gloves Plan
|
||||
self:activePackElement(17, 'c5.tga'); -- Replace 17, with 100x RawMat
|
||||
end
|
||||
|
||||
|
||||
-- Reset Text
|
||||
self:setPackJobText('F', 1)
|
||||
self:setPackJobText('M', 1)
|
||||
self:setPackJobText('G', 1)
|
||||
self:setPackJobText('C', 1)
|
||||
|
||||
-- Set correct text for specalized version
|
||||
self:setPackJobText('F', 1);
|
||||
self:setPackJobText('M', 1);
|
||||
self:setPackJobText('G', 1);
|
||||
self:setPackJobText('C', 1);
|
||||
|
||||
-- Set correct text for specalized version
|
||||
if (getDbProp('UI:TEMP:JOB_FIGHT') == 2) then
|
||||
self:setPackJobText('F', 2)
|
||||
self:setPackJobText('F', 2);
|
||||
elseif (getDbProp('UI:TEMP:JOB_MAGIC') == 2) then
|
||||
self:setPackJobText('M', 2)
|
||||
self:setPackJobText('M', 2);
|
||||
elseif (getDbProp('UI:TEMP:JOB_FORAGE') == 2) then
|
||||
self:setPackJobText('G', 2)
|
||||
self:setPackJobText('G', 2);
|
||||
elseif (getDbProp('UI:TEMP:JOB_CRAFT') == 2) then
|
||||
self:setPackJobText('C', 2)
|
||||
self:setPackJobText('C', 2);
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
@ -373,8 +186,8 @@ end
|
|||
--function outgame:setPatchProgress(progress)
|
||||
-- --debugInfo("*** 3 ***")
|
||||
-- local progressPercentText = string.format("%d%%", 100 * progress)
|
||||
-- local progressPostfix = math.fmod(os.time(), 3)
|
||||
-- --debugInfo("Patch in progress : " .. tostring(progress))
|
||||
-- local progressPostfix = math.fmod(os.time(), 3)
|
||||
-- --debugInfo("Patch in progress : " .. tostring(progress))
|
||||
-- local progressDate = nltime.getLocalTime() / 500
|
||||
-- local colValue = math.floor(230 + 24 * math.sin(progressDate))
|
||||
-- local color = string.format("%d %d %d %d", colValue, colValue, colValue, 255)
|
||||
|
@ -390,7 +203,7 @@ end
|
|||
--
|
||||
--function outgame:setPatchError()
|
||||
-- --debugInfo("*** 5 ***")
|
||||
-- --debugInfo("Patch error")
|
||||
-- --debugInfo("Patch error")
|
||||
-- self:setProgressText(i18n.get("uiBGD_PatchError"), "255 0 0 255", 0)
|
||||
--end
|
||||
--
|
||||
|
@ -406,9 +219,9 @@ end
|
|||
function outgame:launchGame()
|
||||
if not isPlayerSlotNewbieLand(getPlayerSelectedSlot()) then
|
||||
if not isFullyPatched() then
|
||||
messageBoxWithHelp(i18n.get("uiBGD_MainlandCharFullPatchNeeded"), "ui:outgame")
|
||||
messageBoxWithHelp(i18n.get("uiBGD_MainlandCharFullPatchNeeded"), "ui:outgame")
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
runAH(getUICaller(), "proc", "proc_charsel_play")
|
||||
end
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,84 +1,84 @@
|
|||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
|
||||
|
||||
<proc id="proc_con_test">
|
||||
<action handler="anim_start" params="anim=anim_connection_outro"
|
||||
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_con_test2">
|
||||
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
<proc id="proc_con_quit" >
|
||||
<action handler="play_sound" params="name=charsel_quit_click" />
|
||||
<action handler="quit_ryzom" />
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
|
||||
<proc id="proc_startall_connect" >
|
||||
<action handler="anim_start" params="anim=anim_connection_intro" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_connect" >
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_viseur" >
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" >
|
||||
|
||||
<!-- JENA BACK -->
|
||||
<view type="bitmap" id="jena" render_layer="-1"
|
||||
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
|
||||
|
||||
|
||||
<!-- Quit Button -->
|
||||
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit"/>
|
||||
|
||||
<view type="text" id="title" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20"/>
|
||||
|
||||
|
||||
<!-- BLACK SCREEN FADE -->
|
||||
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
|
||||
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
|
||||
|
||||
|
||||
|
||||
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
|
||||
|
||||
<!-- When we got the answer from server go to screen_intro -->
|
||||
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
|
||||
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
<anim id="anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
|
||||
<track type="linear" target="connecting:black_screen:alpha" >
|
||||
<key time="0.0" value="255" />
|
||||
<key time="1.0" value="0" />
|
||||
</track>
|
||||
</anim>
|
||||
|
||||
<anim id="anim_connection_outro" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_con_test2" >
|
||||
<track type="linear" target="connecting:black_screen:alpha" >
|
||||
<key time="0.0" value="0" />
|
||||
<key time="1.0" value="255" />
|
||||
</track>
|
||||
</anim>
|
||||
|
||||
|
||||
</interface_config>
|
||||
|
||||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
|
||||
|
||||
<proc id="proc_con_test">
|
||||
<action handler="anim_start" params="anim=anim_connection_outro"
|
||||
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_con_test2">
|
||||
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_select" />
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
<proc id="proc_con_quit" >
|
||||
<action handler="play_sound" params="name=charsel_quit_click" />
|
||||
<action handler="quit_ryzom" />
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
|
||||
<proc id="proc_startall_connect" >
|
||||
<action handler="anim_start" params="anim=anim_connection_intro" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_connect" >
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_viseur" >
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
<group id="connecting" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" >
|
||||
|
||||
<!-- JENA BACK -->
|
||||
<view type="bitmap" id="jena" render_layer="-1"
|
||||
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="launcher_bg.tga" />
|
||||
|
||||
|
||||
<!-- Quit Button -->
|
||||
<ctrl style="valid_txt_button" id="finish_but" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit"/>
|
||||
|
||||
<view type="text" id="title" posref="MM MM" y="24" hardtext="uiConnecting" fontsize="20"/>
|
||||
|
||||
|
||||
<!-- BLACK SCREEN FADE -->
|
||||
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
|
||||
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
|
||||
|
||||
|
||||
|
||||
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
|
||||
|
||||
<!-- When we got the answer from server go to screen_intro -->
|
||||
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
|
||||
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
<anim id="anim_connection_intro" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
|
||||
<track type="linear" target="connecting:black_screen:alpha" >
|
||||
<key time="0.0" value="255" />
|
||||
<key time="1.0" value="0" />
|
||||
</track>
|
||||
</anim>
|
||||
|
||||
<anim id="anim_connection_outro" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_con_test2" >
|
||||
<track type="linear" target="connecting:black_screen:alpha" >
|
||||
<key time="0.0" value="0" />
|
||||
<key time="1.0" value="255" />
|
||||
</track>
|
||||
</anim>
|
||||
|
||||
|
||||
</interface_config>
|
||||
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
|
||||
|
||||
<proc id="proc_startall_crash" >
|
||||
</proc>
|
||||
|
||||
|
||||
<group id="crashing" w="1024" h="768" posref="MM MM" on_active="" on_active_params="" >
|
||||
|
||||
<!-- JENA BACK -->
|
||||
<view type="bitmap" id="jena" render_layer="-1"
|
||||
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" />
|
||||
|
||||
|
||||
<!-- Quit Button -->
|
||||
<ctrl style="valid_txt_button" id="quit" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit"/>
|
||||
|
||||
<view type="text" id="title1" posref="MM MM" y="48" hardtext="uiCrashing1" fontsize="20"/>
|
||||
<view type="text" id="title2" posref="MM MM" y="24" hardtext="uiCrashing2" fontsize="20"/>
|
||||
<view type="text" id="title3" posref="MM MM" y="0" hardtext="uiCrashing3" fontsize="20"/>
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
|
||||
</interface_config>
|
||||
|
||||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
|
||||
|
||||
<proc id="proc_startall_crash" >
|
||||
</proc>
|
||||
|
||||
|
||||
<group id="crashing" w="1024" h="768" posref="MM MM" on_active="" on_active_params="" >
|
||||
|
||||
<!-- JENA BACK -->
|
||||
<view type="bitmap" id="jena" render_layer="-1"
|
||||
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="launcher_bg.tga" />
|
||||
|
||||
|
||||
<!-- Quit Button -->
|
||||
<ctrl style="valid_txt_button" id="quit" posref="BR BR" x="-40" y="130" hardtext="uiQuit"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit"/>
|
||||
|
||||
<view type="text" id="title1" posref="MM MM" y="48" hardtext="uiCrashing1" fontsize="20"/>
|
||||
<view type="text" id="title2" posref="MM MM" y="24" hardtext="uiCrashing2" fontsize="20"/>
|
||||
<view type="text" id="title3" posref="MM MM" y="0" hardtext="uiCrashing3" fontsize="20"/>
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
|
||||
</interface_config>
|
||||
|
||||
|
|
|
@ -13,8 +13,9 @@
|
|||
<tree node="specie"/>
|
||||
<tree node="career"/>
|
||||
<tree node="summary"/>
|
||||
<tree node="logo_intro"/>
|
||||
-->
|
||||
<tree node="logo_intro"/>
|
||||
|
||||
|
||||
|
||||
<tree node="charsel"/>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -177,17 +177,17 @@
|
|||
<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:x |
|
||||
value=switch(@0, 2, 207, 412, 617, 822)" />
|
||||
value=switch(@0, 150, 150, 150, 150, 150)" />
|
||||
<action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:pushed|value=1" />
|
||||
|
||||
<!-- Position des effets 3D ICI -->
|
||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:env:name |
|
||||
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig')" />
|
||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:fov |
|
||||
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 72, 72, 72, 72)" />
|
||||
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:x |
|
||||
value=switch(@0, 2, 207, 412, 617, 822)" />
|
||||
value=switch(@0, 150, 150, 150, 150, 150)" />
|
||||
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:y |
|
||||
value=switch(@0, -95, -65, -35, -65, -95)" />
|
||||
value=switch(@0, -100, -120, -140, -160, -180)" />
|
||||
|
||||
<action handler="proc" params="proc_charsel_infos2" />
|
||||
</proc>
|
||||
|
@ -269,7 +269,7 @@
|
|||
|
||||
<template name="char_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="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"
|
||||
<scene3d id="#id" posparent="#posparent" w="140" h="16" 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" />
|
||||
|
@ -294,7 +294,7 @@
|
|||
|
||||
<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"
|
||||
<scene3d id="#id" posparent="#posparent" w="137" h="139" 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" >
|
||||
|
||||
|
||||
|
@ -449,7 +449,7 @@
|
|||
<!--***************-->
|
||||
|
||||
|
||||
<!-- Vue Globale -->
|
||||
<!-- Vue Globale --><!--
|
||||
<scene3d id="char3d" x="2" y="2" w="1020" h="560" posref="BL BL" 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"
|
||||
|
@ -474,7 +474,7 @@
|
|||
<auto_anim name="brazero-inter2.anim"/>
|
||||
<auto_anim name="lanterne-int1.anim"/>
|
||||
<auto_anim name="lanterne-int2.anim"/>
|
||||
</scene3d>
|
||||
</scene3d> -->
|
||||
|
||||
<!-- CHARACTER STILL IN RING SESSION !!
|
||||
<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"/>
|
||||
|
@ -502,7 +502,7 @@
|
|||
|
||||
<!-- View of each slot -->
|
||||
|
||||
<instance template="char_slot_view" id="slot0" dblink="UI:TEMP:CHARSLOT0" posref="TL TL" x="2" y="-95"/>
|
||||
<!-- <instance template="char_slot_view" id="slot0" dblink="UI:TEMP:CHARSLOT0" posref="TL TL" x="2" y="-95"/>
|
||||
<instance template="char_slot_view" id="slot1" dblink="UI:TEMP:CHARSLOT1" posref="TL TL" x="207" y="-65"/>
|
||||
<instance template="char_slot_view" id="slot2" dblink="UI:TEMP:CHARSLOT2" posref="TL TL" x="412" y="-35"/>
|
||||
<instance template="char_slot_view" id="slot3" dblink="UI:TEMP:CHARSLOT3" posref="TL TL" x="617" y="-65"/>
|
||||
|
@ -514,26 +514,26 @@
|
|||
<instance template="empty_slot_view" id="empty_slot3" posref="TL TL" x="617" y="-65"/>
|
||||
<instance template="empty_slot_view" id="empty_slot4" posref="TL TL" x="822" y="-95"/>
|
||||
|
||||
|
||||
-->
|
||||
<!-- Button of each character slot (always present even if empty slot) -->
|
||||
|
||||
<ctrl style="menu_button" id="but_slot0" posref="TL TL" x="2" y="-95"
|
||||
<ctrl style="menu_button" id="but_slot0" posref="TL TL" x="150" y="-150"
|
||||
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="TR TL" posparent="but_slot0" x="5" y="30"
|
||||
<ctrl style="menu_button" id="but_slot1" posref="TR TL" posparent="but_slot0" x="-199" y="-20"
|
||||
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="TR TL" posparent="but_slot1" x="5" y="30"
|
||||
<ctrl style="menu_button" id="but_slot2" posref="TR TL" posparent="but_slot1" x="-199" y="-20"
|
||||
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="TR TL" posparent="but_slot2" x="5" y="-30"
|
||||
<ctrl style="menu_button" id="but_slot3" posref="TR TL" posparent="but_slot2" x="-199" y="-20"
|
||||
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="TR TL" posparent="but_slot3" x="5" y="-30"
|
||||
<ctrl style="menu_button" id="but_slot4" posref="TR TL" posparent="but_slot3" x="-199" y="-20"
|
||||
onover="play_sound" params_over="name=specie_but_over"
|
||||
onclick_l="proc" params_l="proc_charsel_clickslot|4" />
|
||||
|
||||
|
@ -874,12 +874,12 @@
|
|||
|
||||
<anim id="anim_sel_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_sel_select_fx" >
|
||||
|
||||
<track type="bezier" target="charsel:3d_select:select_fx:posx" >
|
||||
<key time="0.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
|
||||
<key time="0.5" value="0" intan="8" outtan="-8" step="6" />
|
||||
<key time="1" value="-2" intan="0.1" outtan="0.1" step="6" />
|
||||
<key time="1.5" value="0" intan="-8" outtan="8" step="6" />
|
||||
<key time="2.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
|
||||
<!--<track type="bezier" target="charsel:3d_select:select_fx:posx" >
|
||||
<key time="0.0" value="1.5" intan="-0.1" outtan="-0.1" step="6" />
|
||||
<key time="0.5" value="0" intan="6" outtan="-6" step="6" />
|
||||
<key time="1" value="-1.5" intan="0.1" outtan="0.1" step="6" />
|
||||
<key time="1.5" value="0" intan="-6" outtan="6" step="6" />
|
||||
<key time="2.0" value="1.5" intan="-0.1" outtan="-0.1" step="6" />
|
||||
</track>
|
||||
|
||||
<track type="bezier" target="charsel:3d_select:select_fx:posz" >
|
||||
|
@ -888,6 +888,21 @@
|
|||
<key time="1" value="0" intan="6" outtan="-6" step="6" />
|
||||
<key time="1.5" value="-1.5" intan="0.1" outtan="0.1" step="6" />
|
||||
<key time="2.0" value="0" intan="-6" outtan="6" step="6" />
|
||||
</track> -->
|
||||
<track type="bezier" target="charsel:3d_select:select_fx:posx" >
|
||||
<key time="0.0" value="1.5" intan="-0.1" outtan="-0.1" step="6" />
|
||||
<key time="0.5" value="0" intan="6" outtan="-6" step="6" />
|
||||
<key time="1" value="-1.5" intan="0.1" outtan="0.1" step="6" />
|
||||
<key time="1.5" value="0" intan="-6" outtan="6" step="6" />
|
||||
<key time="2.0" value="1.5" intan="-0.1" outtan="-0.1" step="6" />
|
||||
</track>
|
||||
|
||||
<track type="bezier" target="charsel:3d_select:select_fx:posz" >
|
||||
<key time="0.0" value="0" intan="-0.1" outtan="0.1" step="6" />
|
||||
<key time="0.5" value="0" intan="-0.1" outtan="-0.1" step="6" />
|
||||
<key time="1" value="0" intan="0.1" outtan="-0.1" step="6" />
|
||||
<key time="1.5" value="0" intan="0.1" outtan="0.1" step="6" />
|
||||
<key time="2.0" value="0" intan="-0.1" outtan="0.1" step="6" />
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
|
|
@ -1,163 +1,163 @@
|
|||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
|
||||
|
||||
|
||||
<proc id="proc_con_quit" >
|
||||
<action handler="play_sound" params="name=charsel_quit_click" />
|
||||
<action handler="stop_music" params="name=music_intro" />
|
||||
<action handler="quit_ryzom" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_startall_connect" >
|
||||
<action handler="set" params="target_property=ui:outgame:connecting:back3d:fx1:started|value=1" />
|
||||
<action handler="anim_start" params="anim=anim_connect" />
|
||||
<action handler="anim_start" params="anim=anim_viseur" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_connect" >
|
||||
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_connect" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_viseur" >
|
||||
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_viseur" />
|
||||
</proc>
|
||||
|
||||
|
||||
<!-- Window Border2 -->
|
||||
<template name="window_border2" posparent="parent">
|
||||
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/>
|
||||
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/>
|
||||
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
|
||||
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
|
||||
</template>
|
||||
|
||||
|
||||
<group id="connecting" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" >
|
||||
|
||||
<!-- BLACK BACK -->
|
||||
|
||||
|
||||
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
|
||||
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
|
||||
|
||||
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
|
||||
|
||||
|
||||
|
||||
<!-- ATYS -->
|
||||
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam"
|
||||
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
|
||||
|
||||
<camera id="cam" fov="45" pos="-5.0 -45.0 0.0" target="0.0 0.0 0.0" roll="0" />
|
||||
|
||||
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
|
||||
|
||||
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
|
||||
<fx id="fx1" pos="-4.5 -39.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
|
||||
|
||||
</scene3d>
|
||||
|
||||
|
||||
<group id="viseur" posref="MM MM" w="640" h="536" >
|
||||
<instance template="window_border2" id="b_viseur" posref="MM MM" />
|
||||
</group>
|
||||
|
||||
|
||||
<!-- BORDERS -->
|
||||
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
|
||||
|
||||
<!-- Skip when click anywhere -->
|
||||
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16"
|
||||
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
|
||||
|
||||
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiConnecting" fontsize="20"/>
|
||||
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
|
||||
|
||||
<proc id="proc_con_test">
|
||||
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_intro"
|
||||
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
|
||||
</proc>
|
||||
|
||||
<!-- When we got the answer from server go to screen_intro -->
|
||||
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
|
||||
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
|
||||
<anim id="anim_connect" duration="90.0" disable_buttons="false"
|
||||
on_finish="proc" on_finish_params="proc_restart_connect" >
|
||||
|
||||
<track type="linear" target="connecting:back3d:atys:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm1:rotx">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm2:rotz">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm1:rotz">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm2:rotx">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="360.0"/>
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
<anim id="anim_viseur" duration="2.0" disable_buttons="false"
|
||||
on_finish="proc" on_finish_params="proc_restart_viseur" >
|
||||
|
||||
<track type="tcb" target="connecting:viseur:w">
|
||||
<key time="0.0" value="800" tension="1.0" easeto="1" />
|
||||
<key time="1.5" value="128" tension="1.0" easefrom="1" />
|
||||
</track>
|
||||
|
||||
<track type="tcb" target="connecting:viseur:h">
|
||||
<key time="0.0" value="536" tension="1.0" easeto="1" />
|
||||
<key time="1.5" value="128" tension="1.0" easefrom="1" />
|
||||
</track>
|
||||
|
||||
<track type="tcb" target="connecting:viseur:alpha">
|
||||
<key time="0.0" value="255" tension="1.0" />
|
||||
<key time="0.75" value="255" tension="1.0" easeto="1" />
|
||||
<key time="1.5" value="0" tension="1.0" easefrom="1" />
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:bg:alpha" dynamic="true">
|
||||
<key time="0.0" value="getprop('ui:outgame:connecting:bg:alpha')" />
|
||||
<key time="0.4" value="rand(64,160)" />
|
||||
<key time="0.8" value="rand(64,160)" />
|
||||
<key time="1.2" value="rand(64,160)" />
|
||||
<key time="1.6" value="rand(64,160)" />
|
||||
<key time="2.0" value="rand(64,160)" />
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</interface_config>
|
||||
|
||||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
|
||||
|
||||
|
||||
<proc id="proc_con_quit" >
|
||||
<action handler="play_sound" params="name=charsel_quit_click" />
|
||||
<action handler="stop_music" params="name=music_intro" />
|
||||
<action handler="quit_ryzom" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_startall_connect" >
|
||||
<action handler="set" params="target_property=ui:outgame:connecting:back3d:fx1:started|value=1" />
|
||||
<action handler="anim_start" params="anim=anim_connect" />
|
||||
<action handler="anim_start" params="anim=anim_viseur" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_connect" >
|
||||
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_connect" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_viseur" >
|
||||
<action handler="anim_start" cond="eq(@UI:CURRENT_SCREEN, %screen_connecting)" params="anim=anim_viseur" />
|
||||
</proc>
|
||||
|
||||
|
||||
<!-- Window Border2 -->
|
||||
<template name="window_border2" posparent="parent">
|
||||
<view type="bitmap" id="t" texture="border_hor.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/>
|
||||
<view type="bitmap" id="b" texture="border_hor.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-4" h="2"/>
|
||||
<view type="bitmap" id="l" texture="border_ver.tga" posref="TL TL" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
|
||||
<view type="bitmap" id="r" texture="border_ver.tga" posref="TR TR" posparent="#posparent" scale="true" sizeref="h" w="2" h="0" />
|
||||
</template>
|
||||
|
||||
|
||||
<group id="connecting" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_connect" >
|
||||
|
||||
<!-- BLACK BACK -->
|
||||
|
||||
|
||||
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
|
||||
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
|
||||
|
||||
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
|
||||
|
||||
|
||||
|
||||
<!-- ATYS -->
|
||||
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam"
|
||||
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
|
||||
|
||||
<camera id="cam" fov="45" pos="-5.0 -45.0 0.0" target="0.0 0.0 0.0" roll="0" />
|
||||
|
||||
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
|
||||
|
||||
<shape id="glow" name="atysglow.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
|
||||
<fx id="fx1" pos="-4.5 -39.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
|
||||
|
||||
</scene3d>
|
||||
|
||||
|
||||
<group id="viseur" posref="MM MM" w="640" h="536" >
|
||||
<instance template="window_border2" id="b_viseur" posref="MM MM" />
|
||||
</group>
|
||||
|
||||
|
||||
<!-- BORDERS -->
|
||||
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
|
||||
|
||||
<!-- Skip when click anywhere -->
|
||||
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16"
|
||||
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
|
||||
|
||||
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiConnecting" fontsize="20"/>
|
||||
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_connecting)" target="connecting:active" />
|
||||
|
||||
<proc id="proc_con_test">
|
||||
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_intro"
|
||||
cond="and(eq(@UI:CURRENT_SCREEN, %screen_connecting),eq(@UI:SERVER_RECEIVED_CHARS,1))" />
|
||||
</proc>
|
||||
|
||||
<!-- When we got the answer from server go to screen_intro -->
|
||||
<link expr="depends(@UI:CURRENT_SCREEN,@UI:SERVER_RECEIVED_CHARS)" action="proc" params="proc_con_test" />
|
||||
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
|
||||
<anim id="anim_connect" duration="90.0" disable_buttons="false"
|
||||
on_finish="proc" on_finish_params="proc_restart_connect" >
|
||||
|
||||
<track type="linear" target="connecting:back3d:atys:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm1:rotx">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm2:rotz">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm1:rotz">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:back3d:atm2:rotx">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="360.0"/>
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
<anim id="anim_viseur" duration="2.0" disable_buttons="false"
|
||||
on_finish="proc" on_finish_params="proc_restart_viseur" >
|
||||
|
||||
<track type="tcb" target="connecting:viseur:w">
|
||||
<key time="0.0" value="800" tension="1.0" easeto="1" />
|
||||
<key time="1.5" value="128" tension="1.0" easefrom="1" />
|
||||
</track>
|
||||
|
||||
<track type="tcb" target="connecting:viseur:h">
|
||||
<key time="0.0" value="536" tension="1.0" easeto="1" />
|
||||
<key time="1.5" value="128" tension="1.0" easefrom="1" />
|
||||
</track>
|
||||
|
||||
<track type="tcb" target="connecting:viseur:alpha">
|
||||
<key time="0.0" value="255" tension="1.0" />
|
||||
<key time="0.75" value="255" tension="1.0" easeto="1" />
|
||||
<key time="1.5" value="0" tension="1.0" easefrom="1" />
|
||||
</track>
|
||||
|
||||
<track type="linear" target="connecting:bg:alpha" dynamic="true">
|
||||
<key time="0.0" value="getprop('ui:outgame:connecting:bg:alpha')" />
|
||||
<key time="0.4" value="rand(64,160)" />
|
||||
<key time="0.8" value="rand(64,160)" />
|
||||
<key time="1.2" value="rand(64,160)" />
|
||||
<key time="1.6" value="rand(64,160)" />
|
||||
<key time="2.0" value="rand(64,160)" />
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</interface_config>
|
||||
|
||||
|
|
|
@ -1,118 +1,118 @@
|
|||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
|
||||
|
||||
|
||||
<proc id="proc_con_quit" >
|
||||
<action handler="play_sound" params="name=charsel_quit_click" />
|
||||
<action handler="stop_music" params="name=music_intro" />
|
||||
<action handler="quit_ryzom" />
|
||||
</proc>
|
||||
|
||||
|
||||
<proc id="proc_startall_crash" >
|
||||
<action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" />
|
||||
<action handler="anim_start" params="anim=anim_crash" />
|
||||
<action handler="anim_start" params="anim=anim_back_crash" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_back_crash" >
|
||||
<action handler="anim_start" params="anim=anim_back_crash" />
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
|
||||
<group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash" >
|
||||
|
||||
<!-- BLACK BACK -->
|
||||
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
|
||||
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
|
||||
|
||||
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
|
||||
|
||||
|
||||
<!-- ATYS -->
|
||||
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam"
|
||||
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
|
||||
|
||||
<camera id="cam" fov="45" pos="0 -10.0 0.0" target="0.0 0.0 0.0" roll="0" />
|
||||
|
||||
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
|
||||
|
||||
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
|
||||
<fx id="fx1" pos="0 -7.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
|
||||
|
||||
</scene3d>
|
||||
|
||||
|
||||
<!-- Skip when click anywhere -->
|
||||
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16"
|
||||
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
|
||||
|
||||
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCrashing" fontsize="20"/>
|
||||
|
||||
<!-- BORDERS -->
|
||||
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
|
||||
|
||||
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
|
||||
|
||||
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
|
||||
<anim id="anim_crash" duration="90.0" disable_buttons="false" >
|
||||
|
||||
<track type="linear" target="crashing:back3d:atys:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="crashing:back3d:atm1:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-720.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="crashing:back3d:atm2:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="720.0"/>
|
||||
</track>
|
||||
|
||||
|
||||
<track type="tcb" target="crashing:back3d:atys:posz,crashing:back3d:atm1:posz,crashing:back3d:atm2:posz">
|
||||
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
|
||||
<key time="12.0" value="-10.0" tension="1.0" />
|
||||
</track>
|
||||
|
||||
<track type="tcb" target="crashing:back3d:atys:posy,crashing:back3d:atm1:posy,crashing:back3d:atm2:posy">
|
||||
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
|
||||
<key time="12.0" value="-10.0" tension="1.0" />
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
<anim id="anim_back_crash" duration="2.0" disable_buttons="false"
|
||||
on_finish="proc" on_finish_params="proc_restart_back_crash" >
|
||||
|
||||
<track type="linear" target="crashing:bg:alpha" dynamic="true">
|
||||
<key time="0.0" value="getprop('ui:outgame:crashing:bg:alpha')" />
|
||||
<key time="0.4" value="rand(64,160)" />
|
||||
<key time="0.8" value="rand(64,160)" />
|
||||
<key time="1.2" value="rand(64,160)" />
|
||||
<key time="1.6" value="rand(64,160)" />
|
||||
<key time="2.0" value="rand(64,160)" />
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
</interface_config>
|
||||
|
||||
<interface_config>
|
||||
|
||||
<root id="outgame" x="0" y="0" w="800" h="600" active="false" />
|
||||
|
||||
|
||||
<proc id="proc_con_quit" >
|
||||
<action handler="play_sound" params="name=charsel_quit_click" />
|
||||
<action handler="stop_music" params="name=music_intro" />
|
||||
<action handler="quit_ryzom" />
|
||||
</proc>
|
||||
|
||||
|
||||
<proc id="proc_startall_crash" >
|
||||
<action handler="set" params="target_property=ui:outgame:crashing:back3d:fx1:started|value=1" />
|
||||
<action handler="anim_start" params="anim=anim_crash" />
|
||||
<action handler="anim_start" params="anim=anim_back_crash" />
|
||||
</proc>
|
||||
|
||||
<proc id="proc_restart_back_crash" >
|
||||
<action handler="anim_start" params="anim=anim_back_crash" />
|
||||
</proc>
|
||||
|
||||
|
||||
|
||||
|
||||
<group id="crashing" w="800" h="600" posref="MM MM" on_active="proc" on_active_params="proc_startall_crash" >
|
||||
|
||||
<!-- BLACK BACK -->
|
||||
<view type="bitmap" id="stars" render_layer="-1" txtoffsetx="0" txtoffsety="0" txtwidth="800" txtheight="600"
|
||||
global_color="false" color="255 255 255 255" posref="MM MM" x="0" y="0" w="800" h="600" texture="default_bg.tga" scale="true" />
|
||||
|
||||
<view type="bitmap" id="bg" posref="MM MM" sizeref="wh" w="0" h="0" x="0" y="0" render_layer="0" texture="blank.tga" color="0 0 0 64" scale="true" global_color="false" />
|
||||
|
||||
|
||||
<!-- ATYS -->
|
||||
<scene3d id="back3d" x="0" y="0" w="800" h="600" posref="MM MM" curcam="cam"
|
||||
ambient="0 0 0" sun_ambient="50 50 50" sun_diffuse="160 160 160" sun_specular="255 255 255" sun_direction="1.0 1.0 -1.0" >
|
||||
|
||||
<camera id="cam" fov="45" pos="0 -10.0 0.0" target="0.0 0.0 0.0" roll="0" />
|
||||
|
||||
<light id="l1" pos="-4.6 -5.0 4.0" color="255 255 192" near="8.0" far="10.0" />
|
||||
|
||||
<shape id="atys" name="atys.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm1" name="atmos1.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
<shape id="atm2" name="atmos2.shape" pos="0 0 0" rot="0.0 0.0 0.0" />
|
||||
|
||||
<fx id="fx1" pos="0 -7.0 0.0" name="stars.ps" rot="0.0 0.0 0.0" />
|
||||
|
||||
</scene3d>
|
||||
|
||||
|
||||
<!-- Skip when click anywhere -->
|
||||
<ctrl type="button" id="quit" button_type="push_button" posref="TR MM" x="-24" y="-16"
|
||||
tx_normal="button_quit.tga" tx_pushed="button_quit.tga" tx_over="button_quit_over.tga"
|
||||
onover="play_sound" params_over="name=charsel_quit_over"
|
||||
onclick_l="proc" params_l="proc_con_quit" tooltip="uiQuit" />
|
||||
|
||||
<view type="text" id="title" posref="TL TL" x="8" y="-6" hardtext="uiCrashing" fontsize="20"/>
|
||||
|
||||
<!-- BORDERS -->
|
||||
<view type="bitmap" id="top_line" posref="TL TL" x="0" y="-32" texture="border_hor.tga" scale="true" w="800" h="1" global_color="false" />
|
||||
|
||||
|
||||
</group>
|
||||
|
||||
<!-- This link is used to display the right screen among the outgame screens -->
|
||||
<link expr="eq(@UI:CURRENT_SCREEN, %screen_crashing)" target="crashing:active" />
|
||||
|
||||
|
||||
|
||||
<!-- ANIMATIONS -->
|
||||
|
||||
<anim id="anim_crash" duration="90.0" disable_buttons="false" >
|
||||
|
||||
<track type="linear" target="crashing:back3d:atys:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-360.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="crashing:back3d:atm1:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="-720.0"/>
|
||||
</track>
|
||||
|
||||
<track type="linear" target="crashing:back3d:atm2:roty">
|
||||
<key time="0.0" value="0.0" />
|
||||
<key time="90.0" value="720.0"/>
|
||||
</track>
|
||||
|
||||
|
||||
<track type="tcb" target="crashing:back3d:atys:posz,crashing:back3d:atm1:posz,crashing:back3d:atm2:posz">
|
||||
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
|
||||
<key time="12.0" value="-10.0" tension="1.0" />
|
||||
</track>
|
||||
|
||||
<track type="tcb" target="crashing:back3d:atys:posy,crashing:back3d:atm1:posy,crashing:back3d:atm2:posy">
|
||||
<key time="0.0" value="0.0" tension="1.0" easefrom="1" />
|
||||
<key time="12.0" value="-10.0" tension="1.0" />
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
<anim id="anim_back_crash" duration="2.0" disable_buttons="false"
|
||||
on_finish="proc" on_finish_params="proc_restart_back_crash" >
|
||||
|
||||
<track type="linear" target="crashing:bg:alpha" dynamic="true">
|
||||
<key time="0.0" value="getprop('ui:outgame:crashing:bg:alpha')" />
|
||||
<key time="0.4" value="rand(64,160)" />
|
||||
<key time="0.8" value="rand(64,160)" />
|
||||
<key time="1.2" value="rand(64,160)" />
|
||||
<key time="1.6" value="rand(64,160)" />
|
||||
<key time="2.0" value="rand(64,160)" />
|
||||
</track>
|
||||
|
||||
</anim>
|
||||
|
||||
</interface_config>
|
||||
|
||||
|
|
|
@ -253,7 +253,7 @@
|
|||
<!-- 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" />
|
||||
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money.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"
|
||||
|
@ -375,4 +375,4 @@
|
|||
<tree node="accept_trade_invitation">
|
||||
</tree>
|
||||
|
||||
</interface_config>
|
||||
</interface_config>
|
||||
|
|
|
@ -1702,7 +1702,7 @@
|
|||
color_grayed="255 255 255 64"
|
||||
shadow_color_grayed="0 0 0 255"
|
||||
highlight_over="255 255 255 150"
|
||||
case_mode="%case_normal"></group>
|
||||
case_mode="%case_first_word_letter_up"></group>
|
||||
<group type="menu"
|
||||
id="base_menu_with_color"
|
||||
extends="base_menu">
|
||||
|
@ -1974,7 +1974,7 @@
|
|||
<view type="bitmap"
|
||||
id="icone"
|
||||
posref="TL TL"
|
||||
texture="money_seve.tga"
|
||||
texture="money.tga"
|
||||
scale="true"
|
||||
w="16"
|
||||
h="16"
|
||||
|
@ -2793,7 +2793,6 @@
|
|||
text_ref="BL BL"
|
||||
child_resize_h="true"
|
||||
multi_line="true"
|
||||
multi_min_line="0"
|
||||
x="0"
|
||||
y="0"
|
||||
w="0"
|
||||
|
@ -2873,7 +2872,6 @@
|
|||
posref="#text_ref"
|
||||
multi_line="#multi_line"
|
||||
multi_line_space="0"
|
||||
multi_min_line="#multi_min_line"
|
||||
fontsize="#fontsize"
|
||||
color="#color"
|
||||
shadow="true"
|
||||
|
@ -3899,39 +3897,39 @@
|
|||
active="false"
|
||||
global_color="false"/>
|
||||
<view type="bitmap"
|
||||
id="ChaScore1_cost"
|
||||
id="hp_cost"
|
||||
texture="ico_heal.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="success_rate" />
|
||||
<view type="bitmap"
|
||||
id="ChaScore2_cost"
|
||||
id="sta_cost"
|
||||
y="0"
|
||||
texture="ico_ChaScore2.tga"
|
||||
texture="ico_stamina.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="ChaScore1_cost" />
|
||||
posparent="hp_cost" />
|
||||
<view type="bitmap"
|
||||
id="ChaScore3_cost"
|
||||
id="sap_cost"
|
||||
y="0"
|
||||
texture="ico_ChaScore3.tga"
|
||||
texture="ico_sap.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="ChaScore2_cost" />
|
||||
posparent="sta_cost" />
|
||||
<view type="bitmap"
|
||||
id="ChaScore4_cost"
|
||||
id="focus_cost"
|
||||
y="0"
|
||||
texture="ico_ChaScore4.tga"
|
||||
texture="ico_focus.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="ChaScore3_cost" />
|
||||
posparent="sap_cost" />
|
||||
<view type="bitmap"
|
||||
id="cast_time"
|
||||
y="0"
|
||||
texture="ico_time.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="ChaScore4_cost" />
|
||||
posparent="focus_cost" />
|
||||
<view type="bitmap"
|
||||
id="cast_range"
|
||||
y="0"
|
||||
|
@ -3940,26 +3938,26 @@
|
|||
posref="BL TL"
|
||||
posparent="cast_time" />
|
||||
<view type="text"
|
||||
id="ChaScore1_cost_text"
|
||||
posparent="ChaScore1_cost"
|
||||
id="hp_cost_text"
|
||||
posparent="hp_cost"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
<view type="text"
|
||||
id="ChaScore2_cost_text"
|
||||
posparent="ChaScore2_cost"
|
||||
id="sta_cost_text"
|
||||
posparent="sta_cost"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
<view type="text"
|
||||
id="ChaScore3_cost_text"
|
||||
posparent="ChaScore3_cost"
|
||||
id="sap_cost_text"
|
||||
posparent="sap_cost"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
<view type="text"
|
||||
id="ChaScore4_cost_text"
|
||||
posparent="ChaScore4_cost"
|
||||
id="focus_cost_text"
|
||||
posparent="focus_cost"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
|
@ -4106,7 +4104,7 @@
|
|||
line_maxw="300"
|
||||
multi_line_maxw_only="true" />
|
||||
<view type="bitmap"
|
||||
id="ChaScore1_buff"
|
||||
id="hp_buff"
|
||||
h="15"
|
||||
y="0"
|
||||
texture="ico_heal.tga"
|
||||
|
@ -4115,47 +4113,47 @@
|
|||
posparent="text"
|
||||
active="true"/>
|
||||
<view type="bitmap"
|
||||
id="ChaScore2_buff"
|
||||
id="sta_buff"
|
||||
y="0"
|
||||
texture="ico_ChaScore2.tga"
|
||||
texture="ico_stamina.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="ChaScore1_buff" />
|
||||
posparent="hp_buff" />
|
||||
<view type="bitmap"
|
||||
id="ChaScore3_buff"
|
||||
id="sap_buff"
|
||||
y="0"
|
||||
texture="ico_ChaScore3.tga"
|
||||
texture="ico_sap.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="ChaScore2_buff" />
|
||||
posparent="sta_buff" />
|
||||
<view type="bitmap"
|
||||
id="ChaScore4_buff"
|
||||
id="focus_buff"
|
||||
y="0"
|
||||
texture="ico_ChaScore4.tga"
|
||||
texture="ico_focus.tga"
|
||||
global_color="false"
|
||||
posref="BL TL"
|
||||
posparent="ChaScore3_buff" />
|
||||
posparent="sap_buff" />
|
||||
<view type="text"
|
||||
id="ChaScore1_buff_text"
|
||||
posparent="ChaScore1_buff"
|
||||
id="hp_buff_text"
|
||||
posparent="hp_buff"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
<view type="text"
|
||||
id="ChaScore2_buff_text"
|
||||
posparent="ChaScore2_buff"
|
||||
id="sta_buff_text"
|
||||
posparent="sta_buff"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
<view type="text"
|
||||
id="ChaScore3_buff_text"
|
||||
posparent="ChaScore3_buff"
|
||||
id="sap_buff_text"
|
||||
posparent="sap_buff"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
<view type="text"
|
||||
id="ChaScore4_buff_text"
|
||||
posparent="ChaScore4_buff"
|
||||
id="focus_buff_text"
|
||||
posparent="focus_buff"
|
||||
posref="MR ML"
|
||||
hardtext="0"
|
||||
global_color="false"/>
|
||||
|
@ -6929,243 +6927,4 @@
|
|||
</group>
|
||||
</group>
|
||||
</template>
|
||||
|
||||
<!-- html browsing context -->
|
||||
<template name="webig_html"
|
||||
keep="true"
|
||||
home=""
|
||||
browse_redo=""
|
||||
browse_undo=""
|
||||
browse_refresh="">
|
||||
<group id="html"
|
||||
type="webig_html"
|
||||
posref="TL TL"
|
||||
home="#home"
|
||||
title_prefix=""
|
||||
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="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"
|
||||
timeout="10">
|
||||
<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 id="background_bitmap"
|
||||
type="bitmap"
|
||||
posparent="black"
|
||||
posref="MM MM"
|
||||
sizeref="wh"
|
||||
w="-2"
|
||||
h="-2"
|
||||
inherit_gc_alpha="true"
|
||||
scale="true"
|
||||
texture="blank.tga"
|
||||
global_color="false" />
|
||||
<group id="text_list"
|
||||
type="list"
|
||||
fontsize="9"
|
||||
posref="TL TL"
|
||||
posparent="black"
|
||||
x="2"
|
||||
y="-2"
|
||||
space="0"
|
||||
sizeref="hw"
|
||||
w="-4"
|
||||
h="-4"
|
||||
maxelements="2000" />
|
||||
<ctrl id="scroll_bar"
|
||||
style="skin_scroll" />
|
||||
</group>
|
||||
</template>
|
||||
|
||||
<!-- html browser window -->
|
||||
<template name="webig_browser"
|
||||
keep="true"
|
||||
home=""
|
||||
w="480"
|
||||
h="400"
|
||||
browse_redo=""
|
||||
browse_undo=""
|
||||
browse_refresh="">
|
||||
<group id="browser"
|
||||
type="container"
|
||||
w="#w"
|
||||
h="#h"
|
||||
x="0"
|
||||
y="0"
|
||||
pop_max_w="2000"
|
||||
pop_max_h="2000"
|
||||
pop_min_w="64"
|
||||
pop_min_h="32"
|
||||
header_color="UI:SAVE:WIN:COLORS:COM"
|
||||
posref="TL TL"
|
||||
title=""
|
||||
global_color="true"
|
||||
global_color_over="true"
|
||||
right_button="true"
|
||||
movable="true"
|
||||
lockable="true"
|
||||
active="true"
|
||||
openable="true"
|
||||
opened="true"
|
||||
resizer="true"
|
||||
on_active="lua"
|
||||
on_active_params="WebBrowser:onActive()">
|
||||
<group id="header_closed"
|
||||
w="64"
|
||||
h="16"
|
||||
posref="TL TL"
|
||||
on_active="lua"
|
||||
on_active_params="WebBrowser:onClickHeaderClose()" />
|
||||
<group id="header_opened"
|
||||
h="16"
|
||||
w="480"
|
||||
posref="TL TL"
|
||||
on_active="lua"
|
||||
on_active_params="WebBrowser:onClickHeaderOpen()">
|
||||
<ctrl style="text_button_header"
|
||||
id="browse_redo"
|
||||
button_type="push_button"
|
||||
posref="MR MR"
|
||||
x="-16"
|
||||
y="0"
|
||||
hardtext="uiBrowseRedoButton"
|
||||
tooltip="uittBrowseRedo"
|
||||
onclick_l="lua"
|
||||
params_l="WebBrowser:onClickRedo()"
|
||||
frozen="true" />
|
||||
<ctrl style="text_button_header"
|
||||
id="browse_undo"
|
||||
button_type="push_button"
|
||||
posparent="browse_redo"
|
||||
posref="ML MR"
|
||||
x="-4"
|
||||
y="0"
|
||||
hardtext="uiBrowseUndoButton"
|
||||
tooltip="uittBrowseUndo"
|
||||
onclick_l="lua"
|
||||
params_l="WebBrowser:onClickUndo()"
|
||||
frozen="true" />
|
||||
<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>
|
||||
|
||||
</interface_config>
|
||||
|
|
Loading…
Reference in a new issue