Changing stages on arena mode

Discussion in 'Mapping Questions & Discussion' started by chaosxk, Jan 28, 2011.

  1. chaosxk

    chaosxk L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Hi, i have several stages on my arena map. I am trying to make the client spawn on 1 of the stages in order from 1-5. For example, everyone spawns on stage 1. After everyone dies, does not matter if red or blue wins, it changes to the 2nd stage and then so on to the 5th stage. Can someone help me do this?
     
  2. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,217
    Someone else asked this not long ago, I thought, but I can't seem to find the thread.
     
  3. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    Use math_counters to enable and disable the info_player_teamspawn entities accordingly.
     
  4. chaosxk

    chaosxk L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    uh, im having trouble with the math_counters. I set up the outputs on the spawns name, but and set it as an input for game_round_win. Not sure about any other settings, but still won't work.
     
  5. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    Have your tf_gamerules or whatever ent send an input to the math_counter, adding 1 to its value on round end. Then, when the counter's value equals zero, have it enable the first set of info_player_teamspawns; when it's one, the second set; etcetera. When the counter reaches four, have it reset so it'll go back to the original set of spawns.
     
  6. chaosxk

    chaosxk L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    I set the value to 0, min value is 1, max value is 2. Now for the outputs on math counter, what is the math output name suppose to be?
     
  7. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    [name of first set of info_player_teamspawns] => Enable
    [name of second set of info_player_teamspawns] => Disable

    Then when you're moving on to the second stage, disable the first set and enable the second.
     
  8. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    Yep, someone did a month ago. And seba gave the same incorrect advice that time too. :p http://forums.tf2maps.net/showthread.php?t=15956

    You cannot control this by messing with spawns, because players spawn in before ANY in-map entity logic is fired. What you will want to do is set up your map just like a standard multi-stage map using team_control_point_round entities. Adding arena mode into it doesn't stop the round system from working.
     
  9. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    Shoulda told me I was wrong before :c

    EDIT: yes you did, I'm gonna go cry in a corner
     
  10. chaosxk

    chaosxk L1: Registered

    Messages:
    7
    Positive Ratings:
    0
    Yea, my friend told me it was impossible to do because it resets. Loads of disappointment there. Thanks anyways.
     
  11. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    Uhh, I tried to explain that it is possible... You just make it like a normal multi-stage map.