HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Continuous clock....

06-26-2004, 04:27 PM#1
Zazzadar
In my rpg i want the day-nignht cycle to be continuous meaning that the time changes while your not playing.

I don't know how to do it and it's probobaly impossible... but there are games that do it like the pokemon for the gameboy actually checks what time it is.

And then to make matters worse i need to it to be a 20 hour clock so that you dont have to stay up unitl 1 in the morning to acess some features because the REAL WORLD to GAME WORLD time reference would keep changing. It's hard to explain but...you might get what i mean...
06-26-2004, 04:40 PM#2
-={tWiStÄr}=-
It's impossible. Theres no way to reference the users cpu clock. and plus, you would prolly get desync with different time zones. The way Gamecube and all those other systems is the console actually has a clock. For GBA thats kinda wierd.. im gonna go check because you never set the time. It probably just comes back to whatever time it was last player which btw is pretty easy to do.
06-26-2004, 05:26 PM#3
SirSalute
Sorry as -={tWiStÄr}=- said, its impossible, the warcraft itself doesn't refer to the CPU clock let alone map.
@-={tWiStÄr}=- GBA's pokemon, you do really have to set the time, it even have a daylight saving feature.
06-26-2004, 08:00 PM#4
Zazzadar
Quote:
Originally Posted by SirSalute
Sorry as -={tWiStÄr}=- said, its impossible, the warcraft itself doesn't refer to the CPU clock let alone map.
@-={tWiStÄr}=- GBA's pokemon, you do really have to set the time, it even have a daylight saving feature.

Oh..ok i suppose it could be done with a trigger and dialouge system at the beggining of the game though where you set the clock? But then still it can't refrence how long you havn't been playing...oh well i suppose this thread will have to hang in the void of dead posts until somebody comes up with something...
06-26-2004, 08:16 PM#5
SirSalute
Quote:
Originally Posted by Zazzadar
Oh..ok i suppose it could be done with a trigger and dialouge system at the beggining of the game though where you set the clock? But then still it can't refrence how long you havn't been playing...oh well i suppose this thread will have to hang in the void of dead posts until somebody comes up with something...
i have some kind of weird imagination when i saw your reply, i dunno how save/load game or game cache works, but if there's anyone who's able to retrieve the saved time between two saved interval, your request maybe fulfilled. ^_^
06-26-2004, 09:05 PM#6
-={tWiStÄr}=-
No.. its impossible, lol. you cant get the time between 2 games unless you tap b.net or something but then well... obvious consequences. but like i said, you could have them enter a code in the begining and you could load it up at the time that the game was quit.
06-26-2004, 09:12 PM#7
Zazzadar
hhhmmm yeah like some kinda "Please enter time" thing that gets converted to the games clock...but then people could cheat...
06-26-2004, 09:18 PM#8
-={tWiStÄr}=-
Thats why you use a code. and since its only like 4 digits you need to keep track of, make it some outragiously silly code. like 10 digits and you can make them all codependant and random.
06-26-2004, 09:27 PM#9
Zazzadar
Quote:
Originally Posted by -={tWiStÄr}=-
Thats why you use a code. and since its only like 4 digits you need to keep track of, make it some outragiously silly code. like 10 digits and you can make them all codependant and random.

yeah but then you are still only continuing the time from when you last played not letting the time continue while you are not playing...

so if we had the game on a realistic 24 hour clock you could play at 7pm and set the game time to 7pm you play for half an hour the time in both worlds (real and game) are now 7:30pm you save and then go and have dinner which takes twenty minuits and then reload your game...What i want is so the game time now becomes 7:50 but currently(i think) we can only get the clock to be 7:30, the time we saved.
06-26-2004, 09:52 PM#10
-={tWiStÄr}=-
exactly :8 if we lived in a semi perfect world tho.. we could save game caches onto the hard drive of the player then learn how to edit them without using wc3 and every second change it ^_^ but its not even a semi-perfect world so your plan is impossible. I can help you with the reload code tho. oh and also the creator would type the code in. If you want me to help you with code get me on AIM with twistar9999 or MSN with [email protected]
06-26-2004, 09:56 PM#11
Zazzadar
Quote:
Originally Posted by -={tWiStÄr}=-
exactly :8 if we lived in a semi perfect world tho.. we could save game caches onto the hard drive of the player then learn how to edit them without using wc3 and every second change it ^_^ but its not even a semi-perfect world so your plan is impossible. I can help you with the reload code tho. oh and also the creator would type the code in. If you want me to help you with code get me on AIM with twistar9999 or MSN with [email protected]

Creator? I think you may have under stood this is for a SINGLE PLAYER rpg not a multiplayer :) does that make any difference to the situation?
06-26-2004, 10:08 PM#12
-={tWiStÄr}=-
No it doesnt. well... it could but i dont know enough about programming outside of war3 to tell that well. Since im pretty sure you can save gamecaches onto the hardrive in single player if someone could find a way to everysecond edit the game cache every second then it could work. I'm guessing it would be done through some kind of .bat file. but then the person who gets the map would have to download that also. But like i said, i dont know enough about game caches or outside programing to tell you.
P.S. dont you love how i always add something on to "like i said"?
06-26-2004, 10:20 PM#13
Vexorian
Hmnn, If it is for a mod, it is possible, but this will hurt to know actually, you'll need to know programming and about the game cache files format, then you make a program that when you enter to the mod , it creates a game cache file that has the hour attached, then you make one trigger read the hour value from the game cache file.
06-26-2004, 10:28 PM#14
-={tWiStÄr}=-
you forgot to mention the part about how you change the game cache every hour while your not playing.
06-26-2004, 10:32 PM#15
Zazzadar
Hmmm it obviously starts getting complicated then..oh well i can't do it because idont have enough knowledge and its not a mod...but if someone else could do it that would be great