Spawn switch

Coolz

L2: Junior Member
Sep 19, 2013
72
26
You know in some maps, blu's spawn changed to red's initial spawn and red gets a new spawn farther back? Well, I'm wondering how you do that. I've worked out already how you get the spawn locations to switch, but my question is the doors.
When I respawn in my map in the new spawn, the door wont let me out as I'm BLU and its programmed for RED only, how do I change it so after the switch it opens for BLU?
 
T

The Asylum

When the new round starts, send the fomerly RED respawn door trigger volume a SetFilterName input, to whatever you named your BLU-permissive filter.



....at least that's how I'd imagine it works, haven't done any multi-stage stuff myself
 

Coolz

L2: Junior Member
Sep 19, 2013
72
26
Actually its not when the new round starts, when the 1st point is captures the red spawn is right next to it so its a bit op to have them there, so I made an alternate spawn at the last point so when the 1st point is captured the blus spawn in their old spawn and they get sent to the last point spawn. (2 point map), but I'll try the suggestion anyway. Hopefully it works.
 

Freyja

aa
Jul 31, 2009
2,994
5,813
In multi-stage maps the team filter used for the door of red's spawnroom is usually tied to the second point of the stage using the "associated team entity" keyvalue.

This means that when the point is captured, the team filter switches to the team that now owns the point. This persists into the next round, so blue can exit.
 

henke37

aa
Sep 23, 2011
2,075
515
He is talking of a single stage map, Upwards style.
 

Newe6000

L1: Registered
Jun 20, 2014
15
5
In multi-stage maps the team filter used for the door of red's spawnroom is usually tied to the second point of the stage using the "associated team entity" keyvalue.

This means that when the point is captured, the team filter switches to the team that now owns the point. This persists into the next round, so blue can exit.

Question, what would happen to a red member who spawns in that room just as the point changes ownership?
 

Freyja

aa
Jul 31, 2009
2,994
5,813
They would be locked in I suppose. Official maps deal with it in a few ways...Maps like Egypt kill players in the spawn, I think one map forces everyone to respawn (not sure how) in their correct places.

Usually single-stage maps' forward spawns don't share teams so it's not an issue.
 

TMP

Ancient Pyro Main
aa
Aug 11, 2008
947
560
They would be locked in I suppose. Official maps deal with it in a few ways...Maps like Egypt kill players in the spawn, I think one map forces everyone to respawn (not sure how) in their correct places.

Usually single-stage maps' forward spawns don't share teams so it's not an issue.

Steel has a teleport trigger inside of the RED first spawn and it just teleports people to the other spawn when the spawn deactivates. That's probably what you're thinking of.

I think Upward does this too? Maybe it kills you when 3rd is capped, I don't remember.