Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:configuration_interface_client [2019/10/11 14:58] – In part (until 3.2.4.) created Lea Callu | en:configuration_interface_client [2021/12/03 18:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| The client interface of the game (commonly called GUI : [[https:// | The client interface of the game (commonly called GUI : [[https:// | ||
| Line 11: | Line 11: | ||
| Even it's partially corrected and reformated, this page still need work to be clear. Part of codes can be more understandebale in table. Don't hesitate to participe at the clarification, | Even it's partially corrected and reformated, this page still need work to be clear. Part of codes can be more understandebale in table. Don't hesitate to participe at the clarification, | ||
| - | \\ Done until [[# | + | \\ Done until [[# |
| </ | </ | ||
| Line 227: | Line 227: | ||
| DÉRIVÉ DE : [[# | DÉRIVÉ DE : [[# | ||
| - | BUT: | + | GOAL : Display a text according to a network identifier ( it's a charcaters line equivalent to // |
| - | affiche un text en fonction d'un identifiant réseau (c'est une chaîne de caractères équivalent à // | + | ^ |
| - | + | |textid| |the identifier itself | |
| - | ^ | + | |textid_dblink | |database |
| - | |textid| |identifiant lui-même | + | |dynamic_string|true|if true the sentence is composed |
| - | |textid_dblink | |lien database | + | |
| - | |dynamic_string|true|si true la phrase est composée | + | |
| == <view type=" | == <view type=" | ||
| Line 240: | Line 238: | ||
| DÉRIVÉ DE : [[# | DÉRIVÉ DE : [[# | ||
| - | BUT: | + | GOAL : In the same idea of the // |
| - | Un peu dans le même esprit que la // | + | * $t -> replace by the id text value |
| - | * $t -> remplacé par la valeur du text id | + | Parameters |
| - | + | ^ | |
| - | Paramètres | + | |format|$t|Bye default| |
| - | ^ | + | |textid| |For exemple :" |
| - | |format|$t|Par défaut| | + | |
| - | |textid| | Par exemple :" | + | |
| ==== <view type=" | ==== <view type=" | ||
| - | BUT: | + | GOAL: Special view wich display un number with special digits (bitmap). |
| - | Vue spéciale qui affiche un nombre avec des digits spéciaux (bitmaps). | + | Parameterss |
| - | + | ^ | |
| - | Paramètres | + | |value|SERVER: |
| - | ^ | + | |numdigit|2|digit's number display |
| - | |value|SERVER: | + | |wspace|-1|pixel |
| - | |numdigit|2|nombre de digit affichs | + | |color|255 255 255 255|like button, whithe is by défault| |
| - | |wspace|-1|espacement en pixel entre chaque | + | |
| - | |color|255 255 255 255|comme les boutons, blanc par défaut| | + | |
| - | La taille totale est automatiquement calculée en fonction du digit 0 et du nombre de digit. | + | The total size is automaticly calculate in function of the 0 digit and of the digit number. |
| ===== CONTROLS ===== | ===== CONTROLS ===== | ||
| DERIVE DE <view type="" | DERIVE DE <view type="" | ||
| - | Un control a un type qui est défini par le paramètre | + | A control |
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code xml> | <code xml> | ||
| <ctrl type="" | <ctrl type="" | ||
| - | tooltip="" | + | tooltip="" |
| - | tooltip_i18n="" | + | tooltip_i18n="" |
| - | // | + | // |
| - | on_tooltip="" | + | on_tooltip="" |
| - | on_tooltip_params="" | + | on_tooltip_params="" |
| - | instant_help=" | + | instant_help=" |
| - | tooltip_parent=" | + | tooltip_parent=" |
| // du tooltip. | // du tooltip. | ||
| - | " | + | " |
| - | " | + | " |
| - | contenant le control | + | containing the control |
| - | " | + | " |
| - | tooltip_posref=" | + | tooltip_posref=" |
| - | " | + | " |
| - | type | + | parent' |
| - | " | + | " |
| - | le control | + | the control |
| - | " | + | " |
| - | le control | + | the control |
| " | " | ||
| - | " | + | " |
| /> | /> | ||
| Line 305: | Line 299: | ||
| ==== <ctrl type=" | ==== <ctrl type=" | ||
| - | BUT: | + | GOAL : Derivating control from ctrl_base, |
| - | Control qui dérive simplement de ctrl_base, | + | |
| - | Son seul but est d' | + | |
| - | SYNTAXE: | + | SYNTAX: |
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code xml> | <code xml> | ||
| Line 318: | Line 310: | ||
| ==== <ctrl type=" | ==== <ctrl type=" | ||
| - | BUT: | + | GOAL : button, push, radio or toggle. |
| - | boutton, push, radio ou toggle. | + | |
| - | SYNTAXE: | + | SYNTAX: |
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code xml> | <code xml> | ||
| <ctrl type=" | <ctrl type=" | ||
| - | button_type=" | + | button_type=" |
| - | pushed=" | + | pushed=" |
| - | color=" | + | color=" |
| - | col_pushed=" | + | col_pushed=" |
| - | col_over=" | + | col_over=" |
| - | global_color_normal="" | + | global_color_normal="" |
| - | global_color_pushed="" | + | global_color_pushed="" |
| - | global_color_over="" | + | global_color_over="" |
| - | tx_normal="" | + | tx_normal="" |
| - | tx_pushed="" | + | tx_pushed="" |
| - | tx_over="" | + | tx_over="" |
| scale=" | scale=" | ||
| - | onclick_l="" | + | onclick_l="" |
| - | params_l="" | + | params_l="" |
| - | onlongclick_l="" | + | onlongclick_l="" |
| params_longclick_l="" | params_longclick_l="" | ||
| - | onclick_r="" | + | onclick_r="" |
| - | params_r="" | + | params_r="" |
| align="" | align="" | ||
| - | menu_l="" | + | menu_l="" |
| - | menu_r="" | + | menu_r="" |
| - | menu_b="" | + | menu_b="" |
| frozen=" | frozen=" | ||
| /> | /> | ||
| Line 376: | Line 367: | ||
| ==== <ctrl type=" | ==== <ctrl type=" | ||
| - | BUT: | + | GOAL : button, push, radio or toggle. |
| - | boutton, push, radio ou toggle. | + | |
| SYNTAXE: | SYNTAXE: | ||
| Line 383: | Line 373: | ||
| <code xml> | <code xml> | ||
| <ctrl type=" | <ctrl type=" | ||
| - | button_type=" | + | button_type=" |
| - | pushed=" | + | pushed=" |
| - | color=" | + | color=" |
| - | col_pushed=" | + | col_pushed=" |
| - | col_over=" | + | col_over=" |
| - | global_color_normal="" | + | global_color_normal="" |
| - | global_color_pushed="" | + | global_color_pushed="" |
| - | global_color_over="" | + | global_color_over="" |
| - | // | + | // |
| - | // contrairement aux boutons, ici il faut mettre seulement | + | // unlike the button, here you just need to set " |
| - | // les " | + | // the " |
| - | // gauches, millieu | + | // left, center |
| - | tx_normal="" | + | tx_normal="" |
| - | tx_pushed="" | + | tx_pushed="" |
| - | tx_over="" | + | tx_over="" |
| - | onclick_l="" | + | onclick_l="" |
| - | params_l="" | + | params_l="" |
| - | onlongclick_l="" | + | onlongclick_l="" |
| params_longclick_l="" | params_longclick_l="" | ||
| - | onclick_r="" | + | onclick_r="" |
| - | params_r="" | + | params_r="" |
| - | menu_l="" | + | menu_l="" |
| - | menu_r="" | + | menu_r="" |
| - | menu_b="" | + | menu_b="" |
| // Texte infos: | // Texte infos: | ||
| Line 416: | Line 406: | ||
| underlined="" | underlined="" | ||
| - | // Comportement | + | // Special |
| text_color_normal=" | text_color_normal=" | ||
| text_color_pushed=" | text_color_pushed=" | ||
| Line 428: | Line 418: | ||
| // Special: | // Special: | ||
| - | text_y="" | + | text_y="" |
| - | wmargin="" | + | wmargin="" |
| - | wmin="" | + | wmin="" |
| /> | /> | ||
| Line 449: | Line 439: | ||
| params_l (string) | params_l (string) | ||
| - | uc_hardtext (ucstring | + | uc_hardtext (unaltered |
| - | hardtext (string | + | hardtext (localise |
| </ | </ | ||
| Line 465: | Line 455: | ||
| <ctrl type=" | <ctrl type=" | ||
| - | tx_bottomleft="" | + | tx_bottomleft="" |
| tx_middle="" | tx_middle="" | ||
| - | tx_topright="" | + | tx_topright="" |
| - | vertical="" | + | vertical="" |
| - | align="" | + | align="" |
| - | value="" | + | value="" |
| - | min="" | + | min="" |
| - | // représente varie de min a max | + | tracksize="" |
| - | tracksize="" | + | |
| - | onscroll="" | + | onscroll="" |
| - | onscrollend="" | + | onscrollend="" |
| params="" | params="" | ||
| - | target="" | + | target="" |
| - | // le group est se deplace dans la limite de ses max_w et max_h relativement a ses w et h. | + | target_stepx="" |
| - | target_stepx="" | + | target_stepy="" |
| - | target_stepy="" | + | |
| step_value="" | step_value="" | ||
| /> | /> | ||
| Line 492: | Line 480: | ||
| ==== <ctrl type=" | ==== <ctrl type=" | ||
| - | BUT: | + | GOAL : Display a item special' |
| - | affiche un bouton spécial d'item, brique etc... | + | |
| - | SYNTAXE: | + | SYNTAX: |
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code xml> | <code xml> | ||
| <ctrl type=" | <ctrl type=" | ||
| - | value="" | + | value="" |
| - | // | + | // |
| - | // | + | // |
| nature=" | nature=" | ||
| brick_type="" | brick_type="" | ||
| // | // | ||
| tx_noitem="" | tx_noitem="" | ||
| - | col_noitem=" | + | col_noitem=" |
| - | onclick_l="" | + | onclick_l="" |
| - | params_l="" | + | params_l="" |
| - | onclick_r="" | + | onclick_r="" |
| - | params_r="" | + | params_r="" |
| - | menu_l="" | + | menu_l="" |
| - | menu_r="" | + | menu_r="" |
| - | menu_b="" | + | menu_b="" |
| dragable=" | dragable=" | ||
| - | oncandrop="" | + | oncandrop="" |
| params_candrop="" | params_candrop="" | ||
| - | ondrop="" | + | ondrop="" |
| params_drop="" | params_drop="" | ||
| Line 528: | Line 515: | ||
| use_slot_type_db_entry=" | use_slot_type_db_entry=" | ||
| - | grayed=" | + | grayed=" |
| auto_grayed=" | auto_grayed=" | ||
| slot=" | slot=" | ||
| Line 539: | Line 526: | ||
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code xml> | <code xml> | ||
| - | sheet (string) (correspond a la value le lien vers la DB) | + | sheet (string) (link value to the DB) |
| color1 (rgba) | color1 (rgba) | ||
| color2 (rgba) | color2 (rgba) | ||
| Line 551: | Line 538: | ||
| ==== <ctrl type=" | ==== <ctrl type=" | ||
| - | BUT: | + | GOAL : Display a picture to choose a color in it |
| - | affiche une image pour choisir que l on puisse choisir une couleur dedans | + | |
| - | SYNTAXE: | + | SYNTAX: |
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code xml> | <code xml> | ||
| <ctrl type=" | <ctrl type=" | ||
| - | texture=" | + | texture=" |
| - | onchange=" | + | onchange=" |
| - | onchange_params=" | + | onchange_params=" |
| dbcolr=" | dbcolr=" | ||
| dbcolg=" | dbcolg=" | ||
| dbcolb=" | dbcolb=" | ||
| - | dbcola=" | + | dbcola=" |
| /> | /> | ||
| Line 574: | Line 560: | ||
| <WRAP prewrap 650px> | <WRAP prewrap 650px> | ||
| <code xml> | <code xml> | ||
| - | r, g, b, a (int) les composantes de la couleur sélectionnée | + | r, g, b, a (int) The components of the selectionned color |
| color (string ('#r #g #b #a')) | color (string ('#r #g #b #a')) | ||





