Problems with respawn wave time

Discussion in 'Mapping Questions & Discussion' started by The Asylum, Sep 7, 2010.

  1. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Okay, so the general idea for making a 5-CP linear map is when there's one point left for one team, that team faces longer respawn times, while the attacking team's respawn times are shortened.

    What I'm doing now is sending tf_gamerules a SetXTeamRespawnWaveTime >> Y input. That works fine when I'm testing the map by myself. So let's say I'm on the team with one cap left, and the average respawn time is 15s. But when I add TF Bots, that respawn time skyrockets to 25-30 seconds.

    How do I keep these respawn times consistent, regardless of how many players are in a server?
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    You don't. The game automatically applies a scalar to the wave time when there are few players. http://www.tf2.com/post.php?id=1872
    mp_showrespawntimes will show all of these values.
     
    • Thanks Thanks x 1
  3. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    So should I just not fiddle around with respawn wave times?
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    You can. Pretty much every map should have them adjusted. Just don't go higher than 10 (results in 20 max. the default) and set them for how you want them during a full game. It's designed to scale down with less people so you don't have a bunch of time where everyone is dead too much and nothing going on.
     
  5. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    But isn't the default respawn wave time 10? I just went on Badlands just now, and filled the server with bots. The Blu team's respawn was never more than 15 seconds with 16 players on each side.
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    It explained that in the blog post I linked. The map sets the wave time, and you are placed into the wave coming after the one currently active.

    Code:
     Wave One   Wave Two   Wave Three
    0---------10---------20---------30
         A   B     CD       E
    This is a wave time of ten seconds. The waves are continually moving, and the letters are when players die. Players A and B die during wave one and are placed in wave two, and will spawn at the 20 second mark. C and D are put in wave three. E is put in wave four.
    So your spawn time is between the wave value (dying just before the current wave ends) and double the wave value (dying just after the current wave began).