Removing the wait time?

DrHaphazard

L5: Dapper Member
Jan 6, 2008
249
12
I'm sure this is a braindead simple question but i cant seem to find the answer. Basically I would love to remove the 30 second "Waiting for Other Players" thing when i run a map. I cant seem to figure out if that Waiting thing is put in the map or if its a server side option.

Would love any help on this.
 

Logo

L3: Member
Oct 25, 2007
115
26
it's something like mp_waitforplayerscancel . I believe typing mp_wait should autocomplete it. You'll want to pass 1 to disable the wait.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,776
7,674
mp_waitingforplayers_cancel 1

Also, for further removal of map testing annoyances, I have a key bound to "mp_waitingforplayers_cancel 1; ent_fire tf_gamerules addredteamrespawnwavetime -20; ent_fire tf_gamerules addblueteamrespawnwavetime -20; mp_teams_unbalance_limit 16"... kills the wait, respawn time, and lets me add bunches of bots if needed. I also have a key that toggles cheats, so as soon as my map loads I just hit those two keys in sequence.
 

Bulk

L1: Registered
Jan 1, 2008
3
0
mp_waitingforplayers_cancel 1

Also, for further removal of map testing annoyances, I have a key bound to "mp_waitingforplayers_cancel 1; ent_fire tf_gamerules addredteamrespawnwavetime -20; ent_fire tf_gamerules addblueteamrespawnwavetime -20; mp_teams_unbalance_limit 16"... kills the wait, respawn time, and lets me add bunches of bots if needed. I also have a key that toggles cheats, so as soon as my map loads I just hit those two keys in sequence.
I'm sorry, bots? Does tf2 have bots? Did I miss something there?

Thanks for those commands though, very useful!
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,776
7,674
Yeah, there are bots, but they have zero AI behind them. Only commands I've found to work are bot which adds one, bot_mimic X which makes them mimic (moving/shooting/looking) the player whose number is specified, and bot_mimic_yaw_offset with 0 making them look at the same angle as you and 180 being opposite.
 

DrHaphazard

L5: Dapper Member
Jan 6, 2008
249
12
Sweeeeeet! Thanks Boojum!

Incidentally, to set the bind I just opened the cfg file like I used to. However, it seems that now they have no formatting to the file so its just a giant jumble of stuff. Is there some other program you use to read the file to make it clearer? Not a big problem mind you, just a minor nitpick.
 

flannelbum

L1: Registered
Jan 24, 2008
3
0
I know this is an old post and I hope I didn't bump it up for no reason but....

You can execute scripts with "exec <scriptname.cfg>" This can be bound to a key or entered into the console. In it, you can easily keep key binds and other in-game functions. (it can also be easily editable in notepad and allow you to script your in-game keys for different situations.)

I also have an autoexec.cfg script that gets run automatically when the game starts setting or executing binds or scripts that sometimes stop working after an update. I used Steam to get the game and my autoexec.cfg was a file I had to create in my "C:\Program Files\Steam\steamapps\flannelbum\team fortress 2\tf\cfg" folder. I'm pretty sure you can create one in the same directory where TF2 is and it'll do the same for you.

If you already knew this I didn't mean to insult intelligence or waste your time. Just felt the need to share how cool this was to find out for myself.

More info on scripts, binds, and other good TF2 info:
www.tf2wiki.net
 

DrHaphazard

L5: Dapper Member
Jan 6, 2008
249
12
Heh I actually did not know that flannel. Frankly I have not been playing HL games for a while now so I have completely forgotten how to do things through the console. Also I was not aware there was a tf2wiki, so thats good news as well.