Need help "fogging out" a part of the map

Discussion in 'Mapping Questions & Discussion' started by REEJ, Oct 10, 2010.

  1. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    167
    As in title,
    Practically what I'm trying to achieve is to blend an in-map part of my 3D skybox with a fog (of same color as inside the skybox)
    Want to make the train cars in screenshot to partially start disappearing in the fog.

    I tried to put a separate fog controller with appropriate range and failed (probably it requires the player actually standing in the zone to trigger?)

    Screenshot of the part in the attachment below:
     
  2. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    In the sky_camera entity theres option for fog, set them to be the same as your fog controller. For simplicity you really should only put one fog controller for your map.
     
  3. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    167
    I do have the separate fog in skybox, the master fog controller in my map however, needs to be kept at low density and long range. So the problem is, I want a thick fog covering smaller area serving as a smooth transition between the map and the skybox
     
  4. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    Oh, I see.

    In that case, I have an idea but I don't know if it requires the player to be in a specified volume/area to have the fog occur. But if you look at the reference version of 2fort, in the sewers they made it so the fog is thicker. Check how they did it, I know on the main fog_controller you'll want to check the flag to make it the master controller.

    Only problem is it seems it would be client side (else people not in the sewer would see the change in fog). Or maybe its static and there all the time but in the specified area. I really don't know, haven't really done anything like this before.

    Anyway, good luck, hope this helps in one way, shape, or form.
     
    • Thanks Thanks x 1
  5. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    167
    Surely will check it out in Hammer
     
  6. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    167
    Found about 6 fog_controll entities in 2fort :O
    Guess their way is based on triggers but that works only because it's mostly for interiors. In conclusion now, I think I need a fog effect which is not based on fog_controll entity :mellow:
     
  7. Tapp

    Tapp L10: Glamorous Member

    Messages:
    776
    Positive Ratings:
    211
    From what I can tell your only solution would be volumetric fog, which is not very good or efficient. I think you're better off adjusting your fog and settings so you don't have to fade the train out.
     
    • Thanks Thanks x 1
  8. EArkham

    aa EArkham Necromancer

    Messages:
    1,576
    Positive Ratings:
    2,199
    Pretty sure cp_well does this, too. Problem with it is teleporters. Have you ever noticed if you take a teleporter from one area into another, the fog looks different than normal until you walk into through one of the triggers?

    Kep
     
  9. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    167
    Nevertheless, gonna try to make it, it's skybox part after all, doesn't have to look perfect just needs to be there. Adjusting fog_controller to what I want even with triggers, simply doesn't look right in open-air area.
     
  10. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    136
    Most people never notice because the variance in the fog colors is pretty slight.

    But yes. 2Fort (and I'd say most valve maps) have multiple fog entities. I did the same thing for my artpass entry, although it was tricky deciding where the triggers went!