595 lines
22 KiB
Plaintext
595 lines
22 KiB
Plaintext
{
|
|
menuDef
|
|
{
|
|
name "serverinfo_popmenu"
|
|
rect -250 -204 520 370 2 2
|
|
style 1
|
|
backcolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
background "white"
|
|
popup
|
|
legacySplitScreenScale
|
|
onOpen
|
|
{
|
|
uiScript ServerStatus;
|
|
setLocalVarInt ui_centerPopup (1);
|
|
}
|
|
onClose
|
|
{
|
|
setLocalVarInt ui_centerPopup (0);
|
|
}
|
|
onESC
|
|
{
|
|
close self;
|
|
}
|
|
execKeyInt 171
|
|
{
|
|
play mouse_click;
|
|
uiScript ServerStatus;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 370 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 0 0 0 0.35
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -1004 -564 1708 960 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 1 1 1 1
|
|
background "xpbar_stencilbase"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 370 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 0.5 0.5 0.5 1
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -44 1708 480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.75
|
|
background "mw2_popup_bg_fogstencil"
|
|
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -110 -1708 -480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0.85 0.85 0.85 1
|
|
background "mw2_popup_bg_fogscroll"
|
|
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 370 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
background "mockup_popup_bg_stencilfill"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -44 -1708 -480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.75
|
|
background "mw2_popup_bg_fogstencil"
|
|
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -110 -1708 -480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0.85 0.85 0.85 1
|
|
background "mw2_popup_bg_fogscroll"
|
|
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -44 520 0 1 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 1 1 1 0
|
|
background "small_box_lightfx"
|
|
exp rect h (24 + 3 * 20);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -64 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 -64 520 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 520 -64 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 520 0 64 370 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 520 370 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 370 520 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 370 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 0 64 370 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 18 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textalign 1
|
|
textaligny 18
|
|
textscale 0.375
|
|
textfont 9
|
|
backcolor 0 0 0 0.7
|
|
background "gradient_fadein"
|
|
exp text dvarstring(uiSi_ServerName);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 20 310 20 0 0
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
backcolor 0 0 0 0.8
|
|
background "menu_setting_selection_bar"
|
|
exp text "@MPUI_MAX_CLIENTS";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 20 310 20 0 0
|
|
decoration
|
|
visible 1
|
|
textalign 2
|
|
textalignx -40
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
exp text dvarstring(uiSi_MaxClients);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 40 310 20 0 0
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
backcolor 0 0 0 0.8
|
|
background "menu_setting_selection_bar"
|
|
exp text "@MPUI_IS_PRIVATE";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 40 310 20 0 0
|
|
decoration
|
|
visible 1
|
|
textalign 2
|
|
textalignx -40
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
exp text dvarstring(uiSi_isPrivate);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 60 310 20 0 0
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
backcolor 0 0 0 0.8
|
|
background "menu_setting_selection_bar"
|
|
exp text "@MPUI_RULES_HARDCORE";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 60 310 20 0 0
|
|
decoration
|
|
visible 1
|
|
textalign 2
|
|
textalignx -40
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
exp text dvarstring(uiSi_Hardcore);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 80 310 20 0 0
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
backcolor 0 0 0 0.8
|
|
background "menu_setting_selection_bar"
|
|
exp text "@MPUI_RULES_AIMASSIST";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 80 310 20 0 0
|
|
decoration
|
|
visible 1
|
|
textalign 2
|
|
textalignx -40
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
exp text dvarstring(uiSi_aimAssist);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 100 310 20 0 0
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
backcolor 0 0 0 0.8
|
|
background "menu_setting_selection_bar"
|
|
exp text "@MPUI_RULES_VOICECHAT";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 100 310 20 0 0
|
|
decoration
|
|
visible 1
|
|
textalign 2
|
|
textalignx -40
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
exp text dvarstring(uiSi_voiceChat);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 120 310 20 0 0
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
backcolor 0 0 0 0.8
|
|
background "menu_setting_selection_bar"
|
|
exp text "@MPUI_MOD";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 120 310 20 0 0
|
|
decoration
|
|
visible 1
|
|
textalign 2
|
|
textalignx -40
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
exp text dvarstring(uiSi_ModName);
|
|
}
|
|
itemDef
|
|
{
|
|
name "mappreview"
|
|
rect 332 22 176 100 0 0
|
|
style 3
|
|
visible when(dvarstring(uiSi_MapName) == "");
|
|
textscale 0.55
|
|
exp material ("loadscreen_mp_bonusmaps");
|
|
}
|
|
itemDef
|
|
{
|
|
rect 332 22 176 14 0 0
|
|
style 1
|
|
decoration
|
|
visible when(dvarstring(uiSi_MapName) == "");
|
|
textalign 2
|
|
textalignx -4
|
|
textaligny 13
|
|
textscale 0.3
|
|
backcolor 0 0 0 0.4
|
|
exp text dvarstring(uiSi_MapNameLoc);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 332 108 176 14 0 0
|
|
style 1
|
|
decoration
|
|
visible when(dvarstring(uiSi_MapName) == "");
|
|
textalign 2
|
|
textalignx -4
|
|
textaligny 14
|
|
textscale 0.3
|
|
backcolor 0 0 0 0.4
|
|
exp text dvarstring(uiSi_GameType);
|
|
}
|
|
itemDef
|
|
{
|
|
name "mappreview"
|
|
rect 332 22 176 100 0 0
|
|
style 3
|
|
visible when(dvarstring(uiSi_MapName) != "");
|
|
textscale 0.55
|
|
exp material ("preview_" + dvarstring(uiSi_MapName));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 332 22 176 14 0 0
|
|
style 1
|
|
decoration
|
|
visible when(dvarstring(uiSi_MapName) != "");
|
|
textalign 2
|
|
textalignx -4
|
|
textaligny 13
|
|
textscale 0.3
|
|
backcolor 0 0 0 0.4
|
|
exp text dvarstring(uiSi_MapNameLoc);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 332 108 176 14 0 0
|
|
style 1
|
|
decoration
|
|
visible when(dvarstring(uiSi_MapName) != "");
|
|
textalign 2
|
|
textalignx -4
|
|
textaligny 14
|
|
textscale 0.3
|
|
backcolor 0 0 0 0.4
|
|
exp text dvarstring(uiSi_GameType);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 332 121 176 20 0 0
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
backcolor 0 0 0 0.8
|
|
background "menu_setting_selection_bar"
|
|
exp text "@MPUI_SECURITY_LEVEL";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 332 121 176 20 0 0
|
|
decoration
|
|
visible 1
|
|
textalign 2
|
|
textalignx -20
|
|
textaligny 18
|
|
textscale 0.35
|
|
textfont 1
|
|
exp text dvarstring(uiSi_SecurityLevel);
|
|
}
|
|
itemDef
|
|
{
|
|
name "num"
|
|
text "#"
|
|
rect 16 162 30 18 0 0
|
|
visible 1
|
|
textalignx 4
|
|
textscale 0.3
|
|
textfont 1
|
|
}
|
|
itemDef
|
|
{
|
|
name "name"
|
|
text "@MENU_NAME"
|
|
rect 88 162 30 18 0 0
|
|
visible 1
|
|
textalignx 4
|
|
textscale 0.3
|
|
textfont 1
|
|
}
|
|
itemDef
|
|
{
|
|
name "score"
|
|
text "@MPUI_SCORE"
|
|
rect 353 162 30 18 0 0
|
|
visible 1
|
|
textalignx 4
|
|
textscale 0.3
|
|
textfont 1
|
|
}
|
|
itemDef
|
|
{
|
|
name "ping"
|
|
text "@MENU_PING"
|
|
rect 455 162 30 18 0 0
|
|
visible 1
|
|
textalignx 4
|
|
textscale 0.3
|
|
textfont 1
|
|
}
|
|
itemDef
|
|
{
|
|
rect 12 164 496 160 0 0
|
|
style 1
|
|
type 6
|
|
border 1
|
|
borderSize 1
|
|
visible 1
|
|
textscale 0.25
|
|
textfont 1
|
|
backcolor 0 0 0 0.5
|
|
bordercolor 1 1 1 0.1
|
|
notselectable
|
|
elementwidth 120
|
|
elementheight 16
|
|
feeder 13
|
|
columns 4
|
|
8 2 2 0
|
|
80 16 16 0
|
|
345 4 4 0
|
|
447 4 4 0
|
|
}
|
|
itemDef
|
|
{
|
|
text "@PLATFORM_REFRESH"
|
|
group "mw2_popup_button"
|
|
rect 6 330 512 20 2 2
|
|
style 1
|
|
type 1
|
|
visible 1
|
|
textalign 6
|
|
textalignx -24
|
|
textscale 0.375
|
|
textfont 3
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "popup_button_selection_bar"
|
|
onFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 1;
|
|
setLocalVarBool ui_popupAButton (1);
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 0;
|
|
setLocalVarBool ui_popupAButton (0);
|
|
}
|
|
mouseEnter
|
|
{
|
|
play mouse_over;
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
uiScript ServerStatus;
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
text "@MENU_CLOSE"
|
|
group "mw2_popup_button"
|
|
rect 6 350 512 20 2 2
|
|
style 1
|
|
type 1
|
|
visible 1
|
|
textalign 6
|
|
textalignx -24
|
|
textscale 0.375
|
|
textfont 3
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "popup_button_selection_bar"
|
|
onFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 1;
|
|
setLocalVarBool ui_popupAButton (1);
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 0;
|
|
setLocalVarBool ui_popupAButton (0);
|
|
}
|
|
mouseEnter
|
|
{
|
|
play mouse_over;
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
close self;
|
|
}
|
|
}
|
|
}
|
|
}
|