Can my map have more than 1 env_fog_controller entity?

Discussion in 'Mapping Questions & Discussion' started by Seitan, May 26, 2017.

  1. Seitan

    Seitan L3: Member

    Messages:
    136
    Positive Ratings:
    16
    Or can I add fog to certain areas?
     
  2. iiboharz

    aa iiboharz Meme Queen

    Messages:
    707
    Positive Ratings:
    1,030
    2Fort does exactly this, check out a decompiled version of it.
     
    • Thanks Thanks x 1
  3. Seitan

    Seitan L3: Member

    Messages:
    136
    Positive Ratings:
    16
    So let me understand how this works, I need to place a trigger_multiple where I want the fog to be?
     
  4. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,842
    Positive Ratings:
    4,775
    The trigger multiple tells the client that runs through it to switch to a different fog controller. You need them at any point where the player can move between areas you want different fog. You can do thsi by covering the entire area, but this doesn't always work
     
    • Thanks Thanks x 1
  5. Seitan

    Seitan L3: Member

    Messages:
    136
    Positive Ratings:
    16
    Are this settings ok?
    [​IMG]
    [​IMG]
     
  6. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    Is this how 2fort does it and have you checked its decompiled version? I don't believe 2fort does it like this but I might recall incorrectly.
    I thought it was: Use OnStartTouch > !activator > SetFogController > [name of env_fog_controller entity]
     
    • Thanks Thanks x 1
  7. Seitan

    Seitan L3: Member

    Messages:
    136
    Positive Ratings:
    16
    Yes it is OnStartTouch > !activator > SetFogController > [name of env_fog_controller entity] but the text appears red because there's no "!activator" entity and no "SetFogController" input and I'm not sure if it will work
     
  8. Seitan

    Seitan L3: Member

    Messages:
    136
    Positive Ratings:
    16
    Nevermind, It worked, thanks