Hide brush or prop inside an invisible brush

Discussion in 'Mapping Questions & Discussion' started by 【EmNudge】, Oct 22, 2015.

  1. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    180
    Positive Ratings:
    37
    what i'm asking is for a way to hide a prop or brush, in middle of a map, inside an invisible brush, somehow making that prop and brush also invisible.

    why I need this:
    I want to place a room that you can only see from inside of itself, I don't care if it is solid, it's better that way.
     
  2. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,003
    Positive Ratings:
    1,155
  3. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    180
    Positive Ratings:
    37
  4. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    Before you mess things up with area portals, maybe you can just make the brush or the prop invisible? a func_brush and prop_dynamic can be turned invisible with the "disable" input or "alpha 0" input. Mind that this might not disable collision of those entities though.
     
  5. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    180
    Positive Ratings:
    37
    I stated
    I need a room to be visible once you are inside it, but not to those looking directly at it from outside.
    I also need to place a gokart somewhere in my map to enable the karts to show up when triggering that event - if it were invisible it wouldn't work.
     
  6. henke37

    aa henke37

    Messages:
    1,877
    Positive Ratings:
    440
    I think this effect can be done if you hack the PVS data.
     
  7. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    180
    Positive Ratings:
    37
    you're one of the only hard-core coders here, I have no idea what that means or how to accomplish it
     
  8. henke37

    aa henke37

    Messages:
    1,877
    Positive Ratings:
    440
    You know of vvis, right? That program computes PVS data, the potentially visible set. My suggestion was to either create modified version of vvis or to tamper with the data afterwards.

    Really, it would be more of a bug fix here, if you can make a brush that is opaque on one face but not the other then vvis really should compute visibility so that you can only see in one direction.