Jump to content

Recommended Posts

Posted

Anyone know what the calendar boundary is for day of month and months ?

 

pGameHour  ;Gametime flips over 23:59 to 0:01 
pGameDay   ;Day of the month always flips over 30 to 1, or are there 27/31 day months  ?
pGameMonth ;Flips over 12 to 1 ?

 

Posted

The answer is:

 

pGameHour ;always flips over 23.999999 to 0.000001

pGameDaysPassed ;constant increment to 6 decimal places e.g. 512.999512

pGameDay ;Some Months have 30 days others have 31

;30 day months 2,4,6,9,11

;31 day months 1,3,5,7,8,10,12

pGameMonth ;always flips 12 to 1

pGameYear ;constant increment (100 years 287 to 387 tested)

 

 

Setting pTimescale to 86400 (24 game hours in 1 real second) and running 100 years exposes some shameful base game scripts.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...