Access to system date & time

Moderator: GZDoom Developers

Post Reply
User avatar
printz
Posts: 2648
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Access to system date & time

Post by printz »

I think it would be neat to add ACS functions that return the date or time. They could be used for generating very rare easter eggs (that only happen during the autumn equinox, for example), or for making special effects (like darkness) happen in the level, if it's night outside.
User avatar
Enjay
 
 
Posts: 26979
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Access to system date & time

Post by Enjay »

Been asked about before and was [no]'d.

http://forum.zdoom.org/viewtopic.php?f=18&t=24327
Last edited by Enjay on Fri Apr 23, 2010 7:19 am, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Access to system date & time

Post by Graf Zahl »

My personal guess would be that it'd mostly be used to annoy the player, not to create anything useful.

Personally, I want my Doom to behave the same, regardless whether I play on March 1st at 12:00 or on October 13th at 21:44.
User avatar
Enjay
 
 
Posts: 26979
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Access to system date & time

Post by Enjay »

Graf Zahl wrote:my Doom
Not that I'm campaigning for the feature but that assumes Doom. What about other games using Zdoom as an engine (eg new indie games) where the time of day that a person plays could be considered relevant?

My most obvious logical objection to the usefulness of the feature is what about save games? eg a person starts playing a level at mid day and the game checks the time and sets up things appropriately. Then the person saves and comes back to the game at 6pm. The level is now out of step with the real time.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Access to system date & time

Post by Nash »

Retrieving the system time could also be useful for creating our own random number generators, but that's kinda too specific and rare use anyway... XD
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: Access to system date & time

Post by Ghastly »

I've actually seen this used for aesthetic effects. A few games I have, for example, have completely different main menus depending on if it's day or night, like Icewind Dale 2, for example.

Not that I agree about this, actually.
Gez
 
 
Posts: 17939
Joined: Fri Jul 06, 2007 3:22 pm

Re: Access to system date & time

Post by Gez »

A big reason against this is demo playback...
The_Funktasm
Posts: 612
Joined: Tue Mar 17, 2009 5:12 am
Location: done making ZDF free sprites

Re: Access to system date & time

Post by The_Funktasm »

Gez wrote:A big reason against this is demo playback...
People still use demos? Zblood's the last thing I saw use them.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Access to system date & time

Post by NeuralStunner »

Gez wrote:A big reason against this is demo playback...
Also, net play. Different computers, even on the same network, can have different date & time.

The ability to do ROTT-style holiday screens would be fun, but not practical for other things... :(
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Access to system date & time

Post by Graf Zahl »

Gez wrote:A big reason against this is demo playback...

That could be solved by routing the time through the network datastream. Still, it's just one potential issue. It makes no sense in a non-realtime game to get the real time.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”