List of console commands and variables
Console commands carry out a particular action when sent to the console.
- Back to Console
Core commands
Menus
Keybindings
Networking
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
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
EDF- and ExtraData-Related Commands
These commands are related to the Eternity Definition Files (EDF) system. They expose information which may be useful for editing or for use with other console commands.
e_dumpthings
Lists all EDF thing type mnemonics along with the DeHackEd numbers and doomednums of the corresponding types.
e_thingtype thingtypename
Lists verbose information on an EDF thingtype with the given mnemonic. If no such thingtype is defined, an error message will be given.
e_dumpitems
Lists all EDF thing type mnemonics and DeHackEd/DoomEd numbers for thing types which are collectable items. Useful in conjunction with the give command.
e_listmapthings
Lists all mapthing definitions from the current map's ExtraData. If no mapthings are defined or no ExtraData exists for the current map, an appropriate error message will be given.
e_mapthing recordnum
Lists verbose information on an ExtraData mapthing record with the given numeric record number. If no such mapthing is defined or no ExtraData exists for the current map, an appropriate error message will be given.
e_listlinedefs
Lists all linedef definitions from the current map's ExtraData. If no linedefs are defined or no ExtraData exists for the current map, an appropriate error message will be given.
e_linedef recordnum
Lists verbose information on an ExtraData linedef record with the given numeric record number. If no such linedef is defined or no ExtraData exists for the current map, an appropriate error message will be given.