Random Season Code in Hammer Editor?

Discussion in 'Mapping Questions & Discussion' started by zigvt85, Feb 5, 2014.

  1. zigvt85

    zigvt85 L1: Registered

    Messages:
    39
    Positive Ratings:
    0
    Ok I am not really sure if this is going to come out the way I want it lol. But anyways here I go and sorry in advance if this is the wrong thread. So here is my question. I was thinking about this today in Hammer Editor is there a way to change the environment automatically in your map like TF2 does on there menu area before you load the game.

    So lets say its Spring Time we can have the sun shining and everything else. Then fall hits we can have it fall and gloomy looking. Winter comes you see the snow falling. I know we can do this making different maps but I was wondering if there was a code to make this automate so the game it self can tell what season it is.

    Sorry if I sound confusing but I was not sure how to ask about this. Basically what i am trying to ask if there is a Automated Season Environment Code that will change the settings in the current map without having to change it in hammer.

    Again sorry about this if its in the wrong post didn't see a help request thread :confused:

    Thanks!
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Nope. The Source engine doesn't really do dynamic environments very well. There are ways you can fake/hack parts of it, but trying to get all of it into one map probably is more effort than it is worth (and some of it impossible).
     
  3. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,377
    I have no idea what this even means.
     
  4. RubbishyUser

    RubbishyUser L7: Fancy Member

    Messages:
    414
    Positive Ratings:
    243
    steve, I think he's talking about Halloween Backgrounds on full moons and at halloween. Clearly, the game does have some idea of what day it is so it knows when it's a full moon, but the real problem here is the maps. Would it be possible to take a small map, like an arena, and create 4 separate duplicates for the seasons, and then teleport the players/activate and deactivate the logic entities for each section?
     
  5. takabuschik

    aa takabuschik

    Messages:
    663
    Positive Ratings:
    332
    On a 24/7 server, make a really long logic_timer, and add to it's outputs all the teleporting stuff. then add a fake bot that will permenantly idle on the server so the map will never restart. The map has to be DM/TRADE/some other mod that doesn't require the map to restart (no "victory")
    Of coure I'm not serious, but it might work.
     
  6. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    341
    It works till the next game update ^^

    But 4 seasons in one map? ^^'
    Making a map having a day and night time is already pretty difficult.
     
  7. zigvt85

    zigvt85 L1: Registered

    Messages:
    39
    Positive Ratings:
    0
    Yes, I am talking about the Halloween themed backgrounds on TF2. But as you guys stated its more work then its worth and there is not really a quick or good solution to add this. I think dynamic environments would be awesome in mapping but coding wise seems to be to much of a hassle. At the time guys I didn't even know what i was trying to say I had it in my head but I just didn't know exactly what it was called. But thanks for that. Maybe the year 2020 we can have this feature lol.

    P.S. It was just an idea that came to me didn't mean to confuse everyone. Maybe someday the community will write a code or steam will eventually update hammer maybe. Anyways thanks for the suggestions but for now I will just make random maps with random skys lol.
     
    Last edited: Feb 12, 2014
  8. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,882
    Positive Ratings:
    5,123
    It's not an issue with technology. Other engines can do it fine. It's not hammers fault either.

    The fact is, the source engine was never built to have more than one skybox. It was built around lightmaps rather than dynamic lighting like more modern engines (lightmaps look a /lot/ better but have to be static). We'd have to wait for source 2.
     
  9. Dr. Sasha

    Dr. Sasha L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    85
    Source Engine is not as dynamic as anyone would want it to be. It's more static (lightmaps). That's why lighting would be bugged with moving objects, etc