Writing text to screen - Easy and possible?

LordBug

Newbie
Joined
Dec 8, 2004
Messages
54
Reaction score
0
Is it possible for me to write a .cfg file which, amongst other things, writes some lines of text to the screen (Not the console)?

I'm trying to make a simple menu driven stuffulator, and only need this to be able to do it.

Thanks in advance.
 
simple...

put "developer 1" at the top of the script,

then just

Clear; echo [Message]

and it comes up in th upper left corner...
 
An Env_message entity should do the trick. Also I think game_text does basically the same thing. I'm not sure what a stuffulator is but if you are making a map this is relevant.
 
Cheers Reaper, that's helped me get my thingy working to an extent.

And now I wish I'd looked at your tag earlier :P

Mine is crude, a bit buggy on some things, and I wish I could find a way to place the text to the right and in the middle (And use a better font) of the screen.

If you want a little play with my simple little creation, here it is.
Spawn NPCs, choose the weapons to equip them with, spawn the two vehicles (And you can give the airboat the gun), and the basic god/noclip/notarget/ai_disable choices.
 
does anyone know a site or tutorial that has more information on setting up scripts with .cfg files like you have done here?

I'm looking for ways to have a menu that can execute player animations for example.
 
Back
Top