init
This commit is contained in:
293
ui_mp/auconfirm.menu
Normal file
293
ui_mp/auconfirm.menu
Normal file
@ -0,0 +1,293 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "auconfirm"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
exec "setfromdvar ui_name name";
|
||||
setfocus nameEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_DOWNLOAD_AUTOUPDATE_PATCH"
|
||||
rect 0 0 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "yes"
|
||||
text "@MENU_YES"
|
||||
group "mw2_popup_button"
|
||||
rect 6 44 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript getAutoUpdate;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "no"
|
||||
text "@MENU_NO"
|
||||
group "mw2_popup_button"
|
||||
rect 6 64 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "setfromdvar name ui_name";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1394
ui_mp/cac_popup.menu
Normal file
1394
ui_mp/cac_popup.menu
Normal file
File diff suppressed because it is too large
Load Diff
162
ui_mp/changelog.menu
Normal file
162
ui_mp/changelog.menu
Normal file
@ -0,0 +1,162 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changelog"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CHANGELOG"
|
||||
rect 0 0 640 28 2 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 5
|
||||
textaligny -10
|
||||
textscale 0.45
|
||||
textfont 9
|
||||
exp rect x 0 - (640 / 2);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 400 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.3 0.3 0.3 0.5
|
||||
background "white"
|
||||
exp rect x 0 - (640 / 2);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 400 2 1
|
||||
style 1
|
||||
visible 1
|
||||
backcolor 0 0 0 0.375
|
||||
background "white"
|
||||
exp rect x 0 - (640 / 2);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 397 2 1
|
||||
style 1
|
||||
type 6
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 6
|
||||
textscale 0.375
|
||||
textfont 7
|
||||
exp rect x 0 - (640 / 2);
|
||||
notselectable
|
||||
elementwidth 640
|
||||
elementheight 12
|
||||
feeder 62
|
||||
columns 1
|
||||
0 640 100 0
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
228
ui_mp/connect.menu
Normal file
228
ui_mp/connect.menu
Normal file
@ -0,0 +1,228 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "connect"
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
focuscolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -240 853.333 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "$levelbriefing"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -236 853.333 -400 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -163 853.333 200 2 3
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 26 3 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -8
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
textfont 9
|
||||
forecolor 0.051 0.741 0 1
|
||||
exp text gametypename();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 26 0 26 3 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -8
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text getmapname();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 56 0 26 3 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -8
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text connectioninfo();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 56 0 26 3 1
|
||||
decoration
|
||||
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.25));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text "";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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)));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text ".";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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)));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text "..";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 56 0 26 3 1
|
||||
decoration
|
||||
visible when((connectioninfo() != "") && (((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75));
|
||||
textalign 4
|
||||
textalignx -6
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text "...";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 86 0 26 3 1
|
||||
decoration
|
||||
visible when(dvarstring(fs_game) != "");
|
||||
textalign 6
|
||||
textalignx -8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -252 -60 504 3 2 3
|
||||
style 1
|
||||
decoration
|
||||
visible when(!dvarbool(wideScreen));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "loadbar"
|
||||
rect -252 -60 504 3 2 3
|
||||
style 6
|
||||
decoration
|
||||
visible when(!dvarbool(wideScreen));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 20 -60 410 2 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(!dvarbool(wideScreen));
|
||||
textalign 4
|
||||
textaligny 4
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_INTEL"
|
||||
rect -20 -60 0 2 1 3
|
||||
decoration
|
||||
visible when(!dvarbool(wideScreen));
|
||||
textalign 4
|
||||
textalignx 40
|
||||
textaligny -26
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 -60 640 3 2 3
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarbool(wideScreen));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "loadbar"
|
||||
rect -320 -60 640 3 2 3
|
||||
style 6
|
||||
decoration
|
||||
visible when(dvarbool(wideScreen));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -36 -56 484 2 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(dvarbool(wideScreen));
|
||||
textalign 4
|
||||
textalignx 80
|
||||
textaligny 4
|
||||
textscale 0.275
|
||||
textstyle 3
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_INTEL"
|
||||
rect -36 -60 0 2 1 3
|
||||
decoration
|
||||
visible when(dvarbool(wideScreen));
|
||||
textalign 4
|
||||
textalignx 80
|
||||
textaligny -26
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
textfont 9
|
||||
}
|
||||
}
|
||||
}
|
453
ui_mp/controls_multi.menu
Normal file
453
ui_mp/controls_multi.menu
Normal file
@ -0,0 +1,453 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "controls_multi"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onOpen
|
||||
{
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
open pc_options_controls;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CHAT"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 28 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "chatmodepublic"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_TEXT_CHAT"
|
||||
rect 232 28 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 48 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "chatmodeteam"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_TEXT_TEAM_CHAT"
|
||||
rect 232 48 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 68 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "mp_QuickMessage"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_QUICK_CHAT"
|
||||
rect 232 68 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 108 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "vote yes"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VOTE_YES"
|
||||
rect 232 108 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 128 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "vote no"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VOTE_NO"
|
||||
rect 232 128 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "keyBindStatus"
|
||||
rect 10 20 500 240 2 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 8
|
||||
ownerdraw 250
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
forecolor 0.65 0.65 0.65 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
314
ui_mp/createfavorite_popmenu.menu
Normal file
314
ui_mp/createfavorite_popmenu.menu
Normal file
@ -0,0 +1,314 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "createfavorite_popmenu"
|
||||
rect -150 -84 300 116 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setfocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 992 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 992 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 116 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 32 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_NEW_FAVORITE"
|
||||
rect 0 0 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fav_ip"
|
||||
text "@MENU_IP_ADDRESS"
|
||||
rect 10 40 280 20 2 2
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalignx 5
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
accept
|
||||
{
|
||||
uiScript CreateFavorite;
|
||||
close self;
|
||||
}
|
||||
dvar "ui_favoriteAddress"
|
||||
maxChars 22
|
||||
maxPaintChars 22
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "yes"
|
||||
text "@MENU_OK"
|
||||
group "mw2_popup_button"
|
||||
rect 6 76 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
uiScript CreateFavorite;
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel"
|
||||
text "@MENU_CANCEL"
|
||||
group "mw2_popup_button"
|
||||
rect 6 96 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
829
ui_mp/createserver.menu
Normal file
829
ui_mp/createserver.menu
Normal file
@ -0,0 +1,829 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "createserver"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
uiScript loadArenas;
|
||||
execNow xblive_rankedmatch 0;
|
||||
execNow xblive_privatematch 1;
|
||||
exec "exec dvar_defaults.cfg";
|
||||
}
|
||||
onClose
|
||||
{
|
||||
open main_text;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
exec xstopparty;
|
||||
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())
|
||||
{
|
||||
exec xstopprivateparty;
|
||||
exec xstartprivateparty;
|
||||
}
|
||||
setDvar xblive_privatematch 0;
|
||||
close self;
|
||||
}
|
||||
execKey "f"
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ticker_bg"
|
||||
rect -107 -30 900 16 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ticker2"
|
||||
rect -107 -30 900 16 1 1
|
||||
style 1
|
||||
decoration
|
||||
type 20
|
||||
visible 1
|
||||
textaligny 16.5
|
||||
textscale 0.26
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
background "shadow_inset"
|
||||
speed 20
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "panel_title"
|
||||
text "@MENU_GAME_SETTINGS_CAPS"
|
||||
rect -300 48 300 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 0.45
|
||||
background "gradient_center"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "panel_background"
|
||||
rect -300 68 300 66 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "hostname"
|
||||
text " "
|
||||
rect -300 74 300 18 3 1
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -52
|
||||
textaligny 16
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_rules_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
dvar "sv_hostname"
|
||||
maxChars 18
|
||||
maxPaintChars 18
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SERVER_NAME"
|
||||
rect -300 74 300 18 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 8
|
||||
textaligny 16
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maxplayers"
|
||||
text " "
|
||||
rect -300 92 300 18 3 1
|
||||
style 1
|
||||
type 9
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -52
|
||||
textaligny 16
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_rules_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
dvar "party_maxplayers"
|
||||
maxChars 2
|
||||
maxPaintChars 2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MAXIMUM_PLAYERS"
|
||||
rect -300 92 300 18 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 8
|
||||
textaligny 16
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maxping"
|
||||
text " "
|
||||
rect -300 110 300 18 3 1
|
||||
style 1
|
||||
type 9
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -52
|
||||
textaligny 16
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_rules_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
dvar "sv_maxping"
|
||||
maxChars 3
|
||||
maxPaintChars 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MAXIMUM_PING"
|
||||
rect -300 110 300 18 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 8
|
||||
textaligny 16
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 18 272 28 1 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -59
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp text "@MENU_CREATE_GAME_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_0"
|
||||
text "@MENU_START_GAME_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow;" exec xpartygo;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 67.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_1"
|
||||
text "@MENU_LOADING_MAPS"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarint(g_loadingInitialZones) != 0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
"";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_1"
|
||||
text "@MENU_CHANGE_MAP_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarint(g_loadingInitialZones) == 0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open settings_map;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_2"
|
||||
text "@MENU_CHANGE_GAME_MODE_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open settings_gametype;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MENU_CHANGE_GAME_RULES_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((dvarstring(ui_gametype) != "arena") && (dvarstring(ui_gametype) != "oneflag"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (dvarstring(ui_gametype) == "arena")
|
||||
{
|
||||
open settings_quick_arena;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "war")
|
||||
{
|
||||
open settings_quick_war;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "sd")
|
||||
{
|
||||
open settings_quick_sd;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "sab")
|
||||
{
|
||||
open settings_quick_sab;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "dm")
|
||||
{
|
||||
open settings_quick_dm;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "dom")
|
||||
{
|
||||
open settings_quick_dom;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "ctf")
|
||||
{
|
||||
open settings_quick_ctf;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "koth")
|
||||
{
|
||||
open settings_quick_koth;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "oneflag")
|
||||
{
|
||||
open settings_quick_oneflag;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "dd")
|
||||
{
|
||||
open settings_quick_dd;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "vip")
|
||||
{
|
||||
open settings_quick_vip;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "gtnw")
|
||||
{
|
||||
open settings_quick_gtnw;
|
||||
}
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MENU_CHANGE_GAME_RULES_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((dvarstring(ui_gametype) == "arena") || (dvarstring(ui_gametype) == "oneflag"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
forecolor 1 1 1 0.5
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 127.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_4"
|
||||
text "@MENU_PASSWORD_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 128 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_serverpassword;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 147.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_5"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "nattype"
|
||||
rect -64 188 336 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
type 1
|
||||
visible when(getlocalizednattype() != locstring("@NETWORK_STRICT"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
exp text (locstring("@NETWORK_YOURNATTYPE") + " ") + getlocalizednattype();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "nattype"
|
||||
rect -64 188 336 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
type 1
|
||||
visible when(getlocalizednattype() == locstring("@NETWORK_STRICT"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
exp text (locstring("@NETWORK_YOURNATTYPE") + " ^1") + getlocalizednattype();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "namehint"
|
||||
rect 0 240 212 18 1 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible when(getlocalizednattype() == locstring("@NETWORK_STRICT"));
|
||||
textalign 2
|
||||
textscale 0.2916
|
||||
exp text "@PATCH_STRICTHINT";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "preview_image"
|
||||
rect 0 -139 216 122 1 3
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.375
|
||||
exp material "preview_" + dvarstring(ui_mapname);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "preview_mapname"
|
||||
rect 0 -139 216 19 1 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.5
|
||||
exp text dvarstring(party_mapname);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "preview_gametype"
|
||||
rect 0 -36 216 19 1 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.5
|
||||
exp text dvarstring(party_gametype);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_friends"
|
||||
text "@PLATFORM_FRIENDS_CAPS"
|
||||
rect -120 -4 120 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 16
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
onFocus
|
||||
{
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_FRIENDS";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
150
ui_mp/dpad_hd.menu
Normal file
150
ui_mp/dpad_hd.menu
Normal file
@ -0,0 +1,150 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
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()));
|
||||
itemDef
|
||||
{
|
||||
rect -81 -39 32 32 10 10
|
||||
type 8
|
||||
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
|
||||
ownerdraw 171
|
||||
textalign 2
|
||||
textalignx -21
|
||||
textaligny -9
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
textfont 10
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -81 -39 32 32 10 10
|
||||
decoration
|
||||
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(1));
|
||||
textalign 1
|
||||
textaligny 35
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 1");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -61 -29 32 32 10 10
|
||||
type 8
|
||||
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
|
||||
ownerdraw 173
|
||||
textalign 2
|
||||
textalignx -21
|
||||
textaligny -9
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
textfont 10
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -61 -29 32 32 10 10
|
||||
decoration
|
||||
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(3));
|
||||
textalign 1
|
||||
textaligny 35
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 3");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -61 -61 32 32 10 10
|
||||
type 8
|
||||
visible when((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use)));
|
||||
ownerdraw 174
|
||||
textalignx -40
|
||||
textaligny -5
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
textfont 10
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -61 -61 32 32 10 10
|
||||
decoration
|
||||
visible when(((!dvarbool(gpad_enabled)) || (!dvarint(gpad_in_use))) && actionslotusable(4));
|
||||
textalign 1
|
||||
textaligny 35
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 4");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "hud_dpad_xbox360"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "hud_dpad_ps3"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68.6667 -42 42.6667 42.6667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && actionslotusable(3));
|
||||
textscale 0.55
|
||||
forecolor 1 0.9 0.5 1
|
||||
background "hud_dpad_arrow_left"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -93 -33 32 32 10 10
|
||||
type 8
|
||||
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use));
|
||||
ownerdraw 173
|
||||
textalign 2
|
||||
textalignx -21
|
||||
textaligny -3
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
textfont 10
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68.6667 -42 42.6667 42.6667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarbool(gpad_enabled) && dvarint(gpad_in_use)) && actionslotusable(4));
|
||||
textscale 0.55
|
||||
forecolor 1 0.9 0.5 1
|
||||
background "hud_dpad_arrow_right"
|
||||
exp forecolor a 0.25 + (sin(milliseconds() / 200) + 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -30 -36 32 32 10 10
|
||||
type 8
|
||||
visible when(dvarbool(gpad_enabled) && dvarint(gpad_in_use));
|
||||
ownerdraw 174
|
||||
textalignx -40
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
textfont 10
|
||||
}
|
||||
}
|
||||
}
|
540
ui_mp/filter_popmenu.menu
Normal file
540
ui_mp/filter_popmenu.menu
Normal file
@ -0,0 +1,540 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "filter_popmenu"
|
||||
rect -150 -124 236 250 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 236 250 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 236 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 190 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 236 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 236 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 25 + (3 * 75);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (166 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 236 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (166 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (166 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 25 + (3 * 75);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_FILTER_SERVERS"
|
||||
rect 0 0 236 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VIEW_EMPTY"
|
||||
rect 0 30 234 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.5
|
||||
background "menu_setting_selection_bar"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 30 234 20 2 2
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -32
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "ui_browserShowEmpty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VIEW_FULL"
|
||||
rect 0 50 234 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.5
|
||||
background "menu_setting_selection_bar"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 50 234 20 2 2
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -32
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "ui_browserShowFull"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VIEW_PASSWORD"
|
||||
rect 0 70 234 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.5
|
||||
background "menu_setting_selection_bar"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 70 234 20 2 2
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -32
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "ui_browserShowPassword"
|
||||
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_HARDCORE_PRE"
|
||||
rect 0 90 234 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.5
|
||||
background "menu_setting_selection_bar"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 90 234 20 2 2
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -32
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "ui_browserKillcam"
|
||||
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MODSWITHCOLON"
|
||||
rect 0 110 234 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.5
|
||||
background "menu_setting_selection_bar"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 110 234 20 2 2
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -32
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "ui_browserMod"
|
||||
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_DEDICATEDONLY"
|
||||
rect 0 130 234 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.5
|
||||
background "menu_setting_selection_bar"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 130 234 20 2 2
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -32
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "ui_browserFriendlyfire"
|
||||
dvarFloatList { "@MENU_ALL" -1 "@MENU_NO" 0 "@MENU_YES" 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "apply"
|
||||
text "@MENU_OK"
|
||||
group "mw2_popup_button"
|
||||
rect 0 210 234 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript UpdateFilter;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "reset"
|
||||
text "@MENU_RESET"
|
||||
group "mw2_popup_button"
|
||||
rect 0 230 234 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "exec default_filter.cfg";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
311
ui_mp/hostchangewarning.menu
Normal file
311
ui_mp/hostchangewarning.menu
Normal file
@ -0,0 +1,311 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "hostchangewarning"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setFocus yes_button;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PATCH_CHANGEHOSTTITLE"
|
||||
rect -150 -84 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_popup_button"
|
||||
rect -146 -60 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
exp text dvarstring(party_makehostquestion);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "yes_button"
|
||||
text "@MENU_YES"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -40 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
makehost;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel_button"
|
||||
text "@MENU_NO"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -20 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
184
ui_mp/hud_fullscreen.menu
Normal file
184
ui_mp/hud_fullscreen.menu
Normal file
@ -0,0 +1,184 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "hud_fullscreen"
|
||||
rect 0 0 640 480 4 4
|
||||
visible 1
|
||||
itemDef
|
||||
{
|
||||
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()));
|
||||
ownerdraw 112
|
||||
textscale 0.55
|
||||
background "splatter_alt"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(scopedthermal() && (!(spectatingclient() && dvarbool(cg_thirdPersonSpectator))));
|
||||
textscale 0.55
|
||||
forecolor 0.9 1 1 0.3
|
||||
background "ac130_overlay_grain"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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()));
|
||||
textscale 0.55
|
||||
background "ballistic_overlay"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(isempjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.9 1 1 0.3
|
||||
background "ac130_overlay_grain"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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))))));
|
||||
ownerdraw 80
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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())));
|
||||
ownerdraw 72
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -125 0 0 2 2
|
||||
decoration
|
||||
type 8
|
||||
visible when((!ui_active()) && (!spectatingclient()));
|
||||
ownerdraw 113
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "talking"
|
||||
rect 108 48 24 24 8 8
|
||||
decoration
|
||||
type 8
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "talker1"
|
||||
rect 0 136 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
ownerdraw 193
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "talker2"
|
||||
rect 0 154 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
ownerdraw 194
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "talker3"
|
||||
rect 0 172 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
ownerdraw 195
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "talker4"
|
||||
rect 0 190 18 18 8 8
|
||||
decoration
|
||||
type 8
|
||||
visible when((((!ui_active()) && (!dvarbool(g_hardcore))) && (!inkillcam())) && (!dvarint(scr_gameended)));
|
||||
ownerdraw 196
|
||||
textalignx 18
|
||||
textaligny 17
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@CGAME_FOLLOWING"
|
||||
rect -100 20 200 0 2 1
|
||||
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended)));
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -120 -35 180 5 3 1
|
||||
type 8
|
||||
visible when((((!inkillcam()) && (spectatingclient() || spectatingfree())) && (!ui_active())) && (!dvarint(scr_gameended)));
|
||||
ownerdraw 61
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 6 -60 10 10 8 10
|
||||
type 19
|
||||
visible when((!inkillcam()) && (!ui_active()));
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
forecolor 1 1 1 0.45
|
||||
gamemsgwindowmode 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -60 10 10 9 9
|
||||
type 19
|
||||
visible when((!inkillcam()) && (!ui_active()));
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
gamemsgwindowindex 1
|
||||
gamemsgwindowmode 1
|
||||
}
|
||||
}
|
||||
}
|
179
ui_mp/iw4x_credits.menu
Normal file
179
ui_mp/iw4x_credits.menu
Normal file
@ -0,0 +1,179 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "iw4x_credits"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -256 -246 512 128 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "logo_cod2"
|
||||
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "box_background"
|
||||
rect 0 -130 600 320 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.3 0.3 0.3 0.5
|
||||
background "white"
|
||||
exp rect x 0 - 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "welcome_box"
|
||||
text "IW4x"
|
||||
rect 0 -130 600 320 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textaligny -5
|
||||
textscale 1
|
||||
textfont 9
|
||||
backcolor 0 0 0 0.375
|
||||
background "white"
|
||||
exp rect x 0 - 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "DEVELOPED BY"
|
||||
rect 0 -90 500 280 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 7
|
||||
exp rect x 0 - 250;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "welcome_message"
|
||||
text "@IW4X_CREDITS"
|
||||
rect 0 -70 500 250 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 21
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 7
|
||||
exp rect x 0 - 250;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
312
ui_mp/leavelobbywarning.menu
Normal file
312
ui_mp/leavelobbywarning.menu
Normal file
@ -0,0 +1,312 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "leavelobbywarning"
|
||||
rect -150 -64 300 64 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setfocus cancel_button;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -544 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -544 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@XBOXLIVE_LEAVELOBBY"
|
||||
rect 0 0 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby()));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@XBOXLIVE_LEAVEPARTYANDLOBBY"
|
||||
rect -150 -64 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby());
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "yes_button"
|
||||
text "@MENU_YES"
|
||||
group "mw2_popup_button"
|
||||
rect 6 24 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec xstopparty;
|
||||
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())
|
||||
{
|
||||
exec xstopprivateparty;
|
||||
exec xstartprivateparty;
|
||||
}
|
||||
close menu_xboxlive_lobby;
|
||||
close menu_xboxlive_privatelobby;
|
||||
close menu_xboxlive_teams;
|
||||
exec "xblive_privatematch 0";
|
||||
open pc_join_unranked close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel_button"
|
||||
text "@MENU_NO"
|
||||
group "mw2_popup_button"
|
||||
rect 6 44 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
970
ui_mp/main_text.menu
Normal file
970
ui_mp/main_text.menu
Normal file
@ -0,0 +1,970 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "main_text"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
|
||||
uiScript checkFirstLaunch;
|
||||
setLocalVarString ui_hint_text "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
open quit_popmenu;
|
||||
}
|
||||
execKey "f"
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 304 215 288 72 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "logo_cod2"
|
||||
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ticker_bg"
|
||||
rect -107 -30 900 16 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ticker2"
|
||||
rect -107 -30 900 16 1 1
|
||||
style 1
|
||||
decoration
|
||||
type 20
|
||||
visible 1
|
||||
textaligny 16.5
|
||||
textscale 0.26
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
background "shadow_inset"
|
||||
speed 20
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 78 272 28 1 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(!dvarbool(cl_updateavailable));
|
||||
textalign 6
|
||||
textalignx -59
|
||||
textscale 0.5833
|
||||
textfont 9
|
||||
exp text "IW4x";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 58 272 28 1 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(dvarbool(cl_updateavailable));
|
||||
textalign 6
|
||||
textalignx -59
|
||||
textscale 0.5833
|
||||
textfont 9
|
||||
exp text "IW4x";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_0"
|
||||
text "@MENU_CHECK_FOR_UPDATES_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarbool(cl_updateavailable));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CHECK_FOR_UPDATES";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_CHECK_FOR_UPDATES";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript checkForUpdate;
|
||||
open auconfirm;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 88 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_updateavailable));
|
||||
align 2
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 107.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_updateavailable));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_1"
|
||||
text "@MENU_JOIN_GAME_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_JOIN_GAME";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_JOIN_GAME";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec xrequirelivesignin;
|
||||
open pc_join_unranked;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_2"
|
||||
text "@MENU_CREATE_GAME_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 128 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_GAME";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_GAME";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec xrequirelivesignin;
|
||||
setDvar systemlink 0;
|
||||
setDvar splitscreen 0;
|
||||
setDvar onlinegame 1;
|
||||
exec "exec default_xboxlive.cfg";
|
||||
setDvar party_maxplayers 18;
|
||||
setDvar xblive_privateserver 0;
|
||||
setDvar xblive_rankedmatch 0;
|
||||
exec xstartprivateparty;
|
||||
setDvar ui_mptype 0;
|
||||
exec xcheckezpatch;
|
||||
exec "exec default_xboxlive.cfg" setDvar xblive_rankedmatch 0;
|
||||
exec ui_enumeratesaved;
|
||||
setDvar xblive_privateserver 1;
|
||||
exec xstartprivatematch;
|
||||
open menu_xboxlive_privatelobby;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 147.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MENU_CREATE_A_CLASS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(!isitemunlocked("cac"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
forecolor 1 1 1 0.5
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MENU_CREATE_A_CLASS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(isitemunlocked("cac"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CREATE_A_CLASS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_CREATE_A_CLASS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open cac_popup;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 148 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((((isitemunlocked("cac") && ((getplayerdataanybooltrue("weaponNew") || getplayerdataanybooltrue("camoNew")) || getplayerdataanybooltrue("attachmentNew"))) || getplayerdataanybooltrue("perkNew")) || (((((((((getplayerdata("perkNew", "frag_grenade_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "frag_grenade_mp", 8))) || (getplayerdata("perkNew", "semtex_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "semtex_mp", 8)))) || (getplayerdata("perkNew", "c4_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "c4_mp", 8)))) || (getplayerdata("perkNew", "claymore_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "claymore_mp", 8)))) || (getplayerdata("perkNew", "throwingknife_mp") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "throwingknife_mp", 8)))) || (getplayerdata("perkNew", "specialty_tacticalinsertion") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_tacticalinsertion", 8)))) || (getplayerdata("perkNew", "specialty_blastshield") || getplayerdata("perkNew", tablelookup("mp/perkTable.csv", 1, "specialty_blastshield", 8)))) || weaponclassnew("weapon_grenade")) || weaponclassnew("weapon_equipment"))) || getplayerdata("featureNew", "cac"));
|
||||
align 2
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_4"
|
||||
text "@MENU_PLAYERCARD_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 168 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(!isitemunlocked("cac"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
forecolor 1 1 1 0.5
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@PERKS_UNLOCKED_BY_CHALLENGE";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_4"
|
||||
text "@MENU_PLAYERCARD_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 168 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(isitemunlocked("cac"));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_PLAYERCARD";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_PLAYERCARD";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_callsign;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 168 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((((((((((((getplayerdata("featureNew", "cas") || getplayerdata("featureNew", "token_1")) || getplayerdata("featureNew", "token_2")) || getplayerdata("featureNew", "token_3")) || getplayerdata("featureNew", "token_4")) || getplayerdata("featureNew", "token_5")) || getplayerdata("featureNew", "token_6")) || getplayerdata("featureNew", "token_7")) || getplayerdata("featureNew", "token_8")) || getplayerdata("featureNew", "token_9")) || getplayerdata("featureNew", "token_10")) || getplayerdata("featureNew", "token_11")) || getplayerdata("featureNew", "token_12")) || getplayerdata("featureNew", "clantag")) || (getplayerdataanybooltrue("iconNew") || getplayerdata("featureNew", "playercard_icon"))) || (getplayerdataanybooltrue("titleNew") || getplayerdata("featureNew", "playercard_title")));
|
||||
align 2
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 187.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_5"
|
||||
text "@MENU_BARRACKS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 188 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@PATCH_DESC_BARRACKS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@PATCH_DESC_BARRACKS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open menu_online_barracks;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 236 188 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((getplayerdataanybooltrue("challengeTierNew") || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "challenges")) || getplayerdata("featureNew", "prestige"));
|
||||
align 2
|
||||
exp material "specialty_new";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_6"
|
||||
text "@MENU_THEATER_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 208 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_THEATER";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_THEATER";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open pc_theater_menu;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 227.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_7"
|
||||
text "@MENU_MODS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 228 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_MODS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_MODS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open mods_menu;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_8"
|
||||
text "@MENU_OPTIONS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 248 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_OPTIONS";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_OPTIONS";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open pc_options_video;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 267.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_9"
|
||||
text "@MENU_SP_CREDITS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 268 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open iw4x_credits;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_10"
|
||||
text "@MENU_VISIT_WEBSITE_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 288 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@NULL_EMPTY";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript visitWebsite;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 307.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_11"
|
||||
text "@MENU_MAIN_MENU_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 308 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MENU_SP_DESC_SINGLEPLAYER";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MENU_SP_DESC_SINGLEPLAYER";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open single_popmenu;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_12"
|
||||
text "@MENU_QUIT_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 328 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_QUIT";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "@MPUI_DESC_QUIT";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open quit_popmenu;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_friends"
|
||||
text "@PLATFORM_FRIENDS_CAPS"
|
||||
rect -250 -4 120 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 16
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
onFocus
|
||||
{
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_FRIENDS";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_changelog"
|
||||
text "@MENU_CHANGELOG_CAPS"
|
||||
rect -120 -4 120 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 16
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_CHANGELOG";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open changelog;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "hint_area"
|
||||
rect 0 380 215 18 1 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text localvarstring("ui_hint_text");
|
||||
}
|
||||
}
|
||||
}
|
227
ui_mp/menu_first_launch.menu
Normal file
227
ui_mp/menu_first_launch.menu
Normal file
@ -0,0 +1,227 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "menu_first_launch"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_opening"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onESC
|
||||
{
|
||||
open quit_popmenu;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_sp_image"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -256 -220 512 128 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "logo_cod2"
|
||||
exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "box_background"
|
||||
rect 0 -100 600 220 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.3 0.3 0.3 0.5
|
||||
background "white"
|
||||
exp rect x 0 - 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "welcome_box"
|
||||
text "Welcome to IW4x"
|
||||
rect 0 -100 600 220 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textaligny 5
|
||||
textscale 0.45
|
||||
textfont 9
|
||||
backcolor 0 0 0 0.375
|
||||
background "white"
|
||||
exp rect x 0 - 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "welcome_message"
|
||||
text "Thank you for participating in the IW4x Beta!\n\nThis mod is in Beta, and will be so for some time. This means you will experience bugs, unfinished features, problematic design decision, and many more things that disrupt your game experience. We will be working with the community to fix these, to help us please visit ^2xlabs.dev ^7for development information.\n\nAbove all, please remember this mod is not finished, and is a work in progress."
|
||||
rect 0 -60 500 180 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 7
|
||||
exp rect x 0 - 250;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "website"
|
||||
text "WEBSITE"
|
||||
rect -300 326 106.667 20 2 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
disablecolor 0.55 0.55 0.55 1
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript visitWebsite;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ok"
|
||||
text "I UNDERSTAND"
|
||||
rect -70 326 146.667 20 2 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
disablecolor 0.55 0.55 0.55 1
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar g_firstLaunch 0;
|
||||
open popup_playername;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "quit"
|
||||
text "@MENU_QUIT_CAPS"
|
||||
rect -70 400 146.667 20 2 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
disablecolor 0.55 0.55 0.55 1
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open quit_popmenu;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1313
ui_mp/menu_online_barracks.menu
Normal file
1313
ui_mp/menu_online_barracks.menu
Normal file
File diff suppressed because it is too large
Load Diff
1748
ui_mp/menu_xboxlive_lobby.menu
Normal file
1748
ui_mp/menu_xboxlive_lobby.menu
Normal file
File diff suppressed because it is too large
Load Diff
12
ui_mp/menu_xboxlive_privatelobby.menu
Normal file
12
ui_mp/menu_xboxlive_privatelobby.menu
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "menu_xboxlive_privatelobby"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
onOpen
|
||||
{
|
||||
open createserver;
|
||||
}
|
||||
}
|
||||
}
|
156
ui_mp/minimap_fullscreen.menu
Normal file
156
ui_mp/minimap_fullscreen.menu
Normal file
@ -0,0 +1,156 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "minimap_fullscreen"
|
||||
rect 3 3 0 0 8 8
|
||||
hiddenDuringScope
|
||||
hiddenDuringFlashbang
|
||||
visible 1
|
||||
itemDef
|
||||
{
|
||||
name "minimap_border"
|
||||
rect 3 3 100 100 8 8
|
||||
border 1
|
||||
borderSize 0.666667
|
||||
visible 1
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 3 3 100 100 8 8
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_map"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 159
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_friendlies"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 158
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_objectives"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 152
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_enemies"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 175
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_vehicles"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 155
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_planes"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 156
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_sentries"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 165
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_player"
|
||||
rect 3 3 100 100 8 8
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 150
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 3 3 100 100 8 8
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 3 3 100 100 8 8
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 3 3 100 100 8 8
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 3 3 100 100 8 8
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y -100 + (200 * (1 - ((milliseconds() % 4000) / 4000)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 3 3 100 100 8 8
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
}
|
||||
}
|
||||
}
|
320
ui_mp/mod_download_popmenu.menu
Normal file
320
ui_mp/mod_download_popmenu.menu
Normal file
@ -0,0 +1,320 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "mod_download_popmenu"
|
||||
rect -150 -84 300 116 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
uiScript mod_download_cancel;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 992 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 992 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 116 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 32 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -63 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_DOWNLOADING"
|
||||
rect 0 0 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@EXE_EST_TIME_LEFT"
|
||||
rect 0 45 300 20 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 10
|
||||
textscale 0.4
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "est_time_left"
|
||||
rect 0 45 300 20 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -10
|
||||
textscale 0.4
|
||||
exp text dvarstring(ui_dl_timeLeft);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@EXE_TRANS_RATE"
|
||||
rect 0 65 300 20 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 10
|
||||
textscale 0.4
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "trans_rate"
|
||||
rect 0 65 300 20 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -10
|
||||
textscale 0.4
|
||||
exp text dvarstring(ui_dl_transRate);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@EXE_PROGRESS"
|
||||
rect 0 85 300 20 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 10
|
||||
textscale 0.4
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "progress"
|
||||
rect 0 85 300 20 2 2
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -10
|
||||
textscale 0.4
|
||||
exp text dvarstring(ui_dl_progress);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel"
|
||||
text "@MENU_CANCEL"
|
||||
group "mw2_popup_button"
|
||||
rect 6 96 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
407
ui_mp/mods_menu.menu
Normal file
407
ui_mp/mods_menu.menu
Normal file
@ -0,0 +1,407 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "mods_menu"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
uiScript LoadMods;
|
||||
setFocus modlist;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MODS_CAPS"
|
||||
rect 0 4 210 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp rect x -80;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 28 640 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.15
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 384 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -292 28 292 356 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.7
|
||||
background "black"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "image"
|
||||
rect -282 50 272 127 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarstring("ui_info_icon") != "");
|
||||
textscale 0.55
|
||||
exp material localvarstring("ui_info_icon");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "longname"
|
||||
rect -282 28 272 22 3 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@" + localvarstring("ui_info_name");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "description"
|
||||
rect -282 180 272 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text "@" + localvarstring("ui_info_desc");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "modlist"
|
||||
rect 0 28 210 356 1 1
|
||||
style 1
|
||||
type 6
|
||||
visible 1
|
||||
textalignx 6
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.5
|
||||
outlinecolor 0 0 0 0.6
|
||||
execKeyInt 13
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript RunMod;
|
||||
}
|
||||
elementwidth 120
|
||||
elementheight 22
|
||||
feeder 9
|
||||
columns 1
|
||||
8 120 25 0
|
||||
doubleclick
|
||||
{
|
||||
uiScript RunMod;
|
||||
}
|
||||
selectBorder 0.8 0.95 1 0
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "loadMod"
|
||||
text "@MENU_LAUNCH"
|
||||
group "mw2_button"
|
||||
rect -292 -48 292 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarstring(fs_game) == "");
|
||||
textalign 6
|
||||
textalignx -40
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript RunMod;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "loadMod"
|
||||
text "@MENU_LAUNCH"
|
||||
group "mw2_button"
|
||||
rect -292 -68 292 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarstring(fs_game) != "");
|
||||
textalign 6
|
||||
textalignx -40
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript RunMod;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "unloadMod"
|
||||
text "@MENU_LAUNCH_WITHOUT_MODS"
|
||||
group "mw2_button"
|
||||
rect -292 -48 292 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarstring(fs_game) != "");
|
||||
textalign 6
|
||||
textalignx -40
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ClearMods;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
251
ui_mp/onlineupdate.menu
Normal file
251
ui_mp/onlineupdate.menu
Normal file
@ -0,0 +1,251 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "onlineupdate"
|
||||
rect -150 -44 300 44 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -524 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -524 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 44 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (1 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (1 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (1 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -63 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (1 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 6 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp text dvarstring(popupText);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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));
|
||||
textalign 5
|
||||
textaligny 10
|
||||
textscale 0.375
|
||||
exp text ".";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
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));
|
||||
textalign 5
|
||||
textaligny 10
|
||||
textscale 0.375
|
||||
exp text "..";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 10 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75);
|
||||
textalign 5
|
||||
textaligny 10
|
||||
textscale 0.375
|
||||
exp text "...";
|
||||
}
|
||||
}
|
||||
}
|
65
ui_mp/patch_mp_menus.txt
Normal file
65
ui_mp/patch_mp_menus.txt
Normal file
@ -0,0 +1,65 @@
|
||||
{
|
||||
loadMenu { "ui_mp/player_popup_party.menu" }
|
||||
loadMenu { "ui_mp/player_popup_publiclobby.menu" }
|
||||
loadMenu { "ui_mp/player_popup_privatematch.menu" }
|
||||
loadMenu { "ui_mp/hostchangewarning.menu" }
|
||||
loadMenu { "ui_mp/youarehost.menu" }
|
||||
loadMenu { "ui_mp/popup_serverpassword.menu" }
|
||||
loadMenu { "ui_mp/popup_joinpassword.menu" }
|
||||
loadMenu { "ui_mp/settings_map.menu" }
|
||||
loadMenu { "ui_mp/settings_bonus_map.menu" }
|
||||
loadMenu { "ui_mp/auconfirm.menu" }
|
||||
loadMenu { "ui_mp/cac_popup.menu" }
|
||||
loadMenu { "ui_mp/changelog.menu" }
|
||||
loadMenu { "ui_mp/connect.menu" }
|
||||
loadMenu { "ui_mp/controls_multi.menu" }
|
||||
loadMenu { "ui_mp/createfavorite_popmenu.menu" }
|
||||
loadMenu { "ui_mp/createserver.menu" }
|
||||
loadMenu { "ui_mp/dpad_hd.menu" }
|
||||
loadMenu { "ui_mp/filter_popmenu.menu" }
|
||||
loadMenu { "ui_mp/hud_fullscreen.menu" }
|
||||
loadMenu { "ui_mp/iw4x_credits.menu" }
|
||||
loadMenu { "ui_mp/leavelobbywarning.menu" }
|
||||
loadMenu { "ui_mp/main_text.menu" }
|
||||
loadMenu { "ui_mp/menu_first_launch.menu" }
|
||||
loadMenu { "ui_mp/menu_online_barracks.menu" }
|
||||
loadMenu { "ui_mp/menu_xboxlive_lobby.menu" }
|
||||
loadMenu { "ui_mp/menu_xboxlive_privatelobby.menu" }
|
||||
loadMenu { "ui_mp/minimap_fullscreen.menu" }
|
||||
loadMenu { "ui_mp/mods_menu.menu" }
|
||||
loadMenu { "ui_mp/mod_download_popmenu.menu" }
|
||||
loadMenu { "ui_mp/onlineupdate.menu" }
|
||||
loadMenu { "ui_mp/pc_join_unranked.menu" }
|
||||
loadMenu { "ui_mp/pc_options_actions.menu" }
|
||||
loadMenu { "ui_mp/pc_options_advanced_video.menu" }
|
||||
loadMenu { "ui_mp/pc_options_audio.menu" }
|
||||
loadMenu { "ui_mp/pc_options_controls.menu" }
|
||||
loadMenu { "ui_mp/pc_options_game.menu" }
|
||||
loadMenu { "ui_mp/pc_options_gamepad.menu" }
|
||||
loadMenu { "ui_mp/pc_options_look.menu" }
|
||||
loadMenu { "ui_mp/pc_options_movement.menu" }
|
||||
loadMenu { "ui_mp/pc_options_multi.menu" }
|
||||
loadMenu { "ui_mp/pc_options_video.menu" }
|
||||
loadMenu { "ui_mp/playerdataread.menu" }
|
||||
loadMenu { "ui_mp/popup_cac_assault_primary.menu" }
|
||||
loadMenu { "ui_mp/popup_cac_handgun_secondary.menu" }
|
||||
loadMenu { "ui_mp/popup_cac_primary_camo.menu" }
|
||||
loadMenu { "ui_mp/popup_cac_smg_primary.menu" }
|
||||
loadMenu { "ui_mp/popup_cac_sniper_primary.menu" }
|
||||
loadMenu { "ui_mp/popup_cac_weapon_primary.menu" }
|
||||
loadMenu { "ui_mp/popup_customclan.menu" }
|
||||
loadMenu { "ui_mp/popup_customtitle.menu" }
|
||||
loadMenu { "ui_mp/popup_friends.menu" }
|
||||
loadMenu { "ui_mp/popup_gamesetup.menu" }
|
||||
loadMenu { "ui_mp/popup_playername.menu" }
|
||||
loadMenu { "ui_mp/popup_ready.menu" }
|
||||
loadMenu { "ui_mp/quickmessage.menu" }
|
||||
loadMenu { "ui_mp/resetclass.menu" }
|
||||
loadMenu { "ui_mp/security_increase_popmenu.menu" }
|
||||
loadMenu { "ui_mp/serverinfo_popmenu.menu" }
|
||||
loadMenu { "ui_mp/settings_gametype.menu" }
|
||||
loadMenu { "ui_mp/startup_messages.menu" }
|
||||
loadMenu { "ui_mp/stats_reset.menu" }
|
||||
loadMenu { "ui_mp/stats_unlock.menu" }
|
||||
loadMenu { "ui_mp/pc_theater_menu.menu" }
|
||||
}
|
889
ui_mp/pc_join_unranked.menu
Normal file
889
ui_mp/pc_join_unranked.menu
Normal file
@ -0,0 +1,889 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_join_unranked"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
exec "selectStringTableEntryInDvar mp/didyouknow.csv 0 didyouknow";
|
||||
uiScript LoadArenas;
|
||||
uiScript UpdateFilter;
|
||||
uiScript RefreshServers;
|
||||
setFocus serverlist;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
execKeyInt 13
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript JoinServer;
|
||||
}
|
||||
execKeyInt 171
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript RefreshServers;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "sourcefield"
|
||||
rect 100 -33 144 18 1 1
|
||||
style 1
|
||||
visible 1
|
||||
ownerdraw 220
|
||||
textalignx 10
|
||||
textaligny 16
|
||||
textscale 0.3
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "gametype"
|
||||
text "@MENU_GAME_TYPE"
|
||||
rect 100 -15 144 18 1 1
|
||||
style 1
|
||||
visible 1
|
||||
ownerdraw 253
|
||||
textalignx 10
|
||||
textaligny 16
|
||||
textscale 0.3
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "filterServers"
|
||||
text "@MENU_FILTER_SERVERS"
|
||||
rect 100 3 144 18 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 10
|
||||
textaligny 16
|
||||
textscale 0.3
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open filter_popmenu;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "refreshSource"
|
||||
text "@PLATFORM_REFRESH_LIST"
|
||||
rect 304 -33 144 18 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 10
|
||||
textaligny 16
|
||||
textscale 0.3
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript RefreshServers;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "refreshFilter"
|
||||
text "@MENU_QUICK_REFRESH"
|
||||
rect 304 -15 144 18 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 10
|
||||
textaligny 16
|
||||
textscale 0.3
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript RefreshFilter;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "createFavorite2"
|
||||
text "@MENU_NEW_FAVORITE"
|
||||
rect 304 3 144 18 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarint(ui_netSource) != 1);
|
||||
disabled when(dvarint(ui_netSource) != 2);
|
||||
textalignx 10
|
||||
textaligny 16
|
||||
textscale 0.3
|
||||
textfont 3
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open createfavorite_popmenu;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "refreshDate"
|
||||
rect -44 -13 100 18 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 8
|
||||
textscale 0.25
|
||||
textfont 3
|
||||
exp text "@MPUI_SERVERQUERIED";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mapimageFrame"
|
||||
rect 539 9 93 62 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen));
|
||||
backcolor 0 0 0 0.5
|
||||
background "black"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mapimage"
|
||||
rect 540 10 91 60 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(ui_serverSelected) && dvarbool(wideScreen));
|
||||
background "black"
|
||||
exp material "preview_" + dvarstring(ui_serverSelectedMap);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
rect 0 42 698 338 4 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.15
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 10 698 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 380 698 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineMatchtype"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineAimAssist"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineVoiceChat"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineServer"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineMap"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "linePlayers"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineType"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "lineMod"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "linePing"
|
||||
group "grpCoulmnSep"
|
||||
rect -2 -2 1 338 0 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0.2
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "serverlist"
|
||||
rect 0 58 690 321 0 1
|
||||
style 1
|
||||
type 6
|
||||
visible 1
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
outlinecolor 0 0 0 0.6
|
||||
elementwidth 120
|
||||
elementheight 16
|
||||
feeder 2
|
||||
columns 10
|
||||
6 16 10 1
|
||||
30 16 10 1
|
||||
52 16 10 1
|
||||
74 16 10 1
|
||||
99 208 38 0
|
||||
309 70 25 0
|
||||
381 50 10 0
|
||||
433 102 22 0
|
||||
537 100 20 0
|
||||
639 40 20 0
|
||||
doubleclick
|
||||
{
|
||||
uiScript JoinServer;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "password"
|
||||
group "grpTabs"
|
||||
rect 5 44 30 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
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 matchtypeicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "passwordicon"
|
||||
rect 2 2 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "cardicon_locked"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "matchtype"
|
||||
group "grpTabs"
|
||||
rect 32 44 20 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
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 passwordicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "matchtypeicon"
|
||||
rect 0 2 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "server_hardware_header"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "aimassist"
|
||||
group "grpTabs"
|
||||
rect 54 44 20 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
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 passwordicon foreColor 1 1 1 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
setItemColor voicechaticon foreColor 1 1 1 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "aimassisticon"
|
||||
rect 0 2 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "cardicon_headshot"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "voicechat"
|
||||
group "grpTabs"
|
||||
rect 76 44 20 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
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 passwordicon foreColor 1 1 1 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
setItemColor aimassisticon foreColor 1 1 1 1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "voicechaticon"
|
||||
rect 0 2 16 16 0 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "talkingicon"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "server"
|
||||
text "@MENU_SERVER_NAME"
|
||||
group "grpTabs"
|
||||
rect 98 44 208 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 2
|
||||
textaligny 16
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 4;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "map"
|
||||
text "@MENU_MAP_NAME"
|
||||
group "grpTabs"
|
||||
rect 308 44 70 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 2
|
||||
textaligny 16
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 5;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "players"
|
||||
text "@MENU_NUMPLAYERS"
|
||||
group "grpTabs"
|
||||
rect 380 44 50 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 2
|
||||
textaligny 16
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 6;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "type"
|
||||
text "@MENU_GAME_TYPE"
|
||||
group "grpTabs"
|
||||
rect 432 44 102 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 2
|
||||
textaligny 16
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 7;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
text "@MPUI_MOD"
|
||||
group "grpTabs"
|
||||
rect 536 44 100 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 2
|
||||
textaligny 16
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 8;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ping"
|
||||
text "@MENU_PING"
|
||||
group "grpTabs"
|
||||
rect 638 44 40 16 0 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalignx 2
|
||||
textaligny 16
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerSort 9;
|
||||
setItemColor grpTabs foreColor 1 "0.8" "0.4" 1;
|
||||
setItemColor matchtypeicon foreColor 1 1 1 1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_JOIN_SERVER_CAPS"
|
||||
rect -50 -35 146 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 8
|
||||
textalignx 5
|
||||
textscale 0.45
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
rect -310 -10 100 20 2 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 9
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "addFavorite"
|
||||
text "@MENU_ADD_TO_FAVORITES_CAPS"
|
||||
rect -194 -10 140 20 2 3
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarint(ui_netSource) != 2);
|
||||
textalign 9
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript CreateListFavorite;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "delFavorite"
|
||||
text "@MENU_DEL_FAVORITE_CAPS"
|
||||
rect -194 -10 140 20 2 3
|
||||
style 1
|
||||
type 1
|
||||
visible when(dvarint(ui_netSource) == 2);
|
||||
textalign 9
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript DeleteFavorite;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "passwordenter"
|
||||
text "@MENU_PASSWORD_CAPS"
|
||||
rect -34 -10 100 20 2 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 9
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_joinpassword;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "serverinfo"
|
||||
text "@MENU_SERVER_INFO_CAPS"
|
||||
rect 86 -10 100 20 2 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 9
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open serverinfo_popmenu;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "joinserver"
|
||||
text "@MENU_JOIN_SERVER_CAPS"
|
||||
rect 206 -10 100 20 2 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 9
|
||||
textscale 0.275
|
||||
textfont 9
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript JoinServer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1022
ui_mp/pc_options_actions.menu
Normal file
1022
ui_mp/pc_options_actions.menu
Normal file
File diff suppressed because it is too large
Load Diff
1004
ui_mp/pc_options_advanced_video.menu
Normal file
1004
ui_mp/pc_options_advanced_video.menu
Normal file
File diff suppressed because it is too large
Load Diff
909
ui_mp/pc_options_audio.menu
Normal file
909
ui_mp/pc_options_audio.menu
Normal file
@ -0,0 +1,909 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_options_audio"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onOpen
|
||||
{
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
if (!localvarint("ui_showAudioApply"))
|
||||
{
|
||||
exec "setfromdvar ui_snd_khz snd_khz";
|
||||
exec "setfromdvar ui_snd_enableEq snd_enableEq";
|
||||
exec "setfromdvar ui_outputConfig snd_outputConfiguration";
|
||||
}
|
||||
execnow "profile_menuDvarsSetup; resetViewport";
|
||||
setFocus buttonAudio;
|
||||
}
|
||||
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")))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_OPTIONS_CAPS"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonVideo"
|
||||
text "@MENU_VIDEO"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_video;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonAudio"
|
||||
text "@MENU_AUDIO"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_audio;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonControls"
|
||||
text "@MENU_CONTROLS"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_controls;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonMulti"
|
||||
text "@MENU_MULTIPLAYER"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_multi;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonGame"
|
||||
text "@MENU_GAME"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_game;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonGamepad"
|
||||
text "@MENU_GAMEPAD"
|
||||
group "mw2_button"
|
||||
rect -64 128 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_gamepad;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 147.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonDefaults"
|
||||
text "@MENU_RESET_SYSTEM_DEFAULTS"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open options_graphics_defaults;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "graphic_warning"
|
||||
text "@MENU_GRAPHICS_WARNING"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "brightness_hint"
|
||||
text "@MENU_BRIGHTNESS_HINT_PC"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "hint_area"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
exp text localvarstring("ui_hint_text");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
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")))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_AUDIO"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 28 336 20 1 1
|
||||
style 1
|
||||
type 10
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textaligny 2
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvarFloat "snd_volume" 0 0 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MASTER_VOLUME"
|
||||
rect 232 28 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 422 28 344 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -190
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
exp text dvarstring(snd_volume);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 48 336 20 1 1
|
||||
style 1
|
||||
type 12
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
setLocalVarString ui_hint_text "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
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" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SPEAKER_CONFIG"
|
||||
rect 232 48 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 226 68 -392 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "line_horizontal"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 68 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
"@MPUI_DESC_ENABLE_VOICE_CHAT";
|
||||
}
|
||||
dvar "cl_voice"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_ENABLE_VOICE_CHAT"
|
||||
rect 232 68 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 88 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+talk"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VOICE_CHAT_BUTTON"
|
||||
rect 232 88 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
}
|
||||
}
|
899
ui_mp/pc_options_controls.menu
Normal file
899
ui_mp/pc_options_controls.menu
Normal file
@ -0,0 +1,899 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_options_controls"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onOpen
|
||||
{
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_game;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
execnow "profile_menuDvarsSetup; resetViewport";
|
||||
setFocus buttonControls;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
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")))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_OPTIONS_CAPS"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonVideo"
|
||||
text "@MENU_VIDEO"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_video;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonAudio"
|
||||
text "@MENU_AUDIO"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_audio;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonControls"
|
||||
text "@MENU_CONTROLS"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_controls;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonMulti"
|
||||
text "@MENU_MULTIPLAYER"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_multi;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonGame"
|
||||
text "@MENU_GAME"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_game;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonGamepad"
|
||||
text "@MENU_GAMEPAD"
|
||||
group "mw2_button"
|
||||
rect -64 128 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_gamepad;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 147.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonDefaults"
|
||||
text "@MENU_RESET_SYSTEM_DEFAULTS"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open options_graphics_defaults;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "graphic_warning"
|
||||
text "@MENU_GRAPHICS_WARNING"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "brightness_hint"
|
||||
text "@MENU_BRIGHTNESS_HINT_PC"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "hint_area"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
exp text localvarstring("ui_hint_text");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
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")))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CONTROLS"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonMovement"
|
||||
text "@MENU_MOVEMENT"
|
||||
group "mw2_button"
|
||||
rect 302 28 225 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open pc_options_movement;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonActions"
|
||||
text "@MENU_ACTIONS"
|
||||
group "mw2_button"
|
||||
rect 302 48 225 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open pc_options_actions;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonLook"
|
||||
text "@MENU_LOOK"
|
||||
group "mw2_button"
|
||||
rect 302 68 225 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open pc_options_look;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonChat"
|
||||
text "@MENU_CHAT"
|
||||
group "mw2_button"
|
||||
rect 302 88 225 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open controls_multi;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 226 108 -392 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "line_horizontal"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_RESTORE_DEFAULT_CONTROLS"
|
||||
rect 302 108 225 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open options_control_defaults;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
986
ui_mp/pc_options_game.menu
Normal file
986
ui_mp/pc_options_game.menu
Normal file
@ -0,0 +1,986 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_options_game"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onOpen
|
||||
{
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
exec "setfromdvar ui_name name";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
execnow "profile_menuDvarsSetup; resetViewport";
|
||||
setFocus buttonGame;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
ON_MENU_CLOSE;
|
||||
}
|
||||
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")))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_OPTIONS_CAPS"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonVideo"
|
||||
text "@MENU_VIDEO"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_video;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonAudio"
|
||||
text "@MENU_AUDIO"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_audio;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonControls"
|
||||
text "@MENU_CONTROLS"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_controls;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonMulti"
|
||||
text "@MENU_MULTIPLAYER"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_multi;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonGame"
|
||||
text "@MENU_GAME"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_game;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonGamepad"
|
||||
text "@MENU_GAMEPAD"
|
||||
group "mw2_button"
|
||||
rect -64 128 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_gamepad;
|
||||
close pc_options_look;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
open pc_options_gamepad;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 147.5 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "buttonDefaults"
|
||||
text "@MENU_RESET_SYSTEM_DEFAULTS"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby());
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarFloat ui_popupYPos getfocuseditemy();
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open options_graphics_defaults;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "graphic_warning"
|
||||
text "@MENU_GRAPHICS_WARNING"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video"));
|
||||
textscale 0.375
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "brightness_hint"
|
||||
text "@MENU_BRIGHTNESS_HINT_PC"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display")));
|
||||
textscale 0.375
|
||||
forecolor 1 0.8 0.4 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "hint_area"
|
||||
rect 10 -160 206 240 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(localvarbool("ui_hint_display"));
|
||||
textscale 0.375
|
||||
exp text localvarstring("ui_hint_text");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
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")))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
execnow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_GAME"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 28 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "cg_blood"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SHOW_BLOOD"
|
||||
rect 232 28 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 48 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_NEWCOLORS";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "cg_newColors"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_NEWCOLORS"
|
||||
rect 232 48 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 226 68 -392 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "line_horizontal"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 68 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_AUTORECORD";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "cl_autoRecord"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_AUTORECORD"
|
||||
rect 232 68 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text " "
|
||||
rect 232 88 336 20 1 1
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 160
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
setLocalVarString ui_hint_text "@MPUI_DESC_DEMOS_KEEP";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "cl_demosKeep"
|
||||
maxChars 3
|
||||
maxPaintChars 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_DEMOS_KEEP"
|
||||
rect 232 88 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 108 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "r_colorBlindTeams"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_COLORBLIND_MODE"
|
||||
rect 232 108 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
}
|
||||
}
|
1200
ui_mp/pc_options_gamepad.menu
Normal file
1200
ui_mp/pc_options_gamepad.menu
Normal file
File diff suppressed because it is too large
Load Diff
649
ui_mp/pc_options_look.menu
Normal file
649
ui_mp/pc_options_look.menu
Normal file
@ -0,0 +1,649 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_options_look"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onOpen
|
||||
{
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_movement;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
open pc_options_controls;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_LOOK"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 422 28 344 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -190
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
exp text dvarstring(sensitivity);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 28 336 20 1 1
|
||||
style 1
|
||||
type 10
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textaligny 2
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvarFloat "sensitivity" 5 0.1 10
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MOUSE_SENSITIVITY"
|
||||
rect 232 28 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 422 28 344 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -190
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
exp text dvarstring(sensitivity);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 48 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript updateui_mousePitch;
|
||||
}
|
||||
dvar "ui_mousePitch"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_INVERT_MOUSE"
|
||||
rect 232 48 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 226 68 -392 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "line_horizontal"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 68 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "m_filter"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SMOOTH_MOUSE"
|
||||
rect 232 68 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 88 336 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible 1
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_hint_display 1;
|
||||
if (menuisopen("pc_options_video"))
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
}
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
setLocalVarBool ui_brightness_hint_display 0;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "cl_freelook"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_FREE_LOOK"
|
||||
rect 232 88 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 108 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+lookup"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_LOOK_UP"
|
||||
rect 232 108 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 128 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+lookdown"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_LOOK_DOWN"
|
||||
rect 232 128 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 148 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+mlook"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_HOLD_MOUSE_LOOK"
|
||||
rect 232 148 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 168 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "centerview"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CENTER_VIEW"
|
||||
rect 232 168 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "keyBindStatus"
|
||||
rect 10 20 500 240 2 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 8
|
||||
ownerdraw 250
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
forecolor 0.65 0.65 0.65 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
969
ui_mp/pc_options_movement.menu
Normal file
969
ui_mp/pc_options_movement.menu
Normal file
@ -0,0 +1,969 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_options_movement"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onOpen
|
||||
{
|
||||
close controls_multi;
|
||||
close main_controls;
|
||||
close main_options;
|
||||
close options_control_defaults;
|
||||
close options_graphics;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_multi;
|
||||
close options_voice;
|
||||
close pc_options_actions;
|
||||
close pc_options_advanced_video;
|
||||
close pc_options_audio;
|
||||
close pc_options_controls;
|
||||
close pc_options_game;
|
||||
close pc_options_look;
|
||||
close pc_options_multi;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_hint_display 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
open pc_options_controls;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MOVEMENT"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 28 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+forward"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_FORWARD"
|
||||
rect 232 28 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 48 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+back"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MOVE_BACK"
|
||||
rect 232 48 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 68 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+moveleft"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MOVE_LEFT"
|
||||
rect 232 68 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 88 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+moveright"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MOVE_RIGHT"
|
||||
rect 232 88 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 108 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+gostand"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_STANDJUMP"
|
||||
rect 232 108 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 128 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "togglecrouch"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CROUCH"
|
||||
rect 232 128 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 148 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "toggleprone"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_PRONE"
|
||||
rect 232 148 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 168 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+breath_sprint"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SPRINT_HOLD_BREATH"
|
||||
rect 232 168 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 226 188 -392 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "line_horizontal"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 188 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+movedown"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_HOLD_DOWN_CROUCH"
|
||||
rect 232 188 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 208 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+prone"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_HOLD_DOWN_PRONE"
|
||||
rect 232 208 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 228 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+stance"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CHANGE_STANCE"
|
||||
rect 232 228 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 248 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+sprint"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SPRINT"
|
||||
rect 232 248 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 268 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+holdbreath"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_HOLD_BREATH"
|
||||
rect 232 268 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 288 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+left"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_TURN_LEFT"
|
||||
rect 232 288 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 308 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_TURN_RIGHT"
|
||||
rect 232 308 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 232 328 336 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 170
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
hide keyBindStatus;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
dvar "+strafe"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_STRAFE"
|
||||
rect 232 328 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "keyBindStatus"
|
||||
rect 10 20 500 240 2 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 8
|
||||
ownerdraw 250
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
forecolor 0.65 0.65 0.65 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1153
ui_mp/pc_options_multi.menu
Normal file
1153
ui_mp/pc_options_multi.menu
Normal file
File diff suppressed because it is too large
Load Diff
1264
ui_mp/pc_options_video.menu
Normal file
1264
ui_mp/pc_options_video.menu
Normal file
File diff suppressed because it is too large
Load Diff
461
ui_mp/pc_theater_menu.menu
Normal file
461
ui_mp/pc_theater_menu.menu
Normal file
@ -0,0 +1,461 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_theater_menu"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
uiScript LoadArenas;
|
||||
uiScript loadDemos;
|
||||
setFoucs demoList;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_THEATER_CAPS"
|
||||
rect 0 4 260 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp rect x -90;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 28 640 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.15
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 384 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -242 28 242 356 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.7
|
||||
background "black"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "image"
|
||||
rect -232 50 222 127 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarstring(ui_demo_mapname) != "");
|
||||
textscale 0.55
|
||||
exp material "preview_" + dvarstring(ui_demo_mapname);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "image"
|
||||
rect -232 50 222 127 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarstring(ui_demo_mapname) == "");
|
||||
textscale 0.55
|
||||
exp material "loadscreen_mp_bonusmaps";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mapname"
|
||||
rect -232 28 222 22 3 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text dvarstring(ui_demo_mapname_localized);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "gametype"
|
||||
rect -232 180 222 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text dvarstring(ui_demo_gametype);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "author_label"
|
||||
text "@MPUI_DEMO_AUTHOR"
|
||||
rect -232 200 222 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "author"
|
||||
rect -232 200 222 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text " " + dvarstring(ui_demo_author);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "length_label"
|
||||
text "@MPUI_DEMO_LENGTH"
|
||||
rect -232 220 222 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "length"
|
||||
rect -232 220 222 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text " " + dvarstring(ui_demo_length);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "date_label"
|
||||
text "@MPUI_DEMO_DATE"
|
||||
rect -232 240 222 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "date"
|
||||
rect -232 240 222 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text " " + dvarstring(ui_demo_date);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "play"
|
||||
text "@MENU_PLAY"
|
||||
group "mw2_button"
|
||||
rect -242 -68 242 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -30
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript launchDemo;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "delete"
|
||||
text "@MENU_DELETE"
|
||||
group "mw2_button"
|
||||
rect -242 -48 242 20 3 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -30
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
backcolor 0.6 0.55 0.55 0.2
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor "0.6" "0.55" "0.55" "0.2";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript deleteDemo;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "demoList"
|
||||
rect 0 28 260 356 1 1
|
||||
style 1
|
||||
type 6
|
||||
visible 1
|
||||
textalignx 6
|
||||
textscale 0.3
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.5
|
||||
outlinecolor 0 0 0 0.6
|
||||
execKeyInt 13
|
||||
{
|
||||
uiScript launchDemo;
|
||||
}
|
||||
elementwidth 260
|
||||
elementheight 16
|
||||
feeder 10
|
||||
columns 1
|
||||
8 260 80 0
|
||||
doubleclick
|
||||
{
|
||||
uiScript launchDemo;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
281
ui_mp/player_popup_party.menu
Normal file
281
ui_mp/player_popup_party.menu
Normal file
@ -0,0 +1,281 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "player_popup_party"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_PLAYER_OPTIONS"
|
||||
rect -150 -84 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "player_mute"
|
||||
text "@XBOXLIVE_PLAYER_MUTE"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -40 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible)));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
togglePlayerMute;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "player_kick"
|
||||
text "@XBOXLIVE_KICK"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -20 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(((!privatepartyhost()) || (!dvarbool(party_playervisible))) || dvarbool(party_iamselected));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
getKickPlayerQuestion;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
281
ui_mp/player_popup_privatematch.menu
Normal file
281
ui_mp/player_popup_privatematch.menu
Normal file
@ -0,0 +1,281 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "player_popup_privatematch"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_PLAYER_OPTIONS"
|
||||
rect -150 -84 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "player_mute"
|
||||
text "@XBOXLIVE_PLAYER_MUTE"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -40 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible)));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
togglePlayerMute;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "player_kick"
|
||||
text "@XBOXLIVE_KICK"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -20 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
disabled when(((menuisopen("menu_xboxlive_lobby") || (!privatepartyhost())) || (!dvarbool(party_playervisible))) || dvarbool(party_iamselected));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
getKickPlayerQuestion;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
292
ui_mp/player_popup_publiclobby.menu
Normal file
292
ui_mp/player_popup_publiclobby.menu
Normal file
@ -0,0 +1,292 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "player_popup_publiclobby"
|
||||
rect -150 -64 300 64 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -544 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -544 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (2 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (2 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_PLAYER_OPTIONS"
|
||||
rect 0 0 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "player_add_friend"
|
||||
text "@MENU_FRIEND_ADD"
|
||||
group "mw2_popup_button"
|
||||
rect 6 24 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(1);
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "player_mute"
|
||||
text "@XBOXLIVE_PLAYER_MUTE"
|
||||
group "mw2_popup_button"
|
||||
rect 6 44 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(dvarbool(party_iamselected) || (!dvarbool(party_playervisible)));
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
togglePlayerMute;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
73
ui_mp/playerdataread.menu
Normal file
73
ui_mp/playerdataread.menu
Normal file
@ -0,0 +1,73 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "playerdataread"
|
||||
decoration
|
||||
rect 0 0 0 0 0 0
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt oldClassIndex localvarint("classIndex");
|
||||
setDvar ui_checkclass 0;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 1;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 2;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 3;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 4;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 5;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 6;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 7;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 8;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 9;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 10;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 11;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 12;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 13;
|
||||
open resetclass;
|
||||
setDvar ui_checkclass 14;
|
||||
open resetclass;
|
||||
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");
|
||||
setPlayerData ( killstreaks , 0 , none );
|
||||
}
|
||||
setPlayerData ( killstreakUnlocked , uav , true );
|
||||
if ((!isitemunlocked(getplayerdata("killstreaks", 1))) && (getplayerdata("killstreaks", 1) != "none"))
|
||||
{
|
||||
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"))
|
||||
{
|
||||
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;
|
||||
setPlayerData ( challengeState , ch_prestige , localVarInt ( ui_tempVar ) );
|
||||
setLocalVarInt ui_tempVar getplayerdata("prestige");
|
||||
setPlayerData ( challengeProgress , ch_prestige , localVarInt ( ui_tempVar ) );
|
||||
if (getplayerdata("prestige") == 10)
|
||||
{
|
||||
setPlayerData ( challengeState , ch_prestige_10 , 2 ) setPlayerData ( challengeProgress , ch_prestige_10 , 1 );
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
2581
ui_mp/popup_cac_assault_primary.menu
Normal file
2581
ui_mp/popup_cac_assault_primary.menu
Normal file
File diff suppressed because it is too large
Load Diff
1626
ui_mp/popup_cac_handgun_secondary.menu
Normal file
1626
ui_mp/popup_cac_handgun_secondary.menu
Normal file
File diff suppressed because it is too large
Load Diff
2126
ui_mp/popup_cac_primary_camo.menu
Normal file
2126
ui_mp/popup_cac_primary_camo.menu
Normal file
File diff suppressed because it is too large
Load Diff
2008
ui_mp/popup_cac_smg_primary.menu
Normal file
2008
ui_mp/popup_cac_smg_primary.menu
Normal file
File diff suppressed because it is too large
Load Diff
1817
ui_mp/popup_cac_sniper_primary.menu
Normal file
1817
ui_mp/popup_cac_sniper_primary.menu
Normal file
File diff suppressed because it is too large
Load Diff
862
ui_mp/popup_cac_weapon_primary.menu
Normal file
862
ui_mp/popup_cac_weapon_primary.menu
Normal file
@ -0,0 +1,862 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_cac_weapon_primary"
|
||||
rect 0 0 854 124 1 1
|
||||
style 1
|
||||
backcolor 1 1 1 0
|
||||
forecolor 1 1 1 0
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
fadeClamp 1
|
||||
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);
|
||||
onOpen
|
||||
{
|
||||
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;
|
||||
}
|
||||
if (tablelookup("mp/statsTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"), 2) == "weapon_smg")
|
||||
{
|
||||
setfocus cac_primary_smg;
|
||||
}
|
||||
if (tablelookup("mp/statsTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"), 2) == "weapon_lmg")
|
||||
{
|
||||
setfocus cac_primary_lmg;
|
||||
}
|
||||
if (tablelookup("mp/statsTable.csv", 4, getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon"), 2) == "weapon_sniper")
|
||||
{
|
||||
setfocus cac_primary_sniper;
|
||||
}
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") == "riotshield")
|
||||
{
|
||||
setfocus cac_primary_riotshield;
|
||||
}
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -918 -480 1708 960 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -918 -480 1708 960 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 184 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
exp rect h 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 1708 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 0.85
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 -32 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -32 854 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 790 -32 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 790 0 32 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 790 0 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 0 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 0 32 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 184 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0
|
||||
background "gradient_fadein"
|
||||
exp rect h 4 + (6 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (1 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (1 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab1Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (2 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (2 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab2Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (3 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (3 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab3Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (4 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (4 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab4Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (5 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (5 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab5Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cac_primary_assault"
|
||||
text "@MENU_ASSAULT_RIFLES_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 4 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_short"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_ASSAULT_RIFLES_CAPS";
|
||||
}
|
||||
open popup_cac_assault_primary;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(weaponclassnew("assault"));
|
||||
textscale 0.55
|
||||
background "specialty_new"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cac_primary_smg"
|
||||
text "@MENU_SMGS_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 24 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_short"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_SMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_SMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_SMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_SMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_SMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_SMGS_CAPS";
|
||||
}
|
||||
open popup_cac_smg_primary;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(weaponclassnew("smg"));
|
||||
textscale 0.55
|
||||
background "specialty_new"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cac_primary_lmg"
|
||||
text "@MENU_LMGS_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 44 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_short"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_LMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_LMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_LMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_LMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_LMGS_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_LMGS_CAPS";
|
||||
}
|
||||
open popup_cac_lmg_primary;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(weaponclassnew("lmg"));
|
||||
textscale 0.55
|
||||
background "specialty_new"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cac_primary_sniper"
|
||||
text "@MENU_SNIPER_RIFLES_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 64 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_short"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
setLocalVarString ui_tab1Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 1)
|
||||
{
|
||||
setLocalVarString ui_tab2Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
setLocalVarString ui_tab3Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 3)
|
||||
{
|
||||
setLocalVarString ui_tab4Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
setLocalVarString ui_tab5Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 5)
|
||||
{
|
||||
setLocalVarString ui_tab6Name "@MENU_SNIPER_RIFLES_CAPS";
|
||||
}
|
||||
open popup_cac_sniper_primary;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(weaponclassnew("sniper"));
|
||||
textscale 0.55
|
||||
background "specialty_new"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cac_primary_riotshield"
|
||||
text "@MENU_RIOT_SHIELD_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 84 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_short"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "riotshield")
|
||||
{
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 0 , none );
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none );
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , none );
|
||||
}
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
if (localvarstring("loadoutPrimaryAttachment2") == "")
|
||||
{
|
||||
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);
|
||||
if (localvarstring("loadoutSecondaryAttachment2") == "")
|
||||
{
|
||||
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");
|
||||
if (0 == 0)
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "")
|
||||
{
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling")
|
||||
{
|
||||
open popup_primary_attachments_bling;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_primary_attachments;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_cac_primary_camo;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "riotshield", 11) != "")
|
||||
{
|
||||
if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling"))
|
||||
{
|
||||
open popup_secondary_attachments_bling;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_secondary_attachments;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
close popup_cac_weapon_primary;
|
||||
close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary;
|
||||
close popup_cac_handgun_secondary;
|
||||
close popup_cac_machinePistols_secondary;
|
||||
close popup_cac_assault_primary;
|
||||
close popup_cac_SMG_primary;
|
||||
close popup_cac_LMG_primary;
|
||||
close popup_cac_sniper_primary;
|
||||
close popup_cac_shotgun_primary;
|
||||
close popup_cac_assault_secondary;
|
||||
close popup_cac_SMG_secondary;
|
||||
close popup_cac_LMG_secondary;
|
||||
close popup_cac_sniper_secondary;
|
||||
close popup_cac_shotgun_secondary;
|
||||
close popup_cac_template;
|
||||
close popup_cac_primary_camo;
|
||||
close popup_cac_secondary_camo;
|
||||
close popup_cac_bling;
|
||||
close popup_cac_perk2;
|
||||
close popup_cac_rocket_secondary;
|
||||
close popup_primary_attachments_bling;
|
||||
close popup_secondary_attachments_bling;
|
||||
close popup_cac_other_primary;
|
||||
}
|
||||
}
|
||||
close self;
|
||||
close popup_cac_weapon_primary;
|
||||
close popup_primary_attachments close popup_secondary_attachments close popup_cac_weapon_secondary;
|
||||
close popup_cac_handgun_secondary;
|
||||
close popup_cac_machinePistols_secondary;
|
||||
close popup_cac_assault_primary;
|
||||
close popup_cac_SMG_primary;
|
||||
close popup_cac_LMG_primary;
|
||||
close popup_cac_sniper_primary;
|
||||
close popup_cac_shotgun_primary;
|
||||
close popup_cac_assault_secondary;
|
||||
close popup_cac_SMG_secondary;
|
||||
close popup_cac_LMG_secondary;
|
||||
close popup_cac_sniper_secondary;
|
||||
close popup_cac_shotgun_secondary;
|
||||
close popup_cac_template;
|
||||
close popup_cac_primary_camo;
|
||||
close popup_cac_secondary_camo;
|
||||
close popup_cac_bling;
|
||||
close popup_cac_perk2;
|
||||
close popup_cac_rocket_secondary;
|
||||
close popup_primary_attachments_bling;
|
||||
close popup_secondary_attachments_bling;
|
||||
close popup_cac_other_primary;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 162 84 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(weaponclassnew("weapon_shield"));
|
||||
textscale 0.55
|
||||
background "specialty_new"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 0 200 124 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "small_box_lightfx"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 0 200 124 2 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text localvarstring("ui_info_name");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 10 200 100 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarstring("ui_info_icon") != "");
|
||||
textscale 0.55
|
||||
exp material localvarstring("ui_info_icon");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 0 200 124 2 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(isitemunlocked(("weaponRefString" + " ") + "refString"));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny 84
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text localvarstring("ui_info_desc");
|
||||
}
|
||||
}
|
||||
}
|
249
ui_mp/popup_customclan.menu
Normal file
249
ui_mp/popup_customclan.menu
Normal file
@ -0,0 +1,249 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_customclan"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setFocus customclanEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@MPUI_CLAN_TAG";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "customclanEntry"
|
||||
text " "
|
||||
rect 10 32 280 20 2 2
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalignx 5
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
accept
|
||||
{
|
||||
close self;
|
||||
}
|
||||
dvar "clanName"
|
||||
maxChars 4
|
||||
maxPaintChars 4
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CLOSE"
|
||||
group "mw2_popup_button"
|
||||
rect 6 64 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
249
ui_mp/popup_customtitle.menu
Normal file
249
ui_mp/popup_customtitle.menu
Normal file
@ -0,0 +1,249 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_customtitle"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setFocus customtitleEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@MENU_CUSTOM_TITLE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "customtitleEntry"
|
||||
text " "
|
||||
rect 10 32 280 20 2 2
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalignx 5
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
accept
|
||||
{
|
||||
close self;
|
||||
}
|
||||
dvar "customtitle"
|
||||
maxChars 15
|
||||
maxPaintChars 15
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CLOSE"
|
||||
group "mw2_popup_button"
|
||||
rect 6 64 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
259
ui_mp/popup_friends.menu
Normal file
259
ui_mp/popup_friends.menu
Normal file
@ -0,0 +1,259 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_friends"
|
||||
rect -250 -184 520 370 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
uiScript LoadFriends;
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
execKey "f"
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 370 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 370 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 370 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 520 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 520 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 520 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 520 0 64 370 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 520 370 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 370 520 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 370 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 370 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 18 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 0.7
|
||||
background "gradient_fadein"
|
||||
exp text "@MENU_FRIENDS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "friendsList"
|
||||
rect 0 22 520 326 0 0
|
||||
style 1
|
||||
type 6
|
||||
visible 1
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.5
|
||||
outlinecolor 0 0 0 0.6
|
||||
elementwidth 120
|
||||
elementheight 16
|
||||
feeder 61
|
||||
columns 3
|
||||
8 16 4 0
|
||||
42 178 51 0
|
||||
226 263 52 0
|
||||
doubleclick
|
||||
{
|
||||
uiScript JoinFriend;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CLOSE"
|
||||
group "mw2_popup_button"
|
||||
rect 6 350 512 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
434
ui_mp/popup_gamesetup.menu
Normal file
434
ui_mp/popup_gamesetup.menu
Normal file
@ -0,0 +1,434 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_gamesetup"
|
||||
rect 0 0 280 0 1 1
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
exp rect Y localvarfloat("ui_popup_gamesetup_ypos");
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_popup_gamesetup_ypos localvarfloat("ui_popupYPos");
|
||||
setLocalVarInt ui_leftPopup 1;
|
||||
if (dvarbool(useonlinestats))
|
||||
{
|
||||
exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_TRUE";
|
||||
}
|
||||
else
|
||||
{
|
||||
exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_FALSE";
|
||||
}
|
||||
if (dvarint(sv_privateClients) == dvarint(party_maxPlayers))
|
||||
{
|
||||
exec "set ui_jip_button_name @MPUI_JOININPROGRESS_NOT_ALLOWED";
|
||||
}
|
||||
else
|
||||
{
|
||||
exec "set ui_jip_button_name @MPUI_JOININPROGRESS_ALLOWED";
|
||||
}
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_leftPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -918 -480 1708 960 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -918 -480 1708 960 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 0 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
exp rect h 24 + (4 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 1708 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (4 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (4 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 -32 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -32 280 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 216 -32 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 216 0 32 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (4 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 216 0 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (4 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (4 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 0 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (4 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 0 32 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (4 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 216 0 -256 0 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.35 0.35 0.35 1
|
||||
background "gradient_slow_fadein"
|
||||
exp rect h 24 + (4 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_GAME_SETUP_CAPS"
|
||||
rect -64 0 280 22 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 1 1 1 0.25
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "settings_change_map"
|
||||
text "@MENU_CHANGE_MAP_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 24 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open settings_map;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "settings_change_gamemode"
|
||||
text "@MENU_CHANGE_GAME_MODE_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 44 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open settings_gametype;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "settings_change_gamerules"
|
||||
text "@MENU_CHANGE_GAME_RULES_CAPS"
|
||||
group "mw2_popup_button"
|
||||
rect -64 64 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (dvarstring(ui_gametype) == "arena")
|
||||
{
|
||||
open settings_quick_arena;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "war")
|
||||
{
|
||||
open settings_quick_war;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "sd")
|
||||
{
|
||||
open settings_quick_sd;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "sab")
|
||||
{
|
||||
open settings_quick_sab;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "dm")
|
||||
{
|
||||
open settings_quick_dm;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "dom")
|
||||
{
|
||||
open settings_quick_dom;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "ctf")
|
||||
{
|
||||
open settings_quick_ctf;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "koth")
|
||||
{
|
||||
open settings_quick_koth;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "oneflag")
|
||||
{
|
||||
open settings_quick_oneflag;
|
||||
}
|
||||
if (dvarstring(ui_gametype) == "dd")
|
||||
{
|
||||
open settings_quick_dd;
|
||||
}
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "settings_offlineoptions"
|
||||
group "mw2_popup_button"
|
||||
rect -64 84 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((dvarbool(systemlink) || dvarbool(splitscreen)) && dvarbool(iwnet_allclientsauthed));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (dvarbool(useonlinestats))
|
||||
{
|
||||
exec "set useonlinestats 0";
|
||||
exec "set ui_useonlinestats_button_name @PLATFORM_USEONLINESTATS_FALSE";
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_statswarning;
|
||||
}
|
||||
}
|
||||
exp text dvarstring(ui_useonlinestats_button_name);
|
||||
}
|
||||
}
|
||||
}
|
249
ui_mp/popup_joinpassword.menu
Normal file
249
ui_mp/popup_joinpassword.menu
Normal file
@ -0,0 +1,249 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_joinpassword"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setFocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@MENU_PASSWORD";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "passwordEntry"
|
||||
text " "
|
||||
rect 10 32 280 20 2 2
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalignx 5
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
accept
|
||||
{
|
||||
close self;
|
||||
}
|
||||
dvar "password"
|
||||
maxChars 32
|
||||
maxPaintChars 32
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_OK"
|
||||
group "mw2_popup_button"
|
||||
rect 6 64 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
252
ui_mp/popup_playername.menu
Normal file
252
ui_mp/popup_playername.menu
Normal file
@ -0,0 +1,252 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_playername"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
exec "setfromdvar ui_name name";
|
||||
setFocus nameEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@MENU_PLAYER_NAME";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "nameEntry"
|
||||
text " "
|
||||
rect 10 32 280 20 2 2
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalignx 5
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
accept
|
||||
{
|
||||
exec "setfromdvar name ui_name";
|
||||
close self;
|
||||
}
|
||||
dvar "ui_name"
|
||||
maxChars 15
|
||||
maxPaintChars 15
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CLOSE"
|
||||
group "mw2_popup_button"
|
||||
rect 6 64 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "setfromdvar name ui_name";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
860
ui_mp/popup_ready.menu
Normal file
860
ui_mp/popup_ready.menu
Normal file
@ -0,0 +1,860 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_ready"
|
||||
rect 0 0 854 184 1 1
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
outOfBoundsClick
|
||||
popup
|
||||
fadeClamp 1
|
||||
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);
|
||||
onOpen
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_tabDepth localvarint("ui_tabDepth") - 1;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -918 -480 1708 960 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -918 -480 1708 960 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 184 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
exp rect h 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 1708 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 0.85
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 -1708 -480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 -32 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -32 854 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 790 -32 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 790 0 32 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 790 0 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 854 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 0 32 32 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -96 0 32 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!localvarint("ui_centerPopup"));
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 184 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 0
|
||||
background "gradient_fadein"
|
||||
exp rect h 4 + (9 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (1 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 1) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (1 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab1Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (2 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 2) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (2 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab2Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (3 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 3) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (3 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab3Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (4 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 4) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (4 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab4Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (5 - 1));
|
||||
backcolor 0.25 0.25 0.25 1
|
||||
background "white"
|
||||
exp rect y (- 20) - ((localvarint("ui_tabDepth") - 5) * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarint("ui_tabDepth") > (5 - 1));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 1
|
||||
background "gradient_fadein"
|
||||
exp text localvarstring("ui_tab5Name");
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cac_weapon_mosin"
|
||||
group "mw2_popup_button"
|
||||
rect -64 4 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(!isitemunlocked("mosin"));
|
||||
textalign 4
|
||||
textalignx 68
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_short"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
setLocalVarString ui_selected_ref mosin;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
setPlayerData ( weaponNew , mosin , false );
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarint("ui_tabDepth") == 0)
|
||||
{
|
||||
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);
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 2)
|
||||
{
|
||||
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);
|
||||
}
|
||||
if (localvarint("ui_tabDepth") == 4)
|
||||
{
|
||||
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);
|
||||
}
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "weaponSetups", 0, "weapon") != "mosin")
|
||||
{
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 0 , none );
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 1 , none );
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , camo , none );
|
||||
}
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
if (localvarstring("loadoutPrimaryAttachment2") == "")
|
||||
{
|
||||
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);
|
||||
if (localvarstring("loadoutSecondaryAttachment2") == "")
|
||||
{
|
||||
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");
|
||||
if (0 == 0)
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "")
|
||||
{
|
||||
if (getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling")
|
||||
{
|
||||
open popup_primary_attachments_bling;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_primary_attachments;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_cac_primary_camo;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tablelookup("mp/statsTable.csv", 4, "mosin", 11) != "")
|
||||
{
|
||||
if ((getplayerdata("customClasses", localvarint("classIndex"), "perks", 1) == "specialty_bling") && isitemunlocked("specialty_secondarybling"))
|
||||
{
|
||||
open popup_secondary_attachments_bling;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_secondary_attachments;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
close popup_cac_weapon_primary;
|
||||
close popup_primary_attachments;
|
||||
close popup_secondary_attachments;
|
||||
close popup_cac_weapon_secondary;
|
||||
close popup_cac_handgun_secondary;
|
||||
close popup_cac_machinePistols_secondary;
|
||||
close popup_cac_assault_primary;
|
||||
close popup_cac_SMG_primary;
|
||||
close popup_cac_LMG_primary;
|
||||
close popup_cac_sniper_primary;
|
||||
close popup_cac_shotgun_primary;
|
||||
close popup_cac_assault_secondary;
|
||||
close popup_cac_SMG_secondary;
|
||||
close popup_cac_LMG_secondary;
|
||||
close popup_cac_sniper_secondary;
|
||||
close popup_cac_shotgun_secondary;
|
||||
close popup_cac_template;
|
||||
close popup_cac_primary_camo;
|
||||
close popup_cac_secondary_camo;
|
||||
close popup_cac_bling;
|
||||
close popup_cac_perk2;
|
||||
close popup_cac_rocket_secondary;
|
||||
close popup_primary_attachments_bling;
|
||||
close popup_secondary_attachments_bling;
|
||||
close popup_cac_other_primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
execKeyInt 168
|
||||
{
|
||||
if (tablelookup("mp/challengeTable.csv", 6, "mosin", 4) != "")
|
||||
{
|
||||
setLocalVarString ui_challengeTierTable tablelookup("mp/challengeTable.csv", 6, "mosin", 4);
|
||||
open menu_challenge_details;
|
||||
}
|
||||
}
|
||||
exp text "@" + tablelookup("mp/statsTable.csv", 4, "mosin", 3);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((getplayerdata("weaponNew", "mosin") || getplayerdataanybooltrue("camoNew", "mosin")) || getplayerdataanybooltrue("attachmentNew", "mosin"));
|
||||
textscale 0.55
|
||||
background "specialty_new"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 162 4 40 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(isitemunlocked("mosin") == 0);
|
||||
textscale 0.55
|
||||
background "specialty_locked"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 0 200 184 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "small_box_lightfx"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 0 200 184 2 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@" + tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 3);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 10 200 100 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 6);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 0 200 184 2 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(isitemunlocked(localvarstring("ui_selected_ref")));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny 104
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text "@" + tablelookup("mp/statstable.csv", 4, localvarstring("ui_selected_ref"), 7);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -56 0 200 184 2 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(!isitemunlocked(localvarstring("ui_selected_ref")));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny 104
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text "@" + tablelookup("mp/rankTable.csv", 0, tablelookup("mp/unlockTable.csv", 0, localvarstring("ui_selected_ref"), 2), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_VIEW_CHALLENGES"
|
||||
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) != ""));
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny 144
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_ACCURACY"
|
||||
rect -128 22 120 4 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) && 1);
|
||||
textalign 6
|
||||
textaligny -20
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 22 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.75 1 0.7 0.85
|
||||
background "white"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 22 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "gradient_fadein"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 22 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 22) && 1);
|
||||
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 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;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_DAMAGE"
|
||||
rect -128 48 120 4 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) && 1);
|
||||
textalign 6
|
||||
textaligny -20
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 48 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.75 1 0.7 0.85
|
||||
background "white"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 48 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "gradient_fadein"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 48 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 23) && 1);
|
||||
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 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;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_RANGE"
|
||||
rect -128 74 120 4 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) && 1);
|
||||
textalign 6
|
||||
textaligny -20
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 74 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.75 1 0.7 0.85
|
||||
background "white"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 74 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "gradient_fadein"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 74 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 24) && 1);
|
||||
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 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;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_FIRE_RATE"
|
||||
rect -128 100 120 4 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) && 1);
|
||||
textalign 6
|
||||
textaligny -20
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 100 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.75 1 0.7 0.85
|
||||
background "white"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 100 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "gradient_fadein"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 100 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 25) && 1);
|
||||
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 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;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOBILITY"
|
||||
rect -128 126 120 4 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) && 1);
|
||||
textalign 6
|
||||
textaligny -20
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 126 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.75 1 0.7 0.85
|
||||
background "white"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 126 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "gradient_fadein"
|
||||
exp rect w (tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) / 100) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -128 126 120 2 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(tablelookup("mp/statsTable.csv", 4, localvarstring("ui_selected_ref"), 26) && 1);
|
||||
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 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;
|
||||
}
|
||||
}
|
||||
}
|
251
ui_mp/popup_serverpassword.menu
Normal file
251
ui_mp/popup_serverpassword.menu
Normal file
@ -0,0 +1,251 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_serverpassword"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
exec "setfromdvar ui_password g_password";
|
||||
setFocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 84 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@MENU_PASSWORD";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "passwordEntry"
|
||||
text " "
|
||||
rect 10 32 280 20 2 2
|
||||
style 1
|
||||
type 4
|
||||
visible 1
|
||||
textalignx 5
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 0 0 0 0.3
|
||||
accept
|
||||
{
|
||||
exec "setfromdvar g_password ui_password";
|
||||
close self;
|
||||
}
|
||||
dvar "ui_password"
|
||||
maxChars 32
|
||||
maxPaintChars 32
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_OK"
|
||||
group "mw2_popup_button"
|
||||
rect 6 64 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
128
ui_mp/quickmessage.menu
Normal file
128
ui_mp/quickmessage.menu
Normal file
@ -0,0 +1,128 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "quickmessage"
|
||||
rect -52 314 194 128 1 1
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
{
|
||||
close quickcommands;
|
||||
close quickstatements;
|
||||
close quickresponses;
|
||||
setDvar cl_bypassMouseInput 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setDvar cl_bypassMouseInput 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
{
|
||||
close self;
|
||||
open quickcommands;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
close self;
|
||||
open quickstatements;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
close self;
|
||||
open quickresponses;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 128 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
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
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 97 2 0 0 1 1
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
exp text "@QUICKMESSAGE_QUICK_MESSAGE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_COMMANDS"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_STATEMENTS"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_RESPONSES"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
}
|
||||
}
|
157
ui_mp/resetclass.menu
Normal file
157
ui_mp/resetclass.menu
Normal file
@ -0,0 +1,157 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "resetclass"
|
||||
decoration
|
||||
rect 0 0 0 0 0 0
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 0 , attachment , 0 , localVarString ( dataValue ) );
|
||||
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);
|
||||
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)))
|
||||
{
|
||||
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)))
|
||||
{
|
||||
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")))
|
||||
{
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 0 , localVarString ( dataValue ) );
|
||||
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);
|
||||
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)))
|
||||
{
|
||||
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)))
|
||||
{
|
||||
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")))
|
||||
{
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) );
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
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);
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) );
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
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);
|
||||
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"))
|
||||
{
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , weapon , localVarString ( dataValue ) );
|
||||
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);
|
||||
setPlayerData ( customClasses , localVarInt ( classIndex ) , weaponSetups , 1 , attachment , 1 , localVarString ( dataValue ) );
|
||||
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);
|
||||
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"))
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
420
ui_mp/scriptmenus/callvote.menu
Normal file
420
ui_mp/scriptmenus/callvote.menu
Normal file
@ -0,0 +1,420 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "callvote"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
open class;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CALLVOTE"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_1"
|
||||
text "@MP_VOTE_MAPRESTART"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_restart";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_2"
|
||||
text "@MP_VOTE_NEXTMAP"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_rotate";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MENU_CHANGE_MAP"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open changemap;
|
||||
close changegametype;
|
||||
close kickplayer;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_4"
|
||||
text "Change Gametype"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open changegametype;
|
||||
close changemap;
|
||||
close kickplayer;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_5"
|
||||
text "@MPUI_KICK_PLAYER"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open kickplayer;
|
||||
close changemap;
|
||||
close changegametype;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
2051
ui_mp/scriptmenus/changeclass.menu
Normal file
2051
ui_mp/scriptmenus/changeclass.menu
Normal file
File diff suppressed because it is too large
Load Diff
487
ui_mp/scriptmenus/changegametype.menu
Normal file
487
ui_mp/scriptmenus/changegametype.menu
Normal file
@ -0,0 +1,487 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changegametype"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
open class;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CALLVOTE"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_1"
|
||||
text "@MP_VOTE_MAPRESTART"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_restart";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_2"
|
||||
text "@MP_VOTE_NEXTMAP"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_rotate";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MENU_CHANGE_MAP"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open changemap;
|
||||
close changegametype;
|
||||
close kickplayer;
|
||||
close callvote;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_4"
|
||||
text "Change Gametype"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open changegametype;
|
||||
close changemap;
|
||||
close kickplayer;
|
||||
close callvote;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_5"
|
||||
text "@MPUI_KICK_PLAYER"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open kickplayer;
|
||||
close changemap;
|
||||
close changegametype;
|
||||
close callvote;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "Change Gametype"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maplist2"
|
||||
rect 275 42 300 270 1 1
|
||||
style 1
|
||||
type 6
|
||||
border 1
|
||||
borderSize 1
|
||||
visible 1
|
||||
textalignx 6
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
bordercolor 1 1 1 0.15
|
||||
outlinecolor 1 1 1 0.2
|
||||
mouseEnter
|
||||
{
|
||||
setitemcolor maplist2;
|
||||
bordercolor 1 1 1 "0.55";
|
||||
}
|
||||
mouseExit
|
||||
{
|
||||
setitemcolor maplist2;
|
||||
bordercolor 1 1 1 "0.15";
|
||||
}
|
||||
elementwidth 120
|
||||
elementheight 24
|
||||
feeder 29
|
||||
columns 1
|
||||
2 190 25 0
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CALL_VOTE"
|
||||
rect 275 312 320 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -55
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
close self;
|
||||
uiScript voteGame;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
488
ui_mp/scriptmenus/changemap.menu
Normal file
488
ui_mp/scriptmenus/changemap.menu
Normal file
@ -0,0 +1,488 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changemap"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
open class;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CALLVOTE"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_1"
|
||||
text "@MP_VOTE_MAPRESTART"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_restart";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_2"
|
||||
text "@MP_VOTE_NEXTMAP"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_rotate";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MENU_CHANGE_MAP"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open changemap;
|
||||
close changegametype;
|
||||
close kickplayer;
|
||||
close callvote;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_4"
|
||||
text "Change Gametype"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open changegametype;
|
||||
close changemap;
|
||||
close kickplayer;
|
||||
close callvote;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_5"
|
||||
text "@MPUI_KICK_PLAYER"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open kickplayer;
|
||||
close changemap;
|
||||
close changegametype;
|
||||
close callvote;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CHANGE_MAP"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maplist"
|
||||
rect 275 42 300 270 1 1
|
||||
style 1
|
||||
type 6
|
||||
border 1
|
||||
borderSize 1
|
||||
visible 1
|
||||
textalignx 6
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
bordercolor 1 1 1 0.15
|
||||
outlinecolor 1 1 1 0.2
|
||||
mouseEnter
|
||||
{
|
||||
setitemcolor maplist;
|
||||
bordercolor 1 1 1 "0.55";
|
||||
}
|
||||
mouseExit
|
||||
{
|
||||
setitemcolor maplist;
|
||||
bordercolor 1 1 1 "0.15";
|
||||
}
|
||||
elementwidth 120
|
||||
elementheight 24
|
||||
feeder 4
|
||||
columns 1
|
||||
2 190 25 0
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CALL_VOTE"
|
||||
rect 275 312 320 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -55
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
close self;
|
||||
uiScript voteMap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
790
ui_mp/scriptmenus/class.menu
Normal file
790
ui_mp/scriptmenus/class.menu
Normal file
@ -0,0 +1,790 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onOpen
|
||||
{
|
||||
focusfirst;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
scriptmenuresponse back;
|
||||
}
|
||||
execKey "f"
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.25
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_OPTIONS_UPPER_CASE"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_border"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
border 1
|
||||
borderSize 0.666667
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_map"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 181
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_friendlies"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 185
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_enemies"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 188
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_objectives"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 182
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_sentries"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 189
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_player"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 183
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(radarisjammed() && (!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(radarisjammed() && (!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y (135 - 240) + ((240 * 2) * (1 - ((milliseconds() % 4000) / 4000)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 115 -136 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
exp text getmapname();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272 0 272 28 3 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.35
|
||||
textfont 9
|
||||
exp text gametypename();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272 28 272 60 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
forecolor 1 1 1 0.75
|
||||
exp text gametypedescription();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarstring("ui_team") == "marines");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Allies);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarstring("ui_team") == "opfor");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Axis);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when(team("name") == "TEAM_ALLIES");
|
||||
textscale 0.4583
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Allies);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines"));
|
||||
textscale 0.4583
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Allies);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when(team("name") == "TEAM_AXIS");
|
||||
textscale 0.4583
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Axis);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor"));
|
||||
textscale 0.4583
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Axis);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_choose_class"
|
||||
text "@MPUI_CHOOSE_CLASS"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when((!((localvarstring("ui_team") == "marines") || (localvarstring("ui_team") == "opfor"))) || (!1));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (localvarstring("ui_team") == "marines")
|
||||
{
|
||||
scriptmenuresponse changeclass_marines;
|
||||
}
|
||||
if (localvarstring("ui_team") == "opfor")
|
||||
{
|
||||
scriptmenuresponse changeclass_opfor;
|
||||
}
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_choose_team"
|
||||
text "@MPUI_CHANGE_TEAM"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(!(dvarbool(ui_allow_teamchange) && ((!dvarbool(onlinegame)) || dvarbool(xblive_privatematch))));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
scriptmenuresponse changeteam;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 68 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_options"
|
||||
text "@MPUI_MUTE_PLAYERS"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
open muteplayer;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_options"
|
||||
text "@MENU_OPTIONS"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
open pc_options_video;
|
||||
execnow "set ui_allow_graphic_change 0";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_options"
|
||||
text "@MENU_ADD_TO_FAVORITES"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(dvarbool(party_host));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
uiScript CreateCurrentServerFavorite;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_callvote"
|
||||
text "@MPUI_CALL_VOTE"
|
||||
group "mw2_button"
|
||||
rect -64 128 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(!dvarbool(g_allowvote));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
open callvote;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_endgame"
|
||||
text "@MENU_END_GAME"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((!(dvarbool(onlinegame) && (!dvarbool(xblive_privatematch)))) && dvarbool(sv_running));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_endgame;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_leavegame"
|
||||
text "@MENU_LEAVE_GAME"
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) || (!dvarbool(sv_running)));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
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())))
|
||||
{
|
||||
open popup_leavegame;
|
||||
}
|
||||
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()))
|
||||
{
|
||||
open popup_leavegameandparty_ranked;
|
||||
}
|
||||
if (((dvarbool(onlinegame) && (!dvarbool(xblive_privatematch))) && (dvarbool(sv_running) == 0)) && (((!inprivateparty()) || privatepartyhost()) || (!privatepartyhostinlobby())))
|
||||
{
|
||||
open popup_leavegame_ranked;
|
||||
}
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_FRIENDS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -40 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
escape self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
open popup_summary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
401
ui_mp/scriptmenus/kickplayer.menu
Normal file
401
ui_mp/scriptmenus/kickplayer.menu
Normal file
@ -0,0 +1,401 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "kickplayer"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
open class;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(cl_ingame) || dvarbool(sv_running));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running))));
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -107 0 854 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
background "animbg_blur_front"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.523696
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.476023
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
visible when(dvarint(cl_ingame) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.25 0.25 0.25 0.75
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MOD"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mod"
|
||||
rect -40 0 300 20 0 1
|
||||
decoration
|
||||
visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0));
|
||||
textalignx 16
|
||||
textaligny -4
|
||||
textscale 0.2
|
||||
forecolor 1 1 1 0.8
|
||||
exp text dvarstring(fs_game);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CALLVOTE"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_1"
|
||||
text "@MP_VOTE_MAPRESTART"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_restart";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_2"
|
||||
text "@MP_VOTE_NEXTMAP"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_rotate";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "button_3"
|
||||
text "@MPUI_KICK_PLAYER"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarFloat ui_popupYPos 0;
|
||||
setLocalVarString ui_hint_text "";
|
||||
setLocalVarString ui_info_name "";
|
||||
setLocalVarString ui_info_desc "";
|
||||
setLocalVarString ui_info_icon "";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open kickplayer;
|
||||
close changemap;
|
||||
close changegametype;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_KICK_PLAYER"
|
||||
rect 232 0 344 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "back"
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -4 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maplist"
|
||||
rect 275 42 300 270 1 1
|
||||
style 1
|
||||
type 6
|
||||
border 1
|
||||
borderSize 1
|
||||
visible 1
|
||||
textalignx 6
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
bordercolor 1 1 1 0.15
|
||||
outlinecolor 1 1 1 0.2
|
||||
mouseEnter
|
||||
{
|
||||
setitemcolor maplist;
|
||||
bordercolor 1 1 1 "0.55";
|
||||
}
|
||||
mouseExit
|
||||
{
|
||||
setitemcolor maplist;
|
||||
bordercolor 1 1 1 "0.15";
|
||||
}
|
||||
elementwidth 120
|
||||
elementheight 24
|
||||
feeder 7
|
||||
columns 1
|
||||
2 190 25 0
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CALL_VOTE"
|
||||
rect 275 312 320 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -55
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_setting_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
close self;
|
||||
uiScript voteKick;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1921
ui_mp/scriptmenus/onemanarmy.menu
Normal file
1921
ui_mp/scriptmenus/onemanarmy.menu
Normal file
File diff suppressed because it is too large
Load Diff
218
ui_mp/scriptmenus/quickcommands.menu
Normal file
218
ui_mp/scriptmenus/quickcommands.menu
Normal file
@ -0,0 +1,218 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "quickcommands"
|
||||
rect -52 234 194 208 1 1
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
{
|
||||
setDvar cl_bypassMouseInput 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setDvar cl_bypassMouseInput 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
{
|
||||
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;
|
||||
close self;
|
||||
}
|
||||
execKey "7"
|
||||
{
|
||||
scriptMenuResponse 7;
|
||||
close self;
|
||||
}
|
||||
execKey "8"
|
||||
{
|
||||
scriptMenuResponse 8;
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
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
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 97 2 0 0 1 1
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
exp text "@QUICKMESSAGE_QUICK_MESSAGE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_FOLLOW_ME"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_MOVE_IN"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_FALL_BACK"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_4_SUPPRESSING_FIRE"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_5_ATTACK_LEFT_FLANK"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_6_ATTACK_RIGHT_FLANK"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_7_HOLD_THIS_POSITION"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_8_REGROUP"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
}
|
||||
}
|
182
ui_mp/scriptmenus/quickresponses.menu
Normal file
182
ui_mp/scriptmenus/quickresponses.menu
Normal file
@ -0,0 +1,182 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "quickresponses"
|
||||
rect -52 234 194 208 1 1
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
{
|
||||
setDvar cl_bypassMouseInput 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setDvar cl_bypassMouseInput 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
{
|
||||
scriptMenuResponse 1;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "2"
|
||||
{
|
||||
scriptMenuResponse 2;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "3"
|
||||
{
|
||||
scriptMenuResponse 3;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "4"
|
||||
{
|
||||
scriptMenuResponse 4;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "5"
|
||||
{
|
||||
scriptMenuResponse 5;
|
||||
close quickresponses;
|
||||
}
|
||||
execKey "6"
|
||||
{
|
||||
scriptMenuResponse 6;
|
||||
close quickresponses;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
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
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 97 2 0 0 1 1
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
exp text "@QUICKMESSAGE_QUICK_MESSAGE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_YES_SIR"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_NO_SIR"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_IM_ON_MY_WAY"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_4_SORRY"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_5_GREAT_SHOT"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_6_TOOK_LONG_ENOUGH"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
}
|
||||
}
|
200
ui_mp/scriptmenus/quickstatements.menu
Normal file
200
ui_mp/scriptmenus/quickstatements.menu
Normal file
@ -0,0 +1,200 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "quickstatements"
|
||||
rect -52 234 194 208 1 1
|
||||
style 1
|
||||
border 1
|
||||
borderSize 2
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
onOpen
|
||||
{
|
||||
setDvar cl_bypassMouseInput 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setDvar cl_bypassMouseInput 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
execKey "1"
|
||||
{
|
||||
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;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "6"
|
||||
{
|
||||
scriptMenuResponse 6;
|
||||
close quickstatements;
|
||||
}
|
||||
execKey "7"
|
||||
{
|
||||
scriptMenuResponse 7;
|
||||
close quickstatements;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 194 208 0 0
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
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
|
||||
style 3
|
||||
decoration
|
||||
border 1
|
||||
borderSize 2
|
||||
visible 1
|
||||
forecolor 1 1 1 0.7
|
||||
bordercolor 0.4 0.4 0.42 1
|
||||
exp material "gradient_bottom";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 97 2 0 0 1 1
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
exp text "@QUICKMESSAGE_QUICK_MESSAGE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_1_ENEMY_SPOTTED"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_2_MULTIPLE_CONTACTS"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_3_IM_IN_POSITION"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_4_AREA_SECURE"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_5_WATCH_SIX"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_6_SNIPER"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_7_NEED_REINFORCEMENTS"
|
||||
group "ingamebox"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "window"
|
||||
text "@QUICKMESSAGE_ESC_EXIT"
|
||||
rect 0 16 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 8
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 1
|
||||
}
|
||||
}
|
||||
}
|
689
ui_mp/scriptmenus/team_marinesopfor.menu
Normal file
689
ui_mp/scriptmenus/team_marinesopfor.menu
Normal file
@ -0,0 +1,689 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "team_marinesopfor"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setfocus team_choose_auto;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
scriptmenuresponse back;
|
||||
}
|
||||
execKey "f"
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.25
|
||||
background "gradient_fadein_fadebottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_CHOOSE_TEAM"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_border"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
border 1
|
||||
borderSize 0.666667
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_map"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 181
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_friendlies"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 185
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_enemies"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 188
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_objectives"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 182
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_sentries"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 189
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_player"
|
||||
rect -260 135 240 240 3 1
|
||||
decoration
|
||||
type 8
|
||||
visible when(!isempjammed());
|
||||
ownerdraw 183
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(radarisjammed() && (!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(radarisjammed() && (!isempjammed()));
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y (135 - 240) + ((240 * 2) * (1 - ((milliseconds() % 4000) / 4000)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 115 -136 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!isempjammed());
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
exp text getmapname();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarstring("ui_team") == "marines");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Allies);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarstring("ui_team") == "opfor");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.275
|
||||
exp material dvarstring(g_TeamIcon_Axis);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when(team("name") == "TEAM_ALLIES");
|
||||
textalign 1
|
||||
textaligny 10
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Allies);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "marines"));
|
||||
textalign 1
|
||||
textaligny 10
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Allies);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when(team("name") == "TEAM_AXIS");
|
||||
textalign 1
|
||||
textaligny 10
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Axis);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible when((team("name") == "TEAM_FREE") && (localvarstring("ui_team") == "opfor"));
|
||||
textalign 1
|
||||
textaligny 10
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 1 0.2
|
||||
exp text "@" + dvarstring(g_TeamName_Axis);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_spectator"
|
||||
text "@MPUI_SPECTATOR"
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(team("name") != "TEAM_SPECTATOR");
|
||||
disabled when((team("name") == "TEAM_SPECTATOR") || (!dvarbool(scr_game_spectatetype)));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
scriptmenuresponse spectator;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_axis"
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(team("name") == "TEAM_AXIS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
scriptmenuresponse axis;
|
||||
}
|
||||
exp text "@" + dvarstring(g_TeamName_Axis);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_allies"
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
disabled when(team("name") == "TEAM_ALLIES");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
scriptmenuresponse allies;
|
||||
}
|
||||
exp text "@" + dvarstring(g_TeamName_Allies);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 88 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_auto"
|
||||
text "@MPUI_AUTOASSIGN"
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
scriptmenuresponse autoassign;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 108 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(team("name") == "TEAM_SPECTATOR");
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_endgame"
|
||||
text "@MPUI_END_GAME"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((team("name") == "TEAM_SPECTATOR") && (dvarbool(onlineunrankedgameandhost) || dvarbool(sv_running)));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_endgame;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_leavegame"
|
||||
text "@MPUI_LEAVE_GAME"
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when((team("name") == "TEAM_SPECTATOR") && ((!dvarbool(onlineunrankedgameandhost)) && (!dvarbool(sv_running))));
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if ((inprivateparty() && (!privatepartyhost())) && privatepartyhostinlobby())
|
||||
{
|
||||
open popup_leavegameandparty;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_leavegame;
|
||||
}
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_FRIENDS_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -40 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
open popup_friends;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
escape self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open popup_summary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
315
ui_mp/security_increase_popmenu.menu
Normal file
315
ui_mp/security_increase_popmenu.menu
Normal file
@ -0,0 +1,315 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "security_increase_popmenu"
|
||||
rect -150 -84 300 116 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
uiScript security_increase_cancel;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 992 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 992 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 116 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 32 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -512 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (32 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -63 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 56 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_SECURITY_INCREASE_MESSAGE"
|
||||
rect 0 15 300 40 2 2
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textaligny 10
|
||||
textscale 0.4
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_PLEASE_WAIT"
|
||||
rect 0 60 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -120
|
||||
textaligny 10
|
||||
textscale 0.4
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 60 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.25) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.5));
|
||||
textalign 5
|
||||
textalignx 38
|
||||
textaligny 10
|
||||
textscale 0.4
|
||||
exp text ".";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 60 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible when((((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.5) && (((sin(milliseconds() * 0.005) + 1) * 0.5) <= 0.75));
|
||||
textalign 5
|
||||
textalignx 38
|
||||
textaligny 10
|
||||
textscale 0.4
|
||||
exp text "..";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 60 300 40 2 2
|
||||
decoration
|
||||
type 1
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5) > 0.75);
|
||||
textalign 5
|
||||
textalignx 38
|
||||
textaligny 10
|
||||
textscale 0.4
|
||||
exp text "...";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SECURITY_INCREASE"
|
||||
rect 0 0 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel"
|
||||
text "@MENU_CANCEL"
|
||||
group "mw2_popup_button"
|
||||
rect 6 96 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
575
ui_mp/serverinfo_popmenu.menu
Normal file
575
ui_mp/serverinfo_popmenu.menu
Normal file
@ -0,0 +1,575 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "serverinfo_popmenu"
|
||||
rect -250 -204 520 370 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
uiScript ServerStatus;
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
execKeyInt 171
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerStatus;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 370 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 370 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 370 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -110 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 520 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 520 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 520 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 520 0 64 370 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 520 370 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 370 520 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 370 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 370 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 520 18 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textaligny 18
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
backcolor 0 0 0 0.7
|
||||
background "gradient_fadein"
|
||||
exp text dvarstring(uiSi_ServerName);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 20 310 20 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.8
|
||||
background "menu_setting_selection_bar"
|
||||
exp text "@MPUI_MAX_CLIENTS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 20 310 20 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -40
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
exp text dvarstring(uiSi_MaxClients);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 40 310 20 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.8
|
||||
background "menu_setting_selection_bar"
|
||||
exp text "@MPUI_IS_PRIVATE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 40 310 20 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -40
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
exp text dvarstring(uiSi_isPrivate);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 60 310 20 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.8
|
||||
background "menu_setting_selection_bar"
|
||||
exp text "@MPUI_RULES_HARDCORE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 60 310 20 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -40
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
exp text dvarstring(uiSi_Hardcore);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 80 310 20 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.8
|
||||
background "menu_setting_selection_bar"
|
||||
exp text "@MPUI_RULES_AIMASSIST";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 80 310 20 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -40
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
exp text dvarstring(uiSi_aimAssist);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 100 310 20 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.8
|
||||
background "menu_setting_selection_bar"
|
||||
exp text "@MPUI_RULES_VOICECHAT";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 100 310 20 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -40
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
exp text dvarstring(uiSi_voiceChat);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 120 310 20 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.8
|
||||
background "menu_setting_selection_bar"
|
||||
exp text "@MPUI_MOD";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 120 310 20 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -40
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
exp text dvarstring(uiSi_ModName);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mappreview"
|
||||
rect 332 22 176 100 0 0
|
||||
style 3
|
||||
visible when(dvarstring(uiSi_MapName) == "");
|
||||
exp material "loadscreen_mp_bonusmaps";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 332 22 176 14 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarstring(uiSi_MapName) == "");
|
||||
textalign 2
|
||||
textalignx -4
|
||||
textaligny 13
|
||||
textscale 0.3
|
||||
backcolor 0 0 0 0.4
|
||||
exp text dvarstring(uiSi_MapNameLoc);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 332 108 176 14 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarstring(uiSi_MapName) == "");
|
||||
textalign 2
|
||||
textalignx -4
|
||||
textaligny 14
|
||||
textscale 0.3
|
||||
backcolor 0 0 0 0.4
|
||||
exp text dvarstring(uiSi_GameType);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mappreview"
|
||||
rect 332 22 176 100 0 0
|
||||
style 3
|
||||
visible when(dvarstring(uiSi_MapName) != "");
|
||||
exp material "preview_" + dvarstring(uiSi_MapName);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 332 22 176 14 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarstring(uiSi_MapName) != "");
|
||||
textalign 2
|
||||
textalignx -4
|
||||
textaligny 13
|
||||
textscale 0.3
|
||||
backcolor 0 0 0 0.4
|
||||
exp text dvarstring(uiSi_MapNameLoc);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 332 108 176 14 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarstring(uiSi_MapName) != "");
|
||||
textalign 2
|
||||
textalignx -4
|
||||
textaligny 14
|
||||
textscale 0.3
|
||||
backcolor 0 0 0 0.4
|
||||
exp text dvarstring(uiSi_GameType);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 332 121 176 20 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.8
|
||||
background "menu_setting_selection_bar"
|
||||
exp text "@MPUI_SECURITY_LEVEL";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 332 121 176 20 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textalign 2
|
||||
textalignx -20
|
||||
textaligny 18
|
||||
textscale 0.35
|
||||
textfont 1
|
||||
exp text dvarstring(uiSi_SecurityLevel);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "num"
|
||||
text "#"
|
||||
rect 16 162 30 18 0 0
|
||||
visible 1
|
||||
textalignx 4
|
||||
textscale 0.3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "name"
|
||||
text "@MENU_NAME"
|
||||
rect 88 162 30 18 0 0
|
||||
visible 1
|
||||
textalignx 4
|
||||
textscale 0.3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "score"
|
||||
text "@MPUI_SCORE"
|
||||
rect 353 162 30 18 0 0
|
||||
visible 1
|
||||
textalignx 4
|
||||
textscale 0.3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ping"
|
||||
text "@MENU_PING"
|
||||
rect 455 162 30 18 0 0
|
||||
visible 1
|
||||
textalignx 4
|
||||
textscale 0.3
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 12 164 496 160 0 0
|
||||
style 1
|
||||
type 6
|
||||
border 1
|
||||
borderSize 1
|
||||
visible 1
|
||||
textscale 0.25
|
||||
textfont 1
|
||||
backcolor 0 0 0 0.5
|
||||
bordercolor 1 1 1 0.1
|
||||
notselectable
|
||||
elementwidth 120
|
||||
elementheight 16
|
||||
feeder 13
|
||||
columns 4
|
||||
8 2 2 0
|
||||
80 16 16 0
|
||||
345 4 4 0
|
||||
447 4 4 0
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_REFRESH"
|
||||
group "mw2_popup_button"
|
||||
rect 6 330 512 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript ServerStatus;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CLOSE"
|
||||
group "mw2_popup_button"
|
||||
rect 6 350 512 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backColor 0 0 0 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
875
ui_mp/settings_bonus_map.menu
Normal file
875
ui_mp/settings_bonus_map.menu
Normal file
@ -0,0 +1,875 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "settings_bonus_map"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
onOpen
|
||||
{
|
||||
focusFirst;
|
||||
setfocusbydvar ui_mapname;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
close settings_map;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((- 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 28 640 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.15
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 384 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CHOOSE_MAP_CAP"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 28 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_complex;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_complex" }
|
||||
exp text "@" + "PATCH_COMPLEX";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 48 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_crash;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_crash" }
|
||||
exp text "@" + "MPUI_CRASH";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 68 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_overgrown;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_overgrown" }
|
||||
exp text "@" + "MPUI_OVERGROWN";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 88 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_compact;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_compact" }
|
||||
exp text "@" + "PATCH_COMPACT";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 108 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!4)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_storm;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_storm" }
|
||||
exp text "@" + "PATCH_STORM";
|
||||
exp forecolor a 0.45 + (0.55 * 4);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 128 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 128 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_abandon;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_abandon" }
|
||||
exp text "@" + "PATCH_ABANDON";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 148 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_fuel2;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_fuel2" }
|
||||
exp text "@" + "PATCH_FUEL2";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 168 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_strike;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_strike" }
|
||||
exp text "@" + "PATCH_STRIKE";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 188 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_trailerpark;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_trailerpark" }
|
||||
exp text "@" + "PATCH_TRAILERPARK";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 208 336 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (!8)
|
||||
{
|
||||
exec xshowmarketplace;
|
||||
}
|
||||
else
|
||||
{
|
||||
setdvar ui_mapname mp_vacant;
|
||||
close settings_map;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
dvarTest "ui_mapname"
|
||||
focusDvar { "mp_vacant" }
|
||||
exp text "@" + "PATCH_VACANT";
|
||||
exp forecolor a 0.45 + (0.55 * 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
escape self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
open popup_summary;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -292 28 292 356 3 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.7
|
||||
background "black"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "mapimage"
|
||||
rect -282 50 272 153 3 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
exp material localvarstring("ui_info_icon");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "longname"
|
||||
rect -282 28 272 22 3 1
|
||||
decoration
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text "@" + localvarstring("ui_info_name");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "description"
|
||||
rect -282 203 272 20 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text "@" + localvarstring("ui_info_desc");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
escape self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
group "mw2_button"
|
||||
rect -64 -20 336 20 1 3
|
||||
style 1
|
||||
type 1
|
||||
visible when("@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS");
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString ui_hint_text "@NULL_EMPTY";
|
||||
setLocalVarBool ui_menuAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
play mouse_click;
|
||||
open popup_summary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
739
ui_mp/settings_gametype.menu
Normal file
739
ui_mp/settings_gametype.menu
Normal file
@ -0,0 +1,739 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "settings_gametype"
|
||||
fullscreen 1
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
focuscolor 1 1 1 1
|
||||
soundLoop "music_mainmenu_mp"
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
focusfirst;
|
||||
setfocusbydvar ui_gametype;
|
||||
setLocalVarBool ui_more_gametypes 0;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
execNow xupdatepartystate;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close settings_gametype;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mw2_main_background"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x ((- 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CHOOSE_GAME_MODE_CAP"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.44
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 28 640 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.15
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 -4 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 640 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 384 640 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 384 32 32 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 28 32 356 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 28 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype dm;
|
||||
setDvar g_gametype dm;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dm", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 48 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype war;
|
||||
setDvar g_gametype war;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "war", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 68 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype sd;
|
||||
setDvar g_gametype sd;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "sd", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 88 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype sab;
|
||||
setDvar g_gametype sab;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "sab", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 108 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype dom;
|
||||
setDvar g_gametype dom;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dom", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 128 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype koth;
|
||||
setDvar g_gametype koth;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "koth", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 148 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype ctf;
|
||||
setDvar g_gametype ctf;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "ctf", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 168 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype dd;
|
||||
setDvar g_gametype dd;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "dd", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 188 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype vip;
|
||||
setDvar g_gametype vip;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "vip", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 208 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype gtnw;
|
||||
setDvar g_gametype gtnw;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "gtnw", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 228 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype oneflag;
|
||||
setDvar g_gametype oneflag;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
exp text ("@" + tablelookup("mp/gameTypesTable.csv", 0, "oneflag", 1)) + "_CAPS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect -64 248 316 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 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);
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
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
|
||||
{
|
||||
play mouse_click;
|
||||
setDvar ui_gametype arena;
|
||||
setDvar g_gametype arena;
|
||||
execOnDvarIntValue splitscreen 1 "exec default_splitscreen.cfg";
|
||||
execOnDvarIntValue systemlink 1 "exec default_systemlink.cfg";
|
||||
execOnDvarIntValue xblive_privatematch 1 "exec default_xboxlive.cfg";
|
||||
close self;
|
||||
}
|
||||
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
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarBool ui_menuAButton 1;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272 28 272 356 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.7
|
||||
background "black"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272 28 264 200 3 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 8
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text localvarstring("ui_info_name");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272 28 264 200 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 8
|
||||
textaligny 20
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
exp text localvarstring("ui_info_desc");
|
||||
}
|
||||
}
|
||||
}
|
2996
ui_mp/settings_map.menu
Normal file
2996
ui_mp/settings_map.menu
Normal file
File diff suppressed because it is too large
Load Diff
273
ui_mp/startup_messages.menu
Normal file
273
ui_mp/startup_messages.menu
Normal file
@ -0,0 +1,273 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "startup_messages"
|
||||
rect -150 -124 300 124 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
visible 1
|
||||
onOpen
|
||||
{
|
||||
focusfirst;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -854 -480 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -854 -480 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 124 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 300 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (5 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (5 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (5 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (5 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
exp text dvarstring(ui_startupMessageTitle);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect 4 24 292 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
exp text dvarstring(ui_startupMessage);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_popup_button"
|
||||
rect 4 104 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript nextStartupMessage;
|
||||
if (dvarstring(ui_startupNextButtonText) == "Close")
|
||||
{
|
||||
close self;
|
||||
}
|
||||
}
|
||||
exp text dvarstring(ui_startupNextButtonText);
|
||||
}
|
||||
}
|
||||
}
|
282
ui_mp/stats_reset.menu
Normal file
282
ui_mp/stats_reset.menu
Normal file
@ -0,0 +1,282 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "stats_reset"
|
||||
rect -430 -102 860 204 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setfocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -582 3416 1920 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 204 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 0 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 84 + (2 * 60);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 860 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 860 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_RESET_STATS"
|
||||
rect 0 0 860 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect 286 22 292 20 2 2
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
exp text "@MPUI_RESET_STATS_WARNING";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "reset_button"
|
||||
text "@MENU_RESET"
|
||||
group "mw2_popup_button"
|
||||
rect 286 164 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_flipped"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec resetStats;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel_button"
|
||||
text "@MENU_CANCEL"
|
||||
group "mw2_popup_button"
|
||||
rect 286 184 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_flipped"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
282
ui_mp/stats_unlock.menu
Normal file
282
ui_mp/stats_unlock.menu
Normal file
@ -0,0 +1,282 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "stats_unlock"
|
||||
rect -430 -102 860 204 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
setfocus passwordEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -582 3416 1920 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 204 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 1708 480 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 0 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 84 + (2 * 60);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -44 -1708 -480 2 9
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -64 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 860 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 860 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 860 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (84 + (2 * 60));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_UNLOCK_STATS"
|
||||
rect 0 0 860 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textalignx -4
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
group "mw2_button"
|
||||
rect 286 22 292 20 2 2
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
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;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
exp text "@MPUI_UNLOCK_STATS_WARNING";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "reset_button"
|
||||
text "@MENU_UNLOCK"
|
||||
group "mw2_popup_button"
|
||||
rect 286 164 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_flipped"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec unlockStats;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel_button"
|
||||
text "@MENU_CANCEL"
|
||||
group "mw2_popup_button"
|
||||
rect 286 184 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
visible 1
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar_flipped"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
278
ui_mp/youarehost.menu
Normal file
278
ui_mp/youarehost.menu
Normal file
@ -0,0 +1,278 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "youarehost"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
backcolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
background "white"
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 1;
|
||||
focusFirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
textscale 0.55
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
exp rect x (- 854) + ((float(milliseconds() % 50000) / 50000) * 854);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
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);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
exp rect y (0 - 0) + (24 + (3 * 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
exp rect h 24 + (3 * 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_NOTICE"
|
||||
rect -150 -84 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PATCH_YOUAREHOST"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -60 292 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
forecolor 1 1 1 0.65
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "ok_button"
|
||||
text "@MENU_OK"
|
||||
group "mw2_popup_button"
|
||||
rect -146 -20 292 20 2 2
|
||||
style 1
|
||||
type 1
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
if (dvarstring(gameMode) != "mp")
|
||||
{
|
||||
setItemColor mw2_popup_button backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool ui_popupAButton 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool ui_popupAButton 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user