Togglable skybox

Discussion in 'Mapping Questions & Discussion' started by KaidemonLP, May 10, 2017.

  1. KaidemonLP

    KaidemonLP L4: Comfortable Member

    Messages:
    189
    Positive Ratings:
    33
    I woud like to make it so that the top of the skybox is removed/toggled so that it is possible to poceed to the next area.
     
  2. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    665
    Positive Ratings:
    470
    So you're saying you want the skybox to act as a barrier between two parts of the map, and you want it to disable so that players can move between these two parts of the map?

    I'm not entirely sure of this, but I would think that the skybox texture would still work as a func_brush, which can be enabled and disabled with an input.
     
  3. henke37

    aa henke37

    Messages:
    1,877
    Positive Ratings:
    440
    The sky material is special. I didn't actually check, but I would be very surprised if it worked on any entities.
     
  4. Diva Dan

    aa Diva Dan hello!

    Messages:
    831
    Positive Ratings:
    1,369
    Yeah, chances are it won't work. Why do you need the skybox brush to be removed once the stage is done? Is it's preserve and illusion that the next area doesn't exist yet? Because otherwise it's probably better to just use player clip or block bullet to serve as an invisible barrier
     
  5. henke37

    aa henke37

    Messages:
    1,877
    Positive Ratings:
    440
    Also note that it's generally not advisable to let players come close to the skybox brushes to begin with. There is a reason why there is always an out of bounds area before the skybox.
     
  6. KaidemonLP

    KaidemonLP L4: Comfortable Member

    Messages:
    189
    Positive Ratings:
    33
    That is the idea.
    Also i tried doing wall_togelable but the texture bugged out.
     
  7. Faux Rhinoceros

    aa Faux Rhinoceros Also known as Dr. Element

    Messages:
    1,477
    Positive Ratings:
    1,367
    If i'm reading you correctly, why not just have an area portal + func_brush (to block players from traversing the portal) that you can toggle?

    I made such a thing once. I'll send you a pm with the vmf.
     
    Last edited: May 11, 2017