Hud

Gamemode Specific CFGs

Hud

This guide covers all gamemode-specific settings available to players, at least at the time of writing.

Config Files #

When the game loads into a map of a known gamemode, a specific config file located in momentum/cfg/ is executed if it exists. The names of these config files correspond to the gamemode prefixes found in map names. For instance, momentum/cfg/sj.cfg will be executed when loading a sticky jump map, such as sj_amazon.

...

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

...