# ZDoom includes a powerful console that you can use to manipulate or inspect various aspects of the game while you are playing

ZDoom includes a powerful console that you can use to manipulate or inspect various aspects of the game while you are playing.

# Obsolete commands and variables

The following commands and variables were present in ZDoom 1.22 but have been removed:

configver

This variable was used by ZDoom to determine which version wrote the zdoom.cfg. This has been replaced by the [LastRun] section of zdoom.ini and is no longer accessible from the console.

def_patch

You can now have multiple dehacked patches loaded automatically. To do this, add a [Doom.DefaultDehacked] section to zdoom.ini like this:

    [Doom.DefaultDehacked]

    Path=my_first_patch.deh

    Path=my_second_patch.deh

You can add as many Path= lines as you like. Not all Dehacked patches will work well together. Changes made by patches listed later will override any changes made by patches listed earlier that affect the same things. If you specify any patches with -deh or -bex at the command line, then those patches will be loaded instead of the ones listed here.

impulse

Use the new slot and weapon commands instead.

nobfgaim

This was renamed to sv_nobfgaim and is now a part of dmflags2.

vid_noptc

PTC is no longer used for video, so there is nothing for this cvar to disable.

testgibs

This variable never did anything useful in 1.22.

There are five types of cvars:

boolean

This type of variable represents a yes/no or on/off value. It can only be set to true or false. As shorthand, setting a boolean variable to 0 will set it to false, and setting it to anything non-zero will set it to true.

integer

This is an ordinary number without a decimal point. For example, 1 is an integer, but 1.2 is not.

float

This is an ordinary number that can have a decimal point.

string

This is a series of text characters enclosed in quotes: For example, "Felix loitered lecherously on the lot" is a string. If you removed the quotes around it, then it would not be a string.