Changing stages on arena mode

  • If you're asking a question make sure to set the thread type to be a question!

chaosxk

L1: Registered
Nov 4, 2010
7
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?
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
Someone else asked this not long ago, I thought, but I can't seem to find the thread.
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Use math_counters to enable and disable the info_player_teamspawn entities accordingly.
 

chaosxk

L1: Registered
Nov 4, 2010
7
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.
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
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.
 

chaosxk

L1: Registered
Nov 4, 2010
7
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?
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
[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.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Someone else asked this not long ago, I thought, but I can't seem to find the thread.
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.
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Shoulda told me I was wrong before :c

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

chaosxk

L1: Registered
Nov 4, 2010
7
0
Yea, my friend told me it was impossible to do because it resets. Loads of disappointment there. Thanks anyways.