So what I'm trying to do is make a time system much like Persona 3 and 4's through events, conditional branches, variables and switches. Problem is, I can't pinpoint exactly how...
How the system works is, you wake up and it's Morning. You go to school and it becomes Afternoon. Then, you do an activity and once you do, it automatically sends you back home for Evening. My game will have dungeon crawling that takes place during Midnight. Then the player goes to sleep, wakes up, and the cycle repeats again. I can't exactly figure out how to do this.
I already have my HUD graphics made, they contain:
- Base HUD (that goes underneath the variables)
- Every day of the week
- Every month
- Every day in the month
- The times of day (Morning, Afternoon etc)
I have a basic idea of how to do this but I don't know where to start. Could someone point me in the right direction? I've seen guides that base off the same idea, except with a clock system, and I've tried to build off those but to no avail...
Time Interval System (Persona-like)
● ARCHIVED · READ-ONLY
-
-
The best one I can tell you off the top of my head is Vlue's Advance Time Script. It can count hours, days, months, and years, and you can take out the time variable if you don't need it. With the event's it's just making one big common event on parallel that continuously checks the time and transports the player to during certain times.
-
I'm using it for another game I'm making but not really what I'm going for for this one...The best one I can tell you off the top of my head is Vlue's Advance Time Script. It can count hours, days, months, and years, and you can take out the time variable if you don't need it. With the event's it's just making one big common event on parallel that continuously checks the time and transports the player to during certain times.
-
Well the advance script can do what all you're asking for except label the time of day as Afternoon or delight.
-
Ah okay, and I'm guessing I remove the unneeded time (seconds, minutes, hours) as well? How do I get the HUD to replace the default text also?Well the advance script can do what all you're asking for except label the time of day as Afternoon or delight.
-
I think the script doesn't suit your specific needs too much. It would overcomplicate matters. The easiest thing to do would be to create a variable that is being checked all the time, displaying the hud according to the value of the variable, and just adding one to it everytime you change the time. Sure, it's a lot of work, but probably the easiest solution none the less.
Let me know if you need an example, I am happy to help! -
Oh someone was kind enough to write a simple script for me so I don't need this anymore :) But thanks for your help! I appreciate it <3
-
Glad that your issue was resolved! Good luck with your game. :)