hud_menu_hide
Hides the currently open hud menu, if there is one.
Hides the currently open hud menu, if there is one.
Reloads the hud menu names for parameter completion for
hud_menu_show
.
The menu names are the file names of the files in cfg/menus/
, skipping those that end with _default
.
Opens a hud menu. Accepts the hud menu itself.
Calling this again with the same hud menu name will close the menu. Calling it with a different hud menu name will open that one after closing the currently opened one, if there is any.
Has parameter completion that corresponds to the filenames in cfg/menus
, skipping those that end with _default
.
To parse the filenames again, see
hud_menu_reload
.
...
hud_menu_show savelocmenu
This guide covers how to make a custom HUD menu, such as the saveloc or ruler menus.
Note that this does not cover how to make custom Panorama menus more generally, just Static HUD menus, which are controlled by slot0-9
keys and mimick the VGUI panels commonly used on game servers for e.g. !nominate
, !votemap
.
HUD menus are a nice way to add many commands/cvars into a single menu. There are a few HUD menus that ship with the game:
...