CVARs:Configuration

From ZDoom Wiki

Jump to: navigation, search

These CVARs control various aspects of the game's configuration.

See the CVARs article for general information on how to access and edit variables.


Contents


Player Preferences

Default: "Player"
This is your player's name. This is only really useful in a multiplayer game, but it can also be set for single player.
Default: "male"
This is the gender of your player. Valid values are "male", "female", and "neuter". Anything else will be treated as male. When you die, certain messages will be altered to reflect the gender selected here. Unfortunately, no non-male player sounds are provided with ZDoom, so you'll still sound like a man no matter what this CVAR is set to unless you provide your own sounds.
Default: "base"
This is your player's skin. "Base" is the name of the regular Doom marine and is always available. Additional skins are contained in wad files that you either load with -file at the command line or autoload using the .ini or skins directory.
Default: Varies
This is your player's color. The default varies depending on which game you are playing.
Default: -1
This is the team that your player belongs to. It is only meaningful during deathmatch games. There are eight predefined teams available:
  • 1 - Blue
  • 2 - Red
  • 3 - Green
  • 4 - Gold
  • 5 - Black
  • 6 - White
  • 7 - Orange
  • 8 - Purple
Using the default of -1 is special and will automatically assign you to whichever team has fewer players.
Default: 0.25
Controls how much the view bobs up and down while you are moving. 0 would be no bob at all.
Default: 0
Controls the amount of bobbing up and down that occurs when standing still. The default of 0 is no bobbing at all.
Default: false
When this cvar is true, you won't automatically switch to a new weapon when you pick one up.
  • autoaim (float -- verification needed)
Default: 5000
This represents the minimum vertical distance from an object that the player's sight must be before that object is no longer autoaimed at. Setting this cvar to "0" disables autoaiming, while large values such as the default "5000" will reproduce the original DOOM behavior of always autoaiming.
Default: 0
If enabled, the game will attempt to aim only at hostile monsters when autoaiming, even if there are shootable decorations or friendly actors closer to the player. The following values are available:
  • 1 - Target monsters before shootables.
  • 2 - Same as 1, but never target friendly monsters.
  • 3 - Target monsters only.

Multiplayer and Bot Settings

Default: false
When true, enables the Bloodbath announcer for deathmatch games. The Bloodbath announcer is "The Voice" from Monolith Software's Blood. To hear the announcer, you need to load Blood's sounds.rff either at the command line or through one of zdoom.ini's [*.Autoload] sections. You can get this file either from the demo or full version of Blood. If you don't have sounds.rff, you can still see the announcer's messages even though you won't hear anything.
Default: true
If this is true the game will display Unreal Tournament-style messages when a player makes several kills in a short period of time.
Default: true
If this is true the game will display Unreal Tournament-style messages when a player is on a killing spree. (Earning several kills without being killed himself.)
Default: false
Allows you to see through the eyes of bots during Deathmatch games.
Default: false
When set to 1, the player will experience minimal interaction with the world, and bots will ignore him. Does not work in netgames.
Default: 0
Stores the status of various gameplay settings that primarily apply to multiplayer games. See the DMFlags article for details.
Default: 0
Stores the status of various gameplay settings that primarily apply to multiplayer games. See the DMFlags article for details.

File Storage

Default: true
If this cvar is true demos will be compressed so that they take up less space on disk.
Default: false
This is a debugging CVAR used to disable all file compression. It should generally be left set to false.
Default: 0
Controls how frequently the game automatically saves for you. The possible settings are:
  • 0 - Autosave whenever you enter a new level and whenever the level requests it. (Default)
  • 1 - Autosave only when the level requests it.
  • 2 - Never autosave.
  • autosavenum (read-only)
This cvar keeps track of the number used for the next automatic save and is updated each time an automatic save is made. You cannot change it from the console.
Default: true
Setting this to false will produce smaller savegames (by about 14k typically) by not storing a screenshot inside the savegame.
Default: "png"
Determines the type of screenshots that will be saved. This can be either "png" or "pcx". PNG screenshots typically take up about half the space of pcx screenshots. PCX screenshots have the advantage that they require less time to create so are most useful for rapid screenshot generation.
Default: false
Setting this to true will suppress the messages informing you what file a screenshot was saved to.
Default: 0
Controls the gamma level stored in PNG screenshots. If this is 0, then your current gamma setting will be used.
Default: 5
This is the level of compression to use for PNG screenshots. 0 is no compression at all, 1 is minimal compression (fastest), 9 is maximum compression (slowest), and intermediate values offer intermediate compression. 5 offers a decent trade-off between file size and compression time. An uncompressed image will not necessarily save faster than a compressed image, because the extra time needed to write out a complete uncompressed image may be longer than the time required to compress the image. If you need to create screenshots as quickly as possible, consider setting screenshot_type to "pcx".

The following sequence of console commands will take a screenshot every frame. You can use an external program to assemble these into a video, if desired.

screenshot_type "png"
screenshot_quiet true
alias autoshot "screenshot; wait 1; autoshot"
autoshot

If you use the autoshot alias, the command alias autoshot will stop automatic screenshot taking before you hit 10000 screenshots (approximately 4 minutes, 45 seconds).

Miscellaneous Settings

Default: 1
Controls whether the ENDOOM lump is shown upon exiting ZDoom. This is a text lump that was displayed just before quitting to DOS in the original game. If this is on, ZDoom will emulate the display of this lump in a window after ZDoom closes. The following settings are valid:
  • 0 - Never show the ENDOOM lump.
  • 1 - The ENDOOM lump will always be displayed.
  • 2 - The ENDOOM lump will only be displayed if it has been modified from the original version by a PWAD.
Default: 1
Controls how ZDoom handles capturing of the mouse cursor when run in windowed mode. When the mouse is not captured, ZDoom is unable to interact with it. The following settings are valid:
  • 0 - Only capture during gameplay. (Not in intermissions or when the menu is displayed)
  • 1 - Capture during gameplay and during intermission screens and end game finales.
  • 2 - Always capture.
This has no effect when playing in fullscreen mode.
Default: false
Set this to true to force the game to ignore the blockmap saved with a map and always generate it from scratch, whether it needs to be generated or not.
Default: false
Set this to true if you want the game to ignore the BSP tree saved with a map and always build a new one. A value of true for gennodes also implies a true value for genblockmap.

See Also

Personal tools