mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
correction du merge
This commit is contained in:
parent
6423fa1071
commit
d63d55c60d
9 changed files with 1759 additions and 1929 deletions
|
@ -1961,11 +1961,6 @@
|
||||||
name="6"
|
name="6"
|
||||||
usergroup_l="chat_menu_button"
|
usergroup_l="chat_menu_button"
|
||||||
usergroup_params_l="chat_db=DYNAMIC_CHAT6" />
|
usergroup_params_l="chat_db=DYNAMIC_CHAT6" />
|
||||||
<action id="dyn7"
|
|
||||||
name="7"
|
|
||||||
usergroup_l="chat_menu_button"
|
|
||||||
usergroup_params_l="chat_db=DYNAMIC_CHAT7" />
|
|
||||||
usergroup_params_l="chat_db=DYNAMIC_CHAT6" />
|
|
||||||
<action id="dyn7"
|
<action id="dyn7"
|
||||||
name="7"
|
name="7"
|
||||||
usergroup_l="chat_menu_button"
|
usergroup_l="chat_menu_button"
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
</template>
|
</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=""
|
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_loose_focus="true" prompt=">"
|
||||||
enter_recover_focus="true"
|
enter_recover_focus="true"
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
</template>
|
</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"
|
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
|
||||||
enter_loose_focus="true" prompt=">"
|
enter_loose_focus="true" prompt=">"
|
||||||
enter_recover_focus="true"
|
enter_recover_focus="true"
|
||||||
|
@ -112,19 +112,16 @@
|
||||||
keep="true"
|
keep="true"
|
||||||
max_historic="40"
|
max_historic="40"
|
||||||
fontsize="10"
|
fontsize="10"
|
||||||
fontweight=""
|
|
||||||
fontstyle=""
|
|
||||||
backup_father_container_pos="false"
|
backup_father_container_pos="false"
|
||||||
want_return="false"
|
want_return="false"
|
||||||
color="255 255 255 255"
|
color="255 255 255 255"
|
||||||
sizeref_eb="w"
|
sizeref_eb="w"
|
||||||
render_layer="0"
|
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 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">
|
<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 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>
|
</group>
|
||||||
|
|
||||||
<!-- border around the list -->
|
<!-- border around the list -->
|
||||||
|
@ -141,7 +138,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Alternate look for multi line input -->
|
<!-- 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"
|
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
|
||||||
enter_loose_focus="true" prompt=">"
|
enter_loose_focus="true" prompt=">"
|
||||||
enter_recover_focus="true"
|
enter_recover_focus="true"
|
||||||
|
@ -182,7 +179,7 @@
|
||||||
<style style="log_button" type="text_button" button_type="push_button"
|
<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"
|
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"
|
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_normal="255 255 255 160"
|
||||||
text_color_pushed="255 255 255 255"
|
text_color_pushed="255 255 255 255"
|
||||||
text_color_over="255 255 255 255"
|
text_color_over="255 255 255 255"
|
||||||
|
@ -195,7 +192,7 @@
|
||||||
<style style="log_std_but" type="text_button" button_type="push_button"
|
<style style="log_std_but" type="text_button" button_type="push_button"
|
||||||
tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16"
|
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"
|
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_y="-3" fontsize="10" shadow="true"
|
||||||
text_color_normal="255 254 243 160"
|
text_color_normal="255 254 243 160"
|
||||||
text_color_pushed="255 254 243 255"
|
text_color_pushed="255 254 243 255"
|
||||||
text_color_over="255 254 243 255"
|
text_color_over="255 254 243 255"
|
||||||
|
@ -232,7 +229,7 @@
|
||||||
<style style="text_button_16" type="text_button" button_type="push_button"
|
<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"
|
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"
|
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" />
|
text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -385,7 +382,7 @@
|
||||||
<!-- * EDIT BOX WIDGET * -->
|
<!-- * 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"
|
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
|
||||||
enter_loose_focus="true" prompt=">"
|
enter_loose_focus="true" prompt=">"
|
||||||
enter_recover_focus="true"
|
enter_recover_focus="true"
|
||||||
|
@ -423,7 +420,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- alternate look for edit box -->
|
<!-- 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"
|
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
|
||||||
enter_loose_focus="true" prompt=">"
|
enter_loose_focus="true" prompt=">"
|
||||||
enter_recover_focus="true"
|
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"
|
<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" >
|
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">
|
<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_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="0" posref ="TR TL" onclick_l="#onclick_cancel" params_l="#onclick_cancel_param" hardtext="#cancel_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>
|
</group>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -614,7 +611,7 @@
|
||||||
<template name="html_text_button" id="" text="" posparent="parent" posref="TL TL"
|
<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">
|
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">
|
<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>
|
</group>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -623,7 +620,7 @@
|
||||||
<template name="html_text_button_look2" id="" text="" posparent="parent" posref="TL TL"
|
<template name="html_text_button_look2" id="" text="" posparent="parent" posref="TL TL"
|
||||||
onclick="" onclick_param="" x="0" y="0" keep="true" >
|
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">
|
<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>
|
</group>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -632,7 +629,7 @@
|
||||||
<template name="html_text_button_look3" id="" text="" posparent="parent" posref="TL TL"
|
<template name="html_text_button_look3" id="" text="" posparent="parent" posref="TL TL"
|
||||||
onclick="" onclick_param="" x="0" y="0" keep="true" >
|
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">
|
<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>
|
</group>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -958,46 +955,6 @@
|
||||||
highlight_over="255 255 255 128"
|
highlight_over="255 255 255 128"
|
||||||
force_inside_screen="true"
|
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>
|
</interface_config>
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
|
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
|
||||||
|
|
||||||
<lua file="out_v2_names.lua" />
|
<lua file="out_v2_names.lua" />
|
||||||
<lua file="names_fyros.lua" />
|
|
||||||
<lua file="names_zorai.lua" />
|
|
||||||
<lua file="names_tryker.lua" />
|
|
||||||
<lua file="out_v2_appear.lua" />
|
<lua file="out_v2_appear.lua" />
|
||||||
|
|
||||||
<!-- ********************** -->
|
<!-- ********************** -->
|
||||||
|
@ -47,17 +44,13 @@
|
||||||
|
|
||||||
<variable entry="UI:TEMP:NAME_VALID" type="sint64" value="-1" />
|
<variable entry="UI:TEMP:NAME_VALID" type="sint64" value="-1" />
|
||||||
|
|
||||||
<!-- Name Generator. -->
|
<!-- Name Generator -->
|
||||||
<!-- We start at 1 not 0. -->
|
<!-- We start at 1 not 0 -->
|
||||||
<variable entry="UI:TEMP:NAME_RACE" type="sint64" value="1" />
|
<variable entry="UI:TEMP:NAME_SYLLABE" type="sint64" value="1" />
|
||||||
<!-- used for marauder names. -->
|
<!-- you will have to change the max value of the slider too, since it seam not working to set it using that var directly -->
|
||||||
<variable entry="UI:TEMP:NAME_SUB_RACE_FIRST_NAME" type="sint64" value="1" />
|
<variable entry="UI:TEMP:NAME_SYLLABE_MAX" type="sint64" value="3" />
|
||||||
<variable entry="UI:TEMP:NAME_SUB_RACE_LAST_NAME" type="sint64" value="1" />
|
<!-- We start at 1 not 0 -->
|
||||||
<!-- you will have to change the max value of the slider too, since it seam not working to set it using that var directly. -->
|
<!-- End Name Generator -->
|
||||||
<variable entry="UI:TEMP:NAME_RACE_NB" type="sint64" value="5" />
|
|
||||||
<!-- We start at 1 not 0. -->
|
|
||||||
<variable entry="UI:TEMP:NAME_SEX" type="sint64" value="1" />
|
|
||||||
<!-- End Name Generator. -->
|
|
||||||
|
|
||||||
<template name="char_var_dec" id="#id" >
|
<template name="char_var_dec" id="#id" >
|
||||||
<variable entry="#id:PEOPLE" type="sint64" value="1" />
|
<variable entry="#id:PEOPLE" type="sint64" value="1" />
|
||||||
|
@ -1224,7 +1217,7 @@
|
||||||
mouse_pos="false" escapable="false" exit_click_out="false"
|
mouse_pos="false" escapable="false" exit_click_out="false"
|
||||||
on_active="init_keyset_list"
|
on_active="init_keyset_list"
|
||||||
on_deactive="reset_keyset_list"
|
on_deactive="reset_keyset_list"
|
||||||
display="false"
|
display="false"
|
||||||
>
|
>
|
||||||
|
|
||||||
<instance template="outgame_popup" id="back" posref="TL TL" />
|
<instance template="outgame_popup" id="back" posref="TL TL" />
|
||||||
|
@ -1282,37 +1275,33 @@
|
||||||
<!-- * ENTER NAME * -->
|
<!-- * ENTER NAME * -->
|
||||||
<!-- ************** -->
|
<!-- ************** -->
|
||||||
|
|
||||||
<group type="modal" id="appear_name" posref="MM MM" w="400" h="680"
|
<group type="modal" id="appear_name" posref="MM MM" w="400" h="650"
|
||||||
mouse_pos="false" escapable="false" exit_click_out="false"
|
mouse_pos="false" escapable="false" exit_click_out="false"
|
||||||
on_active="proc" on_active_params="proc_appear_name_active"
|
on_active="proc" on_active_params="proc_appear_name_active"
|
||||||
display="false">
|
display="false"
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
<instance template="outgame_popup" id="back" posref="TL TL" />
|
<instance template="outgame_popup" id="back" posref="TL TL" />
|
||||||
|
|
||||||
|
|
||||||
<view type="text" id="text" posref="TM TM" x="0" y="-56" color="255 255 255 255" global_color="false" fontsize="17" multi_line="true" multi_line_space="0"
|
<view type="text" id="text" posref="TM TM" x="0" y="-56" color="255 255 255 255" global_color="false" fontsize="17" multi_line="true" multi_line_space="0"
|
||||||
line_maxw="350" shadow="true" hardtext="uiCP_Name_Enter" />
|
line_maxw="350" shadow="true" hardtext="uiCP_Name_Enter" />
|
||||||
|
|
||||||
<!-- NamingPolicy -->
|
<group type="edit_box" id="eb" posparent="text" posref="BM TM" x="0" y="-8" w="300" h="52" render_layer="4" child_resize_h="true"
|
||||||
<ctrl style="opt_button" id="name_policy" posref="BM BM" posparent="text" x="0" y="-40" hardtext="uiCP_Name_Policy"
|
|
||||||
text_color_over="208 258 16 255" text_color_normal="255 255 46 255" text_color_pushed="108 158 16 255"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="open_url" params_l="cfg_ConditionsTermsURL" />
|
|
||||||
<!-- onclick_l="open_url" params_l="cfg_NamingPolicyURL" /> -->
|
|
||||||
|
|
||||||
<group type="edit_box" id="eb" posparent="name_policy" posref="BM TM" x="0" y="-8" w="300" h="52" render_layer="4" child_resize_h="true"
|
|
||||||
onenter="proc" params="proc_appear_name_enter"
|
onenter="proc" params="proc_appear_name_enter"
|
||||||
onchange="proc" onchange_params="proc_appear_name_change"
|
onchange="proc" onchange_params="proc_appear_name_change"
|
||||||
prompt="" enter_loose_focus="true" reset_focus_on_hide="true"
|
prompt="" enter_loose_focus="true" reset_focus_on_hide="true"
|
||||||
max_chars_size="252" menu_r="" max_historic="" entry_type="alpha">
|
max_chars_size="252" menu_r="" max_historic="" entry_type="alpha">
|
||||||
|
|
||||||
<instance template="job_border" id="bord" posref="MM MM" />
|
<instance template="job_border" id="bord" posref="MM MM" />
|
||||||
<view type="text" id="edit_text" x="0" y="0" posref="MM MM" multi_line="false" render_layer="4"
|
<view type="text" id="edit_text" x="0" y="-2" posref="MM MM" multi_line="false" render_layer="4"
|
||||||
fontsize="20" shadow="true" global_color="false" case="%case_first_string_letter_up" />
|
fontsize="20" shadow="true" global_color="false" case="%case_first_string_letter_up" />
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<view type="text" id="invalid" posref="TM TM" posparent="eb" x="0" y="20" color="255 255 96 255" global_color="false" fontsize="15" shadow="true" hardtext="uiCP_Name_Invalid" />
|
<view type="text" id="invalid" posref="TM TM" posparent="eb" x="0" y="20" color="255 255 96 255" global_color="false" fontsize="15" shadow="true" hardtext="uiCP_Name_Invalid" />
|
||||||
|
|
||||||
<ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="15" hardtext="uiCP_Name_Submit"
|
<ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="8" hardtext="uiCP_Name_Submit"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_appear_name_enter" />
|
onclick_l="proc" params_l="proc_appear_name_enter" />
|
||||||
|
|
||||||
|
@ -1320,120 +1309,46 @@
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_appear_name_cancel" />
|
onclick_l="proc" params_l="proc_appear_name_cancel" />
|
||||||
|
|
||||||
<!-- Name Generator -->
|
<!-- Name Generator -->
|
||||||
|
<view type="text" id="name_generator" x="0" y="-120" posparent="text" posref="BM BM" multi_line="false" render_layer="4"
|
||||||
<!-- voir coter widgets.xml pour les template de checkbox et autre -->
|
fontsize="10" shadow="true" global_color="false" case="%case_first_string_letter_up" hardtext="uiCP_Name_Generator"
|
||||||
|
|
||||||
<view type="text" id="name_generator" x="0" y="-30" posparent="eb" posref="BM BM" multi_line="false" render_layer="4"
|
|
||||||
fontsize="10" shadow="true" global_color="false" case="%case_first_string_letter_up" hardtext="uiCP_Name_Generator"
|
|
||||||
on_active="proc" on_active_params="proc_init_name_generator" />
|
on_active="proc" on_active_params="proc_init_name_generator" />
|
||||||
<!-- Full generated name with spaces and quote before being clean to match the login name pattern. -->
|
<!-- Full generated name with spaces and quote before being clean to match the login name pattern. -->
|
||||||
<view type="text" id="name_full" x="0" y="-15" posparent="eb" posref="BM BM" multi_line="false" render_layer="4"
|
<view type="text" id="name_full" x="0" y="-15" posparent="eb" posref="BM BM" multi_line="false" render_layer="4"
|
||||||
fontsize="14" color="200 200 200 255" shadow="true" global_color="false" case="%case_first_string_letter_up" />
|
fontsize="14" color="200 200 200 255" shadow="true" global_color="false" case="%case_first_string_letter_up" />
|
||||||
|
<view type="text" id="name_def" x="0" y="-15" posparent="name_full" posref="BM BM" multi_line="false" render_layer="4"
|
||||||
|
fontsize="14" color="200 200 200 255" shadow="true" global_color="false" case="%case_first_string_letter_up" />
|
||||||
|
|
||||||
<!-- Slider Name Race -->
|
<!-- Slider Name Syllabes -->
|
||||||
<group id="name_race_slider" posparent="name_generator" posref="BM BM" x="0" y="-55" w="200" h="48" >
|
<group id="name_syllabe_slider" posparent="name_generator" posref="BM BM" x="0" y="-55" w="200" h="48" >
|
||||||
|
|
||||||
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
|
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
|
||||||
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
|
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
|
||||||
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
|
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
|
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
||||||
id="but_back" posref="TL TL" x="0" y="-6"
|
id="but_back" posref="TL TL" x="0" y="-6"
|
||||||
onclick_l="proc" params_l="proc_appear_name_race_sub_one" />
|
onclick_l="proc" params_l="proc_appear_name_syllabe_sub_one" />
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
|
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
||||||
id="but_next" posref="TR TR" x="0" y="-6"
|
id="but_next" posref="TR TR" x="0" y="-6"
|
||||||
onclick_l="proc" params_l="proc_appear_name_race_add_one" />
|
onclick_l="proc" params_l="proc_appear_name_syllabe_add_one" />
|
||||||
|
|
||||||
<view type="text" id="name_race" case="%case_first_string_letter_up" posparent="name_generator" posref="TL TL" x="0" y="0" hardtext="Fyros" color="255 255 255 255" fontsize="11"/>
|
<view type="text" id="name_syllabe_nb" posparent="name_race_slider" posref="TL TL" x="0" y="0" hardtext="1" case="%case_first_string_letter_up" color="255 255 255 255" fontsize="11"/>
|
||||||
<ctrl type="scroll" id="name_race_scroll" posparent="name_race_slider" posref="MM MM" x="0" y="0" w="160" h="32"
|
<view type="text" id="name_syllabe" posparent="name_race_slider" posref="TL TL" x="10" y="0" hardtext="uiCP_Syllabe" case="%case_first_string_letter_up" color="255 255 255 255" fontsize="11"/>
|
||||||
vertical="false" align="L" min="1" max="5" value="UI:TEMP:NAME_RACE" tracksize="40"
|
<ctrl type="scroll" id="name_syllabe_scroll" posparent="name_syllabe_slider" posref="MM MM" x="0" y="0" w="160" h="32"
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
|
vertical="false" align="L" min="1" max="3" value="UI:TEMP:NAME_SYLLABE" tracksize="40"
|
||||||
onscroll="proc" params="proc_appear_name_race_label_change" />
|
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
|
||||||
</group>
|
onscroll="proc" params="proc_appear_name_syllabe_label_change" />
|
||||||
|
</group>
|
||||||
|
|
||||||
<!-- Slider Name Sub Race First Name -->
|
<ctrl style="valid_txt_button" id="generate" posref="BM BM" posparent="name_syllabe_slider" x="0" y="-80" hardtext="uiCP_Name_Generate"
|
||||||
<group id="name_sub_race_first_name_slider" posparent="name_race_slider" posref="BM BM" x="0" y="-40" w="200" h="48" >
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_appear_name_generate" />
|
||||||
|
|
||||||
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
|
<!-- End Name Generator -->
|
||||||
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
|
|
||||||
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
|
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
|
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
|
||||||
id="but_back" posref="TL TL" x="0" y="-6"
|
|
||||||
onclick_l="proc" params_l="proc_appear_name_sub_race_first_name_sub_one" />
|
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
|
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
|
||||||
id="but_next" posref="TR TR" x="0" y="-6"
|
|
||||||
onclick_l="proc" params_l="proc_appear_name_sub_race_first_name_add_one" />
|
|
||||||
|
|
||||||
<view type="text" id="firstName" case="%case_first_string_letter_up" posparent="name_sub_race_first_name_slider" posref="TL TL" x="0" y="0" hardtext="uiCP_FirstName" color="255 255 255 255" fontsize="11"/>
|
|
||||||
<view type="text" id="name_race" case="%case_first_string_letter_up" posparent="name_sub_race_first_name_slider" posref="TR TL" x="-100" y="0" hardtext="Fyros" color="255 255 255 255" fontsize="11"/>
|
|
||||||
<ctrl type="scroll" id="name_race_scroll" posparent="name_sub_race_first_name_slider" posref="MM MM" x="0" y="0" w="160" h="32"
|
|
||||||
vertical="false" align="L" min="1" max="5" value="UI:TEMP:NAME_SUB_RACE_FIRST_NAME" tracksize="40"
|
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
|
|
||||||
onscroll="proc" params="proc_appear_name_sub_race_first_name_label_change" />
|
|
||||||
</group>
|
|
||||||
|
|
||||||
<!-- Slider Name Sub Race Last Name -->
|
|
||||||
<group id="name_sub_race_last_name_slider" posparent="name_sub_race_first_name_slider" posref="BM BM" x="0" y="-40" w="200" h="48" >
|
|
||||||
|
|
||||||
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
|
|
||||||
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
|
|
||||||
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
|
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
|
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
|
||||||
id="but_back" posref="TL TL" x="0" y="-6"
|
|
||||||
onclick_l="proc" params_l="proc_appear_name_sub_race_last_name_sub_one" />
|
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
|
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
|
||||||
id="but_next" posref="TR TR" x="0" y="-6"
|
|
||||||
onclick_l="proc" params_l="proc_appear_name_sub_race_last_name_add_one" />
|
|
||||||
|
|
||||||
<view type="text" id="lastName" case="%case_first_string_letter_up" posparent="name_sub_race_last_name_slider" posref="TL TL" x="0" y="0" hardtext="uiCP_LastName" color="255 255 255 255" fontsize="11"/>
|
|
||||||
<view type="text" id="name_race" case="%case_first_string_letter_up" posparent="name_sub_race_last_name_slider" posref="TR TL" x="-100" y="0" hardtext="Fyros" color="255 255 255 255" fontsize="11"/>
|
|
||||||
<ctrl type="scroll" id="name_race_scroll" posparent="name_sub_race_last_name_slider" posref="MM MM" x="0" y="0" w="160" h="32"
|
|
||||||
vertical="false" align="L" min="1" max="4" value="UI:TEMP:NAME_SUB_RACE_LAST_NAME" tracksize="40"
|
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
|
|
||||||
onscroll="proc" params="proc_appear_name_sub_race_last_name_label_change" />
|
|
||||||
</group>
|
|
||||||
|
|
||||||
<!-- Slider Name Sex -->
|
|
||||||
<group id="name_sex_slider" posparent="name_race_slider" posref="BM BM" x="0" y="-40" w="200" h="48" >
|
|
||||||
|
|
||||||
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
|
|
||||||
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
|
|
||||||
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
|
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
|
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
|
||||||
id="but_back" posref="TL TL" x="0" y="-6"
|
|
||||||
onclick_l="proc" params_l="proc_appear_name_sex_sub_one" />
|
|
||||||
|
|
||||||
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
|
|
||||||
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
|
|
||||||
id="but_next" posref="TR TR" x="0" y="-6"
|
|
||||||
onclick_l="proc" params_l="proc_appear_name_sex_add_one" />
|
|
||||||
|
|
||||||
<view type="text" id="name_sex" posparent="name_race_slider" posref="TL TL" x="0" y="0" hardtext="uiCP_Sex_Male" case="%case_first_string_letter_up" color="255 255 255 255" fontsize="11"/>
|
|
||||||
<ctrl type="scroll" id="name_sex_scroll" posparent="name_sex_slider" posref="MM MM" x="0" y="0" w="160" h="32"
|
|
||||||
vertical="false" align="L" min="1" max="2" value="UI:TEMP:NAME_SEX" tracksize="40"
|
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
|
|
||||||
onscroll="proc" params="proc_appear_name_sex_label_change" />
|
|
||||||
</group>
|
|
||||||
|
|
||||||
<ctrl style="valid_txt_button" id="generate" posref="BM BM" posparent="name_race_slider" x="0" y="-100" hardtext="uiCP_Name_Generate"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_appear_name_generate" />
|
|
||||||
|
|
||||||
<!-- End Name Generator -->
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1542,24 +1457,7 @@
|
||||||
<action handler="set" params="target_property=ui:outgame:appear_name:invalid:active|value=0" />
|
<action handler="set" params="target_property=ui:outgame:appear_name:invalid:active|value=0" />
|
||||||
<action handler="set" params="target_property=ui:outgame:appear_name:eb:input_string|value=''" />
|
<action handler="set" params="target_property=ui:outgame:appear_name:eb:input_string|value=''" />
|
||||||
<action handler="set_keyboard_focus" params="target=ui:outgame:appear_name:eb|select_all=false" />
|
<action handler="set_keyboard_focus" params="target=ui:outgame:appear_name:eb|select_all=false" />
|
||||||
|
<action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
|
||||||
<!-- Name generator init. -->
|
|
||||||
<action handler="set" params="target_property=ui:outgame:appear_name:name_sex_slider:name_sex_scroll:value|value=add(@UI:TEMP:CHAR3D:VPA:SEX,1)" />
|
|
||||||
<action handler="set" params="target_property=ui:outgame:appear_name:name_race_slider:name_race_scroll:value|value=add(@UI:TEMP:CHAR3D:PEOPLE,1)" />
|
|
||||||
<action handler="set" params="target_property=ui:outgame:appear_name:name_sub_race_first_name_slider:name_race_scroll:value|value=1" />
|
|
||||||
<action handler="set" params="target_property=ui:outgame:appear_name:name_sub_race_last_name_slider:name_race_scroll:value|value=1" />
|
|
||||||
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SEX|value=add(@UI:TEMP:CHAR3D:VPA:SEX,1)" />
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=add(@UI:TEMP:CHAR3D:PEOPLE,1)" />
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_FIRST_NAME|value=1" />
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_LAST_NAME|value=1" />
|
|
||||||
|
|
||||||
<action handler="lua:outgame:procUpdateNameSexLabel()" />
|
|
||||||
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
|
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
|
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
|
|
||||||
<!-- End Name Generator. -->
|
|
||||||
|
|
||||||
</proc>
|
</proc>
|
||||||
|
|
||||||
<proc id="proc_appear_name_change">
|
<proc id="proc_appear_name_change">
|
||||||
|
@ -1633,60 +1531,39 @@
|
||||||
<action handler="set" cond="eq(@UI:TEMP:NAME_VALID,0)" params="target_property=ui:outgame:appear_name:invalid:active|value=1" />
|
<action handler="set" cond="eq(@UI:TEMP:NAME_VALID,0)" params="target_property=ui:outgame:appear_name:invalid:active|value=1" />
|
||||||
</proc>
|
</proc>
|
||||||
|
|
||||||
|
<!-- Name Generator -->
|
||||||
<!-- Name Generator. -->
|
|
||||||
<proc id="proc_appear_name_generate">
|
<proc id="proc_appear_name_generate">
|
||||||
<action handler="lua:outgame:procGenerateName()" />
|
<action handler="lua:outgame:procGenerateName()" />
|
||||||
</proc>
|
</proc>
|
||||||
<!-- Name Sex. -->
|
<!-- Nb Syllabe -->
|
||||||
<proc id="proc_appear_name_sex_label_change">
|
|
||||||
<action handler="lua:outgame:procUpdateNameSexLabel()" />
|
<proc id="proc_appear_name_syllabe_label_change">
|
||||||
|
<action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
|
||||||
</proc>
|
</proc>
|
||||||
<proc id="proc_appear_name_sex_add_one">
|
<proc id="proc_appear_name_syllabe_add_one">
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SEX|value=min(add(@UI:TEMP:NAME_SEX,1),2)" />
|
<action handler="set" params="dblink=UI:TEMP:NAME_SYLLABE|value=min(add(@UI:TEMP:NAME_SYLLABE,1),@UI:TEMP:NAME_SYLLABE_MAX)" />
|
||||||
<action handler="lua:outgame:procUpdateNameSexLabel()" />
|
<action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
|
||||||
</proc>
|
</proc>
|
||||||
<proc id="proc_appear_name_sex_sub_one">
|
<proc id="proc_appear_name_syllabe_sub_one">
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SEX|value=max(sub(@UI:TEMP:NAME_SEX,1),1)" />
|
<action handler="set" params="dblink=UI:TEMP:NAME_SYLLABE|value=max(sub(@UI:TEMP:NAME_SYLLABE,1),1)" />
|
||||||
<action handler="lua:outgame:procUpdateNameSexLabel()" />
|
<action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
|
||||||
</proc>
|
</proc>
|
||||||
<!-- Name Race. -->
|
|
||||||
|
<!-- Name Race -->
|
||||||
|
<!--
|
||||||
<proc id="proc_appear_name_race_label_change">
|
<proc id="proc_appear_name_race_label_change">
|
||||||
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
|
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
|
||||||
</proc>
|
</proc>
|
||||||
<proc id="proc_appear_name_race_add_one">
|
<proc id="proc_appear_name_race_add_one">
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=min(add(@UI:TEMP:NAME_RACE,1),@UI:TEMP:NAME_RACE_NB)" />
|
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=min(add(@UI:TEMP:NAME_RACE,1),@UI:TEMP:NAME_RACE_NB)" />
|
||||||
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
|
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
|
||||||
</proc>
|
</proc>
|
||||||
<proc id="proc_appear_name_race_sub_one">
|
<proc id="proc_appear_name_race_sub_one">
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=max(sub(@UI:TEMP:NAME_RACE,1),1)" />
|
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=max(sub(@UI:TEMP:NAME_RACE,1),1)" />
|
||||||
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
|
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
|
||||||
</proc>
|
</proc>
|
||||||
<!-- Name Sub Race. -->
|
-->
|
||||||
<proc id="proc_appear_name_sub_race_first_name_label_change">
|
<!-- End Name Generator -->
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
|
|
||||||
</proc>
|
|
||||||
<proc id="proc_appear_name_sub_race_first_name_add_one">
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_FIRST_NAME|value=min(add(@UI:TEMP:NAME_SUB_RACE_FIRST_NAME,1),5)" />
|
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
|
|
||||||
</proc>
|
|
||||||
<proc id="proc_appear_name_sub_race_first_name_sub_one">
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_FIRST_NAME|value=max(sub(@UI:TEMP:NAME_SUB_RACE_FIRST_NAME,1),1)" />
|
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
|
|
||||||
</proc>
|
|
||||||
<!-- Name Sub Race2. -->
|
|
||||||
<proc id="proc_appear_name_sub_race_last_name_label_change">
|
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
|
|
||||||
</proc>
|
|
||||||
<proc id="proc_appear_name_sub_race_last_name_add_one">
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_LAST_NAME|value=min(add(@UI:TEMP:NAME_SUB_RACE_LAST_NAME,1),4)" />
|
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
|
|
||||||
</proc>
|
|
||||||
<proc id="proc_appear_name_sub_race_last_name_sub_one">
|
|
||||||
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_LAST_NAME|value=max(sub(@UI:TEMP:NAME_SUB_RACE_LAST_NAME,1),1)" />
|
|
||||||
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
|
|
||||||
</proc>
|
|
||||||
<!-- End Name Generator. -->
|
|
||||||
|
|
||||||
<proc id="proc_appear_name_server_test">
|
<proc id="proc_appear_name_server_test">
|
||||||
<action handler="proc" params="proc_appear_name_enter2"
|
<action handler="proc" params="proc_appear_name_enter2"
|
||||||
|
@ -1752,7 +1629,7 @@
|
||||||
</proc>
|
</proc>
|
||||||
|
|
||||||
|
|
||||||
<group type="modal" id="appear_infos1" x="74" y="0" w="824" h="768" posref="MM MM" render_layer="1"
|
<group type="modal" id="appear_infos1" x="0" y="0" w="824" h="768" posref="TR TR" render_layer="1"
|
||||||
mouse_pos="false" escapable="false" exit_click_out="true" savable="false"
|
mouse_pos="false" escapable="false" exit_click_out="true" savable="false"
|
||||||
display="false"
|
display="false"
|
||||||
>
|
>
|
||||||
|
@ -1777,7 +1654,7 @@
|
||||||
onclick_l="proc" params_l="proc_charsel_infos"/>
|
onclick_l="proc" params_l="proc_charsel_infos"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group type="modal" id="appear_infos2" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1"
|
<group type="modal" id="appear_infos2" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
|
||||||
mouse_pos="false" escapable="false" exit_click_out="true"
|
mouse_pos="false" escapable="false" exit_click_out="true"
|
||||||
display="false"
|
display="false"
|
||||||
>
|
>
|
||||||
|
@ -1790,7 +1667,7 @@
|
||||||
onclick_l="proc" params_l="proc_charsel_infos"/>
|
onclick_l="proc" params_l="proc_charsel_infos"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group type="modal" id="appear_infos3" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1"
|
<group type="modal" id="appear_infos3" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
|
||||||
mouse_pos="false" escapable="false" exit_click_out="true"
|
mouse_pos="false" escapable="false" exit_click_out="true"
|
||||||
display="false"
|
display="false"
|
||||||
>
|
>
|
||||||
|
@ -1803,7 +1680,7 @@
|
||||||
onclick_l="proc" params_l="proc_charsel_infos"/>
|
onclick_l="proc" params_l="proc_charsel_infos"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group type="modal" id="appear_infos4" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1"
|
<group type="modal" id="appear_infos4" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
|
||||||
mouse_pos="false" escapable="false" exit_click_out="true"
|
mouse_pos="false" escapable="false" exit_click_out="true"
|
||||||
display="false"
|
display="false"
|
||||||
>
|
>
|
||||||
|
@ -1816,7 +1693,7 @@
|
||||||
onclick_l="proc" params_l="proc_charsel_infos"/>
|
onclick_l="proc" params_l="proc_charsel_infos"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group type="modal" id="appear_infos5" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1"
|
<group type="modal" id="appear_infos5" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
|
||||||
mouse_pos="false" escapable="false" exit_click_out="true"
|
mouse_pos="false" escapable="false" exit_click_out="true"
|
||||||
display="false"
|
display="false"
|
||||||
>
|
>
|
||||||
|
@ -1908,7 +1785,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- scene 3d Menu 1-->
|
<!-- scene 3d Menu 1-->
|
||||||
<scene3d id="3d_menu_1" x="3" y="-3" w="200" h="150" posref="TL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
<!-- le menu englobe tous les boutons, ici emplacement des images -->
|
||||||
<scene3d id="3d_menu_1" x="10" y="-100" w="200" h="150" posref="TL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
<scene3d id="3d_menu_1" x="10" y="-100" w="200" h="150" posref="TL TL" 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" >
|
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" >
|
||||||
|
|
||||||
|
@ -1936,7 +1813,7 @@
|
||||||
</scene3d>
|
</scene3d>
|
||||||
|
|
||||||
<!-- scene 3d Menu 2-->
|
<!-- scene 3d Menu 2-->
|
||||||
<scene3d id="3d_menu_2" posparent="3d_menu_1" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
<!-- placement relatif / au précédant -->
|
||||||
<scene3d id="3d_menu_2" posparent="3d_menu_1" w="200" h="150" x="5" y="30" posref="TR TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
<scene3d id="3d_menu_2" posparent="3d_menu_1" w="200" h="150" x="5" y="30" posref="TR TL" 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" >
|
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" >
|
||||||
|
|
||||||
|
@ -1960,7 +1837,7 @@
|
||||||
</scene3d>
|
</scene3d>
|
||||||
|
|
||||||
<!-- scene 3d Menu 3 -->
|
<!-- scene 3d Menu 3 -->
|
||||||
<scene3d id="3d_menu_3" posparent="3d_menu_2" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
<scene3d id="3d_menu_3" posparent="3d_menu_2" w="200" h="150" x="5" y="30" posref="TR TL" 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" >
|
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="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" />
|
<character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" />
|
||||||
|
@ -1982,7 +1859,7 @@
|
||||||
</scene3d>
|
</scene3d>
|
||||||
|
|
||||||
<!-- scene 3d Menu 4 -->
|
<!-- scene 3d Menu 4 -->
|
||||||
<scene3d id="3d_menu_4" posparent="3d_menu_3" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
<scene3d id="3d_menu_4" posparent="3d_menu_3" w="200" h="150" x="5" y="-30" posref="TR TL" 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" >
|
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="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" />
|
<character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" />
|
||||||
|
@ -2004,7 +1881,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- scene 3d Menu 5 -->
|
<!-- scene 3d Menu 5 -->
|
||||||
<scene3d id="3d_menu_5" posparent="3d_menu_4" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
<scene3d id="3d_menu_5" posparent="3d_menu_4" w="200" h="150" x="5" y="-30" posref="TR TL" 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" >
|
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="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 45.0" />
|
<character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 45.0" />
|
||||||
|
@ -2062,28 +1939,28 @@
|
||||||
<!--****************-->
|
<!--****************-->
|
||||||
<!-- Specie Options -->
|
<!-- Specie Options -->
|
||||||
<!--****************-->
|
<!--****************-->
|
||||||
|
<!-- Position des menus dans l'élément group, je n'arrive pas à le descendre -->
|
||||||
<!-- h taille de la fenêtre, x: position à gauche, y n'a l'air de rien changer -->
|
<!-- h taille de la fenêtre, x: position à gauche, y n'a l'air de rien changer -->
|
||||||
|
<!-- Il faudra mettre x à une petite valeur partout la même -->
|
||||||
<group id="specie_options" child_resize_w="true" child_resize_wmargin="32" h="450" posref="TL TL" x="5" y="-200">
|
<group id="specie_options" child_resize_w="true" child_resize_wmargin="32" h="450" posref="TL TL" x="5" y="-200">
|
||||||
<!-- Grisé du menu -->
|
<!-- Grisé du menu -->
|
||||||
<group id="sub" sizeref="wh" posref="TL TL" w="-24" h="-96" x="24" y="-300" >
|
<group id="sub" sizeref="wh" posref="TL TL" w="-24" h="-96" x="24" y="-300" >
|
||||||
<instance template="outgame_black_back" id="back" />
|
<instance template="outgame_black_back" id="back" />
|
||||||
</group>
|
</group>
|
||||||
|
<!-- item de menu -->
|
||||||
<ctrl style="opt_button" id="fyros_but" posref="TL TL" x="60" y="-88" text_y="15" hardtext="uiCP_Specie_Fyros"
|
<ctrl style="opt_button" id="fyros_but" posref="TL TL" x="60" y="-320" hardtext="uiCP_Specie_Race1"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_select_specie|0"/>
|
onclick_l="proc" params_l="proc_select_specie|0"/>
|
||||||
|
|
||||||
<ctrl style="opt_button" id="matis_but" posparent="fyros_but" posref="BL TL" text_y="15" hardtext="uiCP_Specie_Matis"
|
<ctrl style="opt_button" id="matis_but" posparent="fyros_but" posref="BL TL" hardtext="uiCP_Specie_Race2"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_select_specie|1"/>
|
onclick_l="proc" params_l="proc_select_specie|1"/>
|
||||||
|
|
||||||
<ctrl style="opt_button" id="tryker_but" posparent="matis_but" posref="BL TL" text_y="15" hardtext="uiCP_Specie_Tryker"
|
<!-- <ctrl style="opt_button" id="tryker_but" posparent="matis_but" posref="BL TL" hardtext="uiCP_Specie_Tryker"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_select_specie|2"/>
|
onclick_l="proc" params_l="proc_select_specie|2"/>
|
||||||
|
|
||||||
<ctrl style="opt_button" id="zorai_but" posparent="tryker_but" posref="BL TL" text_y="15" hardtext="uiCP_Specie_Zorai"
|
<ctrl style="opt_button" id="zorai_but" posparent="tryker_but" posref="BL TL" hardtext="uiCP_Specie_Zorai"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_select_specie|3"/> -->
|
onclick_l="proc" params_l="proc_select_specie|3"/> -->
|
||||||
|
|
||||||
|
@ -2113,11 +1990,11 @@
|
||||||
<instance template="outgame_black_back" id="back"/>
|
<instance template="outgame_black_back" id="back"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<ctrl style="opt_button" id="male_but" posref="TL TL" x="20" y="-88" text_y="15" hardtext="uiCP_Sex_Male"
|
<ctrl style="opt_button" id="male_but" posref="TL TL" x="20" y="-320" hardtext="uiCP_Sex_Male"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_select_sex|0"/>
|
onclick_l="proc" params_l="proc_select_sex|0"/>
|
||||||
|
|
||||||
<ctrl style="opt_button" id="female_but" posparent="male_but" posref="BL TL" text_y="15" hardtext="uiCP_Sex_Female"
|
<ctrl style="opt_button" id="female_but" posparent="male_but" posref="BL TL" hardtext="uiCP_Sex_Female"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_select_sex|1"/>
|
onclick_l="proc" params_l="proc_select_sex|1"/>
|
||||||
|
|
||||||
|
@ -2142,7 +2019,7 @@
|
||||||
|
|
||||||
<!-- Height -->
|
<!-- Height -->
|
||||||
<instance template="slider" posparent="subbo" id="bk1" posref="TL TL" x="0" y="0" w="180" h="48" />
|
<instance template="slider" posparent="subbo" id="bk1" posref="TL TL" x="0" y="0" w="180" h="48" />
|
||||||
<view type="text" id="title1" posparent="bk1" posref="TL TL" x="16" y="4" hardtext="uiHeight" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="title1" posparent="bk1" posref="TL TL" x="16" y="2" hardtext="uiHeight" color="255 255 255 255" fontsize="10"/>
|
||||||
<ctrl type="scroll" id="scroll1" posparent="bk1" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="scroll1" posparent="bk1" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:CHARACTERHEIGHT" tracksize="40"
|
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:CHARACTERHEIGHT" tracksize="40"
|
||||||
onscrollend="proc" params="CP_Camera_Face"
|
onscrollend="proc" params="CP_Camera_Face"
|
||||||
|
@ -2150,7 +2027,7 @@
|
||||||
|
|
||||||
<!-- Torso -->
|
<!-- Torso -->
|
||||||
<instance template="slider" id="bk2" posparent="bk1" posref="BL TL" w="180" h="48" />
|
<instance template="slider" id="bk2" posparent="bk1" posref="BL TL" w="180" h="48" />
|
||||||
<view type="text" id="title2" posparent="bk2" posref="TL TL" x="16" y="4" hardtext="uiTorso" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="title2" posparent="bk2" posref="TL TL" x="16" y="2" hardtext="uiTorso" color="255 255 255 255" fontsize="10"/>
|
||||||
<ctrl type="scroll" id="scroll2" posparent="bk2" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="scroll2" posparent="bk2" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:TORSOWIDTH" tracksize="40"
|
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:TORSOWIDTH" tracksize="40"
|
||||||
onscroll="" params=""
|
onscroll="" params=""
|
||||||
|
@ -2158,7 +2035,7 @@
|
||||||
|
|
||||||
<!-- Arms -->
|
<!-- Arms -->
|
||||||
<instance template="slider" id="bk3" posparent="bk2" posref="BL TL" w="180" h="48" />
|
<instance template="slider" id="bk3" posparent="bk2" posref="BL TL" w="180" h="48" />
|
||||||
<view type="text" id="title3" posparent="bk3" posref="TL TL" x="16" y="4" hardtext="uiArms" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="title3" posparent="bk3" posref="TL TL" x="16" y="2" hardtext="uiArms" color="255 255 255 255" fontsize="10"/>
|
||||||
<ctrl type="scroll" id="scroll3" posparent="bk3" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="scroll3" posparent="bk3" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:ARMSWIDTH" tracksize="40"
|
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:ARMSWIDTH" tracksize="40"
|
||||||
onscroll="" params=""
|
onscroll="" params=""
|
||||||
|
@ -2166,7 +2043,7 @@
|
||||||
|
|
||||||
<!-- Legs -->
|
<!-- Legs -->
|
||||||
<instance template="slider" id="bk4" posparent="bk3" posref="BL TL" w="180" h="48" />
|
<instance template="slider" id="bk4" posparent="bk3" posref="BL TL" w="180" h="48" />
|
||||||
<view type="text" id="title4" posparent="bk4" posref="TL TL" x="16" y="4" hardtext="uiLegs" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="title4" posparent="bk4" posref="TL TL" x="16" y="2" hardtext="uiLegs" color="255 255 255 255" fontsize="10"/>
|
||||||
<ctrl type="scroll" id="scroll4" posparent="bk4" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="scroll4" posparent="bk4" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:LEGSWIDTH" tracksize="40"
|
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:LEGSWIDTH" tracksize="40"
|
||||||
onscroll="" params=""
|
onscroll="" params=""
|
||||||
|
@ -2175,7 +2052,7 @@
|
||||||
|
|
||||||
<!-- Breast -->
|
<!-- Breast -->
|
||||||
<instance template="slider" id="bk5" posparent="bk4" posref="BL TL" w="180" h="48" active="false" />
|
<instance template="slider" id="bk5" posparent="bk4" posref="BL TL" w="180" h="48" active="false" />
|
||||||
<view type="text" id="title5" posparent="bk5" posref="TL TL" x="16" y="4" hardtext="uiBreasts" color="255 255 255 255" fontsize="10" active="false" />
|
<view type="text" id="title5" posparent="bk5" posref="TL TL" x="16" y="2" hardtext="uiBreasts" color="255 255 255 255" fontsize="10" active="false" />
|
||||||
<ctrl type="scroll" id="scroll5" posparent="bk5" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="scroll5" posparent="bk5" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:BREASTSIZE" tracksize="40"
|
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:BREASTSIZE" tracksize="40"
|
||||||
onscroll="" params=""
|
onscroll="" params=""
|
||||||
|
@ -2241,14 +2118,14 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- TITLES Des SLIDERS -->
|
<!-- TITLES Des SLIDERS -->
|
||||||
<view type="text" id="face1" posparent="pos1" posref="TL TL" x="2" y="4" hardtext="uiFace1Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face1" posparent="pos1" posref="TL TL" x="16" y="2" hardtext="uiFace1Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
<view type="text" id="face2" posparent="pos2" posref="TL TL" x="2" y="4" hardtext="uiFace2Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face2" posparent="pos2" posref="TL TL" x="16" y="2" hardtext="uiFace2Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
<view type="text" id="face3" posparent="pos3" posref="TL TL" x="2" y="4" hardtext="uiFace3Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face3" posparent="pos3" posref="TL TL" x="16" y="2" hardtext="uiFace3Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
<view type="text" id="face4" posparent="pos4" posref="TL TL" x="2" y="4" hardtext="uiFace4Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face4" posparent="pos4" posref="TL TL" x="16" y="2" hardtext="uiFace4Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
<view type="text" id="face5" posparent="pos5" posref="TL TL" x="2" y="4" hardtext="uiFace5Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face5" posparent="pos5" posref="TL TL" x="16" y="2" hardtext="uiFace5Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
<view type="text" id="face6" posparent="pos6" posref="TL TL" x="2" y="4" hardtext="uiFace6Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face6" posparent="pos6" posref="TL TL" x="16" y="2" hardtext="uiFace6Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
<view type="text" id="face7" posparent="pos7" posref="TL TL" x="2" y="4" hardtext="uiFace7Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face7" posparent="pos7" posref="TL TL" x="16" y="2" hardtext="uiFace7Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
<view type="text" id="face8" posparent="pos8" posref="TL TL" x="2" y="4" hardtext="uiFace8Fy" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="face8" posparent="pos8" posref="TL TL" x="16" y="2" hardtext="uiFace8Fy" color="255 255 255 255" fontsize="11"/>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<view type="bitmap" id="branch" posref="BL BL" texture="branch.tga" color="255 255 255 255" global_color="false" />
|
<view type="bitmap" id="branch" posref="BL BL" texture="branch.tga" color="255 255 255 255" global_color="false" />
|
||||||
|
@ -2262,28 +2139,28 @@
|
||||||
|
|
||||||
<!-- HAIRCUT -->
|
<!-- HAIRCUT -->
|
||||||
<instance template="but_slider" id="haircut" posparent="pos1" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:HAIRCUT" max="6" />
|
<instance template="but_slider" id="haircut" posparent="pos1" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:HAIRCUT" max="6" />
|
||||||
<view type="text" id="hair1" posparent="haircut" posref="TL TL" x="16" y="4" hardtext="uiHaircut" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="hair1" posparent="haircut" posref="TL TL" x="16" y="2" hardtext="uiHaircut" color="255 255 255 255" fontsize="11"/>
|
||||||
<ctrl type="scroll" id="hair2" posparent="haircut" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="hair2" posparent="haircut" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="6" value="UI:TEMP:HAIRCUT" tracksize="40"
|
vertical="false" align="L" min="0" max="6" value="UI:TEMP:HAIRCUT" tracksize="40"
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
||||||
|
|
||||||
<!-- HAIR COLOR -->
|
<!-- HAIR COLOR -->
|
||||||
<instance template="but_slider" id="haircolor" posparent="pos2" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5" />
|
<instance template="but_slider" id="haircolor" posparent="pos2" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5" />
|
||||||
<view type="text" id="haircol1" posparent="haircolor" posref="TL TL" x="16" y="4" hardtext="uiHairColor" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="haircol1" posparent="haircolor" posref="TL TL" x="16" y="2" hardtext="uiHairColor" color="255 255 255 255" fontsize="11"/>
|
||||||
<ctrl type="scroll" id="haircol2" posparent="haircolor" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="haircol2" posparent="haircolor" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="5" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" tracksize="40"
|
vertical="false" align="L" min="0" max="5" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" tracksize="40"
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
||||||
|
|
||||||
<!-- TATOOS -->
|
<!-- TATOOS -->
|
||||||
<instance template="but_slider" id="tatoos" posparent="pos3" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="31" />
|
<instance template="but_slider" id="tatoos" posparent="pos3" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="31" />
|
||||||
<view type="text" id="tatoo1" posparent="tatoos" posref="TL TL" x="16" y="4" hardtext="uiTatoos" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="tatoo1" posparent="tatoos" posref="TL TL" x="16" y="2" hardtext="uiTatoos" color="255 255 255 255" fontsize="11"/>
|
||||||
<ctrl type="scroll" id="tatoo2" posparent="tatoos" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="tatoo2" posparent="tatoos" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="31" value="UI:TEMP:CHAR3D:VPC:TATTOO" tracksize="40"
|
vertical="false" align="L" min="0" max="31" value="UI:TEMP:CHAR3D:VPC:TATTOO" tracksize="40"
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
||||||
|
|
||||||
<!-- EYES -->
|
<!-- EYES -->
|
||||||
<instance template="but_slider" id="eyes" posparent="pos4" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" max="7" />
|
<instance template="but_slider" id="eyes" posparent="pos4" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" max="7" />
|
||||||
<view type="text" id="eyes1" posparent="eyes" posref="TL TL" x="16" y="4" hardtext="uiEyes" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="eyes1" posparent="eyes" posref="TL TL" x="16" y="2" hardtext="uiEyes" color="255 255 255 255" fontsize="11"/>
|
||||||
<ctrl type="scroll" id="eyes2" posparent="eyes" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="eyes2" posparent="eyes" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="7" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" tracksize="40"
|
vertical="false" align="L" min="0" max="7" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" tracksize="40"
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
||||||
|
@ -2331,9 +2208,9 @@
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<!-- Bonus 1 -->
|
<!-- Bonus 1 -->
|
||||||
<instance template="slider" id="bp1" posref="TL TL" x="15" y="-90" w="180" h="48" />
|
<instance template="slider" id="bp1" posref="TL TL" x="20" y="-96" w="180" h="48" />
|
||||||
<view type="text" id="title1" posparent="bp1" posref="TL TL" x="0" y="2" hardtext="uiCP_BP1" color="255 255 255 255" fontsize="10"/>
|
<view type="text" id="title1" posparent="bp1" posref="TL TL" x="16" y="2" hardtext="uiCP_BP1" color="255 255 255 255" fontsize="10"/>
|
||||||
<view type="text" id="info1" posparent="title1" posref="MR ML" x="5" y="1" hardtext="uiCP_JOB1" color="255 255 255 255" fontsize="11"/>
|
<view type="text" id="info1" posparent="title1" posref="MR ML" x="0" y="1" hardtext="uiCP_JOB1" color="255 255 255 255" fontsize="11"/>
|
||||||
<ctrl type="scroll" id="scroll1" posparent="bp1" posref="MM MM" x="0" y="0" w="140" h="32"
|
<ctrl type="scroll" id="scroll1" posparent="bp1" posref="MM MM" x="0" y="0" w="140" h="32"
|
||||||
vertical="false" align="L" min="0" max="3" value="UI:TEMP:JOB_POINT1" tracksize="40"
|
vertical="false" align="L" min="0" max="3" value="UI:TEMP:JOB_POINT1" tracksize="40"
|
||||||
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
|
||||||
|
@ -2344,8 +2221,8 @@
|
||||||
|
|
||||||
<link expr="depends(@UI:TEMP:JOB_POINT1)" action="proc" params="proc_job_point1" />
|
<link expr="depends(@UI:TEMP:JOB_POINT1)" action="proc" params="proc_job_point1" />
|
||||||
|
|
||||||
|
<!-- top left, placement à revoir -->
|
||||||
<group id="options" posref="TR TR" w="815" h="762" >
|
<group id="options" w="815" h="762" posref="TL TL" x="100" y="0" >
|
||||||
|
|
||||||
|
|
||||||
<!-- le groupe descriptif : un déplacement vers la gauche entraîne un affichage incomplet -->
|
<!-- le groupe descriptif : un déplacement vers la gauche entraîne un affichage incomplet -->
|
||||||
|
@ -2360,13 +2237,13 @@
|
||||||
<view type="text" id="desc_title" posparent="icons_back" posref="TL BL" hardtext="uiCP_BP_Des" color="140 162 107 255" fontsize="13" x="0" y="4" />
|
<view type="text" id="desc_title" posparent="icons_back" posref="TL BL" hardtext="uiCP_BP_Des" color="140 162 107 255" fontsize="13" x="0" y="4" />
|
||||||
|
|
||||||
<!-- Pack description -->
|
<!-- Pack description -->
|
||||||
<view type="text" id="pack_F" posref="TR TL" hardtext="uiCP_Job_F1" fontsize="10" x="12" y="-5" posparent="icons_back"
|
<view type="text" id="pack_F" posref="TR TL" hardtext="uiCP_Job_F1" fontsize="10" x="12" y="-10" posparent="icons_back"
|
||||||
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
||||||
<view type="text" id="pack_M" posref="TR TL" hardtext="uiCP_Job_M1" fontsize="10" x="12" y="-61" posparent="icons_back"
|
<view type="text" id="pack_M" posref="TR TL" hardtext="uiCP_Job_M1" fontsize="10" x="12" y="-66" posparent="icons_back"
|
||||||
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
||||||
<view type="text" id="pack_G" posref="TR TL" hardtext="uiCP_Job_G1" fontsize="10" x="12" y="-117" posparent="icons_back"
|
<view type="text" id="pack_G" posref="TR TL" hardtext="uiCP_Job_G1" fontsize="10" x="12" y="-122" posparent="icons_back"
|
||||||
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
||||||
<view type="text" id="pack_C" posref="TR TL" hardtext="uiCP_Job_C1" fontsize="10" x="12" y="-173" posparent="icons_back"
|
<view type="text" id="pack_C" posref="TR TL" hardtext="uiCP_Job_C1" fontsize="10" x="12" y="-178" posparent="icons_back"
|
||||||
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
line_maxw="450" multi_line="true" multi_line_space="0"/>
|
||||||
|
|
||||||
|
|
||||||
|
@ -2422,8 +2299,8 @@
|
||||||
|
|
||||||
<group id="result" posparent="desc" posref="TL TL" y="0" sizeref="w" h="96" >
|
<group id="result" posparent="desc" posref="TL TL" y="0" sizeref="w" h="96" >
|
||||||
|
|
||||||
<view type="text" id="title1" posref="TL TL" hardtext="uiCP_Title" color="140 162 107 255" fontsize="13" x="16" y="-10"/>
|
<view type="text" id="title1" posref="TL TL" hardtext="uiCP_Title" color="140 162 107 255" fontsize="13" x="16" y="-12"/>
|
||||||
<view type="text" id="title2" posref="BR BL" hardtext="uiCP_Refugee" color="255 255 255 255" fontsize="15" y="-2" x="0" posparent="title1" />
|
<view type="text" id="title2" posref="BR BL" hardtext="uiCP_Refugee" color="255 255 255 255" fontsize="15" x="0" posparent="title1" />
|
||||||
|
|
||||||
<view type="text" id="title3" posparent="title1" posref="BL TL" hardtext="uiCP_Pack" fontsize="13" color="140 162 107 255" y="-8"/>
|
<view type="text" id="title3" posparent="title1" posref="BL TL" hardtext="uiCP_Pack" fontsize="13" color="140 162 107 255" y="-8"/>
|
||||||
<view type="text" id="res" posparent="title3" posref="TR TL" hardtext="uiCP_Res_F" fontsize="13" color="255 255 255 255" x="8" multi_line="true" multi_line_space="0" />
|
<view type="text" id="res" posparent="title3" posref="TR TL" hardtext="uiCP_Res_F" fontsize="13" color="255 255 255 255" x="8" multi_line="true" multi_line_space="0" />
|
||||||
|
@ -2492,7 +2369,7 @@
|
||||||
<!-- TITLE -->
|
<!-- TITLE -->
|
||||||
|
|
||||||
<group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR">
|
<group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR">
|
||||||
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_title1"/>
|
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="-4" hardtext="uiCP_title1"/>
|
||||||
<view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_creation"/>
|
<view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_creation"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
@ -2516,7 +2393,7 @@
|
||||||
|
|
||||||
<!-- KAMI MENU SELECT -->
|
<!-- KAMI MENU SELECT -->
|
||||||
<!--<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga"
|
<!--<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga"
|
||||||
color="255 255 255 255" global_color="false" />
|
color="255 255 255 255" global_color="false" /> -->
|
||||||
|
|
||||||
|
|
||||||
<!-- QUIT BUTTON -->
|
<!-- QUIT BUTTON -->
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
<!-- JENA BACK -->
|
<!-- JENA BACK -->
|
||||||
<view type="bitmap" id="jena" render_layer="-1"
|
<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" />
|
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="launcher_bg.tga" />
|
||||||
|
|
||||||
|
|
||||||
<!-- Quit Button -->
|
<!-- Quit Button -->
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<!-- JENA BACK -->
|
<!-- JENA BACK -->
|
||||||
<view type="bitmap" id="jena" render_layer="-1"
|
<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" />
|
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="launcher_bg.tga" />
|
||||||
|
|
||||||
|
|
||||||
<!-- Quit Button -->
|
<!-- Quit Button -->
|
||||||
|
|
|
@ -865,8 +865,8 @@ function game:updatePhraseTooltip(phrase)
|
||||||
end
|
end
|
||||||
-- IMPORTANT : the following getters on 'phrase' take in account the 'total action malus' for the timebeing
|
-- IMPORTANT : the following getters on 'phrase' take in account the 'total action malus' for the timebeing
|
||||||
self:setPhraseTooltipCarac(ttWin, "ChaScore1_cost", phrase:getChaScore1Cost())
|
self:setPhraseTooltipCarac(ttWin, "ChaScore1_cost", phrase:getChaScore1Cost())
|
||||||
self:setPhraseTooltipCarac(ttWin, "ChaScore3_cost", phrase:getChaScore3Cost())
|
|
||||||
self:setPhraseTooltipCarac(ttWin, "ChaScore2_cost", phrase:getChaScore2Cost())
|
self:setPhraseTooltipCarac(ttWin, "ChaScore2_cost", phrase:getChaScore2Cost())
|
||||||
|
self:setPhraseTooltipCarac(ttWin, "ChaScore3_cost", phrase:getChaScore3Cost())
|
||||||
self:setPhraseTooltipCarac(ttWin, "ChaScore4_cost", phrase:getChaScore4Cost())
|
self:setPhraseTooltipCarac(ttWin, "ChaScore4_cost", phrase:getChaScore4Cost())
|
||||||
self:setPhraseTooltipCarac(ttWin, "cast_time", phrase:getCastTime(), concatUCString(string.format("%.1f", phrase:getCastTime()), i18n.get("uittSeconds")))
|
self:setPhraseTooltipCarac(ttWin, "cast_time", phrase:getCastTime(), concatUCString(string.format("%.1f", phrase:getCastTime()), i18n.get("uittSeconds")))
|
||||||
local castRange = phrase:getCastRange()
|
local castRange = phrase:getCastRange()
|
||||||
|
@ -907,6 +907,7 @@ function game:updatePhraseTooltip(phrase)
|
||||||
return text
|
return text
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
|
||||||
-- called at each frame when a power/aura tooltip is displayed,in order to update the regen countdown
|
-- called at each frame when a power/aura tooltip is displayed,in order to update the regen countdown
|
||||||
function game:updatePowerPhraseTooltip()
|
function game:updatePowerPhraseTooltip()
|
||||||
|
|
Loading…
Reference in a new issue