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
Note:This entity will not display when using the TF2 minimal HUD.
WhosAsking (talk | contribs) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{tf2 point|game_text_tf}} | {{tf2 point|game_text_tf}} | ||
==Entity description== | |||
[[File:Game text.png|left]]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 [[VGUI_Documentation#Localization|localized]]. | [[File:Game text.png|left]]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 [[VGUI_Documentation#Localization|localized]]. | ||
Revision as of 11:44, 3 November 2013
game_text_tf
is a point entity available in Team Fortress 2.
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 ”).
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Audience ([todo internal name (i)]) <choices>
- Filters which team(s) will see this message.
- 0 : Everyone
- 2 : Red Team Only
- 3 : Blue Team Only
- Background Panel Color ([todo internal name (i)]) <choices>
- Color of the text panel.
- 0 : Grey
- 2 : Red
- 3 : Blue
Inputs
- Display
- Display the message text.