Posts: 19
Threads: 4
Joined: Jan 2006
Reputation:
0
03-23-2006, 08:30 AM
(This post was last modified: 03-26-2006, 08:01 AM by calef13.)
I used to see on some server where if you typed a certain keyword into chat the chat would respond and display a message for all to see.
I am aware that this is custom programming or scripting of some kind but my question is if anyone knows where I could learn to program like that ?
Thanks in advance.
Also could anyone tell me the command to output all cvars to a text file? i know I can view them all with "cvarlist" but I forgot how to save them to file.
Can anyone tell me the cvar that restricts who players can spectate i.e. cts can onyl spectate cts and vice versa?
Posts: 19
Threads: 4
Joined: Jan 2006
Reputation:
0
Can't anybody reply to me? surely someone here can help me!
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
with the first part, im pretty sure you could do something like that with matties event scripts.. I don't however, know very much about matties, nor do I have a link. Just google it.
I don't remember how to print the cvar list either, but google will more then likely find that as well.
with the cvar, the find feature in console will likely find that, its your friend along with google. type in "find spectate" or any other work and it will bring up everything with that in it.
Posts: 19
Threads: 4
Joined: Jan 2006
Reputation:
0
O.K thanks very much I didn't know that the console had a "find" function.
Cheers
Posts: 19
Threads: 4
Joined: Jan 2006
Reputation:
0
can anyone tell me the CVARs to make a bot fill quota for 4 bots?
Sorry to ask such a mundane question but the search doesn't work and I don't want to open a new thread.
Posts: 19
Threads: 4
Joined: Jan 2006
Reputation:
0
Forget that last ccomment, I found out how to do it.
bot_quota 4
bot_quota_mode fill
bot_auto_vacate 1
bot_join_after_player 0
Posts: 123
Threads: 5
Joined: Dec 2005
Reputation:
0
Here, try this.......
cvarlist log cvarlist.txt
(from Steampowered.com)
If you have setup CS 1.6 servers or other non-Source servers before then I recommend not using those server.cfg 's anymore, because some commands have changed or are not working anymore! Here you can find a Source cvarlist so you can compare it with your old server.cfg 's or you can use the server.cfg below: Source cvarlist
This Source cvarlist is from nov 2004, if you want the latest or if the link is not working, you will have to do the following: Start your server (in console mode), when it's started type the following in the serverwindow: cvarlist log cvarlist.txt
A lot of text appears, but you can close your server if you want. In your cstrike folder you will now find a file cvarlist.txt and you can open this with Word, this is the latest Source cvarlist.
-Jon-
again.....googled...
Posts: 19
Threads: 4
Joined: Jan 2006
Reputation:
0
Thanks guys, I got the cvar list, although it's not exactly human friendly but it is proving very useful. But I have one more question:
What/is there a CVAR which can limit the speed at which maps, files etc are downloaded?
You see players on my server are getting pretty high pings whenever someone downloads the map and I'd like to limti the speed so that players will get better ping but slower map downloads.
I googled it and didn't find anything and I also tried the find function in the console as well as poring through the cvarlist text file but I didn't find anything, except I'm fairly sure I used that CVAR once.
Any help will be appreciated, and thanks for all the previous help, the messages are working fine with matties event scripts.
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
No there is no cvar for that.
only options you have is either upgrade your connection or (the cheapest way) use sv_downloadurl
downloadurl hosts remote gamemod folder on a webserver, when a client connects he'll grab the stuff from the webserver instead of your server. Als, you can limit a webservers bandwidth, which you can't with the SRCDS (at least, without getting lag)