zb-menus/ui_mp/pc_options_actions.menu
2025-01-09 11:51:53 +01:00

1023 lines
35 KiB
Plaintext

{
menuDef
{
name "pc_options_actions"
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_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_ACTIONS"
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 "+attack"
}
itemDef
{
text "@MENU_FIRE_WEAPON"
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 "+toggleads_throw"
}
itemDef
{
text "@MENU_AIM_DOWN_THE_SIGHT"
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 "+speed_throw"
}
itemDef
{
text "@MENU_HOLD_AIM_DOWN_SIGHT"
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 "+leanleft"
}
itemDef
{
text "@MENU_LEAN_LEFT"
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 "+leanright"
}
itemDef
{
text "@MENU_LEAN_RIGHT"
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 when(dvarbool(gpad_in_use) == 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 "+usereload"
}
itemDef
{
text "@MENU_USE_RELOAD"
rect 232 128 336 20 1 1
decoration
visible when(dvarbool(gpad_in_use) == 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 when(dvarbool(gpad_in_use) == 0);
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 "+reload"
}
itemDef
{
text "@MENU_RELOAD_WEAPON"
rect 232 128 336 20 1 1
decoration
visible when(dvarbool(gpad_in_use) == 0);
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 "weapnext"
}
itemDef
{
text "@MENU_SWITCH_WEAPON"
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 "+melee"
}
itemDef
{
text "@MENU_MELEE_ATTACK"
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 232 188 336 20 1 1
style 1
type 14
visible when(dvarbool(gpad_in_use) == 0);
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 "+activate"
}
itemDef
{
text "@MENU_USE"
rect 232 188 336 20 1 1
decoration
visible when(dvarbool(gpad_in_use) == 0);
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 "+frag"
}
itemDef
{
text "@MENU_FRAG_EQUIPMENT"
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 "+smoke"
}
itemDef
{
text "@MENU_THROW_SPECIAL_GRENADE"
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 "+actionslot 3"
}
itemDef
{
text "@MENU_WEAPON_ATTACHMENT"
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 "+actionslot 4"
}
itemDef
{
text "@MENU_INVENTORY_KILLSTREAK"
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 "+actionslot 2"
}
itemDef
{
text "@MENU_SECONDARY_INVENTORY"
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 "+actionslot 1"
}
itemDef
{
text "@MENU_NIGHT_VISION"
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 226 328 -392 1 1 1
style 3
decoration
visible 1
textscale 0.55
forecolor 1 1 1 0.65
background "line_horizontal"
}
itemDef
{
rect 232 328 336 20 1 1
style 1
type 14
visible when(dvarbool(gpad_in_use) == 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 "togglescores"
}
itemDef
{
text "@MENU_SHOW_OBJECTIVES_SCORES"
rect 232 328 336 20 1 1
decoration
visible when(dvarbool(gpad_in_use) == 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 when(dvarbool(gpad_in_use) == 0);
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 "+scores"
}
itemDef
{
text "@MENU_SHOW_OBJECTIVES_SCORES"
rect 232 328 336 20 1 1
decoration
visible when(dvarbool(gpad_in_use) == 0);
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;
}
}
}
}