316 lines
12 KiB
Plaintext
316 lines
12 KiB
Plaintext
{
|
|
menuDef
|
|
{
|
|
name "security_increase_popmenu"
|
|
rect -150 -84 300 116 2 2
|
|
style 1
|
|
backcolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
background "white"
|
|
popup
|
|
legacySplitScreenScale
|
|
onOpen
|
|
{
|
|
setLocalVarInt ui_centerPopup (1);
|
|
}
|
|
onClose
|
|
{
|
|
setLocalVarInt ui_centerPopup (0);
|
|
uiScript security_increase_cancel;
|
|
}
|
|
onESC
|
|
{
|
|
close self;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -1004 -564 1708 992 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 0 0 0 0.35
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -1004 -564 1708 992 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 1 1 1 1
|
|
background "xpbar_stencilbase"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 300 116 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 512 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 -44 -1708 -512 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 300 32 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
background "mockup_popup_bg_stencilfill"
|
|
exp rect h (56 + 3 * 20);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -44 -1708 -512 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 -44 -1708 -512 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 300 0 1 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 1 1 1 0
|
|
background "small_box_lightfx"
|
|
exp rect h (56 + 3 * 20);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -64 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 -64 300 64 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 300 -64 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 300 0 64 0 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
exp rect h (56 + 3 * 20);
|
|
}
|
|
itemDef
|
|
{
|
|
rect 300 0 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
exp rect y (32 - 0) + ((24 + 3 * 20));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 300 64 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
exp rect y (32 - 0) + ((24 + 3 * 20));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 0 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
exp rect y (32 - 0) + ((24 + 3 * 20));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -63 0 64 0 2 2
|
|
style 3
|
|
decoration
|
|
visible when(1);
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
exp rect h (56 + 3 * 20);
|
|
}
|
|
itemDef
|
|
{
|
|
text "@MPUI_SECURITY_INCREASE_MESSAGE"
|
|
rect 0 15 300 40 2 2
|
|
decoration
|
|
autowrapped
|
|
type 1
|
|
visible 1
|
|
textalign 5
|
|
textaligny 10
|
|
textscale 0.4
|
|
}
|
|
itemDef
|
|
{
|
|
text "@MPUI_PLEASE_WAIT"
|
|
rect 0 60 300 40 2 2
|
|
decoration
|
|
type 1
|
|
visible 1
|
|
textalign 6
|
|
textalignx -120
|
|
textaligny 10
|
|
textscale 0.4
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 60 300 40 2 2
|
|
decoration
|
|
type 1
|
|
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5);
|
|
textalign 5
|
|
textalignx 38
|
|
textaligny 10
|
|
textscale 0.4
|
|
exp text ".";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 60 300 40 2 2
|
|
decoration
|
|
type 1
|
|
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75);
|
|
textalign 5
|
|
textalignx 38
|
|
textaligny 10
|
|
textscale 0.4
|
|
exp text "..";
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 60 300 40 2 2
|
|
decoration
|
|
type 1
|
|
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75);
|
|
textalign 5
|
|
textalignx 38
|
|
textaligny 10
|
|
textscale 0.4
|
|
exp text "...";
|
|
}
|
|
itemDef
|
|
{
|
|
text "@MENU_SECURITY_INCREASE"
|
|
rect 0 0 300 24 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textalign 5
|
|
textalignx -4
|
|
textscale 0.375
|
|
textfont 9
|
|
background "gradient_fadein"
|
|
}
|
|
itemDef
|
|
{
|
|
name "cancel"
|
|
text "@MENU_CANCEL"
|
|
group "mw2_popup_button"
|
|
rect 6 96 292 20 2 2
|
|
style 1
|
|
type 1
|
|
visible when(1);
|
|
textalign 6
|
|
textalignx -24
|
|
textscale 0.375
|
|
textfont 3
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "popup_button_selection_bar"
|
|
onFocus
|
|
{
|
|
play mouse_over;
|
|
if (dvarstring(gameMode) != "mp")
|
|
{
|
|
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
|
}
|
|
setItemColor self backcolor 0 0 0 1;
|
|
setLocalVarBool ui_popupAButton (1);
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 1 1 1 0;
|
|
setLocalVarBool ui_popupAButton (0);
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
close self;
|
|
}
|
|
}
|
|
}
|
|
}
|