one-way bullet barrier

Discussion in 'Mapping Questions & Discussion' started by AdmiralV, May 6, 2008.

  1. AdmiralV

    AdmiralV L1: Registered

    Messages:
    3
    Positive Ratings:
    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
     
  2. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    14
    I don't think its possible for bullets.
     
  3. rt3407v06p909

    rt3407v06p909 L1: Registered

    Messages:
    30
    Positive Ratings:
    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.
     
  4. AdmiralV

    AdmiralV L1: Registered

    Messages:
    3
    Positive Ratings:
    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.
     
  5. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    14
    Then that doesn't really help :(