Jump to content


Photo

Game Clock & Time Unit Conversion


  • Please log in to reply
2 replies to this topic

#1 bigmoshi

bigmoshi
  • Modder
  • 230 posts

Posted 08 January 2008 - 03:15 AM

Hi, was trying to look for some information on Global Timers, and have a couple of questions.

(1) Is it true that the IE uses a "system clock" to control events:

eg. when a SetGlobalTimer("VARIABLE", "GLOBAL", ONE_DAY) is used,
basically we are setting VARIABLE = CurrentTime + ONE_DAY

So the event occurs only when the system clock = VARIABLE?

(2) May I know the time unit conversion factor in long-integer?

Eg. for SetGlobalTimer("ABC","GLOBAL",151500) - how long is 151500?
Or, perhaps its easier to answer by asking how long is ONE_DAY in integers?

Many thanks in advance :D

"[You are] the foe of my foe, friend of my friend, by the first sapling that rose where Shilmista now stands, and by the shadow it will cast before all things will end, I swear to give my blood for you." - Kivan when we meet Imanel Silversword.

bigmoshiteam2.jpg

@ SMM Auto DL / Auto-Installer / Manual Install / Walkthru - based on Erebusant's installation @
@ Infinity Explorer v0.85 (Some fixes for v0.75/v0.80) @
@ Future of MegaMods? - Working with Mega-Modification Installations - by Ascension64 @


#2 Tassadar88

Tassadar88

    Templar in Flames

  • Member
  • 1302 posts

Posted 08 January 2008 - 04:08 AM

Not sure if this is what you wanted, but an extract from GTIMES.IDS is here

7200 ONE_DAY
14400 TWO_DAYS
21600 THREE_DAYS
28800 FOUR_DAYS
36000 FIVE_DAYS
43200 SIX_DAYS
50400 SEVEN_DAYS
57600 EIGHT_DAYS
64800 NINE_DAYS
72000 TEN_DAYS
79200 ELEVEN_DAYS
86400 TWELVE_DAYS
93600 THIRTEEN_DAYS
100800 FOURTEEN_DAYS
108000 FIFTEEN_DAYS
216000 THIRTY_DAYS
360000 FIFTY_DAYS
6 ONE_ROUND
12 TWO_ROUNDS
18 THREE_ROUNDS
24 FOUR_ROUNDS
30 FIVE_ROUNDS
36 SIX_ROUNDS
42 SEVEN_ROUNDS
48 EIGHT_ROUNDS
54 NINE_ROUNDS
60 TEN_ROUNDS
60 ONE_TURN
120 TWO_TURNS
180 THREE_TURNS
240 FOUR_TURNS
300 FIVE_TURNS
300 ONE_HOUR
360 SIX_TURNS
420 SEVEN_TURNS
480 EIGHT_TURNS
540 NINE_TURNS
600 TEN_TURNS
600 TWO_HOURS
900 FIFTEEN_TURNS
900 THREE_HOURS
1200 FOUR_HOURS
1500 FIVE_HOURS
1800 SIX_HOURS
2100 SEVEN_HOURS
2400 EIGHT_HOURS
2700 NINE_HOURS
3000 TEN_HOURS
3300 ELEVEN_HOURS
3600 TWELVE_HOURS
5 ONE_MINUTE
10 TWO_MINUTES
15 THREE_MINUTES
20 FOUR_MINUTES
25 FIVE_MINUTES
30 SIX_MINUTES
35 SEVEN_MINUTES
40 EIGHT_MINUTES
45 NINE_MINUTES
50 TEN_MINUTES
55 ELEVEN_MINUTES
60 TWELVE_MINUTES
65 THIRTEEN_MINUTES
70 FOURTEEN_MINUTES
75 FIFTEEN_MINUTES
80 SIXTEEN_MINUTES
85 SEVENTEEN_MINUTES
90 EIGHTEEN_MINUTES
95 NINETEEN_MINUTES
100 TWENTY_MINUTES
150 THIRTY_MINUTES
200 FORTY_MINUTES
250 FIFTY_MINUTES
3900 THIRTEEN_HOURS
4200 FOURTEEN_HOURS
4500 FIFTEEN_HOURS
4800 SIXTEEN_HOURS
5100 SEVENTEEN_HOURS
5400 EIGHTEEN_HOURS
5700 NINETEEN_HOURS
6000 TWENTY_HOURS
6300 TWENTY_ONE_HOURS
6600 TWENTY_TWO_HOURS
6900 TWENTY_THREE_HOURS


The Mind is its own place and in itself - can make a Heaven of Hell, a Hell of Heaven. -John Milton, Paradise lost

#3 bigmoshi

bigmoshi
  • Modder
  • 230 posts

Posted 08 January 2008 - 06:11 AM

Thank you. Exactly what I wanted & more! :D

"[You are] the foe of my foe, friend of my friend, by the first sapling that rose where Shilmista now stands, and by the shadow it will cast before all things will end, I swear to give my blood for you." - Kivan when we meet Imanel Silversword.

bigmoshiteam2.jpg

@ SMM Auto DL / Auto-Installer / Manual Install / Walkthru - based on Erebusant's installation @
@ Infinity Explorer v0.85 (Some fixes for v0.75/v0.80) @
@ Future of MegaMods? - Working with Mega-Modification Installations - by Ascension64 @