1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Removing the wait time?

Discussion in 'Mapping Questions & Discussion' started by DrHaphazard, Jan 9, 2008.

  1. DrHaphazard

    DrHaphazard L5: Dapper Member

    Messages:
    249
    Positive Ratings:
    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.
     
  2. Logo

    Logo L3: Member

    Messages:
    115
    Positive Ratings:
    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.
     
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    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.
     
  4. Bulk

    Bulk L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    I'm sorry, bots? Does tf2 have bots? Did I miss something there?

    Thanks for those commands though, very useful!
     
  5. ZargonX

    ZargonX L3: Member

    Messages:
    109
    Positive Ratings:
    4
    We can add bots!?
     
  6. Milktoast

    Milktoast L1: Registered

    Messages:
    26
    Positive Ratings:
    0
    The bots can only mimic your movements/fire. There are a few options available such as changing teams, turning mimic on/off, and changing the mimic offset angle. They're sometimes useful for testing, but they can be awkward to use.

    See http://developer.valvesoftware.com/wiki/Server-Side_Bots
     
    Last edited: Jan 9, 2008
  7. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    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.
     
  8. DrHaphazard

    DrHaphazard L5: Dapper Member

    Messages:
    249
    Positive Ratings:
    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.
     
  9. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    Open it in wordpad, not notepad. Notepad is too simple to support the "advanced" line breaks the source engine uses in it's config now.
     
  10. flannelbum

    flannelbum L1: Registered

    Messages:
    3
    Positive Ratings:
    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
     
  11. DrHaphazard

    DrHaphazard L5: Dapper Member

    Messages:
    249
    Positive Ratings:
    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.