HUD Menu

hud_menu_show

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 .

Usage Examples #

hud_menu_show savelocmenu

...

Static HUD Menus

HUD Menu

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 overview #

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:

...