CVARs:Messages

From ZDoom Wiki
Jump to navigation Jump to search

These CVARs affect the way system, game and chat messages get displayed.

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

Message appearance

Default: false for Doom; true for Heretic and Hexen
When true, notify messages at the top of the screen are centered. Otherwise, they are justified against the left margin.
Default: ""
When you press Ctrl-D on a blank line in the console, the command in this CVAR is executed. For example, if you set con_ctrl_d to "quit", then pressing Ctrl-D will quit the game.
Default: 3
This is the number of seconds that messages in the middle of the screen will be displayed before they disappear.
Default: false
When you press tab on the console to complete a command, a list of possible completions will normally be printed the first time you press tab and subsequent presses of tab will cycle through the different completions. By setting this CVAR to true, the list will not be printed and every press of tab will cycle through the possible completions.
Default: 4
This is the number of top-screen messages that can be displayed at once.
Default: 3
This is the number of seconds that new messages will stay at the top of the screen before they start scrolling away.
Default: 0
Controls the scaling of the message text:
  • 0 - No scaling is applied.
  • 1 - The message text is scaled to larger sizes depending on the screen resolution so that it stays approximately the same size it would be on a 320x200 screen.
  • 2 - Applies double scaling.
  • 3 - Applies quadruple scaling.
Default: true
If true, screenshot and game saved messages contain the entire path and filename of the stored file. Set to false to shorten the message to just show the filename.
Default: 0
This is the minimum message level that you will see. You will not see any messages with a lower priority than this. The different message levels are: (Verification needed)
  • 0 - Item pickup
  • 1 - Obituaries
  • 2 - Critical messages
  • 3 - Chat messages
  • 4 - Chat messages from a teammate

Message colors

The following variables use TEXTCOLO color values:

code color code color code color code color code color code color code color
0 reddish brick ██ 1 tan ██ 2 gray ██ 3 green ██ 4 brown ██ 5 gold ██ 6 red ██
7 blue ██ 8 orange ██ 9 white ██ 10 yellow ██ 12 black ██ 13 light blue ██ 14 cream ██
15 olive ██ 16 dark green ██ 17 dark red ██ 18 dark brown ██ 19 purple ██ 20 dark gray ██ 21 cyan ██
Default: 11 (untranslated)
This cvar controls the color used to display level 0 (item pickup) messages.
Default: 5 (██ gold)
This cvar selects the color used to display level 1 (obituary) messages.
Default: 2 (██ gray)
This cvar selects the color used to display level 2 (critical) messages (used by Log, A_Log, and A_LogInt).
Default: 3 (██ green)
This cvar selects the color used to display level 3 (chat) messages.
Default: 3 (██ green)
This cvar selects the color used to display level 4 (team chat) messages.
Default: 11 (untranslated)
This cvar selects the color used to display messages in the middle of the screen (default color for Print and A_Print).
Default: 4 (██ brown)
This cvar selects the color used to display messages in the middle of the screen that are sent to everyone (default color for PrintBold and A_PrintBold).

Chatting

Default: false
Set this to true if you want to chat using special keywords that will be replaced with appropriate text when your messages are sent. The supported keywords are:
  • $health
Replaced by your current health.
  • $weapon
Replaced by the name of your current weapon.
  • $armor
Replaced by your current armor count.
  • $ammocount
Replaced by your current ammo count.
  • $ammo
Replaced by the name of your current ammo.
As an example, if you just started a new game of Doom and have chat substitution turned on, when you send the message "My health is $health, and I am using a $weapon", the message that is actually sent will be "My health is 100, and I am using a Pistol".
Default: "No"
Default: "I'm ready to kick butt!"
Default: "I'm OK."
Default: "I'm not looking too good!"
Default: "Help!"
Default: "You suck!"
Default: "Next time, scumbag..."
Default: "Come here!"
Default: "I'll take care of it."
Default: "Yes"
These are all strings that can be assigned to hotkeys in chat mode. To use these, enter chat mode and then hold down Alt and press one of the number keys. The string stored in the corresponding chatmacro cvar will be sent as if you had typed it yourself.

Miscellaneous settings

Default: false
When this variable is true, the sector number of the found secret sector is displayed as part of the found-secret message, in the form "<secret_message> (Sector #)", where # is the sector number. If the variable is false, however, the message is displayed alone without a reference to the sector number.
Default: true
When this variable is true, game messages will be displayed at the top of the screen. Regardless of the state of this cvar, console messages will always be displayed in the console. If logging is enabled, messages will also be written to disk.
Default: true
Obituaries are a ZDoom feature not present in the original Doom, Heretic, Hexen, and Strife games. They can be disabled without disabling the rest of the messages by setting this CVAR to false.

See also