All checks were successful
link / Link assets on Linux (push) Successful in 35s
2244 lines
145 KiB
Plaintext
2244 lines
145 KiB
Plaintext
{
|
|
menuDef
|
|
{
|
|
name "menu_xboxlive_lobby"
|
|
fullscreen 1
|
|
rect 0 0 640 480 0 0
|
|
style 1
|
|
focuscolor 1 1 1 1
|
|
soundLoop "music_mainmenu_mp"
|
|
allowedBinding "+talk"
|
|
onOpen
|
|
{
|
|
setLocalVarInt ui_lastVoteTime (milliseconds() - 5000);
|
|
setLocalVarInt ui_lastVoteCount 0;
|
|
setLocalVarInt ui_lockedHintTime (milliseconds() - (2000 + 1000));
|
|
setLocalVarString sharedBackgroundMusic "music_mainmenu_mp";
|
|
setLocalVarInt ui_vote 0;
|
|
setLocalVarString ui_challenges_table "mp/allChallengesTable.csv";
|
|
setLocalVarString ui_info_filter "all_challenges";
|
|
setLocalVarString ui_info_name "@MENU_ALL";
|
|
setLocalVarBool ui_challenge_blade_vis 1;
|
|
execnow upload_playercard;
|
|
if (dvarbool(ui_opensummary))
|
|
{
|
|
setLocalVarInt ui_autoopened 1;
|
|
if (dvarbool(specialops))
|
|
{
|
|
if (dvarbool(splitscreen))
|
|
{
|
|
open popup_summary_so_ss;
|
|
}
|
|
else
|
|
{
|
|
open popup_summary_so;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (dvarbool(xblive_privatematch))
|
|
{
|
|
open popup_summary;
|
|
}
|
|
else
|
|
{
|
|
if (dvarbool(splitscreen))
|
|
{
|
|
open popup_summary_splitscreen;
|
|
}
|
|
else
|
|
{
|
|
open popup_summary;
|
|
}
|
|
}
|
|
}
|
|
setdvar ui_opensummary 0;
|
|
}
|
|
else
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset 0;
|
|
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
|
setLocalVarString ui_buttonNavGroupName "invalid";
|
|
setLocalVarBool ui_swfSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfSelectionBarVis 0;
|
|
setLocalVarBool ui_swfSelectionDisabled 0;
|
|
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
|
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
|
setLocalVarString ui_swfPopupContext "invalid";
|
|
focusfirst;
|
|
setfocus SWF_BUTTON_LIST_0;
|
|
}
|
|
close leaveprivatepartywarning;
|
|
}
|
|
onClose
|
|
{
|
|
close popup_friends;
|
|
}
|
|
onRequestClose
|
|
{
|
|
close leavelobbyandpartywarning;
|
|
}
|
|
onESC
|
|
{
|
|
if (FUNC_160())
|
|
{
|
|
open leavelobbyandpartywarning;
|
|
}
|
|
else
|
|
{
|
|
open leavelobbywarning;
|
|
}
|
|
}
|
|
onFocusDueToClose
|
|
{
|
|
setLocalVarString ui_hint_text "";
|
|
focusfirst;
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))
|
|
{
|
|
setLocalVarString ui_swf_selection "";
|
|
setFocus lobbyList;
|
|
setLocalVarString ui_hint_text "@MPUI_DESC_PLAYER_OPTIONS";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if (!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))
|
|
{
|
|
setLocalVarString ui_swf_selection "";
|
|
setFocus lobbyList;
|
|
setLocalVarString ui_hint_text "@MPUI_DESC_PLAYER_OPTIONS";
|
|
}
|
|
}
|
|
execKeyInt 30
|
|
{
|
|
if (getfocuseditemname() == "lobbyList")
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset 0;
|
|
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
|
setLocalVarString ui_buttonNavGroupName "invalid";
|
|
setLocalVarBool ui_swfSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfSelectionBarVis 0;
|
|
setLocalVarBool ui_swfSelectionDisabled 0;
|
|
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
|
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
|
setLocalVarString ui_swfPopupContext "invalid";
|
|
focusfirst;
|
|
setfocus SWF_BUTTON_LIST_0;
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if (getfocuseditemname() == "lobbyList")
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset 0;
|
|
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
|
setLocalVarString ui_buttonNavGroupName "invalid";
|
|
setLocalVarBool ui_swfSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfSelectionBarVis 0;
|
|
setLocalVarBool ui_swfSelectionDisabled 0;
|
|
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
|
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
|
setLocalVarString ui_swfPopupContext "invalid";
|
|
focusfirst;
|
|
setfocus SWF_BUTTON_LIST_0;
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -426.667 -240 853.333 480 2 2
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
|
|
textscale 0.55
|
|
background "background_image_blur_less"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -426.667 -240 853.333 480 2 2
|
|
style 3
|
|
decoration
|
|
visible when(!(dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
|
|
textscale 0.55
|
|
background "background_image"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 1708 480 0 0
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0.35 0.35 0.35 1
|
|
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 1
|
|
textscale 0.55
|
|
forecolor 0.35 0.35 0.35 1
|
|
background "mw2_main_cloud_overlay"
|
|
exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 240 372 540 16 1 1
|
|
style 3
|
|
decoration
|
|
visible when("MOTD_TICKER_VIS");
|
|
textscale 0.55
|
|
background "motd_ticker_bg"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 250 372 500 16 1 1
|
|
decoration
|
|
type 20
|
|
visible when("MOTD_TICKER_VIS");
|
|
textscale 0.34
|
|
speed 50
|
|
newsfeed 1
|
|
}
|
|
itemDef
|
|
{
|
|
rect 237.5 -36 301.5 480 1 1
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
forecolor 0 0 0 0.4
|
|
background "white"
|
|
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 237.5 -236 13 680 1 1
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.75
|
|
background "navbar_edge"
|
|
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
|
exp forecolor r 0.596078;
|
|
exp forecolor g 0.654902;
|
|
exp forecolor b 0.603922;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 237.5 -236 13 680 1 1
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.75
|
|
background "navbar_edge"
|
|
exp rect x (0 - 64) + 301.5;
|
|
exp forecolor r 0.596078;
|
|
exp forecolor g 0.654902;
|
|
exp forecolor b 0.603922;
|
|
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -36 301.5 480 1 1
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
background "dest_alpha_one"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 237.5 -36 640 480 1 1
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
background "dest_alpha_zero"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -426.667 -240 853.333 480 2 2
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
background "background_image_blur_less_dest_alpha_masked"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 1708 480 0 0
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
background "mw2_main_cloud_overlay_write_dest_alpha"
|
|
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 1708 480 0 0
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
forecolor 0.35 0.35 0.35 1
|
|
background "mw2_main_cloud_overlay_dest_alpha_masked"
|
|
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -36 301.5 480 1 1
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
background "dest_alpha_one"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 -1708 -480 0 0
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
background "mw2_main_cloud_overlay_write_dest_alpha"
|
|
exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 -1708 -480 0 0
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_shelfEnabled"));
|
|
textscale 0.55
|
|
forecolor 0.35 0.35 0.35 1
|
|
background "mw2_main_cloud_overlay_dest_alpha_masked"
|
|
exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -36 301.5 480 1 1
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 0.4
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 30 301.5 5.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
background "navbar_tick"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 3 276.667 24.233 1 1
|
|
style 1
|
|
decoration
|
|
visible when(0);
|
|
textalign 14
|
|
textscale 0.5
|
|
textstyle 9
|
|
textfont 9
|
|
exp text locstring("SWF_SCREEN_TITLE");
|
|
exp forecolor a select((getTextWidth(locstring("SWF_SCREEN_TITLE"), 9, 0.5) <= 200), 1, 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 3 276.667 24.233 1 1
|
|
style 1
|
|
decoration
|
|
visible when(0);
|
|
textalign 14
|
|
textscale 0.4
|
|
textstyle 9
|
|
textfont 9
|
|
exp text locstring("SWF_SCREEN_TITLE");
|
|
exp forecolor a select(((getTextWidth(locstring("SWF_SCREEN_TITLE"), 9, 0.5) > 200) && (getTextWidth(locstring("SWF_SCREEN_TITLE"), 9, 0.4) <= 200)), 1, 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 1 276.667 24.233 1 1
|
|
style 1
|
|
decoration
|
|
visible when(0);
|
|
textalign 14
|
|
textscale 0.3
|
|
textstyle 9
|
|
textfont 9
|
|
exp text locstring("SWF_SCREEN_TITLE");
|
|
exp forecolor a select((getTextWidth(locstring("SWF_SCREEN_TITLE"), 9, 0.4) > 200), 1, 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -63.933 3 276.667 24.233 1 1
|
|
style 1
|
|
decoration
|
|
visible when((("USE_SMALLER_TITLE_TEXT")));
|
|
textalign 10
|
|
textscale 0.4
|
|
textfont 9
|
|
exp text "SWF_SCREEN_TITLE";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0.667 3 212 24.233 1 1
|
|
style 1
|
|
decoration
|
|
visible when(1);
|
|
textalign 14
|
|
textscale 0.5
|
|
textstyle 9
|
|
textfont 9
|
|
exp text dvarstring(playlist_name);
|
|
exp forecolor a select((getTextWidth(dvarstring(playlist_name), 9, 0.5) <= 200), 1, 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0.667 3 212 24.233 1 1
|
|
style 1
|
|
decoration
|
|
visible when(1);
|
|
textalign 14
|
|
textscale 0.4
|
|
textstyle 9
|
|
textfont 9
|
|
exp text dvarstring(playlist_name);
|
|
exp forecolor a select(((getTextWidth(dvarstring(playlist_name), 9, 0.5) > 200) && (getTextWidth(dvarstring(playlist_name), 9, 0.4) <= 200)), 1, 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0.667 1 212 24.233 1 1
|
|
style 1
|
|
decoration
|
|
visible when(1);
|
|
textalign 14
|
|
textscale 0.3
|
|
textstyle 9
|
|
textfont 9
|
|
exp text dvarstring(playlist_name);
|
|
exp forecolor a select((getTextWidth(dvarstring(playlist_name), 9, 0.4) > 200), 1, 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -88 34.667 325.333 17.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST"));
|
|
textscale 0.55
|
|
background "navbar_selection_bar"
|
|
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 213 34.667 21.333 16.5 1 1
|
|
style 1
|
|
decoration
|
|
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST"));
|
|
textalign 10
|
|
textscale 0.30625
|
|
textfont 3
|
|
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
|
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
|
|
}
|
|
itemDef
|
|
{
|
|
name "SWF_BUTTON_LIST_0"
|
|
rect -68 34.667 305.333 20 1 1
|
|
style 3
|
|
type 1
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 0
|
|
background "white"
|
|
onFocus
|
|
{
|
|
setLocalVarString ui_swf_selection "SWF_BUTTON_LIST_0";
|
|
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
|
setLocalVarString ui_buttonNavGroupName "SWF_BUTTON_LIST";
|
|
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(!isitemunlockedsplitscreen(1, "cac")));
|
|
setLocalVarBool ui_swfSelectionBarVis (1);
|
|
setLocalVarBool ui_swfSelectionDisabled (!isitemunlockedsplitscreen(1, "cac"));
|
|
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
|
}
|
|
else
|
|
{
|
|
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
|
}
|
|
}
|
|
play mouse_over;
|
|
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS";
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarInt ui_lockedHintTime (milliseconds() - (2000 + 1000));
|
|
setLocalVarBool ui_swfSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfSelectionBarVis 0;
|
|
setLocalVarBool ui_swfSelectionDisabled 0;
|
|
}
|
|
action
|
|
{
|
|
if (!(!isitemunlockedsplitscreen(1, "cac")))
|
|
{
|
|
play mouse_click;
|
|
}
|
|
execnow "incnosplitscreencontrol cac_popup";
|
|
if (isitemunlocked("cac"))
|
|
{
|
|
if (dvarint(xblive_privatematch) || (dvarint(xblive_competitionmatch) && dvarint(com_svDedicated)))
|
|
{
|
|
setLocalVarString ui_customClassLoc "privateMatchCustomClasses";
|
|
}
|
|
else
|
|
{
|
|
setLocalVarString ui_customClassLoc "customClasses";
|
|
}
|
|
open cac_popup;
|
|
}
|
|
else
|
|
{
|
|
play action_denied;
|
|
setLocalVarInt ui_lockedHintTime (milliseconds());
|
|
setLocalVarString ui_lockedHintDesc "@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, "cac", 2), 17);
|
|
execnow "decnosplitscreencontrol cac_popup_CANCEL";
|
|
}
|
|
}
|
|
execKeyInt 28
|
|
{
|
|
setfocus map2;
|
|
}
|
|
execKeyInt 20
|
|
{
|
|
setfocus map2;
|
|
}
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 37 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((!isitemunlockedsplitscreen(1, "cac"))) && (1))) && (1) && (localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST"));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 0)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 37 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((!isitemunlockedsplitscreen(1, "cac"))) && (1))) && (1) && (!(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST")));
|
|
textscale 0.55
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 0)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 33.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && (0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_CREATE_A_CLASS_CAPS");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
|
exp forecolor r select(!isitemunlockedsplitscreen(1, "cac"), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
|
exp forecolor g select(!isitemunlockedsplitscreen(1, "cac"), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
|
exp forecolor b select(!isitemunlockedsplitscreen(1, "cac"), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 33.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && !(0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_CREATE_A_CLASS_CAPS");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
|
exp forecolor r select(!isitemunlockedsplitscreen(1, "cac"), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor g select(!isitemunlockedsplitscreen(1, "cac"), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor b select(!isitemunlockedsplitscreen(1, "cac"), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 33.334 32 16 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((!areAllItemsUnlocked() && (!(dvarbool(xblive_privatematch))) && ((((getplayerdata("featureNew", "cas") || FUNC_110()) || getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew") || getplayerdataanybooltrue("attachmentNew") || getplayerdataanybooltrue("perkNew") || getplayerdataanybooltrue("killstreakNew") || getplayerdata("featureNew", "cac"))) && (1 || !localvarbool("ui_swfSelectionButtonVis"))))) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (5 - 1)) >= (0) && (((0) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
|
textscale 0.55
|
|
background "specialty_new"
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333)) - ((16 - 21) * 0.5);
|
|
exp rect x (279.5) + ((0 - 64)) - ((32 - 21) * 0.5);
|
|
}
|
|
itemDef
|
|
{
|
|
name "SWF_BUTTON_LIST_1"
|
|
rect -68 54.667 305.333 20 1 1
|
|
style 3
|
|
type 1
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 0
|
|
background "white"
|
|
onFocus
|
|
{
|
|
setLocalVarString ui_swf_selection "SWF_BUTTON_LIST_1";
|
|
setLocalVarInt ui_buttonNavGroupCurrent 1;
|
|
setLocalVarString ui_buttonNavGroupName "SWF_BUTTON_LIST";
|
|
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
|
setLocalVarBool ui_swfSelectionBarVis (1);
|
|
setLocalVarBool ui_swfSelectionDisabled (0);
|
|
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
|
}
|
|
else
|
|
{
|
|
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
|
}
|
|
}
|
|
play mouse_over;
|
|
setLocalVarString ui_hint_text "@MENU_DESC_PLAYERCARD";
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarBool ui_swfSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfSelectionBarVis 0;
|
|
setLocalVarBool ui_swfSelectionDisabled 0;
|
|
}
|
|
action
|
|
{
|
|
if (!(0))
|
|
{
|
|
play mouse_click;
|
|
execnow "incnosplitscreencontrol popup_callsign";
|
|
open popup_callsign;
|
|
}
|
|
}
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 57 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((0)) && (1))) && (0) && (localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST"));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 1)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 57 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((0)) && (1))) && (0) && (!(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST")));
|
|
textscale 0.55
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 1)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 53.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && (0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_PLAYERCARD_CAPS");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
|
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
|
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
|
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 53.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && !(0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_PLAYERCARD_CAPS");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
|
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 53.334 32 16 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((!areAllItemsUnlocked() && (!(dvarbool(xblive_privatematch))) && ((((getprofileanybooltrue("iconNew")) || (getprofileanybooltrue("titleNew")))) && (1 || !localvarbool("ui_swfSelectionButtonVis"))))) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (5 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
|
textscale 0.55
|
|
background "specialty_new"
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333)) - ((16 - 21) * 0.5);
|
|
exp rect x (279.5) + ((0 - 64)) - ((32 - 21) * 0.5);
|
|
}
|
|
itemDef
|
|
{
|
|
name "SWF_BUTTON_LIST_2"
|
|
rect -68 74.667 305.333 20 1 1
|
|
style 3
|
|
type 1
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 0
|
|
background "white"
|
|
onFocus
|
|
{
|
|
setLocalVarString ui_swf_selection "SWF_BUTTON_LIST_2";
|
|
setLocalVarInt ui_buttonNavGroupCurrent 2;
|
|
setLocalVarString ui_buttonNavGroupName "SWF_BUTTON_LIST";
|
|
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
|
setLocalVarBool ui_swfSelectionBarVis (1);
|
|
setLocalVarBool ui_swfSelectionDisabled (0);
|
|
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
|
}
|
|
else
|
|
{
|
|
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
|
}
|
|
}
|
|
play mouse_over;
|
|
setLocalVarString ui_hint_text "@MPUI_DESC_BARRACKS";
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarBool ui_swfSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfSelectionBarVis 0;
|
|
setLocalVarBool ui_swfSelectionDisabled 0;
|
|
}
|
|
action
|
|
{
|
|
if (!(0))
|
|
{
|
|
play mouse_click;
|
|
execnow "incnosplitscreencontrol BARRACKS";
|
|
if (isusersignedin() && !isguest())
|
|
{
|
|
open menu_online_barracks;
|
|
}
|
|
else
|
|
{
|
|
play action_denied;
|
|
setLocalVarInt ui_lockedHintTime (milliseconds());
|
|
setLocalVarString ui_lockedHintDesc "@MPUI_NO_GUEST";
|
|
execnow "decnosplitscreencontrol BARRACKS_CANCEL";
|
|
}
|
|
}
|
|
}
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 77 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((0)) && (1))) && (0) && (localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST"));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 2)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 77 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((0)) && (1))) && (0) && (!(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST")));
|
|
textscale 0.55
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 2)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 73.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && (0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_BARRACKS_CAPS");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
|
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
|
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
|
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 73.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && !(0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_BARRACKS_CAPS");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
|
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
}
|
|
itemDef
|
|
{
|
|
name "SWF_BUTTON_LIST_3"
|
|
rect -68 94.667 305.333 20 1 1
|
|
style 3
|
|
type 1
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 0
|
|
background "white"
|
|
onFocus
|
|
{
|
|
setLocalVarString ui_swf_selection "SWF_BUTTON_LIST_3";
|
|
setLocalVarInt ui_buttonNavGroupCurrent 3;
|
|
setLocalVarString ui_buttonNavGroupName "SWF_BUTTON_LIST";
|
|
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef"))));
|
|
setLocalVarBool ui_swfSelectionBarVis (1);
|
|
setLocalVarBool ui_swfSelectionDisabled (((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")));
|
|
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
|
}
|
|
else
|
|
{
|
|
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
|
{
|
|
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
|
}
|
|
}
|
|
play mouse_over;
|
|
setLocalVarString ui_hint_text "@MPUI_DESC_LEADERBOARDS";
|
|
exec "setfromdvar lb_type ui_gametype";
|
|
exec "setfromdvar lb_hardcore g_hardcore";
|
|
exec "setfromdvar lb_filter_hardcore g_hardcore";
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarBool ui_swfSelectionButtonVis 0;
|
|
setLocalVarBool ui_swfSelectionBarVis 0;
|
|
setLocalVarBool ui_swfSelectionDisabled 0;
|
|
}
|
|
action
|
|
{
|
|
if (!(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef"))))
|
|
{
|
|
play mouse_click;
|
|
setdvar lb_file "";
|
|
setdvar lb_desc_text "";
|
|
setLocalVarString ui_leaderboard_text "";
|
|
setLocalVarBool ui_lobby_leaderboard 1;
|
|
open menu_leaderboard;
|
|
}
|
|
}
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 97 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")))) && (1))) && (0) && (localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST"));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 3)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 219 97 14.333 14.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((((((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")))) && (1))) && (0) && (!(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST")));
|
|
textscale 0.55
|
|
background "icon_lock"
|
|
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 3)) + 1.333)) - (0.667)) + 1.5;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 93.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && (0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_LOBBY_LEADERBOARD");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
|
exp forecolor r select(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
|
exp forecolor g select(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
|
exp forecolor b select(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 93.334 276.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((1) && !(0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textstyle 9
|
|
textfont 3
|
|
exp text locstring("@MENU_LOBBY_LEADERBOARD");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
|
exp forecolor r select(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor g select(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor b select(((dvarint(party_partyPlayerCountNum) < dvarint(party_matchedPlayerCount)) || (dvarstring(ui_gametype) != "dm" && dvarstring(ui_gametype) != "war" && dvarstring(ui_gametype) != "sd" && dvarstring(ui_gametype) != "sab" && dvarstring(ui_gametype) != "dom" && dvarstring(ui_gametype) != "koth" && dvarstring(ui_gametype) != "ctf" && dvarstring(ui_gametype) != "dd" && dvarstring(ui_gametype) != "conf" && dvarstring(ui_gametype) != "tdef")), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -46.5 113.334 283.333 3.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (5 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
|
textscale 0.55
|
|
background "navbar_tick"
|
|
exp rect x (0) + ((0 - 64)) + 0.667 + 17.5;
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 2.3333));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 113.334 200.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
autowrapped
|
|
visible when((!((localvarint("ui_lockedHintTime") + (2000 + 1000)) > milliseconds()) && !localvarbool("ui_centerPopup") && !localvarbool("ui_leftPopup")) && (((localvarint("ui_buttonNavGroupOffset") + (5 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textfont 3
|
|
exp text localvarstring("ui_hint_text");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
|
exp rect x (((301.5 / 2) - 77)) + ((0 - 64));
|
|
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
|
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
|
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 113.334 200.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
autowrapped
|
|
visible when((!((localvarint("ui_lockedHintTime") + (2000 + 1000)) > milliseconds()) && !localvarbool("ui_centerPopup") && !localvarbool("ui_leftPopup")) && (((localvarint("ui_buttonNavGroupOffset") + (5 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && !(0));
|
|
textalign 10
|
|
textscale 0.375
|
|
textfont 3
|
|
exp text localvarstring("ui_hint_text");
|
|
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
|
exp rect x (((301.5 / 2) - 77)) + ((0 - 64));
|
|
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_BUTTON_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 9.75 113.334 200.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
autowrapped
|
|
visible when(!localvarbool("ui_centerPopup") && !localvarbool("ui_leftPopup"));
|
|
textalign 10
|
|
textscale 0.375
|
|
textfont 3
|
|
forecolor 0.85 0.4 0.4 1
|
|
exp text localvarstring("ui_lockedHintDesc");
|
|
exp forecolor a select(((localvarint("ui_lockedHintTime") + (2000 + 1000)) > milliseconds()), select(((localvarint("ui_lockedHintTime") + 2000) > milliseconds()), 1, (1 - ((milliseconds() - (localvarint("ui_lockedHintTime") + 2000)) / 1000))), 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 180 186 32 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when(menuistopmost("menu_xboxlive_lobby") && dvarint(theater_active) && isClientDemoEnabled());
|
|
textalign 14
|
|
textscale 0.35
|
|
textstyle 9
|
|
textfont 1
|
|
exp text "@MENU_ON";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 180 186 32 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when(menuistopmost("menu_xboxlive_lobby") && dvarint(theater_active) && !isClientDemoEnabled());
|
|
textalign 14
|
|
textscale 0.35
|
|
textstyle 9
|
|
textfont 1
|
|
exp text "@MENU_OFF";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 100 182 24 24 1 1
|
|
style 3
|
|
decoration
|
|
visible when(menuistopmost("menu_xboxlive_lobby") && dvarint(theater_active));
|
|
textalign 14
|
|
textscale 0.55
|
|
exp material "menu_mp_lobby_icon_film";
|
|
exp rect x 210 - select((dvarbool(leavegame0_vis) && isClientDemoEnabledSplitScreen(0) && enoughStorageSpaceForClientDemo(0)) || (dvarbool(leavegame1_vis) && isClientDemoEnabledSplitScreen(1) && enoughStorageSpaceForClientDemo(1)) || (dvarbool(leavegame2_vis) && isClientDemoEnabledSplitScreen(2) && enoughStorageSpaceForClientDemo(2)) || (dvarbool(leavegame3_vis) && isClientDemoEnabledSplitScreen(3) && enoughStorageSpaceForClientDemo(3)), getTextWidthModCase(locstring("@MENU_ON"), 1, 0.35, 9), getTextWidthModCase(locstring("@MENU_OFF"), 1, 0.35, 9)) - 24;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -252.667 2.667 253.333 20 3 1
|
|
style 1
|
|
decoration
|
|
visible when((!inlobby()));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
forecolor 0.784314 0.784314 0.784314 1
|
|
exp text truncateTextWithEllipsis((dvarstring(party_partyPlayerCount)), 3, 0.375, 225);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -252.667 2.667 253.333 20 3 1
|
|
style 1
|
|
decoration
|
|
visible when((inlobby() && !dvarbool(xblive_privatematch)));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
forecolor 0.784314 0.784314 0.784314 1
|
|
exp text truncateTextWithEllipsis((getpartystatus()), 3, 0.375, 225);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -252.667 2.667 253.333 20 3 1
|
|
style 1
|
|
decoration
|
|
visible when((inlobby() && dvarbool(xblive_privatematch)));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
forecolor 0.784314 0.784314 0.784314 1
|
|
exp text truncateTextWithEllipsis((getprivatepartystatus()), 3, 0.375, 225);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -252.667 14.667 253.333 20 3 1
|
|
style 1
|
|
decoration
|
|
visible when((inlobby() && !dvarbool(xblive_privatematch) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
forecolor 0.784314 0.784314 0.784314 1
|
|
exp text getsearchparams();
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 212 301 113.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getmapimage()) != "");
|
|
textscale 0.55
|
|
exp material select(dvarbool(specialops), (getmapimage()), (getmapimage()) + "_lobby");
|
|
}
|
|
itemDef
|
|
{
|
|
rect 77 212 160 113.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getmapimage()) != "" && !dvarbool(specialops));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "navbar_selection_bar"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -3 212 240 113.333 1 1
|
|
style 3
|
|
decoration
|
|
visible when(((votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getmapimage()) != "" && dvarbool(specialops));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "navbar_selection_bar"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 50 252.667 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when(((votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text getmapname();
|
|
}
|
|
itemDef
|
|
{
|
|
rect 50 268.667 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when(((votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text gametypenameAbbreviated();
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 212 301 49.6665 1 1
|
|
style 3
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
exp material (getmapvotemapimage(0)) + "_vote";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 77 212 160 49.6665 1 1
|
|
style 3
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "navbar_selection_bar"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 212 301 49.6665 1 1
|
|
style 1
|
|
decoration
|
|
visible when((localvarstring("ui_swf_selection") != "map1") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 8
|
|
textscale 0.333333
|
|
textfont 9
|
|
}
|
|
itemDef
|
|
{
|
|
name "map1"
|
|
rect -64 212 301 49.6665 1 1
|
|
style 3
|
|
type 1
|
|
visible when(!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased))));
|
|
textscale 0.55
|
|
forecolor 0 0 0 0
|
|
background "white"
|
|
onFocus
|
|
{
|
|
setLocalVarString ui_swf_selection "map1";
|
|
setLocalVarInt ui_buttonNavGroupCurrent 10;
|
|
setLocalVarString ui_buttonNavGroupName "map";
|
|
play mouse_over;
|
|
if (localvarint("ui_vote") == 1)
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTED_FOR_MAP";
|
|
}
|
|
else
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTE_FOR_MAP";
|
|
}
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarInt ui_lockedHintTime (milliseconds() - (2000 + 1000));
|
|
setLocalVarString ui_hint_text "";
|
|
setLocalVarString ui_swf_selection "";
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
if ((milliseconds() - localvarint("ui_lastVoteTime")) >= (localvarint("ui_lastVoteCount") * 1000))
|
|
{
|
|
if (localvarint("ui_vote") != 1)
|
|
{
|
|
setLocalVarInt ui_lastVoteTime (milliseconds());
|
|
if (localvarint("ui_vote") != 0)
|
|
{
|
|
setLocalVarInt ui_lastVoteCount (localvarint("ui_lastVoteCount") + 1);
|
|
}
|
|
}
|
|
exec "xpartyvote 1";
|
|
setLocalVarInt ui_vote 1;
|
|
}
|
|
else
|
|
{
|
|
if (localvarint("ui_vote") != 1)
|
|
{
|
|
setLocalVarInt ui_lockedHintTime (milliseconds());
|
|
setLocalVarString ui_lockedHintDesc locstring("@PATCH_MENU_WAIT_TO_VOTE", localvarint("ui_lastVoteCount"));
|
|
}
|
|
}
|
|
if (localvarint("ui_vote") == 1)
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTED_FOR_MAP";
|
|
}
|
|
else
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTE_FOR_MAP";
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 77 212 160 49.6665 1 1
|
|
style 3
|
|
decoration
|
|
visible when((localvarstring("ui_swf_selection") == "map1") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
background "navbar_selection_bar"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 261.667 301 8.666 1 1
|
|
style 3
|
|
decoration
|
|
visible when((localvarstring("ui_swf_selection") == "map1") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
background "navbar_selection_bar_shadow"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 211 226.167 21.333 21.333 1 1
|
|
style 1
|
|
decoration
|
|
visible when((((localvarstring("ui_swf_selection") == "map1") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))))));
|
|
textalign 10
|
|
textscale 0.30625
|
|
textfont 3
|
|
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 275.667 301 49.6665 1 1
|
|
style 3
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
exp material (getmapvotemapimage(1)) + "_vote";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 77 275.667 160 49.6665 1 1
|
|
style 3
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "navbar_selection_bar"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 275.667 301 49.6665 1 1
|
|
style 1
|
|
decoration
|
|
visible when((localvarstring("ui_swf_selection") != "map2") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 8
|
|
textscale 0.333333
|
|
textfont 9
|
|
}
|
|
itemDef
|
|
{
|
|
name "map2"
|
|
rect -64 275.667 301 49.6665 1 1
|
|
style 3
|
|
type 1
|
|
visible when(!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased))));
|
|
textscale 0.55
|
|
forecolor 0 0 0 0
|
|
background "white"
|
|
onFocus
|
|
{
|
|
setLocalVarString ui_swf_selection "map2";
|
|
setLocalVarInt ui_buttonNavGroupCurrent 11;
|
|
setLocalVarString ui_buttonNavGroupName "map";
|
|
play mouse_over;
|
|
if (localvarint("ui_vote") == 2)
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTED_FOR_MAP";
|
|
}
|
|
else
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTE_FOR_MAP";
|
|
}
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarInt ui_lockedHintTime (milliseconds() - (2000 + 1000));
|
|
setLocalVarString ui_hint_text "";
|
|
setLocalVarString ui_swf_selection "";
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
if ((milliseconds() - localvarint("ui_lastVoteTime")) >= (localvarint("ui_lastVoteCount") * 1000))
|
|
{
|
|
if (localvarint("ui_vote") != 2)
|
|
{
|
|
setLocalVarInt ui_lastVoteTime (milliseconds());
|
|
if (localvarint("ui_vote") != 0)
|
|
{
|
|
setLocalVarInt ui_lastVoteCount (localvarint("ui_lastVoteCount") + 1);
|
|
}
|
|
}
|
|
exec "xpartyvote 2";
|
|
setLocalVarInt ui_vote 2;
|
|
}
|
|
else
|
|
{
|
|
if (localvarint("ui_vote") != 2)
|
|
{
|
|
setLocalVarInt ui_lockedHintTime (milliseconds());
|
|
setLocalVarString ui_lockedHintDesc locstring("@PATCH_MENU_WAIT_TO_VOTE", localvarint("ui_lastVoteCount"));
|
|
}
|
|
}
|
|
if (localvarint("ui_vote") == 2)
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTED_FOR_MAP";
|
|
}
|
|
else
|
|
{
|
|
setLocalVarString ui_hint_text "@MPUI_VOTE_FOR_MAP";
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 77 275.667 160 49.6665 1 1
|
|
style 3
|
|
decoration
|
|
visible when((localvarstring("ui_swf_selection") == "map2") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
background "navbar_selection_bar"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 325.333 301 8.666 1 1
|
|
style 3
|
|
decoration
|
|
visible when((localvarstring("ui_swf_selection") == "map2") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textscale 0.55
|
|
background "navbar_selection_bar_shadow"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 211 289.833 21.333 21.333 1 1
|
|
style 1
|
|
decoration
|
|
visible when((((localvarstring("ui_swf_selection") == "map2") && (!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))))));
|
|
textalign 10
|
|
textscale 0.30625
|
|
textfont 3
|
|
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
|
}
|
|
itemDef
|
|
{
|
|
name "map_a"
|
|
rect 50 212 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text getmapvotemapname(0);
|
|
exp forecolor r select((0), 0.569, select((localvarstring("ui_swf_selection") == "map1"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1) * select((0), 0.882, 1));
|
|
exp forecolor g select((0), 0.569, select((localvarstring("ui_swf_selection") == "map1"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1) * select((0), 0.655, 1));
|
|
exp forecolor b select((0), 0.569, select((localvarstring("ui_swf_selection") == "map1"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1) * select((0), 0.173, 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 50 228.833 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text mapvotegametypenameAbbreviated(0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 50 245.667 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text dvarstring(party_nextMapVoteStatus);
|
|
}
|
|
itemDef
|
|
{
|
|
name "map_b"
|
|
rect 50 275.667 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text getmapvotemapname(1);
|
|
exp forecolor r select((0), 0.569, select((localvarstring("ui_swf_selection") == "map2"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1) * select((0), 0.882, 1));
|
|
exp forecolor g select((0), 0.569, select((localvarstring("ui_swf_selection") == "map2"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1) * select((0), 0.655, 1));
|
|
exp forecolor b select((0), 0.569, select((localvarstring("ui_swf_selection") == "map2"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1) * select((0), 0.173, 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 50 292.5 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text mapvotegametypenameAbbreviated(1);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 50 309.333 161.333 16 1 1
|
|
style 1
|
|
decoration
|
|
visible when((!(votepassed() || (dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text dvarstring(party_alternateMapVoteStatus);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -86.833 340 324.667 70 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))));
|
|
textscale 0.55
|
|
background "challenge_blade_bg"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 1 1
|
|
type 1
|
|
visible when(((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis")));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
onFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index 1;
|
|
setLocalVarString ui_ralign_group "menu_xboxlive_lobby" + "_challenge_blade";
|
|
play mouse_over;
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index - 1;
|
|
setLocalVarString ui_ralign_group "";
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
uiscript simulateKeyPress 167;
|
|
}
|
|
exp rect x (((0 - 64) + 276.5 + 5 + (20 / 2))) - (1 * 5) - 20 - getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375);
|
|
exp rect y (387.333);
|
|
exp rect w getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 8.666 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))) && (!1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby" + "_challenge_blade"));
|
|
textscale 0.55
|
|
background "navbar_selection_bar_shadow"
|
|
exp rect x (((0 - 64) + 276.5 + 5 + (20 / 2))) - (1 * 5) - (20) - getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375);
|
|
exp rect y (387.333) + 20;
|
|
exp rect w getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 1 1
|
|
style 1
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby" + "_challenge_blade"));
|
|
textscale 0.55
|
|
backcolor 0.6 0.6314 0.6 1
|
|
exp rect x (((0 - 64) + 276.5 + 5 + (20 / 2))) - (1 * 5) - (20) - getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375);
|
|
exp rect y (387.333);
|
|
exp rect w getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 1 1
|
|
decoration
|
|
visible when(((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis")));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
execKeyInt 167
|
|
{
|
|
setLocalVarBool ui_challenges_online dvarbool(onlinegame);
|
|
open challenges_popup;
|
|
}
|
|
exp text "@PLATFORM_CHALLENGES_SHORTCUT";
|
|
exp rect x (((0 - 64) + 276.5 + 5 + (20 / 2))) - (1 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375);
|
|
exp rect y (387.333);
|
|
exp rect w getTextWidth(locstring("@PLATFORM_CHALLENGES_SHORTCUT"), 3, 0.375);
|
|
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby" + "_challenge_blade"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby" + "_challenge_blade"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby" + "_challenge_blade"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 359.333 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 359.333 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))));
|
|
textscale 0.55
|
|
background "dest_alpha_zero"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 359.333 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))));
|
|
textscale 0.55
|
|
background "dest_alpha_one"
|
|
exp rect w 140 * (((getplayerdata("challengeProgress", getsortedchallengename(0, localvarstring("ui_info_filter")))) / (int(getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "target", int(max(getplayerdata("challengeState", getsortedchallengename(0, localvarstring("ui_info_filter"))), 1)))))));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 359.333 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))));
|
|
textscale 0.55
|
|
background "bar_progress_orange_custom"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 380.667 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis")) && (getsortedchallengecount(localvarstring("ui_info_filter")) > 1)));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 380.667 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis")) && (getsortedchallengecount(localvarstring("ui_info_filter")) > 1)));
|
|
textscale 0.55
|
|
background "dest_alpha_zero"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 380.667 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis")) && (getsortedchallengecount(localvarstring("ui_info_filter")) > 1)));
|
|
textscale 0.55
|
|
background "dest_alpha_one"
|
|
exp rect w 140 * (((getplayerdata("challengeProgress", getsortedchallengename(1, localvarstring("ui_info_filter")))) / (int(getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "target", int(max(getplayerdata("challengeState", getsortedchallengename(1, localvarstring("ui_info_filter"))), 1)))))));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 71.333 380.667 140 4 1 1
|
|
style 3
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis")) && (getsortedchallengecount(localvarstring("ui_info_filter")) > 1)));
|
|
textscale 0.55
|
|
background "bar_progress_orange_custom"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -34.167 341.333 246.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis"))));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text (getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "name") + locstring("@" + getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "label_nonperiodic") + "_" + int(max(getplayerdata("challengeState", getsortedchallengename(0, localvarstring("ui_info_filter"))), 1)))) + " " + int(getplayerdata("challengeProgress", getsortedchallengename(0, localvarstring("ui_info_filter"))) / select(getsortedchallengename(0, localvarstring("ui_info_filter")) == "ch_longersprint_pro" || getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_weekly" || getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_daily", 5280, 1)) + "/" + int(int(getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "target", int(max(getplayerdata("challengeState", getsortedchallengename(0, localvarstring("ui_info_filter"))), 1)))) / select(getsortedchallengename(0, localvarstring("ui_info_filter")) == "ch_longersprint_pro" || getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_weekly" || getchallengedata(getsortedchallengename(0, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_daily", 5280, 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -34.167 362.667 246.667 19.567 1 1
|
|
style 1
|
|
decoration
|
|
visible when((((getsortedchallengecount(localvarstring("ui_info_filter")) > 0) && (!dvarbool(onlinegame) || (!dvarbool(splitscreen) && !dvarbool(xblive_privatematch))) && localvarbool("ui_challenge_blade_vis")) && (getsortedchallengecount(localvarstring("ui_info_filter")) > 1)));
|
|
textalign 10
|
|
textscale 0.340278
|
|
textfont 3
|
|
exp text (getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "name") + locstring("@" + getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "label_nonperiodic") + "_" + int(max(getplayerdata("challengeState", getsortedchallengename(1, localvarstring("ui_info_filter"))), 1)))) + " " + int(getplayerdata("challengeProgress", getsortedchallengename(1, localvarstring("ui_info_filter"))) / select(getsortedchallengename(1, localvarstring("ui_info_filter")) == "ch_longersprint_pro" || getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_weekly" || getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_daily", 5280, 1)) + "/" + int(int(getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "target", int(max(getplayerdata("challengeState", getsortedchallengename(1, localvarstring("ui_info_filter"))), 1)))) / select(getsortedchallengename(1, localvarstring("ui_info_filter")) == "ch_longersprint_pro" || getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_weekly" || getchallengedata(getsortedchallengename(1, localvarstring("ui_info_filter")), "ref") == "ch_longersprint_pro_daily", 5280, 1));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -266 336.667 266.667 30.6 3 1
|
|
style 1
|
|
decoration
|
|
visible when("MOTD_TICKER_VIS");
|
|
textalign 10
|
|
textscale 0.666667
|
|
textfont 9
|
|
forecolor 0.839 0.839 0.839 0.298
|
|
exp text dvarstring(party_lobbyPlayerCount);
|
|
}
|
|
itemDef
|
|
{
|
|
name "lobbyList"
|
|
rect -281.333 31 291.333 362 3 1
|
|
type 6
|
|
visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)));
|
|
textaligny -2
|
|
textscale 0.375
|
|
onFocus
|
|
{
|
|
setLocalVarString ui_swf_selection "";
|
|
}
|
|
exp rect h min(362, (19.5 * getFeederData("lobbyList", "count")) + 4);
|
|
elementwidth 291.333
|
|
elementheight 19.5
|
|
feeder 17
|
|
columns 8
|
|
2 2 20 0 40 0
|
|
20 2 20 0 3 0
|
|
40 2 16 0 38 0
|
|
200 2 20 0 3 1
|
|
220 2 20 0 3 1
|
|
236 2 40 0 4 2
|
|
-20 2 16 0 40 2
|
|
282 4 16 16 40 0
|
|
doubleclick
|
|
{
|
|
play mouse_click open player_popup_publiclobby;
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name "searching"
|
|
rect -281.333 31 291.333 362 3 1
|
|
decoration
|
|
type 6
|
|
visible when(!(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)));
|
|
textaligny -2
|
|
textscale 0.375
|
|
noscrollbars
|
|
elementwidth 291.333
|
|
elementheight 19.5
|
|
feeder 18
|
|
columns 2
|
|
40 2 16 0 38 0
|
|
200 2 20 0 3 1
|
|
}
|
|
itemDef
|
|
{
|
|
rect -281.333 31 291.333 182 3 1
|
|
decoration
|
|
type 6
|
|
visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)));
|
|
textaligny -2
|
|
textscale 0.375
|
|
noscrollbars
|
|
elementwidth 291.333
|
|
elementheight 19.5
|
|
feeder 27
|
|
columns 8
|
|
2 2 20 0 40 0
|
|
20 2 20 0 3 0
|
|
40 2 16 0 38 0
|
|
200 2 20 0 3 1
|
|
220 2 20 0 3 1
|
|
236 2 40 0 4 2
|
|
-20 2 16 0 40 2
|
|
282 4 16 16 40 0
|
|
}
|
|
itemDef
|
|
{
|
|
rect -281.333 212 291.333 182 3 1
|
|
decoration
|
|
type 6
|
|
visible when((dvarbool(party_teamsVisible) && dvarbool(party_teamBased)));
|
|
textaligny -2
|
|
textscale 0.375
|
|
noscrollbars
|
|
elementwidth 291.333
|
|
elementheight 19.5
|
|
feeder 28
|
|
columns 8
|
|
2 2 20 0 40 0
|
|
20 2 20 0 3 0
|
|
40 2 16 0 38 0
|
|
200 2 20 0 3 1
|
|
220 2 20 0 3 1
|
|
236 2 40 0 4 2
|
|
-20 2 16 0 40 2
|
|
282 4 16 16 40 0
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 240 40 3 1
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0));
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "white"
|
|
exp rect x ((12 - (240 + 10 + 41.333)));
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 237.333 37.333 3 1
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0));
|
|
textscale 0.55
|
|
background "playercard_scanlines_512"
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 1.333;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 1.333;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 35.3 35.3 3 1
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && !localvarbool("browsingCardIcon"));
|
|
textscale 0.55
|
|
exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 3, dvarint(party_selectedIndex)), 1);
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 2.533;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 2.567;
|
|
exp forecolor a (1 - (isselectedpartymemberaway() * 0.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 156.667 31.333 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && !localvarbool("browsingCardTitle"));
|
|
textscale 0.55
|
|
backcolor 1 1 1 1
|
|
exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 2);
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 33.9;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + (0 - 4.1);
|
|
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 3);
|
|
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 4);
|
|
exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 5);
|
|
exp forecolor a (1 - (isselectedpartymemberaway() * 0.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 28.8 28.8 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && !localvarbool("browsingCardTitle") && (getplayercardinfo(20, 3, dvarint(party_selectedIndex)) > 0));
|
|
textscale 0.55
|
|
backcolor 1 1 1 1
|
|
exp material "clanlvl_box";
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 33.9 + ((156.667) - (28 * 0.9));
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + (0 - 4.1) - (11 * 0.9);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 14.4 14.4 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && !localvarbool("browsingCardTitle") && (getplayercardinfo(20, 3, dvarint(party_selectedIndex)) > 0));
|
|
textscale 0.55
|
|
backcolor 1 1 1 1
|
|
exp material getplayercardinfo(22, 3, dvarint(party_selectedIndex));
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 33.9 + ((156.667) - (25.5 * 0.9));
|
|
exp rect y ((32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + (0 - 4.1)) - (3 * 0.9);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 14.4 14.4 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && !localvarbool("browsingCardTitle") && (getplayercardinfo(20, 3, dvarint(party_selectedIndex)) > 0));
|
|
textscale 0.55
|
|
backcolor 1 1 1 1
|
|
exp material getplayercardinfo(21, 3, dvarint(party_selectedIndex));
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 33.9 + ((156.667) - (13.5 * 0.9));
|
|
exp rect y ((32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + (0 - 4.1)) - (3 * 0.9);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 156.667 31.333 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && !localvarbool("browsingCardTitle"));
|
|
textalign 9
|
|
textscale 0.375
|
|
textstyle 8
|
|
textfont 3
|
|
exp text getplayercardinfo(14, 3, dvarint(party_selectedIndex));
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 33.9;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + (0 - 4.1);
|
|
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 3);
|
|
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 4);
|
|
exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 3, dvarint(party_selectedIndex)), 5);
|
|
exp backcolor a 0;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 146.7 16.6 3 1
|
|
style 1
|
|
decoration
|
|
visible when(((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0));
|
|
textalign 8
|
|
textscale 0.375
|
|
textstyle 8
|
|
textfont 9
|
|
exp text getplayercardinfo(11, 3, dvarint(party_selectedIndex));
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 40;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 21.5;
|
|
exp forecolor r 0.941;
|
|
exp forecolor g 0.773;
|
|
exp forecolor b 0.361;
|
|
exp forecolor a select((getTextWidth(getplayercardinfo(11, 3, dvarint(party_selectedIndex)), 9, 0.375) <= 142), (1 - (isselectedpartymemberaway() * 0.5)), 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 146.7 16.6 3 1
|
|
style 1
|
|
decoration
|
|
visible when(((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0));
|
|
textalign 8
|
|
textscale 0.3
|
|
textstyle 8
|
|
textfont 9
|
|
exp text getplayercardinfo(11, 3, dvarint(party_selectedIndex));
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 40;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 21.5;
|
|
exp forecolor r 0.941;
|
|
exp forecolor g 0.773;
|
|
exp forecolor b 0.361;
|
|
exp forecolor a select((getTextWidth(getplayercardinfo(11, 3, dvarint(party_selectedIndex)), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 3, dvarint(party_selectedIndex)), 9, 0.375) <= 180), (1 - (isselectedpartymemberaway() * 0.5)), 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 146.7 16.6 3 1
|
|
style 1
|
|
decoration
|
|
visible when(((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased)))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0));
|
|
textalign 8
|
|
textscale 0.225
|
|
textstyle 8
|
|
textfont 9
|
|
exp text truncateTextWithEllipsis(getplayercardinfo(11, 3, dvarint(party_selectedIndex)), 9, (0.375 * 0.6), 140);
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 40;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 22;
|
|
exp forecolor r 0.941;
|
|
exp forecolor g 0.773;
|
|
exp forecolor b 0.361;
|
|
exp forecolor a select((getTextWidth(getplayercardinfo(11, 3, dvarint(party_selectedIndex)), 9, 0.375) > 180), (1 - (isselectedpartymemberaway() * 0.5)), 0);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 51.333 18.033 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && getplayercardinfo(12, 3, dvarint(party_selectedIndex)) != "");
|
|
textalign 8
|
|
textscale 0.375
|
|
textstyle 7
|
|
textfont 3
|
|
forecolor 0.941 0.773 0.361 1
|
|
exp text "[" + getplayercardinfo(12, 3, dvarint(party_selectedIndex)) + "]";
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 188;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 2.5;
|
|
exp forecolor a (1 - (isselectedpartymemberaway() * 0.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 18.667 18.667 3 1
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && (getplayercardinfo(4, 3, dvarint(party_selectedIndex)) >= 0) && dvarstring(gameMode) == "mp");
|
|
textscale 0.55
|
|
exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 3, dvarint(party_selectedIndex)), (getplayercardinfo(5, 3, dvarint(party_selectedIndex)) + 1));
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 192;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 18.9;
|
|
exp forecolor a (1 - (isselectedpartymemberaway() * 0.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 22 18.033 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && (getplayercardinfo(4, 3, dvarint(party_selectedIndex)) >= 0) && dvarstring(gameMode) == "mp");
|
|
textalign 8
|
|
textscale 0.375
|
|
textstyle 7
|
|
textfont 3
|
|
exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 3, dvarint(party_selectedIndex)), 14);
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 212;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 19.167;
|
|
exp forecolor a (1 - (isselectedpartymemberaway() * 0.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 18.667 18.667 3 1
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && (getplayercardinfo(6, 3, dvarint(party_selectedIndex)) >= 0) && dvarstring(gameMode) == "so");
|
|
textscale 0.55
|
|
exp material tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 3, dvarint(party_selectedIndex)), 6);
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 192;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 18.9;
|
|
exp forecolor a (1 - (isselectedpartymemberaway() * 0.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 22 18.033 3 1
|
|
style 1
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && (getplayercardinfo(6, 3, dvarint(party_selectedIndex)) >= 0) && dvarstring(gameMode) == "so");
|
|
textalign 8
|
|
textscale 0.375
|
|
textstyle 7
|
|
textfont 3
|
|
exp text tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 3, dvarint(party_selectedIndex)), 14);
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 212;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) + 19.167;
|
|
exp forecolor a (1 - (isselectedpartymemberaway() * 0.5));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 29.333 29.333 3 1
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && getplayercardinfo(10, 3, dvarint(party_selectedIndex)));
|
|
textscale 0.55
|
|
exp material "xp";
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 228.667;
|
|
exp rect y (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) - 14.267;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 29.333 29.333 3 1
|
|
style 3
|
|
decoration
|
|
visible when((dvarbool(party_listFocus) && !(dvarbool(party_teamsVisible) && dvarbool(party_teamBased))) && (getplayercardinfo(0, 3, dvarint(party_selectedIndex)) != 0) && getplayercardinfo(15, 3, dvarint(party_selectedIndex)));
|
|
textscale 0.55
|
|
exp material "gxp";
|
|
exp rect x ((12 - (240 + 10 + 41.333))) + 228.667;
|
|
exp rect y select(getplayercardinfo(10, 3, dvarint(party_selectedIndex)), (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) - 1.1, (32 + ((getFeederData("lobbyList", "selection") - getFeederData("lobbyList", "start")) * 19.5 - 10)) - 14.267);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -88 52 325.333 8.666 1 1
|
|
style 3
|
|
decoration
|
|
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "SWF_BUTTON_LIST"));
|
|
textscale 0.55
|
|
background "navbar_selection_bar_shadow"
|
|
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
type 1
|
|
visible when(1);
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
onFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index 3;
|
|
setLocalVarString ui_ralign_group "menu_xboxlive_lobby";
|
|
play mouse_over;
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index - 1;
|
|
setLocalVarString ui_ralign_group "";
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
uiscript simulateKeyPress 103;
|
|
}
|
|
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375) - select((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))), (20 + getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 5), 0) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 8.666 3 3
|
|
style 3
|
|
decoration
|
|
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 3 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"));
|
|
textscale 0.55
|
|
background "navbar_selection_bar_shadow"
|
|
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375) - select((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))), (20 + getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 5), 0) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667)) + 20;
|
|
exp rect w getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
style 1
|
|
decoration
|
|
visible when((1) && (localvarint("ui_ralign_index") == 3 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"));
|
|
textscale 0.55
|
|
backcolor 0.6 0.6314 0.6 1
|
|
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375) - select((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))), (20 + getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 5), 0) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
decoration
|
|
visible when(1);
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
execKey "g"
|
|
{
|
|
if (dvarbool(specialops))
|
|
{
|
|
if (dvarbool(splitscreen))
|
|
{
|
|
open popup_summary_so_ss;
|
|
}
|
|
else
|
|
{
|
|
open popup_summary_so;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (dvarbool(xblive_privatematch))
|
|
{
|
|
open popup_summary;
|
|
}
|
|
else
|
|
{
|
|
if (dvarbool(splitscreen))
|
|
{
|
|
open popup_summary_splitscreen;
|
|
}
|
|
else
|
|
{
|
|
open popup_summary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
exp text "@PLATFORM_GAMESUMMARY_SHORTCUT";
|
|
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375) - select((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))), (20 + getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 5), 0) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_GAMESUMMARY_SHORTCUT"), 3, 0.375);
|
|
exp forecolor r select((localvarint("ui_ralign_index") == 3 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor g select((localvarint("ui_ralign_index") == 3 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor b select((localvarint("ui_ralign_index") == 3 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
type 1
|
|
visible when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
onFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index 2;
|
|
setLocalVarString ui_ralign_group "menu_xboxlive_lobby";
|
|
play mouse_over;
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index - 1;
|
|
setLocalVarString ui_ralign_group "";
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
uiscript simulateKeyPress 102;
|
|
}
|
|
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 8.666 3 3
|
|
style 3
|
|
decoration
|
|
visible when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (!0) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"));
|
|
textscale 0.55
|
|
background "navbar_selection_bar_shadow"
|
|
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667)) + 20;
|
|
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
style 1
|
|
decoration
|
|
visible when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"));
|
|
textscale 0.55
|
|
backcolor 0.6 0.6314 0.6 1
|
|
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
decoration
|
|
visible when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
execKey "f"
|
|
{
|
|
if (((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))))
|
|
{
|
|
setLocalVarBool ui_vault_browse 0;
|
|
setLocalVarBool ui_vault_load 0;
|
|
execnow "incnosplitscreencontrol popup_friends";
|
|
if (isprofilesignedin() && isusersignedintolive())
|
|
{
|
|
open popup_friends;
|
|
}
|
|
else
|
|
{
|
|
execnow "decnosplitscreencontrol popup_friends";
|
|
}
|
|
}
|
|
}
|
|
exp text "@PLATFORM_FRIENDS_SHORTCUT";
|
|
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375);
|
|
exp forecolor r select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor g select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor b select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
type 1
|
|
visible when(1);
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
onFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index 1;
|
|
setLocalVarString ui_ralign_group "menu_xboxlive_lobby";
|
|
play mouse_over;
|
|
}
|
|
leaveFocus
|
|
{
|
|
setLocalVarInt ui_ralign_index - 1;
|
|
setLocalVarString ui_ralign_group "";
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
uiscript simulateKeyPress 27;
|
|
}
|
|
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 8.666 3 3
|
|
style 3
|
|
decoration
|
|
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"));
|
|
textscale 0.55
|
|
background "navbar_selection_bar_shadow"
|
|
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
|
exp rect y ((0 - 20.667)) + 20;
|
|
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
style 1
|
|
decoration
|
|
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"));
|
|
textscale 0.55
|
|
backcolor 0.6 0.6314 0.6 1
|
|
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 0 20 3 3
|
|
decoration
|
|
visible when(1);
|
|
textalign 8
|
|
textscale 0.375
|
|
textfont 3
|
|
exp text "@PLATFORM_BACK_SHORTCUT";
|
|
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
|
exp rect y ((0 - 20.667));
|
|
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
|
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "menu_xboxlive_lobby"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
|
}
|
|
}
|
|
}
|