one-way bullet barrier

AdmiralV

L1: Registered
May 6, 2008
3
0
Hi, I was wondering if there was any way to make a barrier that allows one team to shoot through while disallowing the other team to shoot through, like a one way blocks_bullets brush. I've been trying to get it to work with a func_respawnroomvisualizer but im not sure if theres any way to toggle it for collision.
Thanks
 

rt3407v06p909

L1: Registered
Apr 16, 2008
30
17
It depends.

If you're fine with the barrier always being up unless someone needs to pass through it, then it's possible.

Just create a func_brush out of the blocks_bullets texture and tie it to a clients-only trigger_multiple larger than the brush with a team activation filter.

Create Outputs on the trigger so it disables the brush OnTouch and enables the brush OnEndTouchAll. The bullet blocking brush should block everything, including the other team.

When a member of the home team wants to pass through it, it will disable while they need to, and re-enable after they've passed. It will, however, block ALL bullets for everyone while active.
 

AdmiralV

L1: Registered
May 6, 2008
3
0
Nah, I needed it to be able to block bullets from one team and not the other. I was making a map where blue has to get to the top of a ramp with a CP on the end of it, while the red team is confined behind a one way bullet wall to stop them from reaching the top. So really, I just needed blue not to be able to shoot the red team while allowing the red team to shoot blue.