add ZB Menus
This commit is contained in:
+27
-27
@@ -11,13 +11,13 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
exec "setfromdvar ui_name name";
|
||||
setfocus nameEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -73,7 +73,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -83,7 +83,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -94,7 +94,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -105,7 +105,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -116,14 +116,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -133,7 +133,7 @@
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -143,7 +143,7 @@
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -153,55 +153,55 @@
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -224,7 +224,7 @@
|
||||
rect 6 44 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -239,12 +239,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -260,7 +260,7 @@
|
||||
rect 6 64 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -275,12 +275,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
+377
-359
File diff suppressed because it is too large
Load Diff
@@ -28,7 +28,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -41,7 +41,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -52,7 +52,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -94,6 +94,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.3 0.3 0.3 0.5
|
||||
background "white"
|
||||
exp rect x 0 - (640 / 2);
|
||||
@@ -103,6 +104,7 @@
|
||||
rect 0 0 640 400 2 1
|
||||
style 1
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.375
|
||||
background "white"
|
||||
exp rect x 0 - (640 / 2);
|
||||
|
||||
+14
-12
@@ -77,7 +77,7 @@
|
||||
{
|
||||
rect 0 56 0 26 3 1
|
||||
decoration
|
||||
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.25));
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
@@ -89,7 +89,7 @@
|
||||
{
|
||||
rect 0 56 0 26 3 1
|
||||
decoration
|
||||
visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5)));
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
@@ -101,7 +101,7 @@
|
||||
{
|
||||
rect 0 56 0 26 3 1
|
||||
decoration
|
||||
visible when((connectioninfo() != "") && ((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75)));
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
@@ -113,7 +113,7 @@
|
||||
{
|
||||
rect 0 56 0 26 3 1
|
||||
decoration
|
||||
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75));
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
@@ -138,7 +138,7 @@
|
||||
rect -252 -60 504 3 2 3
|
||||
style 1
|
||||
decoration
|
||||
visible when(!dvarbool(wideScreen));
|
||||
visible when(!dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
@@ -148,7 +148,7 @@
|
||||
rect -252 -60 504 3 2 3
|
||||
style 6
|
||||
decoration
|
||||
visible when(!dvarbool(wideScreen));
|
||||
visible when(!dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "white"
|
||||
@@ -158,19 +158,20 @@
|
||||
rect 20 -60 410 2 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(!dvarbool(wideScreen));
|
||||
visible when(!dvarbool(widescreen));
|
||||
textalign 4
|
||||
textaligny 4
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
dvar "didyouknow"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_INTEL"
|
||||
rect -20 -60 0 2 1 3
|
||||
decoration
|
||||
visible when(!dvarbool(wideScreen));
|
||||
visible when(!dvarbool(widescreen));
|
||||
textalign 4
|
||||
textalignx 40
|
||||
textaligny -26
|
||||
@@ -183,7 +184,7 @@
|
||||
rect -320 -60 640 3 2 3
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarbool(wideScreen));
|
||||
visible when(dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
@@ -193,7 +194,7 @@
|
||||
rect -320 -60 640 3 2 3
|
||||
style 6
|
||||
decoration
|
||||
visible when(dvarbool(wideScreen));
|
||||
visible when(dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "white"
|
||||
@@ -203,20 +204,21 @@
|
||||
rect -36 -56 484 2 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(dvarbool(wideScreen));
|
||||
visible when(dvarbool(widescreen));
|
||||
textalign 4
|
||||
textalignx 80
|
||||
textaligny 4
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
dvar "didyouknow"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_INTEL"
|
||||
rect -36 -60 0 2 1 3
|
||||
decoration
|
||||
visible when(dvarbool(wideScreen));
|
||||
visible when(dvarbool(widescreen));
|
||||
textalign 4
|
||||
textalignx 80
|
||||
textaligny -26
|
||||
|
||||
@@ -25,12 +25,12 @@
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hideBack (1);
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
setLocalVarBool ui_hideBack (0);
|
||||
open pc_options_controls;
|
||||
}
|
||||
onESC
|
||||
@@ -52,7 +52,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -61,7 +61,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -74,7 +74,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -85,7 +85,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
setfocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -61,7 +61,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -72,7 +72,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -82,7 +82,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -93,7 +93,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -104,7 +104,7 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -115,14 +115,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -132,7 +132,7 @@
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -142,7 +142,7 @@
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -152,55 +152,55 @@
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -245,7 +245,7 @@
|
||||
rect 6 76 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -260,12 +260,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -282,7 +282,7 @@
|
||||
rect 6 96 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -297,12 +297,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
+25
-23
@@ -23,7 +23,7 @@
|
||||
onESC
|
||||
{
|
||||
exec xstopparty;
|
||||
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())
|
||||
if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())
|
||||
{
|
||||
exec xstopprivateparty;
|
||||
exec xstartprivateparty;
|
||||
@@ -51,7 +51,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -60,7 +60,7 @@
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
@@ -73,7 +73,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -84,7 +84,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -147,6 +147,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.2
|
||||
}
|
||||
itemDef
|
||||
@@ -186,6 +187,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.1
|
||||
}
|
||||
itemDef
|
||||
@@ -334,9 +336,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -384,9 +386,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -424,9 +426,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -464,9 +466,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -492,7 +494,7 @@
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((dvarstring(ui_gametype) != "arena") && (dvarstring(ui_gametype) != "oneflag"));
|
||||
visible when(dvarstring(ui_gametype) != "arena" && dvarstring(ui_gametype) != "oneflag");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -504,9 +506,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -579,7 +581,7 @@
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((dvarstring(ui_gametype) == "arena") || (dvarstring(ui_gametype) == "oneflag"));
|
||||
visible when(dvarstring(ui_gametype) == "arena" || dvarstring(ui_gametype) == "oneflag");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -634,9 +636,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -684,9 +686,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -718,7 +720,7 @@
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
exp text (locstring("@NETWORK_YOURNATTYPE") + " ") + getlocalizednattype();
|
||||
exp text locstring("@NETWORK_YOURNATTYPE") + " " + getlocalizednattype();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -734,7 +736,7 @@
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
exp text (locstring("@NETWORK_YOURNATTYPE") + " ^1") + getlocalizednattype();
|
||||
exp text locstring("@NETWORK_YOURNATTYPE") + " ^1" + getlocalizednattype();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
+9
-10
@@ -3,12 +3,12 @@
|
||||
{
|
||||
name "dpad_hd"
|
||||
rect 0 -16 640 480 4 4
|
||||
visible when((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!flashbanged())) && (!(((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp"))) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam()))) && (!isempjammed())) && (!dvarint(scr_gameended))) && (!selecting_location())) && (!spectatingfree()));
|
||||
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(flashbanged())) && (!((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam())) && (!isempjammed()) && (!(dvarint(scr_gameended)))) && !(selecting_location()) && (!(spectatingfree())));
|
||||
itemDef
|
||||
{
|
||||
rect -81 -39 32 32 10 10
|
||||
type 8
|
||||
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
|
||||
visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
|
||||
ownerdraw 171
|
||||
textalign 2
|
||||
textalignx -21
|
||||
@@ -21,7 +21,7 @@
|
||||
{
|
||||
rect -81 -39 32 32 10 10
|
||||
decoration
|
||||
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(1));
|
||||
visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(1));
|
||||
textalign 1
|
||||
textaligny 35
|
||||
textscale 0.25
|
||||
@@ -34,7 +34,7 @@
|
||||
{
|
||||
rect -61 -29 32 32 10 10
|
||||
type 8
|
||||
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
|
||||
visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
|
||||
ownerdraw 173
|
||||
textalign 2
|
||||
textalignx -21
|
||||
@@ -47,7 +47,7 @@
|
||||
{
|
||||
rect -61 -29 32 32 10 10
|
||||
decoration
|
||||
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(3));
|
||||
visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(3));
|
||||
textalign 1
|
||||
textaligny 35
|
||||
textscale 0.25
|
||||
@@ -60,7 +60,7 @@
|
||||
{
|
||||
rect -61 -61 32 32 10 10
|
||||
type 8
|
||||
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
|
||||
visible when(!dvarbool(gpad_enabled) || !dvarint(gpad_in_use));
|
||||
ownerdraw 174
|
||||
textalignx -40
|
||||
textaligny -5
|
||||
@@ -72,7 +72,7 @@
|
||||
{
|
||||
rect -61 -61 32 32 10 10
|
||||
decoration
|
||||
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(4));
|
||||
visible when((!dvarbool(gpad_enabled) || !dvarint(gpad_in_use)) && actionslotusable(4));
|
||||
textalign 1
|
||||
textaligny 35
|
||||
textscale 0.25
|
||||
@@ -86,7 +86,7 @@
|
||||
rect -68.6667 -42.3333 42.6667 42.6667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && (!dvarbool(gpad_style)));
|
||||
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && !dvarbool(gpad_style));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "hud_dpad_xbox360"
|
||||
@@ -96,10 +96,9 @@
|
||||
rect -68.6667 -42.3333 42.6667 42.6667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && dvarbool(gpad_style));
|
||||
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use) && dvarbool(gpad_style));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "hud_dpad_ps3"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
+27
-27
@@ -11,11 +11,11 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -60,7 +60,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -71,7 +71,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -81,7 +81,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 190 + (3 * 20);
|
||||
exp rect h (190 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -92,7 +92,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -103,7 +103,7 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -114,14 +114,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -131,7 +131,7 @@
|
||||
rect 0 -64 236 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -141,7 +141,7 @@
|
||||
rect 236 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -151,55 +151,55 @@
|
||||
rect 236 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 25 + (3 * 75);
|
||||
exp rect h (25 + 3 * 75);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (166 - 0) + (24 + (3 * 20));
|
||||
exp rect y (166 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 236 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (166 - 0) + (24 + (3 * 20));
|
||||
exp rect y (166 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (166 - 0) + (24 + (3 * 20));
|
||||
exp rect y (166 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 25 + (3 * 75);
|
||||
exp rect h (25 + 3 * 75);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -471,7 +471,7 @@
|
||||
rect 0 210 234 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -486,12 +486,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -508,7 +508,7 @@
|
||||
rect 0 230 234 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -523,12 +523,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
@@ -57,7 +58,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -67,7 +68,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -76,7 +77,7 @@
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -86,7 +87,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -96,7 +97,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -106,14 +107,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -123,7 +124,7 @@
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -133,7 +134,7 @@
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -143,55 +144,55 @@
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
+16
-16
@@ -8,7 +8,7 @@
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
type 8
|
||||
visible when(((!(weaponname() == "heli_remote_mp")) && (!(((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")))) && ((!(spectatingclient() && dvarbool(cg_thirdPersonSpectator))) || inkillcam()));
|
||||
visible when(!(weaponname() == "heli_remote_mp") && !((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) && ((!((spectatingclient()) && dvarbool(cg_thirdPersonSpectator))) || inkillcam()));
|
||||
ownerdraw 112
|
||||
textscale 0.55
|
||||
background "splatter_alt"
|
||||
@@ -18,7 +18,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(scopedthermal() && (!(spectatingclient() && dvarbool(cg_thirdPersonSpectator))));
|
||||
visible when(scopedthermal() && (!((spectatingclient()) && dvarbool(cg_thirdPersonSpectator))));
|
||||
textscale 0.55
|
||||
forecolor 0.9 1 1 0.3
|
||||
background "ac130_overlay_grain"
|
||||
@@ -28,7 +28,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((getperk("equipment") == "_specialty_blastshield") && ((!dvarint(scr_gameended)) || inkillcam())) && (!(weaponname() == "heli_remote_mp"))) && (!(((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")))) && (!missilecam()));
|
||||
visible when((getperk("equipment") == "_specialty_blastshield" && ((!(dvarint(scr_gameended))) || inkillcam())) && !(weaponname() == "heli_remote_mp") && !((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) && !missilecam());
|
||||
textscale 0.55
|
||||
background "ballistic_overlay"
|
||||
}
|
||||
@@ -46,7 +46,7 @@
|
||||
{
|
||||
rect 0 -75 40 40 2 10
|
||||
type 8
|
||||
visible when((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!spectatingclient())) && (!inkillcam())) && (!dvarint(scr_gameended))) && (!flashbanged())) && (!(((((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (weaponname() == "ac130_105mm_mp")) || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp")) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam()))) && (!(((((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!flashbanged())) && (!isempjammed())) && (!dvarint(scr_gameended))) && (((milliseconds() - localvarint("ui_show_youKilled")) < 2500) && (!((milliseconds() - localvarint("ui_show_killedBy")) < 4000)))) && (!dvarbool(ui_hide_playercards))) && (!((milliseconds() - localvarint("ui_show_killedBy")) < 4000))) || (((!ui_active()) && ((milliseconds() - localvarint("ui_show_killedBy")) < 4000)) && (!dvarbool(ui_hide_playercards))))));
|
||||
visible when((!ui_active() && !dvarbool(g_hardcore) && !spectatingclient() && !inkillcam() && !dvarint(scr_gameended) && !flashbanged() && (!(weaponname() == "killstreak_ac130_mp" || weaponname() == "killstreak_helicopter_minigun_mp" || weaponname() == "killstreak_predator_missile_mp" || weaponname() == "ac130_105mm_mp" || weaponname() == "ac130_40mm_mp" || weaponname() == "ac130_25mm_mp" || adsjavelin() || weaponname() == "heli_remote_mp" || missilecam()))) && !((((!ui_active() && !dvarbool(g_hardcore) && !flashbanged() && !isempjammed() && !dvarint(scr_gameended)) && (milliseconds() - localvarint("ui_show_youKilled") < 2500 && (!(milliseconds() - localvarint("ui_show_killedBy") < 4000)))) && !dvarbool(ui_hide_playercards) && !(milliseconds() - localvarint("ui_show_killedBy") < 4000)) || (!ui_active() && (milliseconds() - localvarint("ui_show_killedBy") < 4000) && !dvarbool(ui_hide_playercards))));
|
||||
ownerdraw 80
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
@@ -56,7 +56,7 @@
|
||||
{
|
||||
rect 0 -125 40 40 2 10
|
||||
type 8
|
||||
visible when(((((((!ui_active()) && (!dvarbool(g_hardcore))) && (!spectatingclient())) && (!inkillcam())) && (!dvarint(scr_gameended))) && (!flashbanged())) && (!(((((((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp")) || (weaponname() == "killstreak_predator_missile_mp")) || (((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp")) || (weaponname() == "ac130_25mm_mp"))) || adsjavelin()) || (weaponname() == "heli_remote_mp")) || missilecam())));
|
||||
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(spectatingclient())) && (!(inkillcam())) && (!(dvarint(scr_gameended))) && (!(flashbanged())) && (!((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam()))));
|
||||
ownerdraw 72
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
@@ -67,7 +67,7 @@
|
||||
rect 0 -125 0 0 2 2
|
||||
decoration
|
||||
type 8
|
||||
visible when((!ui_active()) && (!spectatingclient()));
|
||||
visible when((!(ui_active())) && (!(spectatingclient())));
|
||||
ownerdraw 113
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
@@ -79,11 +79,11 @@
|
||||
rect 108 48 24 24 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
|
||||
ownerdraw 266
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.85
|
||||
exp rect y (6 + (((((dvarstring(ui_danger_team) == "contested") || (((dvarstring(ui_danger_team) != "BombExploded") && ((team("name") == "TEAM_ALLIES") && (dvarstring(ui_danger_team) == "axis"))) || ((team("name") == "TEAM_AXIS") && (dvarstring(ui_danger_team) == "allies")))) || ((dvarstring(ui_danger_team) != "BombExploded") && (dvarstring(ui_danger_team) == "none"))) || (((dvarstring(ui_danger_team) != "BombExploded") && ((team("name") == "TEAM_ALLIES") && (dvarstring(ui_danger_team) == "allies"))) || ((team("name") == "TEAM_AXIS") && (dvarstring(ui_danger_team) == "axis")))) * 16)) + (dvarint(ui_bomb_timer) * 26);
|
||||
exp rect y 6 + ((((dvarstring(ui_danger_team) == "contested") || (dvarstring(ui_danger_team) != "BombExploded" && (team("name") == "TEAM_ALLIES" && dvarstring(ui_danger_team) == "axis") || (team("name") == "TEAM_AXIS" && dvarstring(ui_danger_team) == "allies")) || (dvarstring(ui_danger_team) != "BombExploded" && dvarstring(ui_danger_team) == "none") || (dvarstring(ui_danger_team) != "BombExploded" && (team("name") == "TEAM_ALLIES" && dvarstring(ui_danger_team) == "allies") || (team("name") == "TEAM_AXIS" && dvarstring(ui_danger_team) == "axis")))) * 16) + ((dvarint(ui_bomb_timer)) * 26);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -91,7 +91,7 @@
|
||||
rect 0 136 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
|
||||
ownerdraw 193
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
@@ -104,7 +104,7 @@
|
||||
rect 0 154 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
|
||||
ownerdraw 194
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
@@ -117,7 +117,7 @@
|
||||
rect 0 172 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
|
||||
ownerdraw 195
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
@@ -130,7 +130,7 @@
|
||||
rect 0 190 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
visible when(((!(ui_active())) && (!(dvarbool(g_hardcore))) && (!(inkillcam())) && (!(dvarint(scr_gameended)))));
|
||||
ownerdraw 196
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
@@ -141,7 +141,7 @@
|
||||
{
|
||||
text "@CGAME_FOLLOWING"
|
||||
rect -100 20 200 0 2 1
|
||||
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended)));
|
||||
visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended))));
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
@@ -151,7 +151,7 @@
|
||||
{
|
||||
rect -120 -35 180 5 3 1
|
||||
type 8
|
||||
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended)));
|
||||
visible when((!(inkillcam())) && (spectatingclient() || spectatingfree()) && (!(ui_active())) && (!(dvarint(scr_gameended))));
|
||||
ownerdraw 61
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
@@ -162,7 +162,7 @@
|
||||
{
|
||||
rect 6 -60 10 10 8 10
|
||||
type 19
|
||||
visible when((!inkillcam()) && (!ui_active()));
|
||||
visible when((!(inkillcam())) && (!(ui_active())));
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
forecolor 1 1 1 0.45
|
||||
@@ -172,7 +172,7 @@
|
||||
{
|
||||
rect 0 -60 10 10 9 9
|
||||
type 19
|
||||
visible when((!inkillcam()) && (!ui_active()));
|
||||
visible when((!(inkillcam())) && (!(ui_active())));
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -41,7 +41,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -52,7 +52,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
setfocus cancel_button;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -61,7 +61,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -72,7 +72,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -82,7 +82,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -93,7 +93,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -104,7 +104,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -115,14 +115,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -132,7 +132,7 @@
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -142,7 +142,7 @@
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -152,55 +152,55 @@
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -208,7 +208,7 @@
|
||||
rect 0 0 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby()));
|
||||
visible when(!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby());
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
@@ -220,7 +220,7 @@
|
||||
rect -150 -64 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby());
|
||||
visible when(inprivateparty() && !privatepartyhost() && privatepartyhostinlobby());
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
@@ -249,18 +249,18 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec xstopparty;
|
||||
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())
|
||||
if (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby())
|
||||
{
|
||||
exec xstopprivateparty;
|
||||
exec xstartprivateparty;
|
||||
@@ -295,12 +295,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
+38
-33
@@ -39,7 +39,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -48,7 +48,7 @@
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
@@ -61,7 +61,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -72,7 +72,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -145,6 +145,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.2
|
||||
}
|
||||
itemDef
|
||||
@@ -206,9 +207,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CHECK_FOR_UPDATES";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_CHECK_FOR_UPDATES";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -234,6 +235,7 @@
|
||||
decoration
|
||||
visible when(dvarbool(cl_updateavailable));
|
||||
align 2
|
||||
textscale 0.55
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
@@ -266,9 +268,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_JOIN_GAME";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_JOIN_GAME";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -307,9 +309,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_GAME";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_GAME";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -405,9 +407,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -430,8 +432,9 @@
|
||||
rect 236 148 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((((isitemunlocked("cac") && ((getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew")) || getplayerdataanybooltrue("attachmentNew"))) || getplayerdataanybooltrue("perkNew")) || (((((((((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8)))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8)))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8)))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8)))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8)))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8)))) || weaponclassnew("weapon_grenade")) || weaponclassnew("weapon_equipment"))) || getplayerdata("featureNew", "cac"));
|
||||
visible when((isitemunlocked("cac") && (getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew") || getplayerdataanybooltrue("attachmentNew")) || getplayerdataanybooltrue("perkNew") || ((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8))) || weaponclassnew("weapon_grenade") || weaponclassnew("weapon_equipment")) || getplayerdata("featureNew", "cac")));
|
||||
align 2
|
||||
textscale 0.55
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
@@ -487,9 +490,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -512,8 +515,9 @@
|
||||
rect 236 168 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((((((((((((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1")) || getplayerdata("featureNew", "token_2")) || getplayerdata("featureNew", "token_3")) || getplayerdata("featureNew", "token_4")) || getplayerdata("featureNew", "token_5")) || getplayerdata("featureNew", "token_6")) || getplayerdata("featureNew", "token_7")) || getplayerdata("featureNew", "token_8")) || getplayerdata("featureNew", "token_9")) || getplayerdata("featureNew", "token_10")) || getplayerdata("featureNew", "token_11")) || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag")) || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon"))) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title")));
|
||||
visible when((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1") || getplayerdata("featureNew", "token_2") || getplayerdata("featureNew", "token_3") || getplayerdata("featureNew", "token_4") || getplayerdata("featureNew", "token_5") || getplayerdata("featureNew", "token_6") || getplayerdata("featureNew", "token_7") || getplayerdata("featureNew", "token_8") || getplayerdata("featureNew", "token_9") || getplayerdata("featureNew", "token_10") || getplayerdata("featureNew", "token_11") || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag") || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon")) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title")));
|
||||
align 2
|
||||
textscale 0.55
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
@@ -546,9 +550,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -571,8 +575,9 @@
|
||||
rect 236 188 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "prestige"));
|
||||
visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges") || getplayerdata("featureNew", "prestige")));
|
||||
align 2
|
||||
textscale 0.55
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
@@ -595,9 +600,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_THEATER";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_THEATER";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -645,9 +650,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_MODS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_MODS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -685,9 +690,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_OPTIONS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_OPTIONS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -735,9 +740,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -775,9 +780,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -825,9 +830,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MENU_SP_DESC_SINGLEPLAYER";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MENU_SP_DESC_SINGLEPLAYER";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -865,9 +870,9 @@
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_QUIT";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_QUIT";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -37,7 +37,7 @@
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_sp_image"
|
||||
}
|
||||
@@ -50,7 +50,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -61,7 +61,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -46,7 +46,7 @@
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
@@ -59,7 +59,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -70,7 +70,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -133,6 +133,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.2
|
||||
}
|
||||
itemDef
|
||||
@@ -173,6 +174,7 @@
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
background "white"
|
||||
dvar "party_statusString"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -209,23 +211,23 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
if (isitemunlocked("challenges"))
|
||||
{
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CHALLENGES";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_CHALLENGES");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tablelookup("mp/unlockTable.csv", 0, "challenges", 2) == 9999)
|
||||
{
|
||||
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_AT_NONE";
|
||||
setLocalVarString ui_hint_text ("@PERKS_UNLOCKED_AT_NONE");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tablelookup("mp/unlockTable.csv", 0, "challenges", 3) != "")
|
||||
{
|
||||
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE";
|
||||
setLocalVarString ui_hint_text ("@PERKS_UNLOCKED_BY_CHALLENGE");
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString ui_hint_text "@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, "challenges", 2), 17);
|
||||
setLocalVarString ui_hint_text ("@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, "challenges", 2), 17));
|
||||
}
|
||||
}
|
||||
exec "set ui_hint_text THIS MENU SHOULD BE UPDATED TO USE setLocalVarString ui_hint_text;";
|
||||
@@ -234,8 +236,8 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -249,8 +251,9 @@
|
||||
rect 236 56 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))) && getplayerdata("featureNew", "prestige"));
|
||||
visible when((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && getplayerdata("featureNew", "prestige"));
|
||||
align 2
|
||||
textscale 0.55
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
@@ -273,13 +276,13 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_HIGHLIGHTS";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_HIGHLIGHTS");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -317,13 +320,13 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CUSTOM_TITLE";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_CUSTOM_TITLE");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -351,13 +354,13 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CLANTAG";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_CLANTAG");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -395,13 +398,13 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_RESET_STATS";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_RESET_STATS");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -429,13 +432,13 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_UNLOCK_STATS";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_UNLOCK_STATS");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -462,7 +465,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible when(!(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))));
|
||||
disabled when((!((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))))) && (!(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))));
|
||||
disabled when(!(getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && !(getplayerdata("prestige") == int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -474,20 +477,20 @@
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setPlayerData ( featureNew , prestige , false );
|
||||
if (!((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))))
|
||||
if (!(getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))))
|
||||
{
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_PRESTIGE2";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_PRESTIGE2");
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_PRESTIGE";
|
||||
setLocalVarString ui_hint_text ("@MPUI_DESC_PRESTIGE");
|
||||
}
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -500,8 +503,9 @@
|
||||
rect 236 156 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7)))) && getplayerdata("featureNew", "prestige"));
|
||||
visible when((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && getplayerdata("experience") >= int(tablelookup("mp/rankTable.csv", 0, int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)), 7))) && getplayerdata("featureNew", "prestige"));
|
||||
align 2
|
||||
textscale 0.55
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
@@ -514,8 +518,8 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.25
|
||||
background "white"
|
||||
exp rect x -208;
|
||||
exp rect y 28;
|
||||
exp rect x (- 208);
|
||||
exp rect y (28);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -530,8 +534,8 @@
|
||||
textfont 6
|
||||
backcolor 1 1 1 1
|
||||
background "cardtitle_248x48"
|
||||
exp rect x -208;
|
||||
exp rect y 28;
|
||||
exp rect x (- 208);
|
||||
exp rect y (28);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -574,7 +578,7 @@
|
||||
}
|
||||
exp text "@" + tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 1);
|
||||
exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 2);
|
||||
exp rect x -208;
|
||||
exp rect x - 208;
|
||||
exp rect y 28 - 2;
|
||||
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 3);
|
||||
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 1, 0), 4);
|
||||
@@ -610,7 +614,7 @@
|
||||
open popup_playername;
|
||||
}
|
||||
exp text getplayercardinfo(8, 1, 0);
|
||||
exp rect x -208;
|
||||
exp rect x - 208;
|
||||
exp rect y 28 + 28;
|
||||
}
|
||||
itemDef
|
||||
@@ -649,8 +653,8 @@
|
||||
}
|
||||
}
|
||||
exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 1, 0), 1);
|
||||
exp rect x -208 + 160;
|
||||
exp rect y 28;
|
||||
exp rect x (- 208) + 160;
|
||||
exp rect y (28);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -661,9 +665,9 @@
|
||||
visible when((getplayercardinfo(0, 1, 0) != 0) && (getplayercardinfo(4, 1, 0) >= 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 1, 0), getplayercardinfo(5, 1, 0) + 1);
|
||||
exp rect x -208 + 164;
|
||||
exp rect y 28 + 48;
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 1, 0), (getplayercardinfo(5, 1, 0) + 1));
|
||||
exp rect x (- 208) + 164;
|
||||
exp rect y (28) + 48;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -677,8 +681,8 @@
|
||||
textstyle 8
|
||||
textfont 3
|
||||
exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 1, 0), 14);
|
||||
exp rect x -208 + 164;
|
||||
exp rect y 28 + 48;
|
||||
exp rect x (- 208) + 164;
|
||||
exp rect y (28) + 48;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -691,9 +695,9 @@
|
||||
textalignx 2
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text ("[" + getplayercardinfo(9, 1, 0)) + "]";
|
||||
exp rect x -208;
|
||||
exp rect y 28 + 48;
|
||||
exp text "[" + getplayercardinfo(9, 1, 0) + "]";
|
||||
exp rect x (- 208);
|
||||
exp rect y (28) + 48;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -703,9 +707,9 @@
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 0), 16);
|
||||
exp rect x -140 + 32;
|
||||
exp rect y 28 + 48;
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 0)), 16);
|
||||
exp rect x (- 140) + 32;
|
||||
exp rect y (28 + 48);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -715,9 +719,9 @@
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 1), 16);
|
||||
exp rect x -140 + 53;
|
||||
exp rect y 28 + 48;
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 1)), 16);
|
||||
exp rect x (- 140) + 53;
|
||||
exp rect y (28 + 48);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -727,9 +731,9 @@
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, getplayerdata("killstreaks", 2), 16);
|
||||
exp rect x -140 + 74;
|
||||
exp rect y 28 + 48;
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, (getplayerdata("killstreaks", 2)), 16);
|
||||
exp rect x (- 140) + 74;
|
||||
exp rect y (28 + 48);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -804,7 +808,7 @@
|
||||
rect -208 140 -208 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0);
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -817,7 +821,7 @@
|
||||
{
|
||||
rect -208 140 208 20 3 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0);
|
||||
textalign 6
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
@@ -829,7 +833,7 @@
|
||||
rect -18 141 18 18 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && (((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))) == 0));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) == 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, levelforexperience(getplayerdata("experience")) + 1, getplayerdata("prestige") + 1);
|
||||
}
|
||||
@@ -838,7 +842,7 @@
|
||||
rect -208 140 -208 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -851,7 +855,7 @@
|
||||
{
|
||||
rect -208 140 208 20 3 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
|
||||
textalign 6
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
@@ -863,7 +867,7 @@
|
||||
rect -18 141 18 18 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2);
|
||||
}
|
||||
@@ -872,7 +876,7 @@
|
||||
rect -208 140 -208 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -885,7 +889,7 @@
|
||||
{
|
||||
rect -208 140 208 20 3 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
|
||||
textalign 6
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
@@ -897,7 +901,7 @@
|
||||
rect -18 141 18 18 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) && ((getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)))));
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) && (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)) && levelforexperience(getplayerdata("experience")) == int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))));
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, 0, getplayerdata("prestige") + 2);
|
||||
}
|
||||
@@ -906,7 +910,7 @@
|
||||
rect -208 140 -208 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) == 0);
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) == 0);
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -919,7 +923,7 @@
|
||||
{
|
||||
rect -208 140 208 20 3 1
|
||||
decoration
|
||||
visible when(((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1))) || (getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1)))) == 0);
|
||||
visible when((levelforexperience(getplayerdata("experience")) < int(tablelookup("mp/rankTable.csv", 0, "maxrank", 1)) || getplayerdata("prestige") < int(tablelookup("mp/rankIconTable.csv", 0, "maxprestige", 1))) == 0);
|
||||
textalign 6
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
@@ -945,7 +949,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 0.9 0.5 0.6
|
||||
background "gradient_fadein"
|
||||
exp rect w 0 - ((80 * (int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 2)) - getplayerdata("experience"))) / int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 3)));
|
||||
exp rect w 0 - 80 * (int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 2)) - getplayerdata("experience")) / int(tablelookup("mp/rankTable.csv", 0, levelforexperience(getplayerdata("experience")), 3));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -1238,7 +1242,7 @@
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text secondsastime((getplayerdata("timePlayedAllies") + getplayerdata("timePlayedOpfor")) + getplayerdata("timePlayedOther"));
|
||||
exp text secondsastime(getplayerdata("timePlayedAllies") + getplayerdata("timePlayedOpfor") + getplayerdata("timePlayedOther"));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
+229
-224
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,7 @@
|
||||
name "menu_xboxlive_privatelobby"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
open createserver;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
rect 3 3 0 0 8 8
|
||||
hiddenDuringScope
|
||||
hiddenDuringFlashbang
|
||||
visible 1
|
||||
visible when(((!(ui_active())) && (!(flashbanged())) && (!(((weaponname() == "killstreak_ac130_mp") || (weaponname() == "killstreak_helicopter_minigun_mp") || (weaponname() == "killstreak_predator_missile_mp") || ((weaponname() == "ac130_105mm_mp") || (weaponname() == "ac130_40mm_mp") || (weaponname() == "ac130_25mm_mp")) || (adsjavelin()) || (weaponname() == "heli_remote_mp") || missilecam()) || (getperk("equipment") == "_specialty_blastshield" && ((!(dvarint(scr_gameended))) || inkillcam())))) && (!(scoped())) && (!(selecting_location())) && (!isempjammed()) && ((!(dvarbool(g_hardcore))) || radarisenabled() || dvarint(g_compassShowEnemies)) && (!(dvarint(scr_gameended)))) && (!(milliseconds() - localvarint("ui_show_killedBy") < 4000 || (inkillcam()))) && (!(selecting_location())) && (!(spectatingfree())));
|
||||
itemDef
|
||||
{
|
||||
name "minimap_border"
|
||||
@@ -141,7 +141,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y -100 + (200 * (1 - ((milliseconds() % 4000) / 4000)));
|
||||
exp rect y (- 100) + ((200) * (1 - ((milliseconds() % 4000) / 4000)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
uiScript mod_download_cancel;
|
||||
}
|
||||
onESC
|
||||
@@ -61,7 +61,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -72,7 +72,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -82,7 +82,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -93,7 +93,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -104,7 +104,7 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -115,14 +115,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -132,7 +132,7 @@
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -142,7 +142,7 @@
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -152,55 +152,55 @@
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -63 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -288,7 +288,7 @@
|
||||
rect 6 96 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -303,12 +303,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -49,7 +49,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -60,7 +60,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -116,7 +116,7 @@
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp rect x -80;
|
||||
exp rect x - 80;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
+16
-16
@@ -14,11 +14,11 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -74,7 +74,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -84,7 +84,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (1 * 20);
|
||||
exp rect h (24 + 1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -95,7 +95,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -106,7 +106,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -117,7 +117,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (1 * 20);
|
||||
exp rect h (24 + 1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -158,7 +158,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (1 * 20);
|
||||
exp rect h (24 + 1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -169,7 +169,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (1 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 1 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -180,7 +180,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (1 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 1 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -191,7 +191,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (1 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 1 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -202,7 +202,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (1 * 20);
|
||||
exp rect h (24 + 1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -219,7 +219,7 @@
|
||||
rect 0 10 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));
|
||||
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5);
|
||||
textalign 5
|
||||
textaligny 10
|
||||
textscale 0.375
|
||||
@@ -230,7 +230,7 @@
|
||||
rect 0 10 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));
|
||||
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75);
|
||||
textalign 5
|
||||
textaligny 10
|
||||
textscale 0.375
|
||||
@@ -241,7 +241,7 @@
|
||||
rect 0 10 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75);
|
||||
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75);
|
||||
textalign 5
|
||||
textaligny 10
|
||||
textscale 0.375
|
||||
|
||||
+50
-28
@@ -46,7 +46,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -59,7 +59,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -70,7 +70,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -99,6 +99,7 @@
|
||||
name "sourcefield"
|
||||
rect 100 -33 144 18 1 1
|
||||
style 1
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 220
|
||||
textalignx 10
|
||||
@@ -127,6 +128,7 @@
|
||||
text "@MENU_GAME_TYPE"
|
||||
rect 100 -15 144 18 1 1
|
||||
style 1
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 253
|
||||
textalignx 10
|
||||
@@ -284,7 +286,8 @@
|
||||
rect 539 9 93 62 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen));
|
||||
visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.5
|
||||
background "black"
|
||||
}
|
||||
@@ -294,7 +297,8 @@
|
||||
rect 540 10 91 60 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen));
|
||||
visible when(dvarbool(ui_serverSelected) && dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
background "black"
|
||||
exp material "preview_" + dvarstring(ui_serverSelectedMap);
|
||||
}
|
||||
@@ -305,6 +309,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.15
|
||||
}
|
||||
itemDef
|
||||
@@ -331,90 +336,99 @@
|
||||
{
|
||||
name "lineMatchtype"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 28 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineAimAssist"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 50 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineVoiceChat"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 72 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineServer"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 94 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineMap"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 304 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "linePlayers"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 376 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineType"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 428 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineMod"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 532 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "linePing"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
rect 634 42 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
@@ -454,13 +468,14 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 0;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor passwordicon foreColor 1 1 "0.5" 1;
|
||||
setItemColor passwordicon foreColor 1 "1.0" "0.5" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
@@ -469,10 +484,11 @@
|
||||
itemDef
|
||||
{
|
||||
name "passwordicon"
|
||||
rect 2 2 16 16 0 1
|
||||
rect 7 46 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "cardicon_locked"
|
||||
}
|
||||
itemDef
|
||||
@@ -483,13 +499,14 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 1;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 "0.5" 1;
|
||||
setItemColor matchtypeicon foreColor 1 "1.0" "0.5" 1;
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
@@ -498,10 +515,11 @@
|
||||
itemDef
|
||||
{
|
||||
name "matchtypeicon"
|
||||
rect 0 2 16 16 0 1
|
||||
rect 32 46 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "server_hardware_header"
|
||||
}
|
||||
itemDef
|
||||
@@ -512,13 +530,14 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 2;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor aimassisticon foreColor 1 1 "0.5" 1;
|
||||
setItemColor aimassisticon foreColor 1 "1.0" "0.5" 1;
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
@@ -527,10 +546,11 @@
|
||||
itemDef
|
||||
{
|
||||
name "aimassisticon"
|
||||
rect 0 2 16 16 0 1
|
||||
rect 54 46 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "cardicon_headshot"
|
||||
}
|
||||
itemDef
|
||||
@@ -541,13 +561,14 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 3;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor voicechaticon foreColor 1 1 "0.5" 1;
|
||||
setItemColor voicechaticon foreColor 1 "1.0" "0.5" 1;
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
@@ -556,10 +577,11 @@
|
||||
itemDef
|
||||
{
|
||||
name "voicechaticon"
|
||||
rect 0 2 16 16 0 1
|
||||
rect 76 46 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "talkingicon"
|
||||
}
|
||||
itemDef
|
||||
@@ -585,7 +607,7 @@
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
setitemColor self foreColor 1 1 "0.5" 1;
|
||||
setitemColor self foreColor 1 "1.0" "0.5" 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
@@ -611,7 +633,7 @@
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
setitemColor self foreColor 1 1 "0.5" 1;
|
||||
setitemColor self foreColor 1 "1.0" "0.5" 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
@@ -637,7 +659,7 @@
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
setitemColor self foreColor 1 1 "0.5" 1;
|
||||
setitemColor self foreColor 1 "1.0" "0.5" 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
@@ -663,7 +685,7 @@
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
setitemColor self foreColor 1 1 "0.5" 1;
|
||||
setitemColor self foreColor 1 "1.0" "0.5" 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
@@ -689,7 +711,7 @@
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
setitemColor self foreColor 1 1 "0.5" 1;
|
||||
setitemColor self foreColor 1 "1.0" "0.5" 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
@@ -715,7 +737,7 @@
|
||||
setItemColor passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
setitemColor self foreColor 1 1 "0.5" 1;
|
||||
setitemColor self foreColor 1 "1.0" "0.5" 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
|
||||
@@ -25,12 +25,12 @@
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hideBack (1);
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
setLocalVarBool ui_hideBack (0);
|
||||
open pc_options_controls;
|
||||
}
|
||||
onESC
|
||||
@@ -52,7 +52,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -61,7 +61,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -74,7 +74,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -85,7 +85,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -26,12 +26,12 @@
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
execnow "profile_menuDvarsSetup; resetViewport";
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hideBack (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
setLocalVarBool ui_hideBack (0);
|
||||
execOnDvarIntValue r_lodScaleRigid 2 "set r_lodScaleSkinned 4; set r_lodBiasSkinned -200; set r_lodBiasRigid -100";
|
||||
execOnDvarIntValue r_lodScaleRigid 1 "set r_lodScaleSkinned 1; set r_lodBiasSkinned 0; set r_lodBiasRigid 0";
|
||||
open pc_options_video;
|
||||
@@ -55,7 +55,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -64,7 +64,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -77,7 +77,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -197,7 +197,7 @@
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -224,7 +224,7 @@
|
||||
{
|
||||
play mouse_click;
|
||||
setDvarInt r_aspectratio dvarInt ( ui_r_aspectratio );
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_aspectratio"
|
||||
dvarFloatList { "@MENU_AUTO" 0 "@MENU_STANDARD_4_3" 1 "@MENU_WIDE_16_10" 2 "@MENU_WIDE_16_9" 3 }
|
||||
@@ -247,7 +247,7 @@
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -273,7 +273,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_aasamples"
|
||||
dvarFloatList { "@MENU_OFF" 1 "@MENU_2X" 2 "@MENU_4X" 4 }
|
||||
@@ -296,7 +296,7 @@
|
||||
style 1
|
||||
type 13
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -331,7 +331,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_displayRefresh"
|
||||
dvarEnumList "r_displayRefresh"
|
||||
@@ -354,7 +354,7 @@
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -389,7 +389,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_vsync"
|
||||
}
|
||||
@@ -777,7 +777,7 @@
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -803,7 +803,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_picmip_manual"
|
||||
dvarFloatList { "@MENU_AUTOMATIC" 0 "@MENU_MANUAL" 1 }
|
||||
@@ -826,7 +826,7 @@
|
||||
style 1
|
||||
type 12
|
||||
visible when(dvarbool(ui_r_picmip_manual));
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -852,7 +852,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_picmip"
|
||||
dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 }
|
||||
@@ -875,7 +875,7 @@
|
||||
style 1
|
||||
type 12
|
||||
visible when(dvarbool(ui_r_picmip_manual));
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -901,7 +901,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_picmip_bump"
|
||||
dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 }
|
||||
@@ -924,7 +924,7 @@
|
||||
style 1
|
||||
type 12
|
||||
visible when(dvarbool(ui_r_picmip_manual));
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -950,7 +950,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_picmip_spec"
|
||||
dvarFloatList { "@MENU_LOW" 3 "@MENU_NORMAL" 2 "@MENU_HIGH" 1 "@MENU_EXTRA" 0 }
|
||||
|
||||
+42
-36
@@ -36,16 +36,16 @@
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -67,7 +67,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -76,7 +76,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -89,7 +89,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -100,7 +100,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -233,13 +233,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -291,13 +291,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -349,13 +349,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -407,13 +407,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -465,13 +465,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -523,13 +523,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -581,7 +581,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -591,13 +591,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -616,7 +616,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
@@ -626,7 +626,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
@@ -671,16 +671,16 @@
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -712,6 +712,12 @@
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
@@ -752,7 +758,7 @@
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -778,7 +784,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showAudioApply 1;
|
||||
setLocalVarBool ui_showAudioApply (1);
|
||||
}
|
||||
dvar "ui_outputConfig"
|
||||
dvarStrList { "@MENU_WINDOWS_DEFAULT" "Windows default" "@MENU_MONO" "Mono" "@MENU_STEREO" "Stereo" "@MENU_FOUR_SPEAKERS" "4 speakers" "@MENU_FIVE_ONE_SPEAKERS" "5.1 speakers" }
|
||||
|
||||
@@ -26,27 +26,27 @@
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hideBack (1);
|
||||
execnow "profile_menuDvarsSetup; resetViewport";
|
||||
setFocus buttonControls;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
setLocalVarBool ui_hideBack (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -68,7 +68,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -77,7 +77,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -90,7 +90,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -101,7 +101,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -234,13 +234,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -292,13 +292,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -350,13 +350,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -408,13 +408,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -466,13 +466,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -524,13 +524,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -582,7 +582,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -592,13 +592,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -617,7 +617,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
@@ -627,7 +627,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
@@ -672,16 +672,16 @@
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -718,13 +718,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -756,13 +756,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -794,13 +794,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -832,13 +832,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -877,13 +877,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
+34
-34
@@ -38,16 +38,16 @@
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -69,7 +69,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -78,7 +78,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -91,7 +91,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -102,7 +102,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -235,13 +235,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -293,13 +293,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -351,13 +351,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -409,13 +409,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -467,13 +467,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -525,13 +525,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -583,7 +583,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -593,13 +593,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -618,7 +618,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
@@ -628,7 +628,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
@@ -673,16 +673,16 @@
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
|
||||
@@ -38,16 +38,16 @@
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -69,7 +69,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -78,7 +78,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -91,7 +91,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -102,7 +102,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -235,13 +235,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -293,13 +293,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -351,13 +351,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -409,13 +409,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -467,13 +467,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -525,13 +525,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -583,7 +583,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -593,13 +593,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -618,7 +618,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
@@ -628,7 +628,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
@@ -673,16 +673,16 @@
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -741,12 +741,12 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (dvarbool(gpad_enabled) && (dvarstring(gpad_sticksConfig) == ""))
|
||||
if (dvarbool(gpad_enabled) && dvarstring(gpad_sticksConfig) == "")
|
||||
{
|
||||
setdvar gpad_sticksConfig thumbstick_default;
|
||||
execnow bindgpsticksconfigs;
|
||||
}
|
||||
if (dvarbool(gpad_enabled) && (dvarstring(gpad_buttonConfig) == ""))
|
||||
if (dvarbool(gpad_enabled) && dvarstring(gpad_buttonConfig) == "")
|
||||
{
|
||||
setdvar gpad_buttonConfig buttons_default;
|
||||
execnow bindgpbuttonsconfigs;
|
||||
@@ -1114,6 +1114,12 @@
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
|
||||
@@ -25,12 +25,12 @@
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hideBack (1);
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
setLocalVarBool ui_hideBack (0);
|
||||
open pc_options_controls;
|
||||
}
|
||||
onESC
|
||||
@@ -52,7 +52,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -61,7 +61,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -74,7 +74,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -85,7 +85,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -214,6 +214,12 @@
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
|
||||
@@ -25,12 +25,12 @@
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hideBack (1);
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
setLocalVarBool ui_hideBack (0);
|
||||
open pc_options_controls;
|
||||
}
|
||||
onESC
|
||||
@@ -52,7 +52,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -61,7 +61,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -74,7 +74,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -85,7 +85,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
+34
-34
@@ -39,16 +39,16 @@
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -70,7 +70,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -79,7 +79,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -92,7 +92,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -103,7 +103,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -236,13 +236,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -294,13 +294,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -352,13 +352,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -410,13 +410,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -468,13 +468,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -526,13 +526,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -584,7 +584,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -594,13 +594,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -619,7 +619,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
@@ -629,7 +629,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
@@ -674,16 +674,16 @@
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_Audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_Audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
|
||||
+48
-48
@@ -27,8 +27,8 @@
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
execnow "profile_menuDvarsSetup; resetViewport";
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
if ((!localvarint("ui_showApply")) && (!localvarint("ui_showPicApply")))
|
||||
setLocalVarBool ui_hideBack (1);
|
||||
if (!localvarint("ui_showApply") && !localvarint("ui_showPicApply"))
|
||||
{
|
||||
exec "exec options_graphics.cfg";
|
||||
exec "setfromdvar ui_r_fullscreen r_fullscreen";
|
||||
@@ -39,7 +39,7 @@
|
||||
onClose
|
||||
{
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
setLocalVarBool ui_hideBack (0);
|
||||
execOnDvarIntValue r_lodScaleRigid 2 "set r_lodScaleSkinned 4; set r_lodBiasSkinned -200; set r_lodBiasRigid -100";
|
||||
execOnDvarIntValue r_lodScaleRigid 1 "set r_lodScaleSkinned 1; set r_lodBiasSkinned 0; set r_lodBiasRigid 0";
|
||||
exec "setfromdvar r_fullscreen ui_r_fullscreen";
|
||||
@@ -48,16 +48,16 @@
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -79,7 +79,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -88,7 +88,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -101,7 +101,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -112,7 +112,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -245,13 +245,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -303,13 +303,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -361,13 +361,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -419,13 +419,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -477,13 +477,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -535,13 +535,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -593,7 +593,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when(dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -603,13 +603,13 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -628,7 +628,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
visible when(!localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display") && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
@@ -638,7 +638,7 @@
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
visible when(localvarbool("ui_brightness_hint_display") && !localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
@@ -683,16 +683,16 @@
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
if ((((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showPicApply")) && (!localvarbool("ui_showApply"))) && (!localvarbool("ui_showAudioApply")))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
setLocalVarBool ui_showPicApply (0);
|
||||
}
|
||||
if (((!((((menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video")) || menuisopen("pc_options_audio")) || menuisopen("pc_options_controls")) || menuisopen("pc_options_voice"))) && localvarbool("ui_showApply")) || localvarbool("ui_showAudioApply"))
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
@@ -716,7 +716,7 @@
|
||||
style 1
|
||||
type 13
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -751,7 +751,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "ui_r_mode"
|
||||
dvarEnumList "r_mode"
|
||||
@@ -774,7 +774,7 @@
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -809,7 +809,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
}
|
||||
dvar "r_useD3D9Ex"
|
||||
}
|
||||
@@ -841,7 +841,7 @@
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -876,7 +876,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
exec "vid_xpos 0;vid_ypos 0";
|
||||
}
|
||||
dvar "ui_r_fullscreen"
|
||||
@@ -899,7 +899,7 @@
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
@@ -934,7 +934,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showApply 1;
|
||||
setLocalVarBool ui_showApply (1);
|
||||
exec "vid_xpos 0;vid_ypos 0";
|
||||
}
|
||||
dvar "r_noborder"
|
||||
@@ -1023,7 +1023,7 @@
|
||||
style 1
|
||||
type 10
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running) || inlobby()));
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textaligny 2
|
||||
@@ -1033,11 +1033,11 @@
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
setLocalVarBool ui_brightness_hint_display (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -58,7 +58,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -114,7 +114,7 @@
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp rect x -90;
|
||||
exp rect x - 90;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
@@ -56,7 +57,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -66,7 +67,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -75,7 +76,7 @@
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -85,7 +86,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -95,7 +96,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -105,14 +106,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -122,7 +123,7 @@
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -132,7 +133,7 @@
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -142,55 +143,55 @@
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -211,7 +212,7 @@
|
||||
rect -146 -40 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible)));
|
||||
disabled when(dvarbool(party_iamselected) || !dvarbool(party_playervisible));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -248,7 +249,7 @@
|
||||
rect -146 -20 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(((!privatepartyhost()) || (!dvarbool(party_playervisible))) || dvarbool(party_iamselected));
|
||||
disabled when(!privatepartyhost() || !dvarbool(party_playervisible) || dvarbool(party_iamselected));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
@@ -56,7 +57,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -66,7 +67,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -75,7 +76,7 @@
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -85,7 +86,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -95,7 +96,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -105,14 +106,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -122,7 +123,7 @@
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -132,7 +133,7 @@
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -142,55 +143,55 @@
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -211,7 +212,7 @@
|
||||
rect -146 -40 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible)));
|
||||
disabled when(dvarbool(party_iamselected) || !dvarbool(party_playervisible));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -248,7 +249,7 @@
|
||||
rect -146 -20 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(((menuisopen("menu_xboxlive_lobby") || (!privatepartyhost())) || (!dvarbool(party_playervisible))) || dvarbool(party_iamselected));
|
||||
disabled when(menuisopen("menu_xboxlive_lobby") || !privatepartyhost() || !dvarbool(party_playervisible) || dvarbool(party_iamselected));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -60,7 +60,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -71,7 +71,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -81,7 +81,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -92,7 +92,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -103,7 +103,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -114,14 +114,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -131,7 +131,7 @@
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -141,7 +141,7 @@
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -151,55 +151,55 @@
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (2 * 20);
|
||||
exp rect h (24 + 2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -237,12 +237,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -259,7 +259,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible)));
|
||||
disabled when(dvarbool(party_iamselected) || !dvarbool(party_playervisible));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -274,12 +274,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
+10
-10
@@ -9,7 +9,7 @@
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt oldClassIndex localvarint("classIndex");
|
||||
setLocalVarInt oldClassIndex (localvarint("classIndex"));
|
||||
setDvar ui_checkclass 0;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 1;
|
||||
@@ -40,28 +40,28 @@
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 14;
|
||||
open resetclass;
|
||||
setLocalVarInt classIndex localvarint("oldClassIndex");
|
||||
if ((!isitemunlocked(getplayerdata("killstreaks", 0))) && (getplayerdata("killstreaks", 0) != "none"))
|
||||
setLocalVarInt classIndex (localvarint("oldClassIndex"));
|
||||
if (!isitemunlocked(getplayerdata("killstreaks", 0)) && getplayerdata("killstreaks", 0) != "none")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Killstreak " + getplayerdata("killstreaks", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString temp (debugprint("Stats", "Killstreak " + getplayerdata("killstreaks", 0) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setPlayerData ( killstreaks , 0 , none );
|
||||
}
|
||||
setPlayerData ( killstreakUnlocked , uav , true );
|
||||
if ((!isitemunlocked(getplayerdata("killstreaks", 1))) && (getplayerdata("killstreaks", 1) != "none"))
|
||||
if (!isitemunlocked(getplayerdata("killstreaks", 1)) && getplayerdata("killstreaks", 1) != "none")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Killstreak " + getplayerdata("killstreaks", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString temp (debugprint("Stats", "Killstreak " + getplayerdata("killstreaks", 1) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setPlayerData ( killstreaks , 1 , none );
|
||||
}
|
||||
setPlayerData ( killstreakUnlocked , airdrop , true );
|
||||
if ((!isitemunlocked(getplayerdata("killstreaks", 2))) && (getplayerdata("killstreaks", 2) != "none"))
|
||||
if (!isitemunlocked(getplayerdata("killstreaks", 2)) && getplayerdata("killstreaks", 2) != "none")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Killstreak " + getplayerdata("killstreaks", 2)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString temp (debugprint("Stats", "Killstreak " + getplayerdata("killstreaks", 2) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setPlayerData ( killstreaks , 2 , none );
|
||||
}
|
||||
setPlayerData ( killstreakUnlocked , predator_missile , true );
|
||||
setLocalVarInt ui_tempVar getplayerdata("prestige") + 1;
|
||||
setLocalVarInt ui_tempVar (getplayerdata("prestige") + 1);
|
||||
setPlayerData ( challengeState , ch_prestige , localVarInt ( ui_tempVar ) );
|
||||
setLocalVarInt ui_tempVar getplayerdata("prestige");
|
||||
setLocalVarInt ui_tempVar (getplayerdata("prestige"));
|
||||
setPlayerData ( challengeProgress , ch_prestige , localVarInt ( ui_tempVar ) );
|
||||
if (getplayerdata("prestige") == 10)
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+581
-581
File diff suppressed because it is too large
Load Diff
+332
-309
File diff suppressed because it is too large
Load Diff
+294
-271
File diff suppressed because it is too large
Load Diff
+125
-102
@@ -13,11 +13,11 @@
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_weapon_primary_tabDepth"));
|
||||
exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20);
|
||||
exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20;
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1;
|
||||
setLocalVarInt ui_popup_cac_weapon_primary_tabDepth localvarint("ui_tabDepth");
|
||||
setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1);
|
||||
setLocalVarInt ui_popup_cac_weapon_primary_tabDepth (localvarint("ui_tabDepth"));
|
||||
if (tablelookup("mp/statsTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"), 2) == "weapon_assault")
|
||||
{
|
||||
setfocus cac_primary_assault;
|
||||
@@ -41,7 +41,7 @@
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1;
|
||||
setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -53,6 +53,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -62,6 +63,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -71,9 +73,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
exp rect h 4 + (6 * 20);
|
||||
exp rect h 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -81,9 +84,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -91,9 +95,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 0.85
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -101,16 +106,18 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 4 + (6 * 20);
|
||||
exp rect h 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -118,18 +125,20 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 4 + (6 * 20);
|
||||
exp rect h 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -137,6 +146,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -146,6 +156,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -155,6 +166,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -164,9 +176,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 4 + (6 * 20);
|
||||
exp rect h 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -174,9 +187,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y 4 + (6 * 20);
|
||||
exp rect y 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -184,9 +198,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y 4 + (6 * 20);
|
||||
exp rect y 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -194,9 +209,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y 4 + (6 * 20);
|
||||
exp rect y 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -204,9 +220,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 4 + (6 * 20);
|
||||
exp rect h 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -214,9 +231,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0
|
||||
background "gradient_fadein"
|
||||
exp rect h 4 + (6 * 20);
|
||||
exp rect h 4 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -224,9 +242,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (1 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -241,7 +260,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab1Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35);
|
||||
@@ -252,9 +271,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (2 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -269,7 +289,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab2Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35);
|
||||
@@ -280,9 +300,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (3 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -297,7 +318,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab3Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35);
|
||||
@@ -308,9 +329,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (4 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -325,7 +347,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab4Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35);
|
||||
@@ -336,9 +358,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (5 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -353,7 +376,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab5Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35);
|
||||
@@ -381,42 +404,42 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarString ui_info_name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
setLocalVarString ui_info_desc @;
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
setLocalVarString ui_info_name ("@MENU_ASSAULT_RIFLES_CAPS");
|
||||
setLocalVarString ui_info_desc ("@");
|
||||
setLocalVarString ui_info_icon ("");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab1Name ("@MENU_ASSAULT_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab2Name ("@MENU_ASSAULT_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab3Name ("@MENU_ASSAULT_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab4Name ("@MENU_ASSAULT_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab5Name ("@MENU_ASSAULT_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab6Name ("@MENU_ASSAULT_RIFLES_CAPS");
|
||||
}
|
||||
open popup_cac_assault_primary;
|
||||
}
|
||||
@@ -453,42 +476,42 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarString ui_info_name "@MENU_SMGS_CAPS";
|
||||
setLocalVarString ui_info_desc @;
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
setLocalVarString ui_info_name ("@MENU_SMGS_CAPS");
|
||||
setLocalVarString ui_info_desc ("@");
|
||||
setLocalVarString ui_info_icon ("");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_SMGS_CAPS";
|
||||
setLocalVarString ui_tab1Name ("@MENU_SMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_SMGS_CAPS";
|
||||
setLocalVarString ui_tab2Name ("@MENU_SMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_SMGS_CAPS";
|
||||
setLocalVarString ui_tab3Name ("@MENU_SMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_SMGS_CAPS";
|
||||
setLocalVarString ui_tab4Name ("@MENU_SMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_SMGS_CAPS";
|
||||
setLocalVarString ui_tab5Name ("@MENU_SMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_SMGS_CAPS";
|
||||
setLocalVarString ui_tab6Name ("@MENU_SMGS_CAPS");
|
||||
}
|
||||
open popup_cac_smg_primary;
|
||||
}
|
||||
@@ -525,42 +548,42 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarString ui_info_name "@MENU_LMGS_CAPS";
|
||||
setLocalVarString ui_info_desc @;
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
setLocalVarString ui_info_name ("@MENU_LMGS_CAPS");
|
||||
setLocalVarString ui_info_desc ("@");
|
||||
setLocalVarString ui_info_icon ("");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_LMGS_CAPS";
|
||||
setLocalVarString ui_tab1Name ("@MENU_LMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_LMGS_CAPS";
|
||||
setLocalVarString ui_tab2Name ("@MENU_LMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_LMGS_CAPS";
|
||||
setLocalVarString ui_tab3Name ("@MENU_LMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_LMGS_CAPS";
|
||||
setLocalVarString ui_tab4Name ("@MENU_LMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_LMGS_CAPS";
|
||||
setLocalVarString ui_tab5Name ("@MENU_LMGS_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_LMGS_CAPS";
|
||||
setLocalVarString ui_tab6Name ("@MENU_LMGS_CAPS");
|
||||
}
|
||||
open popup_cac_lmg_primary;
|
||||
}
|
||||
@@ -597,42 +620,42 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarString ui_info_name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
setLocalVarString ui_info_desc @;
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
setLocalVarString ui_info_name ("@MENU_SNIPER_RIFLES_CAPS");
|
||||
setLocalVarString ui_info_desc ("@");
|
||||
setLocalVarString ui_info_icon ("");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab1Name ("@MENU_SNIPER_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab2Name ("@MENU_SNIPER_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab3Name ("@MENU_SNIPER_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab4Name ("@MENU_SNIPER_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab5Name ("@MENU_SNIPER_RIFLES_CAPS");
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
setLocalVarString ui_tab6Name ("@MENU_SNIPER_RIFLES_CAPS");
|
||||
}
|
||||
open popup_cac_sniper_primary;
|
||||
}
|
||||
@@ -669,15 +692,15 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/statsTable.csv", 4, "riotshield", 3);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/statstable.csv", 4, "riotshield", 7);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/statsTable.csv", 4, "riotshield", 6);
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
setLocalVarString ui_info_name ("@" + tablelookup("mp/statsTable.csv", 4, "riotshield", 3));
|
||||
setLocalVarString ui_info_desc ("@" + tablelookup("mp/statstable.csv", 4, "riotshield", 7));
|
||||
setLocalVarString ui_info_icon (tablelookup("mp/statsTable.csv", 4, "riotshield", 6));
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -690,40 +713,40 @@
|
||||
}
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , riotshield );
|
||||
setPlayerData ( weaponNew , riotshield , false );
|
||||
if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat"))
|
||||
if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")
|
||||
{
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null );
|
||||
}
|
||||
setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon");
|
||||
setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0);
|
||||
setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1);
|
||||
setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"));
|
||||
setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0));
|
||||
setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1));
|
||||
if (localvarstring("loadoutPrimaryAttachment2") == "")
|
||||
{
|
||||
setLocalVarString loadoutPrimaryAttachment2 none;
|
||||
setLocalVarString loadoutPrimaryAttachment2 ("none");
|
||||
}
|
||||
setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo");
|
||||
setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo");
|
||||
setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon");
|
||||
setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0);
|
||||
setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1);
|
||||
setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"));
|
||||
setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"));
|
||||
setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"));
|
||||
setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0));
|
||||
setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1));
|
||||
if (localvarstring("loadoutSecondaryAttachment2") == "")
|
||||
{
|
||||
setLocalVarString loadoutSecondaryAttachment2 none;
|
||||
setLocalVarString loadoutSecondaryAttachment2 ("none");
|
||||
}
|
||||
setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo");
|
||||
setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0);
|
||||
setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1);
|
||||
setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2);
|
||||
setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3);
|
||||
setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0);
|
||||
setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1);
|
||||
setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2);
|
||||
setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4);
|
||||
setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade");
|
||||
setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name");
|
||||
setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"));
|
||||
setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0));
|
||||
setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1));
|
||||
setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2));
|
||||
setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3));
|
||||
setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0));
|
||||
setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1));
|
||||
setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2));
|
||||
setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4));
|
||||
setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"));
|
||||
setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name"));
|
||||
if (0 == 0)
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "")
|
||||
if ((tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != ""))
|
||||
{
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling")
|
||||
{
|
||||
@@ -741,9 +764,9 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "")
|
||||
if ((tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != ""))
|
||||
{
|
||||
if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling"))
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling"))
|
||||
{
|
||||
open popup_secondary_attachments_bling;
|
||||
}
|
||||
@@ -849,7 +872,7 @@
|
||||
rect -56 0 200 124 2 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(isitemunlocked(("weaponRefString" + " ") + "refString"));
|
||||
visible when(isitemunlocked("weaponRefString" + " " + "refString"));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny 84
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
setFocus customclanEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -28,6 +28,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -37,6 +38,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -46,6 +48,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
@@ -55,9 +58,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -65,9 +69,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -75,6 +80,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
@@ -83,9 +89,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -93,9 +100,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -103,9 +111,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -113,6 +122,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -122,6 +132,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -131,6 +142,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -140,6 +152,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
@@ -149,6 +162,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
@@ -158,6 +172,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
@@ -167,6 +182,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
@@ -176,6 +192,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
@@ -228,12 +245,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
setFocus customtitleEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -28,6 +28,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -37,6 +38,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -46,6 +48,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
@@ -55,9 +58,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -65,9 +69,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -75,6 +80,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
@@ -83,9 +89,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -93,9 +100,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -103,9 +111,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -113,6 +122,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -122,6 +132,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -131,6 +142,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -140,6 +152,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
@@ -149,6 +162,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
@@ -158,6 +172,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
@@ -167,6 +182,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
@@ -176,6 +192,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
@@ -228,12 +245,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
onOpen
|
||||
{
|
||||
uiScript LoadFriends;
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -33,6 +33,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -42,6 +43,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -51,6 +53,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
@@ -60,9 +63,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -70,9 +74,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -80,6 +85,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
@@ -88,9 +94,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -98,9 +105,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -108,9 +116,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -118,6 +127,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -127,6 +137,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -136,6 +147,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -145,6 +157,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
@@ -154,6 +167,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
@@ -163,6 +177,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
@@ -172,6 +187,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
@@ -181,6 +197,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
@@ -238,12 +255,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
+16
-16
@@ -14,8 +14,8 @@
|
||||
exp rect Y localvarfloat("ui_popup_gamesetup_ypos");
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_popup_gamesetup_ypos localvarfloat("ui_popupYPos");
|
||||
setLocalVarInt ui_leftPopup 1;
|
||||
setLocalVarFloat ui_popup_gamesetup_ypos (localvarfloat("ui_popupYPos"));
|
||||
setLocalVarInt ui_leftPopup (1);
|
||||
if (dvarbool(useonlinestats))
|
||||
{
|
||||
exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_TRUE";
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_leftPopup 0;
|
||||
setLocalVarInt ui_leftPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -70,7 +70,7 @@
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
exp rect h 24 + (4 * 20);
|
||||
exp rect h 24 + (4) * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -81,7 +81,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -92,7 +92,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -102,7 +102,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (4 * 20);
|
||||
exp rect h (24 + (4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -113,7 +113,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -124,7 +124,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -135,7 +135,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (4 * 20);
|
||||
exp rect h (24 + (4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -176,7 +176,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (4 * 20);
|
||||
exp rect h (24 + (4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -187,7 +187,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (4 * 20));
|
||||
exp rect y (0 - 0) + ((24 + (4) * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -198,7 +198,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (4 * 20));
|
||||
exp rect y (0 - 0) + ((24 + (4) * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -209,7 +209,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (4 * 20));
|
||||
exp rect y (0 - 0) + ((24 + (4) * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -220,7 +220,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (4 * 20);
|
||||
exp rect h (24 + (4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -231,7 +231,7 @@
|
||||
textscale 0.55
|
||||
backcolor 0.35 0.35 0.35 1
|
||||
background "gradient_slow_fadein"
|
||||
exp rect h 24 + (4 * 20);
|
||||
exp rect h 24 + (4) * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
setFocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -28,6 +28,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -37,6 +38,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -46,6 +48,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
@@ -55,9 +58,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -65,9 +69,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -75,6 +80,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
@@ -83,9 +89,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -93,9 +100,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -103,9 +111,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -113,6 +122,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -122,6 +132,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -131,6 +142,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -140,6 +152,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
@@ -149,6 +162,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
@@ -158,6 +172,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
@@ -167,6 +182,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
@@ -176,6 +192,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
@@ -228,12 +245,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
exec "setfromdvar ui_name name";
|
||||
setFocus nameEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -29,6 +29,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -38,6 +39,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -47,6 +49,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
@@ -56,9 +59,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -66,9 +70,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -76,6 +81,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
@@ -84,9 +90,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -94,9 +101,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -104,9 +112,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -114,6 +123,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -123,6 +133,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -132,6 +143,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -141,6 +153,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
@@ -150,6 +163,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
@@ -159,6 +173,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
@@ -168,6 +183,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
@@ -177,6 +193,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
@@ -230,12 +247,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
+104
-81
@@ -13,11 +13,11 @@
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
visible when(localvarint("ui_tabDepth") == localvarint("ui_popup_cac_sniper_primary_tabDepth"));
|
||||
exp rect Y localvarfloat("ui_popupYPos") + (localvarint("ui_tabDepth") * 20);
|
||||
exp rect Y localvarfloat("ui_popupYPos") + localvarint("ui_tabDepth") * 20;
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") + 1;
|
||||
setLocalVarInt ui_popup_cac_sniper_primary_tabDepth localvarint("ui_tabDepth");
|
||||
setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") + 1);
|
||||
setLocalVarInt ui_popup_cac_sniper_primary_tabDepth (localvarint("ui_tabDepth"));
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "mosin")
|
||||
{
|
||||
setfocus cac_weapon_mosin;
|
||||
@@ -25,7 +25,7 @@
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1;
|
||||
setLocalVarInt ui_tabDepth (localvarint("ui_tabDepth") - 1);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -37,6 +37,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -46,6 +47,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -55,9 +57,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
exp rect h 4 + (9 * 20);
|
||||
exp rect h 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -65,9 +68,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -75,9 +79,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 0.85
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -85,16 +90,18 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 4 + (9 * 20);
|
||||
exp rect h 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -102,18 +109,20 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 4 + (9 * 20);
|
||||
exp rect h 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -121,6 +130,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -130,6 +140,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -139,6 +150,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -148,9 +160,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 4 + (9 * 20);
|
||||
exp rect h 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -158,9 +171,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y 4 + (9 * 20);
|
||||
exp rect y 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -168,9 +182,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y 4 + (9 * 20);
|
||||
exp rect y 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -178,9 +193,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y 4 + (9 * 20);
|
||||
exp rect y 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -188,9 +204,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 4 + (9 * 20);
|
||||
exp rect h 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -198,9 +215,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0
|
||||
background "gradient_fadein"
|
||||
exp rect h 4 + (9 * 20);
|
||||
exp rect h 4 + 9 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -208,9 +226,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (1 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -225,7 +244,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab1Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 1) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 1) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 1) * 0.35);
|
||||
@@ -236,9 +255,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (2 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -253,7 +273,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab2Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 2) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 2) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 2) * 0.35);
|
||||
@@ -264,9 +284,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (3 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -281,7 +302,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab3Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 3) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 3) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 3) * 0.35);
|
||||
@@ -292,9 +313,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (4 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -309,7 +331,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab4Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 4) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 4) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 4) * 0.35);
|
||||
@@ -320,9 +342,10 @@
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (5 - 1));
|
||||
textscale 0.55
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -337,7 +360,7 @@
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab5Name");
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
exp rect y - 20 - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
exp forecolor r 1 - ((localvarint("ui_tabDepth") > 5) * 0.35);
|
||||
exp forecolor g 1 - ((localvarint("ui_tabDepth") > 5) * 0.35);
|
||||
exp forecolor b 1 - ((localvarint("ui_tabDepth") > 5) * 0.35);
|
||||
@@ -365,13 +388,13 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarString ui_selected_ref mosin;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
setLocalVarString ui_selected_ref ("mosin");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
setPlayerData ( weaponNew , mosin , false );
|
||||
}
|
||||
action
|
||||
@@ -379,27 +402,27 @@
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3);
|
||||
setLocalVarString ui_tab1Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3));
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3);
|
||||
setLocalVarString ui_tab2Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3));
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3);
|
||||
setLocalVarString ui_tab3Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3));
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3);
|
||||
setLocalVarString ui_tab4Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3));
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3);
|
||||
setLocalVarString ui_tab5Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3));
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3);
|
||||
setLocalVarString ui_tab6Name ("@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3));
|
||||
}
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "mosin")
|
||||
{
|
||||
@@ -409,40 +432,40 @@
|
||||
}
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , mosin );
|
||||
setPlayerData ( weaponNew , mosin , false );
|
||||
if (((!((tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "") || (tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != ""))) && (((getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl") || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun"))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat"))
|
||||
if (!(tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0), 12) != "" || tablelookup("mp/attachmentTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0), 12) != "") && (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_gl" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_grip" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_shotgun") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null_heartbeat")
|
||||
{
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , specialty_null );
|
||||
}
|
||||
setLocalVarString loadoutPrimary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon");
|
||||
setLocalVarString loadoutPrimaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0);
|
||||
setLocalVarString loadoutPrimaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1);
|
||||
setLocalVarString loadoutPrimary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"));
|
||||
setLocalVarString loadoutPrimaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0));
|
||||
setLocalVarString loadoutPrimaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1));
|
||||
if (localvarstring("loadoutPrimaryAttachment2") == "")
|
||||
{
|
||||
setLocalVarString loadoutPrimaryAttachment2 none;
|
||||
setLocalVarString loadoutPrimaryAttachment2 ("none");
|
||||
}
|
||||
setLocalVarString loadoutPrimaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo");
|
||||
setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo");
|
||||
setLocalVarString loadoutSecondary getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon");
|
||||
setLocalVarString loadoutSecondaryAttachment getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0);
|
||||
setLocalVarString loadoutSecondaryAttachment2 getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1);
|
||||
setLocalVarString loadoutPrimaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo"));
|
||||
setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"));
|
||||
setLocalVarString loadoutSecondary (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"));
|
||||
setLocalVarString loadoutSecondaryAttachment (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0));
|
||||
setLocalVarString loadoutSecondaryAttachment2 (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1));
|
||||
if (localvarstring("loadoutSecondaryAttachment2") == "")
|
||||
{
|
||||
setLocalVarString loadoutSecondaryAttachment2 none;
|
||||
setLocalVarString loadoutSecondaryAttachment2 ("none");
|
||||
}
|
||||
setLocalVarString loadoutSecondaryCamo getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo");
|
||||
setLocalVarString loadoutEquipment getplayerdata("customClasses", localvarint("classIndex"), "perks", 0);
|
||||
setLocalVarString loadoutPerk1 getplayerdata("customClasses", localvarint("classIndex"), "perks", 1);
|
||||
setLocalVarString loadoutPerk2 getplayerdata("customClasses", localvarint("classIndex"), "perks", 2);
|
||||
setLocalVarString loadoutPerk3 getplayerdata("customClasses", localvarint("classIndex"), "perks", 3);
|
||||
setLocalVarString loadoutStreak1 getplayerdata("killstreaks", 0);
|
||||
setLocalVarString loadoutStreak2 getplayerdata("killstreaks", 1);
|
||||
setLocalVarString loadoutStreak3 getplayerdata("killstreaks", 2);
|
||||
setLocalVarString loadoutDeathStreak getplayerdata("customClasses", localvarint("classIndex"), "perks", 4);
|
||||
setLocalVarString loadoutOffhandSecondary getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade");
|
||||
setLocalVarString loadoutClassName getplayerdata("customClasses", localvarint("classIndex"), "name");
|
||||
setLocalVarString loadoutSecondaryCamo (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo"));
|
||||
setLocalVarString loadoutEquipment (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0));
|
||||
setLocalVarString loadoutPerk1 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1));
|
||||
setLocalVarString loadoutPerk2 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2));
|
||||
setLocalVarString loadoutPerk3 (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3));
|
||||
setLocalVarString loadoutStreak1 (getplayerdata("killstreaks", 0));
|
||||
setLocalVarString loadoutStreak2 (getplayerdata("killstreaks", 1));
|
||||
setLocalVarString loadoutStreak3 (getplayerdata("killstreaks", 2));
|
||||
setLocalVarString loadoutDeathStreak (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4));
|
||||
setLocalVarString loadoutOffhandSecondary (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade"));
|
||||
setLocalVarString loadoutClassName (getplayerdata("customClasses", localvarint("classIndex"), "name"));
|
||||
if (0 == 0)
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "")
|
||||
if ((tablelookup("mp/statsTable.csv", 4, "mosin", 11) != ""))
|
||||
{
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling")
|
||||
{
|
||||
@@ -460,9 +483,9 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "")
|
||||
if ((tablelookup("mp/statsTable.csv", 4, "mosin", 11) != ""))
|
||||
{
|
||||
if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling"))
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling" && isitemunlocked("specialty_secondarybling"))
|
||||
{
|
||||
open popup_secondary_attachments_bling;
|
||||
}
|
||||
@@ -503,9 +526,9 @@
|
||||
}
|
||||
execKeyInt 168
|
||||
{
|
||||
if (tablelookup("mp/challengeTable.csv", 6, "mosin", 4) != "")
|
||||
if ((tablelookup("mp/challengeTable.csv", 6, "mosin", 4)) != "")
|
||||
{
|
||||
setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "mosin", 4);
|
||||
setLocalVarString ui_challengeTierTable (tablelookup("mp/challengeTable.csv", 6, "mosin", 4));
|
||||
open menu_challenge_details;
|
||||
}
|
||||
}
|
||||
@@ -516,7 +539,7 @@
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((getplayerdata("weaponNew", "mosin") || getplayerdataanybooltrue("camoNew", "mosin")) || getplayerdataanybooltrue("attachmentNew", "mosin"));
|
||||
visible when((getplayerdata("weaponNew", "mosin") || getplayerdataanybooltrue("camoNew", "mosin") || getplayerdataanybooltrue("attachmentNew", "mosin")));
|
||||
textscale 0.55
|
||||
background "specialty_new"
|
||||
}
|
||||
@@ -525,7 +548,7 @@
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(isitemunlocked("mosin") == 0);
|
||||
visible when((isitemunlocked("mosin") == 0));
|
||||
textscale 0.55
|
||||
background "specialty_locked"
|
||||
}
|
||||
@@ -593,7 +616,7 @@
|
||||
rect -56 0 200 184 2 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4) != ""));
|
||||
visible when(isitemunlocked(localvarstring("ui_selected_ref")) && (tablelookup("mp/challengeTable.csv", 6, localvarstring("ui_selected_ref"), 4)) != "");
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny 144
|
||||
@@ -647,10 +670,10 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 0.25 0.65
|
||||
background "white"
|
||||
exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0));
|
||||
exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0));
|
||||
exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100)) * 120);
|
||||
exp forecolor r ((0 < 0) * 0.45) + 0.25;
|
||||
exp forecolor g ((0 > 0) * 0.45) + 0.25;
|
||||
exp forecolor r (0 < 0) * 0.45 + 0.25;
|
||||
exp forecolor g (0 > 0) * 0.45 + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -698,10 +721,10 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 0.25 0.65
|
||||
background "white"
|
||||
exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0));
|
||||
exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0));
|
||||
exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100)) * 120);
|
||||
exp forecolor r ((0 < 0) * 0.45) + 0.25;
|
||||
exp forecolor g ((0 > 0) * 0.45) + 0.25;
|
||||
exp forecolor r (0 < 0) * 0.45 + 0.25;
|
||||
exp forecolor g (0 > 0) * 0.45 + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -749,10 +772,10 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 0.25 0.65
|
||||
background "white"
|
||||
exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0));
|
||||
exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0));
|
||||
exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100)) * 120);
|
||||
exp forecolor r ((0 < 0) * 0.45) + 0.25;
|
||||
exp forecolor g ((0 > 0) * 0.45) + 0.25;
|
||||
exp forecolor r (0 < 0) * 0.45 + 0.25;
|
||||
exp forecolor g (0 > 0) * 0.45 + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -800,10 +823,10 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 0.25 0.65
|
||||
background "white"
|
||||
exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0));
|
||||
exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0));
|
||||
exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100)) * 120);
|
||||
exp forecolor r ((0 < 0) * 0.45) + 0.25;
|
||||
exp forecolor g ((0 > 0) * 0.45) + 0.25;
|
||||
exp forecolor r (0 < 0) * 0.45 + 0.25;
|
||||
exp forecolor g (0 > 0) * 0.45 + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -851,10 +874,10 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 0.25 0.65
|
||||
background "white"
|
||||
exp rect x ((- 64) + (0 - (120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)))) + ((0 - (120 * (0 / 100))) * (0 < 0));
|
||||
exp rect x - 64 + (0 - 120 * (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) + ((0 - 120 * (0 / 100)) * (0 < 0));
|
||||
exp rect w min(120 * (0 / 100), (1 - (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100)) * 120);
|
||||
exp forecolor r ((0 < 0) * 0.45) + 0.25;
|
||||
exp forecolor g ((0 > 0) * 0.45) + 0.25;
|
||||
exp forecolor r (0 < 0) * 0.45 + 0.25;
|
||||
exp forecolor g (0 > 0) * 0.45 + 0.25;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
exec "setfromdvar ui_password g_password";
|
||||
setFocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -29,6 +29,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -38,6 +39,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -47,6 +49,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
@@ -56,9 +59,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -66,9 +70,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -76,6 +81,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
@@ -84,9 +90,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -94,9 +101,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -104,9 +112,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -114,6 +123,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -123,6 +133,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -132,6 +143,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -141,6 +153,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
@@ -150,6 +163,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
@@ -159,6 +173,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
@@ -168,6 +183,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
@@ -177,6 +193,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
@@ -230,12 +247,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
+13
-10
@@ -6,6 +6,7 @@
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
@@ -24,41 +25,43 @@
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
execKey "3"
|
||||
{
|
||||
close self;
|
||||
open quickcommands;
|
||||
open quickresponses;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
close self;
|
||||
open quickstatements;
|
||||
}
|
||||
execKey "3"
|
||||
execKey "1"
|
||||
{
|
||||
close self;
|
||||
open quickresponses;
|
||||
open quickcommands;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 128 0 0
|
||||
rect -4 -4 194 128 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.2 0.2 0.22 0.65
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "white";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 128 0 0
|
||||
rect -4 -4 194 128 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
@@ -80,7 +83,7 @@
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_COMMANDS"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 36 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -92,7 +95,7 @@
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_STATEMENTS"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 52 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -104,7 +107,7 @@
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_RESPONSES"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 68 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -116,7 +119,7 @@
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 100 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
|
||||
+60
-60
@@ -9,146 +9,146 @@
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt classIndex dvarint(ui_checkclass);
|
||||
if ((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"))) || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "none"))
|
||||
setLocalVarInt classIndex (dvarint(ui_checkclass));
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) || getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "none")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Primary", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString temp (debugprint("Stats", "Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , weapon , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Primary") + "Attachment", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary" + "Attachment", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 0 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Primary") + "Attachment2", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary" + "Attachment2", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Primary") + "Camo", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Primary" + "Camo", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , localVarString ( dataValue ) );
|
||||
}
|
||||
if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)))
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((((("Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue none;
|
||||
setLocalVarString temp (debugprint("Stats", "Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 0) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue ("none");
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 0 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)))
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((((("Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue none;
|
||||
setLocalVarString temp (debugprint("Stats", "Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "attachment", 1) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue ("none");
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")))
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((((("Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo")) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue none;
|
||||
setLocalVarString temp (debugprint("Stats", "Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "camo") + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue ("none");
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , localVarString ( dataValue ) );
|
||||
}
|
||||
if ((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon"))) || (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") == "none"))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) || getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") == "none")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString temp (debugprint("Stats", "Weapon " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) );
|
||||
}
|
||||
if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)))
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((((("Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue none;
|
||||
setLocalVarString temp (debugprint("Stats", "Attachment " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 0) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue ("none");
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)))
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((((("Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue none;
|
||||
setLocalVarString temp (debugprint("Stats", "Attachment2 " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "attachment", 1) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue ("none");
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (!isitemunlocked((getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")))
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((((("Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon")) + " ") + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo")) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue none;
|
||||
setLocalVarString temp (debugprint("Stats", "Camo " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "weapon") + " " + getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 1, "camo") + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue ("none");
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) );
|
||||
}
|
||||
if ((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 0))) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null"))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)) || getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) == "specialty_null")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Equipment " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 0)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutEquipment", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString temp (debugprint("Stats", "Equipment " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 0) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutEquipment", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 0 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade") == "none")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Secondary offhand " + getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade")) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutOffhand", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString temp (debugprint("Stats", "Secondary offhand " + getplayerdata("customClasses", localvarint("classIndex"), "specialGrenade") + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutOffhand", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , specialGrenade , localVarString ( dataValue ) );
|
||||
}
|
||||
if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 1))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 1), 5) != "perk1")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_null"))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 1), 5) != ("perk1") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_null")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 1)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString temp (debugprint("Stats", "Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling")
|
||||
{
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none ) setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , none );
|
||||
}
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_onemanarmy")
|
||||
{
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) );
|
||||
}
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 1, (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 1, (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 1 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 2))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 2), 5) != "perk2")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_null"))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 2), 5) != ("perk2") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_null")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 2)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString temp (debugprint("Stats", "Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_bling")
|
||||
{
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none ) setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , none );
|
||||
}
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 2) == "specialty_onemanarmy")
|
||||
{
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) );
|
||||
}
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 2, (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 2, (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 2 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 3))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 3), 5) != "perk3")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_null"))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 3), 5) != ("perk3") || getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_null")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 3)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString temp (debugprint("Stats", "Perk " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_bling")
|
||||
{
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none ) setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , none );
|
||||
}
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 3) == "specialty_onemanarmy")
|
||||
{
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Attachment2", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Attachment2", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, ("loadout" + "Secondary") + "Camo", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadout" + "Secondary" + "Camo", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , camo , localVarString ( dataValue ) );
|
||||
}
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 3, (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutPerk" + 3, (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 3 , localVarString ( dataValue ) );
|
||||
}
|
||||
if (((!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 4))) || (tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 4), 5) != "perk4")) || (getplayerdata("customClasses", localvarint("classIndex"), "perks", 4) == "specialty_null"))
|
||||
if (!isitemunlocked(getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)) || tablelookup("mp/perkTable.csv", 1, getplayerdata("customClasses", localvarint("classIndex"), "perks", 4), 5) != "perk4" || getplayerdata("customClasses", localvarint("classIndex"), "perks", 4) == "specialty_null")
|
||||
{
|
||||
setLocalVarString temp debugprint("Stats", ((("Deathstreak " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 4)) + " locked for class ") + localvarint("classIndex")) + "; resetting");
|
||||
setLocalVarString dataValue tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", (localvarint("classIndex") % 5) + 6);
|
||||
setLocalVarString temp (debugprint("Stats", "Deathstreak " + getplayerdata("customClasses", localvarint("classIndex"), "perks", 4) + " locked for class " + localvarint("classIndex") + "; resetting"));
|
||||
setLocalVarString dataValue (tablelookup("mp/classTable.csv", 0, "loadoutDeathStreak", (localvarint("classIndex") % 5) + 6));
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , perks , 4 , localVarString ( dataValue ) );
|
||||
}
|
||||
close self;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -34,7 +34,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -58,7 +58,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -191,10 +191,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -232,10 +232,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -273,10 +273,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -316,10 +316,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -359,10 +359,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
|
||||
+519
-519
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -34,7 +34,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -58,7 +58,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -191,10 +191,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -232,10 +232,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -273,10 +273,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -316,10 +316,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -359,10 +359,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -34,7 +34,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -58,7 +58,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -191,10 +191,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -232,10 +232,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -273,10 +273,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -316,10 +316,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -359,10 +359,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
decoration
|
||||
border 1
|
||||
borderSize 0.666667
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
@@ -87,7 +87,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
@@ -98,7 +98,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 181
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
@@ -109,7 +109,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 185
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
@@ -120,7 +120,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 188
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
@@ -131,7 +131,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 182
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
@@ -142,7 +142,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 189
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
@@ -153,7 +153,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 183
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
@@ -186,7 +186,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
@@ -195,7 +195,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y (135 - 240) + ((240 * 2) * (1 - ((milliseconds() % 4000) / 4000)));
|
||||
@@ -205,7 +205,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
@@ -215,7 +215,7 @@
|
||||
rect -260 115 -136 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -272,7 +272,7 @@
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Allies);
|
||||
@@ -282,7 +282,7 @@
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Axis);
|
||||
@@ -301,7 +301,7 @@
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines");
|
||||
textscale 0.4583
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
@@ -321,7 +321,7 @@
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor");
|
||||
textscale 0.4583
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
@@ -336,7 +336,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((!((localvarstring("ui_team") == "marines") || (localvarstring("ui_team") == "opfor"))) || (!1));
|
||||
disabled when(!((localvarstring("ui_team") == "marines") || (localvarstring("ui_team") == "opfor")) || !(1));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -351,23 +351,23 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarstring("ui_team") == "marines")
|
||||
if ((localvarstring("ui_team") == "marines"))
|
||||
{
|
||||
scriptmenuresponse changeclass_marines;
|
||||
}
|
||||
if (localvarstring("ui_team") == "opfor")
|
||||
if ((localvarstring("ui_team") == "opfor"))
|
||||
{
|
||||
scriptmenuresponse changeclass_opfor;
|
||||
}
|
||||
@@ -382,7 +382,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(!(dvarbool(ui_allow_teamchange) && ((!dvarbool(onlinegame)) || dvarbool(xblive_privatematch))));
|
||||
disabled when(!(dvarbool(ui_allow_teamchange) && (!dvarbool(onlinegame) || dvarbool(xblive_privatematch))));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -397,14 +397,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -445,14 +445,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -484,14 +484,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -525,14 +525,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -565,14 +565,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -589,7 +589,7 @@
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((!(dvarbool(onlinegame) && (!dvarbool(xblive_privatematch)))) && dvarbool(sv_running));
|
||||
visible when(!(dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running)));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -604,14 +604,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -627,7 +627,7 @@
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) || (!dvarbool(sv_running)));
|
||||
visible when((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) || !(dvarbool(sv_running)));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -642,35 +642,35 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if ((((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) == 0) && (dvarbool(sv_running) == 0)) && ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()))
|
||||
if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) == 0 && ((dvarbool(sv_running)) == 0) && (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby()))
|
||||
{
|
||||
open popup_leavegameandparty;
|
||||
}
|
||||
if ((((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) == 0) && (dvarbool(sv_running) == 0)) && (((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby())))
|
||||
if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) == 0 && ((dvarbool(sv_running)) == 0) && (!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby()))
|
||||
{
|
||||
open popup_leavegame;
|
||||
}
|
||||
if ((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) && dvarbool(sv_running))
|
||||
if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running)))
|
||||
{
|
||||
open popup_endgame_ranked;
|
||||
}
|
||||
if (((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) && (dvarbool(sv_running) == 0)) && ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby()))
|
||||
if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running)) == 0 && (inprivateparty() && !privatepartyhost() && privatepartyhostinlobby()))
|
||||
{
|
||||
open popup_leavegameandparty_ranked;
|
||||
}
|
||||
if (((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) && (dvarbool(sv_running) == 0)) && (((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby())))
|
||||
if ((dvarbool(onlinegame) && !dvarbool(xblive_privatematch)) && (dvarbool(sv_running)) == 0 && (!inprivateparty() || privatepartyhost() || !privatepartyhostinlobby()))
|
||||
{
|
||||
open popup_leavegame_ranked;
|
||||
}
|
||||
@@ -698,13 +698,13 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -734,13 +734,13 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -771,13 +771,13 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) == "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -34,7 +34,7 @@
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
visible when(dvarstring(fs_game) != "" && !(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -58,7 +58,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -191,10 +191,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -232,10 +232,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -273,10 +273,10 @@
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
setLocalVarString ui_hint_text ;
|
||||
setLocalVarString ui_info_name ;
|
||||
setLocalVarString ui_info_desc ;
|
||||
setLocalVarString ui_info_icon ;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
|
||||
+515
-515
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,7 @@
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
@@ -21,34 +22,9 @@
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
execKey "8"
|
||||
{
|
||||
scriptMenuResponse 1;
|
||||
close self;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
scriptMenuResponse 2;
|
||||
close self;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
scriptMenuResponse 3;
|
||||
close self;
|
||||
}
|
||||
execKey "4"
|
||||
{
|
||||
scriptMenuResponse 4;
|
||||
close self;
|
||||
}
|
||||
execKey "5"
|
||||
{
|
||||
scriptMenuResponse 5;
|
||||
close self;
|
||||
}
|
||||
execKey "6"
|
||||
{
|
||||
scriptMenuResponse 6;
|
||||
scriptMenuResponse 8;
|
||||
close self;
|
||||
}
|
||||
execKey "7"
|
||||
@@ -56,31 +32,58 @@
|
||||
scriptMenuResponse 7;
|
||||
close self;
|
||||
}
|
||||
execKey "8"
|
||||
execKey "6"
|
||||
{
|
||||
scriptMenuResponse 8;
|
||||
scriptMenuResponse 6;
|
||||
close self;
|
||||
}
|
||||
execKey "5"
|
||||
{
|
||||
scriptMenuResponse 5;
|
||||
close self;
|
||||
}
|
||||
execKey "4"
|
||||
{
|
||||
scriptMenuResponse 4;
|
||||
close self;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
scriptMenuResponse 3;
|
||||
close self;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
scriptMenuResponse 2;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
{
|
||||
scriptMenuResponse 1;
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
rect -4 -4 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.2 0.2 0.22 0.65
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "white";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
rect -4 -4 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
@@ -103,7 +106,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_FOLLOW_ME"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 36 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -116,7 +119,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_MOVE_IN"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 52 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -129,7 +132,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_FALL_BACK"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 68 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -142,7 +145,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_4_SUPPRESSING_FIRE"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 84 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -155,7 +158,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_5_ATTACK_LEFT_FLANK"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 100 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -168,7 +171,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_6_ATTACK_RIGHT_FLANK"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 116 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -181,7 +184,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_7_HOLD_THIS_POSITION"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 132 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -194,7 +197,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_8_REGROUP"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 148 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -206,7 +209,7 @@
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 180 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
@@ -21,24 +22,9 @@
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
execKey "6"
|
||||
{
|
||||
scriptMenuResponse 1;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
scriptMenuResponse 2;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
scriptMenuResponse 3;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "4"
|
||||
{
|
||||
scriptMenuResponse 4;
|
||||
scriptMenuResponse 6;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "5"
|
||||
@@ -46,31 +32,48 @@
|
||||
scriptMenuResponse 5;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "6"
|
||||
execKey "4"
|
||||
{
|
||||
scriptMenuResponse 6;
|
||||
scriptMenuResponse 4;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
scriptMenuResponse 3;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
scriptMenuResponse 2;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "1"
|
||||
{
|
||||
scriptMenuResponse 1;
|
||||
close quickresponses;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
rect -4 -4 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.2 0.2 0.22 0.65
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "white";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
rect -4 -4 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
@@ -93,7 +96,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_YES_SIR"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 36 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -106,7 +109,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_NO_SIR"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 52 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -119,7 +122,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_IM_ON_MY_WAY"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 68 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -132,7 +135,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_4_SORRY"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 84 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -145,7 +148,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_5_GREAT_SHOT"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 100 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -158,7 +161,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_6_TOOK_LONG_ENOUGH"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 116 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -170,7 +173,7 @@
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 148 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
@@ -21,29 +22,9 @@
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
execKey "7"
|
||||
{
|
||||
scriptMenuResponse 1;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
scriptMenuResponse 2;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
scriptMenuResponse 3;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "4"
|
||||
{
|
||||
scriptMenuResponse 4;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "5"
|
||||
{
|
||||
scriptMenuResponse 5;
|
||||
scriptMenuResponse 7;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "6"
|
||||
@@ -51,31 +32,53 @@
|
||||
scriptMenuResponse 6;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "7"
|
||||
execKey "5"
|
||||
{
|
||||
scriptMenuResponse 7;
|
||||
scriptMenuResponse 5;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "4"
|
||||
{
|
||||
scriptMenuResponse 4;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
scriptMenuResponse 3;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
scriptMenuResponse 2;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "1"
|
||||
{
|
||||
scriptMenuResponse 1;
|
||||
close quickstatements;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
rect -4 -4 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.2 0.2 0.22 0.65
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "white";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
rect -4 -4 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
@@ -98,7 +101,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_ENEMY_SPOTTED"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 36 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -111,7 +114,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_MULTIPLE_CONTACTS"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 52 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -124,7 +127,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_IM_IN_POSITION"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 68 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -137,7 +140,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_4_AREA_SECURE"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 84 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -150,7 +153,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_5_WATCH_SIX"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 100 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -163,7 +166,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_6_SNIPER"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 116 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -176,7 +179,7 @@
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_7_NEED_REINFORCEMENTS"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 132 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
@@ -188,7 +191,7 @@
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
rect 16 164 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
decoration
|
||||
border 1
|
||||
borderSize 0.666667
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
@@ -88,7 +88,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
@@ -99,7 +99,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 181
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
@@ -110,7 +110,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 185
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
@@ -121,7 +121,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 188
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
@@ -132,7 +132,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 182
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
@@ -143,7 +143,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 189
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
@@ -154,7 +154,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
ownerdraw 183
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
@@ -187,7 +187,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
@@ -196,7 +196,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y (135 - 240) + ((240 * 2) * (1 - ((milliseconds() % 4000) / 4000)));
|
||||
@@ -206,7 +206,7 @@
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
@@ -216,7 +216,7 @@
|
||||
rect -260 115 -136 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
visible when((!isempjammed()));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -250,7 +250,7 @@
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Allies);
|
||||
@@ -260,7 +260,7 @@
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Axis);
|
||||
@@ -282,7 +282,7 @@
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "marines");
|
||||
textalign 1
|
||||
textaligny 10
|
||||
textscale 0.4583
|
||||
@@ -308,7 +308,7 @@
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor"));
|
||||
visible when(team("name") == "TEAM_FREE" && localvarstring("ui_team") == "opfor");
|
||||
textalign 1
|
||||
textaligny 10
|
||||
textscale 0.4583
|
||||
@@ -326,7 +326,7 @@
|
||||
style 1
|
||||
type 1
|
||||
visible when(team("name") != "TEAM_SPECTATOR");
|
||||
disabled when((team("name") == "TEAM_SPECTATOR") || (!dvarbool(scr_game_spectatetype)));
|
||||
disabled when(team("name") == "TEAM_SPECTATOR" || !dvarbool(scr_game_spectatetype));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -341,14 +341,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -379,14 +379,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -418,14 +418,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -467,14 +467,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -500,7 +500,7 @@
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((team("name") == "TEAM_SPECTATOR") && (dvarbool(onlineunrankedgameandhost) || dvarbool(sv_running)));
|
||||
visible when(team("name") == "TEAM_SPECTATOR" && (dvarbool(onlineunrankedgameandhost) || dvarbool(sv_running)));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -515,14 +515,14 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -538,7 +538,7 @@
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((team("name") == "TEAM_SPECTATOR") && ((!dvarbool(onlineunrankedgameandhost)) && (!dvarbool(sv_running))));
|
||||
visible when(team("name") == "TEAM_SPECTATOR" && (!dvarbool(onlineunrankedgameandhost) && !dvarbool(sv_running)));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
@@ -553,19 +553,19 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())
|
||||
if ((inprivateparty() && !privatepartyhost() && privatepartyhostinlobby()))
|
||||
{
|
||||
open popup_leavegameandparty;
|
||||
}
|
||||
@@ -597,13 +597,13 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -634,13 +634,13 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -671,13 +671,13 @@
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
uiScript security_increase_cancel;
|
||||
}
|
||||
onESC
|
||||
@@ -61,7 +61,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -72,7 +72,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -82,7 +82,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -93,7 +93,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -104,7 +104,7 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -115,14 +115,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -132,7 +132,7 @@
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -142,7 +142,7 @@
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -152,55 +152,55 @@
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
exp rect y (32 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -63 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 56 + (3 * 20);
|
||||
exp rect h (56 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -231,7 +231,7 @@
|
||||
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));
|
||||
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
|
||||
@@ -243,7 +243,7 @@
|
||||
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));
|
||||
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
|
||||
@@ -255,7 +255,7 @@
|
||||
rect 0 60 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75);
|
||||
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75);
|
||||
textalign 5
|
||||
textalignx 38
|
||||
textaligny 10
|
||||
@@ -283,7 +283,7 @@
|
||||
rect 6 96 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
@@ -298,12 +298,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
onOpen
|
||||
{
|
||||
uiScript ServerStatus;
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -33,6 +33,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
@@ -42,6 +43,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
@@ -51,6 +53,7 @@
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
@@ -60,9 +63,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -70,9 +74,10 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -80,6 +85,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
@@ -88,9 +94,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -98,9 +105,10 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -108,9 +116,10 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h (24 + 3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -118,6 +127,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
@@ -127,6 +137,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
@@ -136,6 +147,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
@@ -145,6 +157,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
@@ -154,6 +167,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
@@ -163,6 +177,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
@@ -172,6 +187,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
@@ -181,6 +197,7 @@
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
@@ -354,7 +371,8 @@
|
||||
rect 332 22 176 100 0 0
|
||||
style 3
|
||||
visible when(dvarstring(uiSi_MapName) == "");
|
||||
exp material "loadscreen_mp_bonusmaps";
|
||||
textscale 0.55
|
||||
exp material ("loadscreen_mp_bonusmaps");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -388,7 +406,8 @@
|
||||
rect 332 22 176 100 0 0
|
||||
style 3
|
||||
visible when(dvarstring(uiSi_MapName) != "");
|
||||
exp material "preview_" + dvarstring(uiSi_MapName);
|
||||
textscale 0.55
|
||||
exp material ("preview_" + dvarstring(uiSi_MapName));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -520,12 +539,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
@@ -554,12 +573,12 @@
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
onOpen
|
||||
@@ -12,6 +13,9 @@
|
||||
focusFirst;
|
||||
setfocusbydvar ui_mapname;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
@@ -33,7 +37,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -43,7 +47,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((- 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -79,7 +83,7 @@
|
||||
rect -32 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -89,7 +93,7 @@
|
||||
rect 0 -4 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -99,7 +103,7 @@
|
||||
rect 640 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -109,7 +113,7 @@
|
||||
rect 640 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
@@ -119,7 +123,7 @@
|
||||
rect 640 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
@@ -129,7 +133,7 @@
|
||||
rect 0 384 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
@@ -139,7 +143,7 @@
|
||||
rect -32 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
@@ -149,7 +153,7 @@
|
||||
rect -32 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
@@ -186,9 +190,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_COMPLEX;
|
||||
setLocalVarString ui_info_desc PATCH_DESC_MAP_COMPLEX;
|
||||
setLocalVarString ui_info_icon preview_mp_complex;
|
||||
setLocalVarString ui_info_name ("PATCH_COMPLEX");
|
||||
setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPLEX");
|
||||
setLocalVarString ui_info_icon ("preview_mp_complex");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -199,7 +203,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
if (!(4))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -213,7 +217,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_complex" }
|
||||
exp text "@" + "PATCH_COMPLEX";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
exp forecolor a 0.45 + (0.55 * (4));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -237,9 +241,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name MPUI_CRASH;
|
||||
setLocalVarString ui_info_desc MPUI_DESC_MAP_CRASH;
|
||||
setLocalVarString ui_info_icon preview_mp_crash;
|
||||
setLocalVarString ui_info_name ("MPUI_CRASH");
|
||||
setLocalVarString ui_info_desc ("MPUI_DESC_MAP_CRASH");
|
||||
setLocalVarString ui_info_icon ("preview_mp_crash");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -250,7 +254,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
if (!(4))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -264,7 +268,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_crash" }
|
||||
exp text "@" + "MPUI_CRASH";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
exp forecolor a 0.45 + (0.55 * (4));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -288,9 +292,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name MPUI_OVERGROWN;
|
||||
setLocalVarString ui_info_desc MPUI_DESC_MAP_OVERGROWN;
|
||||
setLocalVarString ui_info_icon preview_mp_overgrown;
|
||||
setLocalVarString ui_info_name ("MPUI_OVERGROWN");
|
||||
setLocalVarString ui_info_desc ("MPUI_DESC_MAP_OVERGROWN");
|
||||
setLocalVarString ui_info_icon ("preview_mp_overgrown");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -301,7 +305,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
if (!(4))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -315,7 +319,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_overgrown" }
|
||||
exp text "@" + "MPUI_OVERGROWN";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
exp forecolor a 0.45 + (0.55 * (4));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -339,9 +343,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_COMPACT;
|
||||
setLocalVarString ui_info_desc PATCH_DESC_MAP_COMPACT;
|
||||
setLocalVarString ui_info_icon preview_mp_compact;
|
||||
setLocalVarString ui_info_name ("PATCH_COMPACT");
|
||||
setLocalVarString ui_info_desc ("PATCH_DESC_MAP_COMPACT");
|
||||
setLocalVarString ui_info_icon ("preview_mp_compact");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -352,7 +356,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
if (!(4))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -366,7 +370,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_compact" }
|
||||
exp text "@" + "PATCH_COMPACT";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
exp forecolor a 0.45 + (0.55 * (4));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -390,9 +394,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_STORM;
|
||||
setLocalVarString ui_info_desc PATCH_DESC_MAP_STORM;
|
||||
setLocalVarString ui_info_icon preview_mp_storm;
|
||||
setLocalVarString ui_info_name ("PATCH_STORM");
|
||||
setLocalVarString ui_info_desc ("PATCH_DESC_MAP_STORM");
|
||||
setLocalVarString ui_info_icon ("preview_mp_storm");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -403,7 +407,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
if (!(4))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -417,7 +421,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_storm" }
|
||||
exp text "@" + "PATCH_STORM";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
exp forecolor a 0.45 + (0.55 * (4));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -450,9 +454,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_ABANDON;
|
||||
setLocalVarString ui_info_desc PATCH_DESC_MAP_ABANDON;
|
||||
setLocalVarString ui_info_icon preview_mp_abandon;
|
||||
setLocalVarString ui_info_name ("PATCH_ABANDON");
|
||||
setLocalVarString ui_info_desc ("PATCH_DESC_MAP_ABANDON");
|
||||
setLocalVarString ui_info_icon ("preview_mp_abandon");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -463,7 +467,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
if (!(8))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -477,7 +481,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_abandon" }
|
||||
exp text "@" + "PATCH_ABANDON";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
exp forecolor a 0.45 + (0.55 * (8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -501,9 +505,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_FUEL2;
|
||||
setLocalVarString ui_info_desc PATCH_DESC_MAP_FUEL2;
|
||||
setLocalVarString ui_info_icon preview_mp_fuel2;
|
||||
setLocalVarString ui_info_name ("PATCH_FUEL2");
|
||||
setLocalVarString ui_info_desc ("PATCH_DESC_MAP_FUEL2");
|
||||
setLocalVarString ui_info_icon ("preview_mp_fuel2");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -514,7 +518,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
if (!(8))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -528,7 +532,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_fuel2" }
|
||||
exp text "@" + "PATCH_FUEL2";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
exp forecolor a 0.45 + (0.55 * (8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -552,9 +556,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_STRIKE;
|
||||
setLocalVarString ui_info_desc MPUI_DESC_MAP_STRIKE;
|
||||
setLocalVarString ui_info_icon preview_mp_strike;
|
||||
setLocalVarString ui_info_name ("PATCH_STRIKE");
|
||||
setLocalVarString ui_info_desc ("MPUI_DESC_MAP_STRIKE");
|
||||
setLocalVarString ui_info_icon ("preview_mp_strike");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -565,7 +569,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
if (!(8))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -579,7 +583,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_strike" }
|
||||
exp text "@" + "PATCH_STRIKE";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
exp forecolor a 0.45 + (0.55 * (8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -603,9 +607,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_TRAILERPARK;
|
||||
setLocalVarString ui_info_desc PATCH_DESC_MAP_TRAILERPARK;
|
||||
setLocalVarString ui_info_icon preview_mp_trailerpark;
|
||||
setLocalVarString ui_info_name ("PATCH_TRAILERPARK");
|
||||
setLocalVarString ui_info_desc ("PATCH_DESC_MAP_TRAILERPARK");
|
||||
setLocalVarString ui_info_icon ("preview_mp_trailerpark");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -616,7 +620,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
if (!(8))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -630,7 +634,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_trailerpark" }
|
||||
exp text "@" + "PATCH_TRAILERPARK";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
exp forecolor a 0.45 + (0.55 * (8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -654,9 +658,9 @@
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarString ui_info_name PATCH_VACANT;
|
||||
setLocalVarString ui_info_desc PATCH_DESC_MAP_VACANT;
|
||||
setLocalVarString ui_info_icon preview_mp_vacant;
|
||||
setLocalVarString ui_info_name ("PATCH_VACANT");
|
||||
setLocalVarString ui_info_desc ("PATCH_DESC_MAP_VACANT");
|
||||
setLocalVarString ui_info_icon ("preview_mp_vacant");
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
@@ -667,7 +671,7 @@
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
if (!(8))
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
@@ -681,7 +685,7 @@
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_vacant" }
|
||||
exp text "@" + "PATCH_VACANT";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
exp forecolor a 0.45 + (0.55 * (8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{
|
||||
focusfirst;
|
||||
setfocusbydvar ui_gametype;
|
||||
setLocalVarBool ui_more_gametypes 0;
|
||||
setLocalVarBool ui_more_gametypes (0);
|
||||
}
|
||||
onClose
|
||||
{
|
||||
@@ -42,7 +42,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -53,7 +53,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((- 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -194,7 +194,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dm", 3);
|
||||
@@ -202,9 +202,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dm", 3);
|
||||
}
|
||||
action
|
||||
@@ -217,7 +217,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -235,7 +235,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "war", 3);
|
||||
@@ -243,9 +243,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "war", 3);
|
||||
}
|
||||
action
|
||||
@@ -258,7 +258,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -276,7 +276,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sd", 3);
|
||||
@@ -284,9 +284,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sd", 3);
|
||||
}
|
||||
action
|
||||
@@ -299,7 +299,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -317,7 +317,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sab", 3);
|
||||
@@ -325,9 +325,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "sab", 3);
|
||||
}
|
||||
action
|
||||
@@ -340,7 +340,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -358,7 +358,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dom", 3);
|
||||
@@ -366,9 +366,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dom", 3);
|
||||
}
|
||||
action
|
||||
@@ -381,7 +381,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -399,7 +399,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "koth", 3);
|
||||
@@ -407,9 +407,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "koth", 3);
|
||||
}
|
||||
action
|
||||
@@ -422,7 +422,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -440,7 +440,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "ctf", 3);
|
||||
@@ -448,9 +448,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "ctf", 3);
|
||||
}
|
||||
action
|
||||
@@ -463,7 +463,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -481,7 +481,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dd", 3);
|
||||
@@ -489,9 +489,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "dd", 3);
|
||||
}
|
||||
action
|
||||
@@ -504,7 +504,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -522,7 +522,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "vip", 3);
|
||||
@@ -530,9 +530,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "vip", 3);
|
||||
}
|
||||
action
|
||||
@@ -545,7 +545,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -563,7 +563,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 3);
|
||||
@@ -571,9 +571,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 3);
|
||||
}
|
||||
action
|
||||
@@ -586,7 +586,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -604,7 +604,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 3);
|
||||
@@ -612,9 +612,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 3);
|
||||
}
|
||||
action
|
||||
@@ -627,7 +627,7 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -645,7 +645,7 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarString ui_info_name "@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 1);
|
||||
setLocalVarString ui_info_desc "@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 2);
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "arena", 3);
|
||||
@@ -653,9 +653,9 @@
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_info_name "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
setLocalVarString ui_info_name ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_desc ("@NULL_EMPTY");
|
||||
setLocalVarString ui_info_icon tablelookup("mp/gameTypesTable.csv", 0, "arena", 3);
|
||||
}
|
||||
action
|
||||
@@ -668,13 +668,13 @@
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 1)) + "_CAPS";
|
||||
exp text "@" + tablelookup("mp/gameTypesTable.csv", 0, "arena", 1) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect 0 0 336 20 1 3
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
@@ -691,7 +691,7 @@
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
action
|
||||
|
||||
+435
-428
File diff suppressed because it is too large
Load Diff
+24
-21
@@ -14,6 +14,9 @@
|
||||
{
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
@@ -57,7 +60,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -68,7 +71,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -78,7 +81,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (5 * 20);
|
||||
exp rect h (24 + 5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -89,7 +92,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -100,7 +103,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -111,14 +114,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (5 * 20);
|
||||
exp rect h (24 + 5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -128,7 +131,7 @@
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -138,7 +141,7 @@
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -148,55 +151,55 @@
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (5 * 20);
|
||||
exp rect h (24 + 5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (5 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 5 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (5 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 5 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (5 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 5 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (5 * 20);
|
||||
exp rect h (24 + 5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -251,12 +254,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
+26
-26
@@ -11,12 +11,12 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
setfocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -51,7 +51,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -72,7 +72,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 84 + (2 * 60);
|
||||
exp rect h (84 + 2 * 60);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -83,7 +83,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -94,14 +94,14 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -111,7 +111,7 @@
|
||||
rect 0 -64 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -121,7 +121,7 @@
|
||||
rect 860 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -131,33 +131,33 @@
|
||||
rect 860 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
exp rect y (0 - 0) + ((84 + 2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
exp rect y (0 - 0) + ((84 + 2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
exp rect y (0 - 0) + ((84 + 2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -190,14 +190,14 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -213,7 +213,7 @@
|
||||
rect 286 164 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -228,12 +228,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -250,7 +250,7 @@
|
||||
rect 286 184 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -265,12 +265,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
+26
-26
@@ -11,12 +11,12 @@
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setLocalVarInt ui_centerPopup (1);
|
||||
setfocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
setLocalVarInt ui_centerPopup (0);
|
||||
}
|
||||
onESC
|
||||
{
|
||||
@@ -51,7 +51,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -72,7 +72,7 @@
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 84 + (2 * 60);
|
||||
exp rect h (84 + 2 * 60);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -83,7 +83,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -94,14 +94,14 @@
|
||||
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);
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -111,7 +111,7 @@
|
||||
rect 0 -64 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -121,7 +121,7 @@
|
||||
rect 860 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -131,33 +131,33 @@
|
||||
rect 860 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
exp rect y (0 - 0) + ((84 + 2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
exp rect y (0 - 0) + ((84 + 2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
exp rect y (0 - 0) + ((84 + 2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -190,14 +190,14 @@
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
setLocalVarBool ui_menuAButton (1);
|
||||
setLocalVarFloat ui_popupYPos (getfocuseditemy());
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
setLocalVarString ui_hint_text ("@NULL_EMPTY");
|
||||
setLocalVarBool ui_menuAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -213,7 +213,7 @@
|
||||
rect 286 164 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -228,12 +228,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
@@ -250,7 +250,7 @@
|
||||
rect 286 184 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
@@ -265,12 +265,12 @@
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarBool ui_popupAButton (1);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setLocalVarBool ui_popupAButton (0);
|
||||
}
|
||||
action
|
||||
{
|
||||
|
||||
+20
-19
@@ -5,6 +5,7 @@
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
forecolor 0 0 0 0
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
@@ -57,7 +58,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -67,7 +68,7 @@
|
||||
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);
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -76,7 +77,7 @@
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -86,7 +87,7 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -96,7 +97,7 @@
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
@@ -106,14 +107,14 @@
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
@@ -123,7 +124,7 @@
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
@@ -133,7 +134,7 @@
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
@@ -143,55 +144,55 @@
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
exp rect y (0 - 0) + ((24 + 3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
exp rect h 24 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user