Page 1 of 1

How to add Bind 'key' to Display a Message during Game?

Posted: Thu Nov 15, 2012 2:27 pm
by uzi9mmauto
Being the admin- i'd like to Bind a key to display messages..
I did this by accident and cant recall how I did this.
I believe it was in the autoexec.cfg file in the baseq3 folder in Quake II

I don't mind even if a player hits teh key by accident and announces incidentally too.

Thanks!

http://quakepc.webs.com

http://quakepc.com

Re: How to add Bind 'key' to Display a Message during Game?

Posted: Thu Nov 15, 2012 2:52 pm
by uzi9mmauto
I meant to display DURING a game..

Re: How to add Bind 'key' to Display a Message during Game?

Posted: Thu Nov 15, 2012 3:18 pm
by Eraser
bind x "say text goes here"

note that say is the command to say something to other players. So basically replace text goes here with whatever you want to say, and replace x with the key you want to bind it to.

If you want to say something only to team mates (in Team Deathmatch, Capture the Flag or other team based games), use say_team instead of say.

Re: How to add Bind 'key' to Display a Message during Game?

Posted: Fri Nov 23, 2012 11:46 am
by uzi9mmauto
I've learned that it won't work with a lot of characters. I was trying to have a key for a website and a recommended download. "Go to http://www.uwiefuwe.com dl/l the weapon pack"
That was way to many. So sadly I can.t bind the key with much.

Re: How to add Bind 'key' to Display a Message during Game?

Posted: Fri Nov 23, 2012 11:50 am
by MKJ
should work with quite a lot of characters, actually. seems like there's sometihng else wrong.

that message sounds more like a motd tho. does vanilla q3 support motd? can't remember tbh

Re: How to add Bind 'key' to Display a Message during Game?

Posted: Fri Nov 23, 2012 11:55 am
by Eraser
g_motd I think

Re: How to add Bind 'key' to Display a Message during Game?

Posted: Sun Nov 25, 2012 12:51 am
by gem1n1
It should be simply, in console:

Code: Select all

/bind x "say Go to http://www.uwiefuwe.com dl/l the weapon pack."
whereas x is whatever key you are binding.

uzi9mmauto wrote:I've learned that it won't work with a lot of characters. I was trying to have a key for a website and a recommended download. "Go to http://www.uwiefuwe.com dl/l the weapon pack"
That was way to many. So sadly I can.t bind the key with much.
If by "characters," you mean "models," I don't think it makes any difference whatsoever.

Re: How to add Bind 'key' to Display a Message during Game?

Posted: Mon Jan 14, 2013 3:58 pm
by Wishful Thinking!
Yes the MOTD setting is "g_motd"

To uzi9mmauto,

As well as what you're after, you can also do other tricks too, as such as having a config file in the servers baseq3 directory, with a nice text/color layout (that you design), and set your autoexec to automatically exec the file on the server when you join your game, example code

Code: Select all

//AUTOEXEC CFG - Start
rconpassword "whatever-it-is"
rcon exec "filename.cfg"
//AUTOEXEC CFG - End
You start Q3, You connect to your server, you enter the game, server will broadcast whatever is in the config file, I personally use this technique for "administrator signed in" information.

Example:
Image

Another thing you can do is look up a tool called "Hennimation", a multi purpose tool which can also do automatic execing of CFG files, this can be used for automatic server broadcast messages every X amount of minute, of which you can advertise for people to download the weapon pack.

Example of mine:
Image

I hope this information can help you and others out.