Game text tf: Difference between revisions
Jump to navigation
Jump to search
Warning:Don't use quotation characters (") in the Text Message field (not even
m (typo) |
No edit summary |
||
Line 6: | Line 6: | ||
{{Warning|Don't use quotation characters (") in the ''Text Message'' field (not even <code>\"</code> characters). It will cause fatal errors with opening and/or compiling your map and may need to be fixed by manually editing the [[VMF]] in a text editor. Instead, you use detailed quotes (i.e. <tt>“</tt> and <tt>”</tt>).}} | {{Warning|Don't use quotation characters (") in the ''Text Message'' field (not even <code>\"</code> characters). It will cause fatal errors with opening and/or compiling your map and may need to be fixed by manually editing the [[VMF]] in a text editor. Instead, you use detailed quotes (i.e. <tt>“</tt> and <tt>”</tt>).}} | ||
{{clr}} | {{clr}} | ||
==Availability== | |||
This point [[entity]] is exclusive to Team Fortress 2. | |||
== Keyvalues == | == Keyvalues == |
Revision as of 06:23, 28 September 2007
Entity description
An entity that displays text on players' screens. This text can be defined directly in the Hammer editor (unlike the similar env_message entity). This entity is suitable for stand alone bsp maps, if they are not to be localized.

\"
characters). It will cause fatal errors with opening and/or compiling your map and may need to be fixed by manually editing the VMF in a text editor. Instead, you use detailed quotes (i.e. “ and ”).Availability
This point entity is exclusive to Team Fortress 2.
Keyvalues
- Template:Kv targetname
- message
- <string> Message to display on screen. \n signifies a new line in the text.
- icon
- <string> Hud icon (from mod_textures.res) to display.
- display_to_team
- <choices> Audience
Literal Value Description 0 Everyone 2 Red Team Only 3 Blue Team Only
- background
- <choices> Background Panel Color
Literal Value Description 0 Grey 2 Red 3 Blue
Inputs
- Template:I targetname
- Display
- Display the message text.