Preventing teammates re-entering spawn room

vonDelson

L1: Registered
Sep 23, 2008
42
0
Hi all!

For my next project I'm looking for a way to prevent teammates from re-entering their own spawn room. At the moment, I solved this problem with a spawn room door which can be opened via a trigger_multiple on just one side of the door (the spawn room side). Off course, this works like a charm. But, players can still re-enter the spawn room when the door is opened by another player in the spawn room. Is there any way I could block players with an invisible one-way wall?

Thanks in advance!
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
I cheap solution would be a trigger_push set to a value high enough that the player can't fight against it to get through.

Don't set it too high though or people will notice/abuse it somewhow.
 

Icarus

aa
Sep 10, 2008
2,245
1,210
If you make it a drop down with a one-way door, it should be virtually impossible to get back up.
 

Tehrasha

L3: Member
Nov 5, 2009
115
28
The very quick and dirty way to make a 1-way door.
Works regardless of team affiliation.

Edit #1 :: Its a teleporter.

Edit #2 :: For completeness, you should add a func_respawnroomvisualizer entity between the teleporter and the destination. Then set its filter so both teams will be blocked from entering.
 
Last edited:

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
Yeah, it requires tricks. Vertical drops, sneaky teleports, precise triggers, push entities, etc.
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
I don't advocate using tricks really. Players shouldn't have a reason to want to go back through one way spawn exits.
 

StickZer0

💙💙💃💙💙
aa
Nov 25, 2008
664
647
Displacements will work, but only if you make sure the player goes the whole way through and doesn't decide to chicken out halfway.
 

vonDelson

L1: Registered
Sep 23, 2008
42
0
Thank you all for those suggestions. I really appreciate it, but none of them will really work in my map. I'll find another solution...

(kinda strange that there's no standard one-way wall entity in the game)