[Question] Dynamic light_environment

Discussion in 'Mapping Questions & Discussion' started by CriminalBunny, Dec 8, 2016.

  1. CriminalBunny

    aa CriminalBunny Lasers are just deadly rainbows

    Messages:
    277
    Positive Ratings:
    410
    I think this has been asked several times, but is it possible to have a dynamic light_environment? If so, I guess that making a map go from night time to morning is going to make the file skyrocket in size. Then I'd need to know how to change the skybox but I think I can solve that by just making a func_brush with the sky textures in the 3d skybox or something like that.
    I have an idea in mind based on this and I'd like to know if I can make it work.
     
  2. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    900
    Positive Ratings:
    1,443
    you can add a name parameter to the light_env if you turn off smart edit, allowing you to enable and disable the light. Remember though that doing this adds a second set of light maps to every surface in the map that can receive them, bloating the file size enormously, so i really don't recommend it
     
    • Thanks Thanks x 1
  3. Another Bad Pun

    Server Staff Another Bad Pun bap

    Messages:
    564
    Positive Ratings:
    1,115
    • Thanks Thanks x 1
  4. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,418
    Positive Ratings:
    1,141
  5. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,880
    Positive Ratings:
    1,487
    tl:dr don't do what the OP of that thread tells you to do
     
    • Thanks Thanks x 1
    • Agree Agree x 1
  6. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,418
    Positive Ratings:
    1,141
    Kind of, but it also explains whys, why nots, and what to do instead. spoiler alert: what to do instead is leave this idea alone
     
  7. CriminalBunny

    aa CriminalBunny Lasers are just deadly rainbows

    Messages:
    277
    Positive Ratings:
    410
    I have to say that as I already knew that this will make lots of problems I don't plan to make a playable map out of this. Nonetheless, I'm aware of the insanity of this and decided to try it anyways. May god have mercy on my soul