I was wondering what it would take to change the fog density on a time of day basis. So far I've tried adding my own triggers with no luck.
Currently I have the regular Melee Initialization stuff w/ fog property actions inside then in two other folders I have Fog on and Fog off
<Fog on>
Event-> Game - Map Initialization
Time of day Variable-> 12:00:00
Action-> Fog Density 0.0
<Fog off>
Event-> Game - Map Initialization
Time of day Variable-> 00:00:00
Action-> Fog Density 1.0
Well first off.. this doesn't work and I'm not sure why. I'm not a programmer so I might be doing something wrong. Second, if it was to work how I set it up, it would basically just be an on and off switch which I don't want. I want a gradual shift from 1.0 fog density to 0.0 fog density when the sun comes up.
Is it possible? Will I have to have custom scripts? Any help is appreciated.
Time of day works by making custom lighting and then using a trigger to gradually change the settings from i.e. a light set you made called 'day' to 'night' I have not checked for an exact way to make it work yet. But what you could give a shot is going to module, lighting and add a new light then adjust the values till you have light that you like to have during the day or night, then make another and make light for the second half of the day (depending which you made first obviously). I have only messed with light for a few minutes today so my map became a bit darker so I am not exactly sure how to make them transition smoothly yet.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was wondering what it would take to change the fog density on a time of day basis. So far I've tried adding my own triggers with no luck.
Currently I have the regular Melee Initialization stuff w/ fog property actions inside then in two other folders I have Fog on and Fog off
<Fog on>
Event-> Game - Map Initialization
Time of day Variable-> 12:00:00
Action-> Fog Density 0.0
<Fog off>
Event-> Game - Map Initialization
Time of day Variable-> 00:00:00
Action-> Fog Density 1.0
Well first off.. this doesn't work and I'm not sure why. I'm not a programmer so I might be doing something wrong. Second, if it was to work how I set it up, it would basically just be an on and off switch which I don't want. I want a gradual shift from 1.0 fog density to 0.0 fog density when the sun comes up.
Is it possible? Will I have to have custom scripts? Any help is appreciated.
- Doug
Bump? Anyone have any ideas for this? I'm at a loss.
I'm not certain but I don't think time of day is working. Have you done other stuff besides fog with that conditions, to see if the time of day works?
Whatever you do, wholeheartedly, moment by heartfelt moment, becomes a tool for the expression of your very soul.
@GnaReffotsirk: Go
I have not tried any other actions with the Time of Day Variable. I'll have to check this when I get home.
Time of day works by making custom lighting and then using a trigger to gradually change the settings from i.e. a light set you made called 'day' to 'night' I have not checked for an exact way to make it work yet. But what you could give a shot is going to module, lighting and add a new light then adjust the values till you have light that you like to have during the day or night, then make another and make light for the second half of the day (depending which you made first obviously). I have only messed with light for a few minutes today so my map became a bit darker so I am not exactly sure how to make them transition smoothly yet.