Notice: fwrite(): Write of 467 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 59 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 1714 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96

Notice: fwrite(): Write of 8192 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
Print Page - [VXA] Day/Night with controls

The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Brady on June 29, 2012, 03:05:07 AM

Title: [VXA] Day/Night with controls
Post by: Brady on June 29, 2012, 03:05:07 AM
I'm looking for a day/night script that can be controlled via events and have things linked to us (such as "if the time is Xpm, then [whatever] happens" in conditionals, script calls etc) as well as the ability to control or change the time.

I'm using V.M of D.Ts daynight script right now, but it has no functionality, even the instructions he gives within the script don't work without causing errors, so the only customiseable thing about it is what time the game starts at, which is not conductive at all to what I'm aiming for; I want more control over the time in the game because it's relevant, but I can't find scripts for this *anywhere*, they just don't seem to exist for VXA D:!

Any help, as always, greatly appreciated!
Title: Re: [VXA] Day/Night with controls
Post by: Wiimeiser on July 03, 2012, 04:16:32 AM
I could use this in my project as well. I have a couple of night scenes...
Title: Re: [VXA] Day/Night with controls
Post by: Brady on July 03, 2012, 04:14:15 PM
http://forums.rpgmakerweb.com/index.php?/topic/1079-basic-game-time-nightday/

That's what I'm using :)
Title: Re: [VXA] Day/Night with controls
Post by: D&P3 on July 05, 2012, 04:05:24 PM
You could do that with eventing.

Using a common event which is set to a wait command lasting however long you wish for an hour in your game to be, then setting a variable to equal a number on a 24 hour clock.

Using that same variable, you now have time; you could use another common event to check what time it currently is on that variable and adjust the screen tint accordingly.

If you want control over the time of day specifically, I suppose you could set 'Q' and 'R' to change the variable an hour ahead or behind respectively.