* Day Cycle
o Events
+ Game - Map initialization
o Local Variables
o Conditions
o Actions
+ Environment - Change the light used for time of day lighting to Default
+ Environment - Set day length to 25.0 game seconds
+ Environment - Unpause time of day cycle
+ Timer - Start (New timer) as a Repeating timer that will expire in 30.0 Game Time seconds
+ Timer - Create a timer window for (Last started timer), with the title "Daylight", using Remaining time (initially Visible)
+ Timer - Show (Last created timer window) for (All players)
I've been trying to get a reliable Day / Night cycle in my map, where wether it is day or night determines certain units' strength. The numbers are set low for the time being, just for testing purposes. Going to shoot for five or six minutes per cycle.
But, it doesn't seem to be working. The timer, which is supposed to say how much longer day is... and (once I get day working, I'll work on Night) how much longer night will last. Like that one mission in the Campaign.
Anyone able to help?
Also: My bad, I realize this is in the wrong section... now. I was browsing this forum looking for ideas on this topic, and when I couldn't find any.. I just clicked the New Topic button.
On the plus side... Idea for a new tutorial, eh? :o
I found that I can open the Campaign map I had in mind, THanson02.SC2map ... not that it helps much. I still can't get my timer to count down right, nor can I make the cycle go as I intend. Sigh.
Trigger:
* Day Cycle
o Events
+ Game - Map initialization
o Local Variables
o Conditions
o Actions
+ Environment - Change the light used for time of day lighting to Default
+ Environment - Set day length to 25.0 game seconds
+ Environment - Unpause time of day cycle
+ Timer - Start (New timer) as a Repeating timer that will expire in 30.0 Game Time seconds
+ Timer - Create a timer window for (Last started timer), with the title "Daylight", using Remaining time (initially Visible)
+ Timer - Show (Last created timer window) for (All players)
I've been trying to get a reliable Day / Night cycle in my map, where wether it is day or night determines certain units' strength. The numbers are set low for the time being, just for testing purposes. Going to shoot for five or six minutes per cycle.
But, it doesn't seem to be working. The timer, which is supposed to say how much longer day is... and (once I get day working, I'll work on Night) how much longer night will last. Like that one mission in the Campaign.
Anyone able to help?
Also: My bad, I realize this is in the wrong section... now. I was browsing this forum looking for ideas on this topic, and when I couldn't find any.. I just clicked the New Topic button.
On the plus side... Idea for a new tutorial, eh? :o
I found that I can open the Campaign map I had in mind, THanson02.SC2map ... not that it helps much. I still can't get my timer to count down right, nor can I make the cycle go as I intend. Sigh.