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

Locked
uzi9mmauto
Posts: 39
Joined: Sun Nov 21, 2010 2:02 pm

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

Post 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
[b][url]http://www.gametracker.com/server_info/108.178.55.219:27960[/url][/b]
[img]http://cache.www.gametracker.com/server_info/108.178.55.219:27960/b_560_95_1.png[/img][b][url]http://www.gametracker.com/server_info/108.178.55.219:27960[/url][/b]
uzi9mmauto
Posts: 39
Joined: Sun Nov 21, 2010 2:02 pm

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

Post by uzi9mmauto »

I meant to display DURING a game..
[b][url]http://www.gametracker.com/server_info/108.178.55.219:27960[/url][/b]
[img]http://cache.www.gametracker.com/server_info/108.178.55.219:27960/b_560_95_1.png[/img][b][url]http://www.gametracker.com/server_info/108.178.55.219:27960[/url][/b]
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

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

Post 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.
uzi9mmauto
Posts: 39
Joined: Sun Nov 21, 2010 2:02 pm

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

Post 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.
[b][url]http://www.gametracker.com/server_info/108.178.55.219:27960[/url][/b]
[img]http://cache.www.gametracker.com/server_info/108.178.55.219:27960/b_560_95_1.png[/img][b][url]http://www.gametracker.com/server_info/108.178.55.219:27960[/url][/b]
User avatar
MKJ
Posts: 32581
Joined: Fri Nov 24, 2000 8:00 am

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

Post 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
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

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

Post by Eraser »

g_motd I think
gem1n1
Posts: 6
Joined: Sat Sep 29, 2012 5:25 pm

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

Post 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.
Wishful Thinking!
Posts: 27
Joined: Sun Jan 15, 2012 1:19 pm

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

Post 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.
ts3.wishfulthinkings.net
Locked