In game Time API's

Shineko
Shineko
✭✭✭
it would tickle me to death if there were some relevant API functions for in game time. Not real time, but the in game Day / Night cycle time.

It would be very conducive to roleplay and not very hard to implement. This would benefit lore friendly clocks and calendars.

A couple suggestions:

(function for an in game seconds counter that wraps at the end of each in game day)
GetDayCycleSeconds() [returns int]
-Starts at 0 [ingame midnight] and increments until the end of the day.
-The Seconds would be real time seconds.

(function that reveals the number of in game days that has progressed since the game's release)
GetGameDays() [returns int]
-Starts at 0 for the 1st in game day and increments by 1 at the start of each cycle.

(function that returns an integer that corresponds with the current in game moon phase - not necessary if GetGameDays() is used)
GetMoonPhase() [returns short or int]
-Starts at 0 for New Moon, ends before the next New Moon.

It would also be nice to have some constants or documentation relating to the Maximum value of each.
  • Shineko
    Shineko
    ✭✭✭
    bump
  • FynON
    FynON
    Soul Shriven
    Friendly bump
  • jimredtalon
    jimredtalon
    ✭✭✭
    Since bumping for the sake of bumping is against the rules I have made this post to let you know that I think this is interesting and should be seen by all.
  • frankdungerb14_ESO
    frankdungerb14_ESO
    Soul Shriven
    I agree, this would be a great addition.
  • Shineko
    Shineko
    ✭✭✭
    Thanks guys. There are like, hundreds of impossible requests in this forum and few that actually have modders discussing modding.
  • MagicofGaia
    bump
  • RatsnevE
    RatsnevE
    ✭✭✭
    Yes, it is rather silly right now to see 1 AM on the local time clock in the middle of a bright sunny day in the game. If Zen can't display in-game time I'd rather see the time disappear. So far it doesn't look like what time it is matters at all in the game.

    Does Zen endorse addons so I don't pick something that wrecks havoc?
    Edited by RatsnevE on April 25, 2014 5:14AM
  • fosley_ESO
    fosley_ESO
    ✭✭
    The guy uses some hacks to make it work, but:
    http://www.esoui.com/downloads/info241-Clock-TamrielStandardTime.html

    It's not really that hard to derive the in-game time from the local time, since they are at constant rates. The only problem (as the addon author points out) is that server resets and so forth can cause the server's notion of Tamriel time to desync from Earth time.

    An API addition would definitely make things easier, not saying it shouldn't happen, but in the mean-time, check out that addon.
  • Lucifer66
    Lucifer66
    ✭✭
    I have that addon, but it's pretty useless because you have to set it and since you really have nothing to set it to it's like setting your watch by looking at the sky. But it's even worse because the sky in this game is even wrong.

    When I saw a full moon it turned out it wasn't a full moon for several more days even. You'd be better off with a calendar dart board and a blindfold. Then use some time dice.

    Come on man, give me something to work with here. The game time cycle is nothing to do with RL time and server maintenance is far from a consistent amount of time so an in game reading of what the game time is for certain is a must.

    Either that or don't make things in the game rely on any time or lunar cycle.

    My concern can be measured in micro-give-a-craps.
Sign In or Register to comment.