Day/Night Cycle in Real Time

Status
Not open for further replies.
Level 12
Joined
Sep 28, 2012
Messages
277
I'm working on a WarCraft III map that's as close to World of WarCraft in mechanics and feel as possible. I've made it so that conjured items disappear when you "log out" (Basically whenever you load a game it finds all conjured items and deletes them :D), a death system where you have to find your corpse and everything, flight paths, etc.

I was wondering, would it be possible to somehow find the computer's internal clock so that the day cycle could be based on the time that the person is playing the game? Or is it impossible for WarCraft III to find out something like that?
 
Last edited:
You can easily make a little program to create the text file from Java or C++ if the WE can read input from txt files.

And instead of every seconds you can set the time on some specific occasions like loading, saving, respawning and have your day and night cycle speed to .04%(it may be wrong im just throwing a random number) to match it with real time cycle.
 
Status
Not open for further replies.
Back
Top