List of console commands and variables
Console commands carry out a particular action when sent to the console.
- Back to Console
Core commands
- alias newcmdname command
- alias alone will list all currently defined aliases. Providing newcmdname alone will remove that alias if it exists. Providing newcmdname and a valid console command will create "newcmdname" as an alias to that command, allowing shortcuts.
- In order to make an alias take parameters, use the special variable "%opt", as such:
alias "mycommand" "hu_overlay %opt"
- c_popup
- Instantly removes the console from view.
- cmdlist filter
- Displays all user-visible console commands, one per line. As of Eternity Engine v3.31 Delta, this command accepts an optional filter parameter that, if provided, should consist of a single character between A and Z. The character will be used to filter the command list down to only commands beginning with that letter.
- cvarhelp variablename
- Outputs a list of possible values for the given variable.
- delay amt
- Delays the running of the next console command by either 1, or if provided, by amt game tics.
- dir
- Lists the contents of the current working directory to the console.
- echo msg
- Echoes a string message to the console. As with all console strings, the string should be in quotes if it contains whitespace.
- flood
- Writes 300 garbage characters to the console. Usefulness is of debate.
- quote
- Currently does nothing.
Logging the console
- dumplog filename
- Dumps the current state of the console message buffer to the specified file as ASCII text. The text will be appended to the file if it already exists, allowing multiple use of a single log file.
- openlog filename
- Opens the specified file in append mode and begins writing any text printed to the console into the file. All console messages will be logged until either the closelog command is used, or the program closes. Note this log file is totally separate from any used with the "dumplog" command, which is simply for saving the current buffer. If a log file is already open, this command does nothing.
- closelog
- Closes a console log opened by the openlog command. If no logging is currently occuring, this command does nothing. This command doesn't apply to files used by dumplog, as they are closed immediately, so it doesn't need to be used with the dumplog command.
Menus
Deactivates any active menu and returns to the game
mn_newgame
Displays the New Game menu or takes the player to the start map, depending on their configuration.
mn_quit
Displays a prompt asking the user if they want to quit.
mn_episode
Displays the episode selection screen for Ultimate DOOM.
Flags: not in network games
Returns user to the last menu they viewed, or to the game if the present menu is the highest-most in that chain.
newgame
Clears any active menus and starts a new game.
Flags: not in network games
mn_weaponkeys
Displays the weapon keybinding menu.
mn_keybindings
Displays primary keybindings menu.
mn_demos
Displays the Demos menu
Flags: not in a network game
mn_weapons
Displays the weapons preferences menu
mn_loadwad
Displays the wad/file options menu.
mn_status
Displays the status bar options menu.
mn_hud
Displays the heads-up display options menu.
mn_mouse
Displays the mouse options menu.
mn_sound
Displays the sound options menu.
mn_vidmode
Displays the video mode options menu.
mn_particle
Displays the particle effects options menu.
mn_video
Displays the video options menu.
mn_endgame
Prompts the user to end the current game and return to the title screen.
mn_options
Displays the main options menu.
mn_savegame
Displays the save game menu. Will not display if not in a level.
mn_load slotnum
Loads the save game from save slot slotnum.
mn_loadgame
Displays the load game menu.
mn_player
Displays the player setup menu.
mn_envkeys
Displays the environment keybindings menu.
credits
Displays game engine / game credits.
help
Displays built-in and user-provided help screens. See the BOOM editing reference on how to provide up to 99 custom help screens.
mn_enemies
Displays enemy AI options menu.
mn_compat
Displays the DOOM compatibility options menu.
mn_automap
Displays the automap options menu.
quickload
Quickloads a game from a previously chosen quicksave slot. NOTE: does nothing in network games or demos
quicksave
Quicksaves a game. First time command is used, a slot must be chosen normally. Subsequent uses will overwrite the save in that slot.
NOTE: does nothing in network games or demos
Brings up the SDL joystick configuration menu. NOTE: This command does not exist in the DOS version of Eternity.
mn_hnewgame
Brings up the Heretic new game menu.
mn_hepis
Brings up the Heretic episode selection menu.
skinviewer
Brings up the skin viewer menu widget.
mn_dmflags
Brings up the deathmatch flags configuration menu.
Brings up the EDF dynamic menu with the given mnemonic. If no such menu exists, an error message will appear in the console.
mn_selectwad
Brings up the wad selection dialog box. The selected wad cannot be loaded if the current gamemode is a shareware game. Flags: not in a netgame
mn_search
Begins or continues a menu search operation. This command uses the value of the "mn_searchstr" console variable to carry out its search.
Brings up the menu options menu.
Keybindings
Multiplayer
- disconnect
- Disconnects from any ongoing network game and sets full-screen console mode.
- Flags: only in network games
- playerinfo
- Displays name information for all connected players.
- frags
- Displays the current frag count for all players.
- kick playernum
- (Currently disabled) Kicks the player with the specified player number from the game. Player numbers can be retrieved with playerinfo.
- Flags: server-only
- say ...
- Sends all arguments as a single message to all players in a network game.
- Flags: net command
Cheats
Video Options
v_modelist
Prints a list of available video modes to the console.
animshot numframes
Takes the given number of consecutive screenshots for the purpose of making a crude animation. Would be useful for animated GIFs or AVI movies. This command will make the game run very slow, however, and will eat up disk space quickly, so use it with care.
screenshot
Takes a single screenshot. Bind this command to a key in order to take a shot without the console in the way.
Sound Options
s_playmusic name
Plays the given lump as music, if that lump can be found in the music hash table. Only lumps listed in the internal music table, or new lumps with names beginning with "D_" in DOOM or "MUS_" in Heretic are available.
Player Options
listskins
Lists names of all available player skins.
listwads
Lists all currently loaded WAD files.
Demos
These commands are related to playing / recording demos. For all of these commands, the demo specified by demoname must have been added in either a WAD or on the command-line with the -file option. Demos cannot be played directly from a file name.
Starts the given demo as a time demo, in which the framerate of the game can be measured. If showmenu is set to 1, a meter comparing the framerate against that of a "fast" machine will be displayed after the demo is complete. Otherwise, the framerate will be printed to the console as a number.
Flags: not in a network game
playdemo demoname
Plays the given demo normally.
Flags: not in a network game
stopdemo
Stops any currently playing demo and drops to console.
Flags: not in a network game
Gameplay
Mod information
Others
- ev_mapsectorspecs
- List out all the sector specials in use on the current map.
- ev_mapspecials
- Lists all linedef specials in current map.