game_text_tf
Jump to navigation
Jump to search

This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.
You can upload screenshots at Special:Upload. For help, see Help:Images.


game_text_tf
is a point entity available in Team Fortress 2. Similar to game_text, it is an entity that displays text on players' screens. The text is displayed in a colored box with an optional image texture next to it. This text can be defined directly in the Hammer editor. This entity is suitable for standalone maps, if they are not to be localized.


Keyvalues
- Message Text (message) <string>
- Message to display onscreen.
- Icon (icon) <string>
- HUD icon (from scripts/mod_textures.txt, only entries with "file" or "font" will display, entries with "dfile" do not work) to display.
{{ExpandBox|title=Some Default Icons|
- whiteAdditive: Additive White
- plus_sign: "+"
- minus_sign: "−"
- dollar_sign: "$"
- health_icon: Health Icon
- timer_icon: Timer Icon
- shield: Shield
- number_0: "0"
- number_1: "1"
- number_2: "2"
- number_3: "3"
- number_4: "4"
- number_5: "5"
- number_6: "6"
- number_7: "7"
- number_8: "8"
- number_9: "9"
- Audience (display_to_team) <choices>
- Filters which team(s) will see this message.
- 0 : Everyone
- 2 : Red Team Only
- 3 : Blue Team Only
- Background Panel Color (background) <choices>
- Color of the text panel.
- 0 : Grey
- 2 : Red
- 3 : Blue
Inputs
- Display
- Display the message text.