This commit is contained in:
2025-01-09 11:45:08 +01:00
parent ed03e404fb
commit bc4b43d871
79 changed files with 61357 additions and 0 deletions

View 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;
}
}
}
}

File diff suppressed because it is too large Load Diff

View 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;
}
}
}
}

View 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;
}
}
}
}

View 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;
}
}
}
}

View 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;
}
}
}
}

File diff suppressed because it is too large Load Diff

View 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
}
}
}

View 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
}
}
}

View 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
}
}
}

View 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;
}
}
}
}