CVARs:Messages

From ZDoom Wiki

Jump to: navigation, 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.


Contents


Message Appearance

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: 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: 3

This is the number of seconds that new messages will stay at the top of the screen before they start scrolling away.

Default: 3
This is the number of seconds that messages in the middle of the screen will be displayed before they dispapper.
Default: false
If this cvar is true, then message text will be scaled to larger sizes depending on the screen resolution so that it will stay approximately the same size it would be on a 320x200 screen.
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: (Verificaton needed)
  • 0 - Item pickup
  • 1 - Obituaries
  • 2 - Critical messages
  • 3 - Chat messages
  • 4 - Chat messages from a teammate

Message Colors

The following CVARs are all integers which accept one of the values from this list to determine the text color:

Verification needed

0 - Brick
1 - Tan
2 - Gray
3 - Green
4 - Brown
5 - Gold
6 - Red
7 - Blue
8 - Orange
9 - White
10 - Yellow
Default: 6 (Red)
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.
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: 5 (Gold)
This cvar selects the color used to display messages in the middle of the screen.
Default: 4 (Brown)
This cvar selects the color used to display messages in the middle of the screen that are sent to everyone.

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".
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.

See Also

Personal tools