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

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.)

No comments yet


Difficulty Level