Users browsing this thread: 1 Guest(s)
Day / Night Cycle [beta release]

#10
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
First post updated! I have finished coding the event command. Before getting into details, the hack is now version beta 1 since I technically finished coding everything I wanted. I'm looking for one person that could do a little playthrough and test this more extensively. Aside of the event command, I redid the readme which now has more details as well as commenting more code in the asm files.

Concerning the event command, this is what the readme say:

Finally there is an unused event command ($69) that I now use to manage the cycle. 69 01 will freeze the cycle, meaning the timer will stop and period of the day will stay the same everywhere until 69 02 is used, which restart the timer. 69 03 disable the cycle, meaning the timer stop as well as the initial tinting everywhere. On the next map load, it will look as vanilla game. 69 04 enable the cycle meaning timer is restarted and initial tinting as well, meaning on next map load, the map will look the same as before the disable command (69 03). Note that 69 03 and 69 04 should be used right after a fade out or right before a map load. They are not meant to be used in the middle of an event because they could break the cycle and transitions.

I did not felt the need to add a "set nighttime" and "set daytime" command parameters because the first one can be achieved with a regular tint event command and to set daytime (on next map load) one would only need to disable the cycle (69 03). At no point in an event you'd need to switch instantly to nighttime, it would logically always be on a map load, so to keep things simple it won't switch instantly and the command should be used where it makes sense.

Edit: Bonus! Added more patches, fixed a small bug and documented the code more. Redownload the zip file!
  Find
Quote  



Messages In This Thread
Day / Night Cycle [beta release] - by madsiur - 10-04-2018, 06:43 AM
RE: Day / Night Cycle [alpha release] - by Warrax - 10-11-2018, 03:12 PM
RE: Day / Night Cycle [beta release] - by madsiur - 10-22-2018, 02:18 AM
RE: Day / Night Cycle [beta release] - by madsiur - 10-23-2018, 01:12 AM
RE: Day / Night Cycle [beta release] - by madsiur - 11-03-2018, 10:46 PM
RE: Day / Night Cycle [beta release] - by madsiur - 11-04-2018, 10:47 AM
RE: Day / Night Cycle [beta release] - by madsiur - 11-05-2018, 01:27 AM
RE: Day / Night Cycle [beta release] - by J92R - 01-03-2019, 12:00 PM
RE: Day / Night Cycle [beta release] - by madsiur - 01-03-2019, 12:19 PM
RE: Day / Night Cycle [beta release] - by Warrax - 01-03-2019, 02:53 PM
RE: Day / Night Cycle [beta release] - by madsiur - 01-04-2019, 01:04 PM
RE: Day / Night Cycle [beta release] - by Warrax - 01-04-2019, 01:17 PM
RE: Day / Night Cycle [beta release] - by madsiur - 01-04-2019, 02:06 PM
RE: Day / Night Cycle [beta release] - by Warrax - 01-05-2019, 12:01 PM
RE: Day / Night Cycle [beta release] - by madsiur - 01-05-2019, 12:09 PM
RE: Day / Night Cycle [beta release] - by Warrax - 01-05-2019, 12:26 PM
RE: Day / Night Cycle [beta release] - by Warrax - 08-10-2019, 09:59 AM
RE: Day / Night Cycle [beta release] - by madsiur - 08-10-2019, 10:10 AM
RE: Day / Night Cycle [beta release] - by Catone - 08-13-2019, 03:29 PM
RE: Day / Night Cycle [beta release] - by madsiur - 08-13-2019, 10:27 PM
RE: Day / Night Cycle [beta release] - by Catone - 08-14-2019, 10:01 PM
RE: Day / Night Cycle [beta release] - by Dev J - 08-19-2019, 05:47 PM
RE: Day / Night Cycle [beta release] - by Warrax - 10-11-2019, 04:33 PM
RE: Day / Night Cycle [beta release] - by madsiur - 10-12-2019, 01:35 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite