Random Season Code in Hammer Editor?

ZiggyOwl

L1: Registered
Aug 21, 2011
39
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!
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
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).
 

RubbishyUser

L7: Fancy Member
Feb 17, 2013
414
488
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?
 
Apr 14, 2013
663
343
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.
 
Mar 23, 2013
1,013
347
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.

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.
 

ZiggyOwl

L1: Registered
Aug 21, 2011
39
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:

Freyja

aa
Jul 31, 2009
2,994
5,813
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.
 

Dr. Sasha

L4: Comfortable Member
Aug 5, 2013
185
86
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