mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 01:09:34 +00:00
Modification écran de sélection du personnage
This commit is contained in:
parent
0ff7b7f01e
commit
5cd464003a
1 changed files with 144 additions and 131 deletions
|
@ -58,11 +58,11 @@
|
||||||
|
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posx|value=0.0"/>
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posx|value=0.0"/>
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posy|value=23.0"/>
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posy|value=23.0"/>
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posz|value=2.8"/>
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posz|value=2.05"/>
|
||||||
|
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtx|value=0.0"/>
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtx|value=0.0"/>
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgty|value=26.5"/>
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgty|value=26.5"/>
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtz|value=2.0"/>
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtz|value=2.15"/>
|
||||||
|
|
||||||
<action handler="lua:game:procCharselClickSlot()" />
|
<action handler="lua:game:procCharselClickSlot()" />
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
|
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:char:anim|value=3" />
|
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:char:anim|value=3" />
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:env:name |
|
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:env:name |
|
||||||
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" />
|
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig')" />
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:fov |
|
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:fov |
|
||||||
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 21, 22, 20, 23)" />
|
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 21, 22, 20, 23)" />
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:posz|value=add(0.06,getprop('ui:outgame:charsel:slot@0:char:headz'))" />
|
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:posz|value=add(0.06,getprop('ui:outgame:charsel:slot@0:char:headz'))" />
|
||||||
|
@ -176,16 +176,18 @@
|
||||||
|
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:active|value=not(isCharSelSlotEmpty(@0))" />
|
<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:empty3d:active|value=isCharSelSlotEmpty(@0)" />
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:select_menu:y |
|
<action handler="set" params="target_property=ui:outgame:charsel:select_menu:x |
|
||||||
value=switch(@0, 2, -151, -304, -457, -610)" />
|
value=switch(@0, 2, 207, 412, 617, 822)" />
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:pushed|value=1" />
|
<action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:pushed|value=1" />
|
||||||
|
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:char3d:env:name |
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:env:name |
|
||||||
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" />
|
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 |
|
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:fov |
|
||||||
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 60, 60, 60, 60)" />
|
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)" />
|
||||||
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:y |
|
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:y |
|
||||||
value=switch(@0, 0, -153, -306, -459, -612)" />
|
value=switch(@0, -95, -65, -35, -65, -95)" />
|
||||||
|
|
||||||
<action handler="proc" params="proc_charsel_infos2" />
|
<action handler="proc" params="proc_charsel_infos2" />
|
||||||
</proc>
|
</proc>
|
||||||
|
@ -265,18 +267,18 @@
|
||||||
<!-- * TEMPLATES * -->
|
<!-- * TEMPLATES * -->
|
||||||
<!-- ***************** -->
|
<!-- ***************** -->
|
||||||
|
|
||||||
<template name="char_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="-3" >
|
<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="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
|
||||||
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
|
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" />
|
<character3d id="char" dblink="#dblink" pos="0.0 26.5 0.85" rot="0.0 0.0 10.0" />
|
||||||
|
|
||||||
<camera id="cam" fov="20" pos="0.0 24.0 2.2" target="0.0 26.5 2.0" roll="0" />
|
<camera id="cam" fov="20" pos="0.0 24.0 3.0" target="0.0 26.5 2.9" roll="0" />
|
||||||
|
|
||||||
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
|
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
|
||||||
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
|
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
|
||||||
<ig id="env" name="outgame_matis.ig" pos="0 0 0" />
|
<ig id="env" name="outgame_zorai.ig" pos="0 0 0" />
|
||||||
|
|
||||||
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 0.85" rot="0.0 0.0 0.0" />
|
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 0.85" rot="0.0 0.0 0.0" />
|
||||||
|
|
||||||
|
@ -448,7 +450,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Vue Globale -->
|
<!-- Vue Globale -->
|
||||||
<scene3d id="char3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2"
|
<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"
|
user_interaction="true" rotz_factor="0.017"
|
||||||
roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15"
|
roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15"
|
||||||
dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="3.8"
|
dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="3.8"
|
||||||
|
@ -458,13 +460,13 @@
|
||||||
|
|
||||||
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 1.0" rot="0.0 0.0 0.0" />
|
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 1.0" rot="0.0 0.0 0.0" />
|
||||||
|
|
||||||
<camera id="cam" fov="80" pos="0.0 24.0 2.6" target="0.0 26.5 2.2" roll="0" />
|
<camera id="cam" fov="100" pos="0.0 24.25 2.2" target="0.0 26.5 2.2" roll="0" />
|
||||||
<camera id="camface" fov="20" pos="0.0 25.0 2.2" target="0.0 26.5 2.2" roll="0" />
|
<camera id="camface" fov="20" pos="0.0 25.0 2.2" target="0.0 26.5 2.2" roll="0" />
|
||||||
|
|
||||||
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
|
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
|
||||||
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
|
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
|
||||||
|
|
||||||
<ig id="env" name="outgame_matis.ig" pos="0 0 0.15" />
|
<ig id="env" name="outgame_zorai.ig" pos="0 0 0.15" />
|
||||||
|
|
||||||
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 1.0" rot="0.0 0.0 0.0" />
|
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 1.0" rot="0.0 0.0 0.0" />
|
||||||
|
|
||||||
|
@ -474,16 +476,17 @@
|
||||||
<auto_anim name="lanterne-int2.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"/>
|
<view type="text" id="in_ring_session" multi_line="true" w="650" line_maxw="650" posref="TL TL" global_color="false" render_layer="2" fontsize="17" shadow="true" y="-80" x="260" hardtext_format="uiCP_InRingSession"/>
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- Empty Scene -->
|
<!-- Empty Scene -->
|
||||||
<scene3d id="empty3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2"
|
<scene3d id="empty3d" x="2" y="2" w="1020" h="560" posref="BL BL" curcam="cam" curcs="env" render_layer="-2"
|
||||||
user_interaction="false"
|
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" >
|
||||||
|
|
||||||
|
|
||||||
<camera id="cam" fov="80" pos="0.0 24.0 2.6" target="0.0 26.5 2.2" roll="0" />
|
<camera id="cam" fov="80" pos="0.0 24.0 2.8" target="0.0 26.5 2.4" roll="0" />
|
||||||
|
|
||||||
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
|
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
|
||||||
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
|
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
|
||||||
|
@ -497,44 +500,120 @@
|
||||||
<!-- MAIN MENU -->
|
<!-- MAIN MENU -->
|
||||||
<!--***********-->
|
<!--***********-->
|
||||||
|
|
||||||
<!-- View of each slot TODO : convert relative pos by absolute !!! -->
|
<!-- View of each slot -->
|
||||||
|
|
||||||
<instance template="char_slot_view" id="slot0" dblink="UI:TEMP:CHARSLOT0" posref="TL TL" x="3" />
|
<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" y="-153" />
|
<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" y="-306" />
|
<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" y="-459" />
|
<instance template="char_slot_view" id="slot3" dblink="UI:TEMP:CHARSLOT3" posref="TL TL" x="617" y="-65"/>
|
||||||
<instance template="char_slot_view" id="slot4" dblink="UI:TEMP:CHARSLOT4" posref="TL TL" y="-612" />
|
<instance template="char_slot_view" id="slot4" dblink="UI:TEMP:CHARSLOT4" posref="TL TL" x="822" y="-95"/>
|
||||||
|
|
||||||
<instance template="empty_slot_view" id="empty_slot0" posref="TL TL" x="3" y="-3" />
|
<instance template="empty_slot_view" id="empty_slot0" posref="TL TL" x="2" y="-95"/>
|
||||||
<instance template="empty_slot_view" id="empty_slot1" posref="TL TL" x="3" y="-156" />
|
<instance template="empty_slot_view" id="empty_slot1" posref="TL TL" x="207" y="-65"/>
|
||||||
<instance template="empty_slot_view" id="empty_slot2" posref="TL TL" x="3" y="-309" />
|
<instance template="empty_slot_view" id="empty_slot2" posref="TL TL" x="412" y="-35"/>
|
||||||
<instance template="empty_slot_view" id="empty_slot3" posref="TL TL" x="3" y="-462" />
|
<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="3" y="-615" />
|
<instance template="empty_slot_view" id="empty_slot4" posref="TL TL" x="822" y="-95"/>
|
||||||
|
|
||||||
|
|
||||||
<!-- Button of each slot (always present even if empty slot) -->
|
<!-- Button of each character slot (always present even if empty slot) -->
|
||||||
|
|
||||||
<ctrl style="menu_button" id="but_slot0" posref="TL TL" x="3" y="-3"
|
<ctrl style="menu_button" id="but_slot0" posref="TL TL" x="2" y="-95"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_charsel_clickslot|0" />
|
onclick_l="proc" params_l="proc_charsel_clickslot|0" />
|
||||||
|
|
||||||
<ctrl style="menu_button" id="but_slot1" posref="BL TL" posparent="but_slot0" y="-3"
|
<ctrl style="menu_button" id="but_slot1" posref="TR TL" posparent="but_slot0" x="5" y="30"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_charsel_clickslot|1" />
|
onclick_l="proc" params_l="proc_charsel_clickslot|1" />
|
||||||
|
|
||||||
<ctrl style="menu_button" id="but_slot2" posref="BL TL" posparent="but_slot1" y="-3"
|
<ctrl style="menu_button" id="but_slot2" posref="TR TL" posparent="but_slot1" x="5" y="30"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_charsel_clickslot|2" />
|
onclick_l="proc" params_l="proc_charsel_clickslot|2" />
|
||||||
|
|
||||||
<ctrl style="menu_button" id="but_slot3" posref="BL TL" posparent="but_slot2" y="-3"
|
<ctrl style="menu_button" id="but_slot3" posref="TR TL" posparent="but_slot2" x="5" y="-30"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_charsel_clickslot|3" />
|
onclick_l="proc" params_l="proc_charsel_clickslot|3" />
|
||||||
|
|
||||||
<ctrl style="menu_button" id="but_slot4" posref="BL TL" posparent="but_slot3" y="-3"
|
<ctrl style="menu_button" id="but_slot4" posref="TR TL" posparent="but_slot3" x="5" y="-30"
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
onclick_l="proc" params_l="proc_charsel_clickslot|4" />
|
onclick_l="proc" params_l="proc_charsel_clickslot|4" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!--***************-->
|
||||||
|
<!-- BOTTOM BUTTON -->
|
||||||
|
<!--***************-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<ctrl type="button" id="display_infos" button_type="toggle_button" posref="BL BL" x="248" y="48"
|
||||||
|
tx_normal="infos.tga" tx_pushed="infos.tga" tx_over="infos.tga"
|
||||||
|
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_charsel_infos"/>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<ctrl style="valid_txt_button" id="infos_but" posref="BL BL" x="248" y="48" hardtext="uiCP_Infos"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_charsel_infos"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="76" hardtext="uiCharSel_Play"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_charsel_play"/>
|
||||||
|
-->
|
||||||
|
<!-- Buttons to play with the character + delete it / Button to create a character if slot empty -->
|
||||||
|
<group id="buttonsgroup" render_layer="3" posref="TR TR" x="-90" y="-300" w="160" h="320" >
|
||||||
|
<view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="3" scale="true" w="160" h="320"
|
||||||
|
color="0 0 0 0" global_color="false" />
|
||||||
|
|
||||||
|
|
||||||
|
<!-- TITLE -->
|
||||||
|
|
||||||
|
<group id="title" posref="MT MT">
|
||||||
|
<view type="text" id="title2" posref="TM TM" global_color="false" render_layer="3" fontsize="20" shadow="false" y="-10" hardtext="uiCP_selection"/>
|
||||||
|
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="3" fontsize="20" shadow="false" y="-35" hardtext="uiCP_title1"/>
|
||||||
|
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<ctrl style="valid_txt_button" id="play_but" posref="TM TM" render_layer="3" y="-80" hardtext="uiCharSel_Play"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="lua" params_l="outgame:launchGame()"/>
|
||||||
|
|
||||||
|
<ctrl style="valid_txt_button" id="del_but" posref="TM TM" render_layer="3" y="-160" hardtext="uiCharSel_Del"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_charsel_del"/>
|
||||||
|
|
||||||
|
<link expr="and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)))" target="play_but:active,edit_session_but:active,del_but:active" />
|
||||||
|
|
||||||
|
|
||||||
|
<ctrl style="valid_txt_button" id="create_new_but" posref="TM TM" render_layer="3" y="-80" hardtext="uiCharSel_CreateNew"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_charsel_create_new"/>
|
||||||
|
|
||||||
|
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
|
||||||
|
<link expr="isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)" target="create_new_but:active" />
|
||||||
|
|
||||||
|
<ctrl style="valid_txt_button" id="resume_session_but" posref="TM TM" render_layer="3" y="-80" hardtext="uiCharSel_ResumeSession"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_charsel_play"/>
|
||||||
|
|
||||||
|
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
|
||||||
|
<link expr="isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)" target="resume_session_but:active,in_ring_session:active" />
|
||||||
|
|
||||||
|
<!-- QUIT BUTTON -->
|
||||||
|
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" render_layer="3" y="10" hardtext="uiCharSel_Quit"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_quit"/>
|
||||||
|
<!-- QUIT BUTTON CROSS BOTTOM RIGHT
|
||||||
|
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0"
|
||||||
|
tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga"
|
||||||
|
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
|
||||||
|
onover="play_sound" params_over="name=specie_but_over"
|
||||||
|
onclick_l="proc" params_l="proc_quit"/> -->
|
||||||
|
|
||||||
|
</group>
|
||||||
|
<!--
|
||||||
|
|
||||||
<group id="bgd_progress" posref="BM BM" w="430" h="75" x="85" y="65" active="true">
|
<group id="bgd_progress" posref="BM BM" w="430" h="75" x="85" y="65" active="true">
|
||||||
<instance template="outgame_black_back" id="border"/>
|
<instance template="outgame_black_back" id="border"/>
|
||||||
<view type="text" id="text" active="true" y="-10" posref="TM TM" hardtext="" fontsize="13" color="255 255 255 255"/>
|
<view type="text" id="text" active="true" y="-10" posref="TM TM" hardtext="" fontsize="13" color="255 255 255 255"/>
|
||||||
|
@ -555,62 +634,16 @@
|
||||||
<combo_text name="uiBGD_NormalPriority" />
|
<combo_text name="uiBGD_NormalPriority" />
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
||||||
<!--***************-->
|
|
||||||
<!-- BOTTOM BUTTON -->
|
|
||||||
<!--***************-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<ctrl type="button" id="display_infos" button_type="toggle_button" posref="BL BL" x="248" y="48"
|
|
||||||
tx_normal="infos.tga" tx_pushed="infos.tga" tx_over="infos.tga"
|
|
||||||
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_charsel_infos"/>
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<ctrl style="valid_txt_button" id="infos_but" posref="BL BL" x="248" y="48" hardtext="uiCP_Infos"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_charsel_infos"/>
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!--
|
|
||||||
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="76" hardtext="uiCharSel_Play"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_charsel_play"/>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_Play"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="lua" params_l="outgame:launchGame()"/>
|
|
||||||
|
|
||||||
<ctrl style="valid_txt_button" id="del_but" posref="BR BL" x="-794" y="56" hardtext="uiCharSel_Del"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_charsel_del"/>
|
|
||||||
|
|
||||||
<link expr="and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)))" target="play_but:active,edit_session_but:active,del_but:active" />
|
|
||||||
|
|
||||||
|
|
||||||
<ctrl style="valid_txt_button" id="create_new_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_CreateNew"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_charsel_create_new"/>
|
|
||||||
|
|
||||||
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
|
|
||||||
<link expr="isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)" target="create_new_but:active" />
|
|
||||||
|
|
||||||
<ctrl style="valid_txt_button" id="resume_session_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_ResumeSession"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_charsel_play"/>
|
|
||||||
|
|
||||||
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
|
|
||||||
<link expr="isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)" target="resume_session_but:active,in_ring_session:active" />
|
|
||||||
|
|
||||||
|
|
||||||
<!--*************-->
|
<!--*************-->
|
||||||
<!-- SKIN BANNER -->
|
<!-- SKIN BANNER -->
|
||||||
<!--*************-->
|
<!--*************-->
|
||||||
|
|
||||||
<view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="outgame_skin_banner.tga"
|
<view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="blank.tga"
|
||||||
color="255 255 255 255" global_color="false" />
|
color="255 255 255 255" global_color="false" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -625,16 +658,9 @@
|
||||||
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga"
|
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga"
|
||||||
color="255 255 255 255" global_color="false" />
|
color="255 255 255 255" global_color="false" />
|
||||||
|
|
||||||
<!-- TITLE -->
|
|
||||||
|
|
||||||
<group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR">
|
|
||||||
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_title1"/>
|
|
||||||
<view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_selection"/>
|
|
||||||
</group>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- SKIN MENU SELECTION 1 -->
|
<!-- SKIN MENU SELECTION 1 -->
|
||||||
<view type="bitmap" id="select_menu" posref="TL TL" x="0" y="2" render_layer="4" scale="true" texture="blank.tga"
|
<view type="bitmap" id="select_menu" posref="BL BL" x="-3" y="-3" render_layer="4" scale="true" texture="blank.tga"
|
||||||
color="0 0 0 0" w="212" h="160" />
|
color="0 0 0 0" w="212" h="160" />
|
||||||
|
|
||||||
<!-- Select 3d -->
|
<!-- Select 3d -->
|
||||||
|
@ -648,22 +674,6 @@
|
||||||
|
|
||||||
</scene3d>
|
</scene3d>
|
||||||
|
|
||||||
<!-- KAMI MENU SELECT -->
|
|
||||||
<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga"
|
|
||||||
color="255 255 255 255" global_color="false" />
|
|
||||||
|
|
||||||
|
|
||||||
<!-- QUIT BUTTON
|
|
||||||
<ctrl style="valid_txt_button" id="quit_but" posref="TR TR" x="-4" y="-4" hardtext="uiCharSel_Quit"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_quit"/>
|
|
||||||
-->
|
|
||||||
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0"
|
|
||||||
tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga"
|
|
||||||
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
|
|
||||||
onover="play_sound" params_over="name=specie_but_over"
|
|
||||||
onclick_l="proc" params_l="proc_quit"/>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BLACK SCREEN FADE -->
|
<!-- BLACK SCREEN FADE -->
|
||||||
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
|
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
|
||||||
|
@ -682,7 +692,9 @@
|
||||||
onclick_l="leave_modal" />
|
onclick_l="leave_modal" />
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group id="webstart" posref="BR BR" w="100" h="60" active="true" >
|
|
||||||
|
<!-- PATCH INFORMATIONS TODO CHECK ITS DISPLAY
|
||||||
|
<group id="webstart" posref="BR BR" x="-50" y="45" w="100" h="40" active="true" >
|
||||||
<group id="content" x="0" y="0" w="100" h="60" posref="MM MM" >
|
<group id="content" x="0" y="0" w="100" h="60" posref="MM MM" >
|
||||||
<group id="webstart_html" type="html" posref="MM MM"
|
<group id="webstart_html" type="html" posref="MM MM"
|
||||||
url=""
|
url=""
|
||||||
|
@ -723,11 +735,12 @@
|
||||||
|
|
||||||
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
|
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
|
||||||
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
|
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
|
||||||
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="0" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
|
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
|
||||||
<ctrl style="skin_scroll" id="scroll_bar" />
|
<ctrl style="skin_scroll" id="scroll_bar" />
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
|
-->
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
@ -778,7 +791,7 @@
|
||||||
|
|
||||||
<group type="menu" id="r2ed_editor_menu"
|
<group type="menu" id="r2ed_editor_menu"
|
||||||
options="menu_back"
|
options="menu_back"
|
||||||
text_y="0"
|
text_y="-2"
|
||||||
color="255 255 255 255"
|
color="255 255 255 255"
|
||||||
fontsize="16"
|
fontsize="16"
|
||||||
shadow="true"
|
shadow="true"
|
||||||
|
@ -861,20 +874,20 @@
|
||||||
|
|
||||||
<anim id="anim_sel_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_sel_select_fx" >
|
<anim id="anim_sel_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_sel_select_fx" >
|
||||||
|
|
||||||
<track type="linear" target="charsel:3d_select:select_fx:posx" >
|
<track type="bezier" target="charsel:3d_select:select_fx:posx" >
|
||||||
<key time="0.0" value="2" />
|
<key time="0.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
|
||||||
<key time="0.5" value="-2" />
|
<key time="0.5" value="0" intan="8" outtan="-8" step="6" />
|
||||||
<key time="1.0" value="-2" />
|
<key time="1" value="-2" intan="0.1" outtan="0.1" step="6" />
|
||||||
<key time="1.5" value="2" />
|
<key time="1.5" value="0" intan="-8" outtan="8" step="6" />
|
||||||
<key time="2.0" value="2" />
|
<key time="2.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
|
||||||
</track>
|
</track>
|
||||||
|
|
||||||
<track type="linear" target="charsel:3d_select:select_fx:posz" >
|
<track type="bezier" target="charsel:3d_select:select_fx:posz" >
|
||||||
<key time="0.0" value="1.5" />
|
<key time="0.0" value="0" intan="-6" outtan="6" step="6" />
|
||||||
<key time="0.5" value="1.5" />
|
<key time="0.5" value="1.5" intan="-0.1" outtan="-0.1" step="6" />
|
||||||
<key time="1.0" value="-1.5" />
|
<key time="1" value="0" intan="6" outtan="-6" step="6" />
|
||||||
<key time="1.5" value="-1.5" />
|
<key time="1.5" value="-1.5" intan="0.1" outtan="0.1" step="6" />
|
||||||
<key time="2.0" value="1.5" />
|
<key time="2.0" value="0" intan="-6" outtan="6" step="6" />
|
||||||
</track>
|
</track>
|
||||||
|
|
||||||
</anim>
|
</anim>
|
||||||
|
|
Loading…
Reference in a new issue