zb-menus/ui_mp/main_text.menu
2025-01-09 11:51:52 +01:00

971 lines
38 KiB
Plaintext

{
menuDef
{
name "main_text"
fullscreen 1
rect 0 0 640 480 0 0
focuscolor 1 1 1 1
soundLoop "music_mainmenu_mp"
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
onOpen
{
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
uiScript checkFirstLaunch;
setLocalVarString ui_hint_text "";
}
onESC
{
open quit_popmenu;
}
execKey "f"
{
play mouse_click;
open popup_friends;
}
itemDef
{
rect -427 -240 854 480 2 2
style 3
decoration
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
textscale 0.55
forecolor 0 0 0 0.4
background "white"
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
textscale 0.55
background "mw2_main_background"
}
itemDef
{
rect -107 0 854 480 0 0
style 3
decoration
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
textscale 0.55
background "animbg_blur_front"
}
itemDef
{
rect 0 0 1708 480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
}
itemDef
{
rect 0 0 -1708 -480 0 0
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.5
background "mw2_main_cloud_overlay"
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.523696
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
}
itemDef
{
rect 0 0 640 480 4 4
style 3
decoration
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
textscale 0.55
forecolor 1 1 1 0.476023
background "mockup_bg_glow"
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
}
itemDef
{
rect -64 0 280 480 1 0
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.1
background "gradient_bottom"
}
itemDef
{
text "@MPUI_MOD"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
}
itemDef
{
name "mod"
rect -40 0 300 20 0 1
decoration
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
textalignx 16
textaligny -4
textscale 0.2
forecolor 1 1 1 0.8
exp text dvarstring(fs_game);
}
itemDef
{
rect 304 215 288 72 0 0
style 3
decoration
visible 1
textscale 0.55
background "logo_cod2"
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
}
itemDef
{
name "ticker_bg"
rect -107 -30 900 16 1 1
style 1
decoration
visible 1
backcolor 0 0 0 0.2
}
itemDef
{
name "ticker2"
rect -107 -30 900 16 1 1
style 1
decoration
type 20
visible 1
textaligny 16.5
textscale 0.26
textfont 3
backcolor 0 0 0 0.3
background "shadow_inset"
speed 20
}
itemDef
{
rect 0 78 272 28 1 1
decoration
autowrapped
visible when(!dvarbool(cl_updateavailable));
textalign 6
textalignx -59
textscale 0.5833
textfont 9
exp text "IW4x";
}
itemDef
{
rect 0 58 272 28 1 1
decoration
autowrapped
visible when(dvarbool(cl_updateavailable));
textalign 6
textalignx -59
textscale 0.5833
textfont 9
exp text "IW4x";
}
itemDef
{
name "button_0"
text "@MENU_CHECK_FOR_UPDATES_CAPS"
group "mw2_button"
rect -64 88 336 20 1 1
style 1
type 1
visible when(dvarbool(cl_updateavailable));
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CHECK_FOR_UPDATES";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_CHECK_FOR_UPDATES";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
uiScript checkForUpdate;
open auconfirm;
}
}
itemDef
{
rect 236 88 40 20 1 1
style 3
decoration
visible when(dvarbool(cl_updateavailable));
align 2
exp material "specialty_new";
}
itemDef
{
rect 0 107.5 216 1 1 1
style 3
decoration
visible when(dvarbool(cl_updateavailable));
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_1"
text "@MENU_JOIN_GAME_CAPS"
group "mw2_button"
rect -64 108 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_JOIN_GAME";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_JOIN_GAME";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
exec xrequirelivesignin;
open pc_join_unranked;
}
}
itemDef
{
name "button_2"
text "@MENU_CREATE_GAME_CAPS"
group "mw2_button"
rect -64 128 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_GAME";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_GAME";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
exec xrequirelivesignin;
setDvar systemlink 0;
setDvar splitscreen 0;
setDvar onlinegame 1;
exec "exec default_xboxlive.cfg";
setDvar party_maxplayers 18;
setDvar xblive_privateserver 0;
setDvar xblive_rankedmatch 0;
exec xstartprivateparty;
setDvar ui_mptype 0;
exec xcheckezpatch;
exec "exec default_xboxlive.cfg" setDvar xblive_rankedmatch 0;
exec ui_enumeratesaved;
setDvar xblive_privateserver 1;
exec xstartprivatematch;
open menu_xboxlive_privatelobby;
}
}
itemDef
{
rect 0 147.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_3"
text "@MENU_CREATE_A_CLASS_CAPS"
group "mw2_button"
rect -64 148 336 20 1 1
style 1
type 1
visible when(!isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
forecolor 1 1 1 0.5
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
}
itemDef
{
name "button_3"
text "@MENU_CREATE_A_CLASS_CAPS"
group "mw2_button"
rect -64 148 336 20 1 1
style 1
type 1
visible when(isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open cac_popup;
}
}
itemDef
{
rect 236 148 40 20 1 1
style 3
decoration
visible when((((isitemunlocked("cac") && ((getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew")) || getplayerdataanybooltrue("attachmentNew"))) || getplayerdataanybooltrue("perkNew")) || (((((((((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8)))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8)))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8)))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8)))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8)))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8)))) || weaponclassnew("weapon_grenade")) || weaponclassnew("weapon_equipment"))) || getplayerdata("featureNew", "cac"));
align 2
exp material "specialty_new";
}
itemDef
{
name "button_4"
text "@MENU_PLAYERCARD_CAPS"
group "mw2_button"
rect -64 168 336 20 1 1
style 1
type 1
visible when(!isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
forecolor 1 1 1 0.5
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
}
itemDef
{
name "button_4"
text "@MENU_PLAYERCARD_CAPS"
group "mw2_button"
rect -64 168 336 20 1 1
style 1
type 1
visible when(isitemunlocked("cac"));
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open popup_callsign;
}
}
itemDef
{
rect 236 168 40 20 1 1
style 3
decoration
visible when(((((((((((((((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1")) || getplayerdata("featureNew", "token_2")) || getplayerdata("featureNew", "token_3")) || getplayerdata("featureNew", "token_4")) || getplayerdata("featureNew", "token_5")) || getplayerdata("featureNew", "token_6")) || getplayerdata("featureNew", "token_7")) || getplayerdata("featureNew", "token_8")) || getplayerdata("featureNew", "token_9")) || getplayerdata("featureNew", "token_10")) || getplayerdata("featureNew", "token_11")) || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag")) || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon"))) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title")));
align 2
exp material "specialty_new";
}
itemDef
{
rect 0 187.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_5"
text "@MENU_BARRACKS_CAPS"
group "mw2_button"
rect -64 188 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open menu_online_barracks;
}
}
itemDef
{
rect 236 188 40 20 1 1
style 3
decoration
visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "prestige"));
align 2
exp material "specialty_new";
}
itemDef
{
name "button_6"
text "@MENU_THEATER_CAPS"
group "mw2_button"
rect -64 208 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_THEATER";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_THEATER";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open pc_theater_menu;
}
}
itemDef
{
rect 0 227.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_7"
text "@MENU_MODS_CAPS"
group "mw2_button"
rect -64 228 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_MODS";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_MODS";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open mods_menu;
}
}
itemDef
{
name "button_8"
text "@MENU_OPTIONS_CAPS"
group "mw2_button"
rect -64 248 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_OPTIONS";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_OPTIONS";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open pc_options_video;
}
}
itemDef
{
rect 0 267.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_9"
text "@MENU_SP_CREDITS_CAPS"
group "mw2_button"
rect -64 268 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open iw4x_credits;
}
}
itemDef
{
name "button_10"
text "@MENU_VISIT_WEBSITE_CAPS"
group "mw2_button"
rect -64 288 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@NULL_EMPTY";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@NULL_EMPTY";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
uiScript visitWebsite;
}
}
itemDef
{
rect 0 307.5 216 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "gradient_fadein"
}
itemDef
{
name "button_11"
text "@MENU_MAIN_MENU_CAPS"
group "mw2_button"
rect -64 308 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MENU_SP_DESC_SINGLEPLAYER";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MENU_SP_DESC_SINGLEPLAYER";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open single_popmenu;
}
}
itemDef
{
name "button_12"
text "@MENU_QUIT_CAPS"
group "mw2_button"
rect -64 328 336 20 1 1
style 1
type 1
visible 1
textalign 6
textalignx -60
textscale 0.375
textfont 1
background "menu_button_selection_bar"
onFocus
{
setItemColor self backColor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_QUIT";
setLocalVarString ui_info_name "";
setLocalVarString ui_info_desc "@MPUI_DESC_QUIT";
setLocalVarString ui_info_icon "";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open quit_popmenu;
}
}
itemDef
{
name "button_friends"
text "@PLATFORM_FRIENDS_CAPS"
rect -250 -4 120 20 3 3
style 1
type 1
visible 1
textalign 1
textaligny 16
textscale 0.275
textfont 9
disablecolor 0.6 0.55 0.55 1
onFocus
{
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setItemColor self backColor 0 0 0 1;
setLocalVarString ui_hint_text "@MPUI_DESC_FRIENDS";
}
leaveFocus
{
setItemColor self backColor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
mouseEnter
{
play mouse_over;
}
action
{
play mouse_click;
open popup_friends;
}
}
itemDef
{
name "button_changelog"
text "@MENU_CHANGELOG_CAPS"
rect -120 -4 120 20 3 3
style 1
type 1
visible 1
textalign 1
textaligny 16
textscale 0.275
textfont 9
onFocus
{
play mouse_over;
setItemColor self backcolor 0 0 0 1;
setLocalVarBool ui_menuAButton 1;
setLocalVarFloat ui_popupYPos 0;
setLocalVarString ui_hint_text "@MPUI_DESC_CHANGELOG";
}
leaveFocus
{
setItemColor self backcolor 0 0 0 0;
setLocalVarBool ui_menuAButton 1;
setLocalVarString ui_hint_text "@NULL_EMPTY";
}
action
{
play mouse_click;
open changelog;
}
}
itemDef
{
name "hint_area"
rect 0 380 215 18 1 1
decoration
autowrapped
visible 1
textalign 6
textscale 0.375
textfont 3
forecolor 1 1 1 0.65
exp text localvarstring("ui_hint_text");
}
}
}