Env message

It draws a text message on player HUDs, from strings defined in the  file. It's used at some points in, such as when the player's buggy falls into water.

Syntax
Each message entry in titles.txt follows a similar structure as other Valve text files. Example:. The message can reference a string prefixed with.

This text can be formatted in many different ways, according to the syntax provided. The  is responsible for the font family, size and weight of the message. To change the size find  in the res file.

Variables can be defined which will affect all the messages below them, until overwritten with another value.

If you're making a mod you can alter this file with your own entries. The default titles from HL2 are listed below:

Flags

 * 1: Play Once (Entity removes itself after the first time it displays.)
 * 2: All Clients (Shows the message to everyone on the server. Otherwise, only to the . Not needed for singleplayer games.)