How do I hide/unhide a brush?

Discussion in 'Mapping Questions & Discussion' started by vonDelson, Jun 10, 2010.

  1. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Hi all!

    A reasonable easy question: how do I hide/unhide a brush via a trigger?

    I want to unhide a brush when a player enters a certain area, and hide a brush when the player leaves the area.

    I've tried some things, but none of them seems to work. Any ideas? Thanks!
     
  2. Jakkarra

    Jakkarra L4: Comfortable Member

    Messages:
    167
    Positive Ratings:
    36
    Why?

    You could just do areaportals, if you know how they work.
     
  3. Ravidge

    aa Ravidge Grand Vizier

    Messages:
    1,544
    Positive Ratings:
    2,492
    func_brush and trigger_multiple. onstarttouchall enable, onendtouchall disable. something like that.
     
  4. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    I've tried that, but it didn't work.
     
  5. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    I don't have much experience with areaportals, but I can look into it. Thanks.

    Why? I want players to know where the flag-carrier is via a textured brush.
     
  6. Stink Horse

    Stink Horse L2: Junior Member

    Messages:
    73
    Positive Ratings:
    21
    Ohh like a map? That would be really neat, and I also have no idea how to do it.

    It occures to me that this post is helpful like a hole in the head. Soo... Have you tried converting the brush to an entity? Or using a model to mark the flag carrier's progress instead? Or maybe a series of red lights shown on the map? Maybe those would work with Jakkarra's suggestion
     
    Last edited: Jun 10, 2010
  7. Bermuda Cake

    Bermuda Cake L9: Fashionable Member

    Messages:
    679
    Positive Ratings:
    192
    I did that exact thing for my ctf map, I had some arrows that were brushes. Basically they need to be a func_brush.

    And then you need to make it Disable or Enable to turn it off and on respectively. Make sure it Disables OnPickup and Enables OnReturn, so the arrow disables when its picked up and enables again if it times out and returns to the base.
     
    • Thanks Thanks x 1
  8. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    The HUD automatically shows every player where the flag is, I don't think a brush sign would be necessary.
     
  9. Bermuda Cake

    Bermuda Cake L9: Fashionable Member

    Messages:
    679
    Positive Ratings:
    192
    it is on a map with multiple flags, the arrow gets messed up a bit.
     
  10. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Thanks, gonna give that a try!
     
  11. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    It's for my Murderball 2010 map... so there's no HUD... ;)
     
  12. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Enabling and disabling a func_brush does the trick. I guess I'm still a n00b. :) Thanks guys!