Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Creating text on the screen using commands.

A Tutorial for Team Fortress 2

No ads for members. Membership is 100% free. Sign up!
game_text is a point entity available in all Source games. It displays text on players' screens. This text can be defined directly in the Hammer editor (unlike the similar env_message entity which uses the titles.txt file).

-sv_cheats 1 - Well, that's understandable.
-ent_create game_text targetname text effect 2 message "Insert Text" spawnflags 1 color "100 100 100" color2 "240 110 0" fadein 0.5 fadeout 0.5 fxtime 0.25 holdtime 2.10 x -1 y -1 channel 1 
(That's Failsafe's version, you can edit this.)
-ent_create logic_relay onspawn "text,display"
(That will display your text, you can have another effect.)


Sign up to access this!

No comments yet

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Tutorial creator
Beta Lord
Tutorial
Special Thanks
FailSafe
Commands 'n' stuff

Submitter

The Postman Pechkin avatar
The Postman Pechkin Joined 2y ago
Offline
105th Inc. Flag Affiliation: 105th Inc.
141 points Ranked 62527th
The Postman Pechkin 105th Inc. Flag
Affiliation
105th Inc.

Creator
  • Paypal Donate
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Today's Pick
    Featured on Feb 6 2019
  • 0
  • 2.3k
  • 1y

More from Submitter

More Other/Misc Tutorials