Limited sight in certain areas? (like slender fortress)

Discussion in 'Mapping Questions & Discussion' started by Araluex, Oct 20, 2015.

  1. Araluex

    Araluex L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Hello!

    I was wondering if there was a specific function / brush that limits a players line of sight, like it does in slender maps. For example, upon entering a certain area, a players sight is limited where they cannot see more that a couple of hammer units / meters in front of them.

    In short, is there a function I can use to make players half-blind similar to the way players are half-blind when playing the slender fortress maps.

    Thank you.
     
  2. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    736
    Positive Ratings:
    72
    technically
    you could make a single visibility light dynamic that is parented to player spawns
     
  3. Crash

    aa Crash func_nerd

    Messages:
    3,163
    Positive Ratings:
    4,804
    Changing the fog? I've never seen slender fortress so I have no idea what the intended effect is.
     
  4. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    Yeah, just make multiple env_fog_controllers and use trigger brushes to toggle between them. 2fort does this; take a look at a decompiled copy (or the SDK copy, if you have it) to see how they set up the inputs and outputs.