View Full Version : one-way bullet barrier
05-06-2008, 10:39 PM
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.
05-06-2008, 11:55 PM
I don't think its possible for bullets.
05-07-2008, 11:04 AM
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.
05-07-2008, 02:43 PM
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.
05-07-2008, 05:11 PM
It will, however, block ALL bullets for everyone while active.
Then that doesn't really help :(
vBulletin® v3.8.2, Copyright ©2000-2013, Jelsoft Enterprises Ltd.