Time system advice

Not sure what forum this should go in, but here goes. Anyway, I'm using Mog's time system, no problems there, everything is working fine. I was hoping to get some advice on a good way to handle a section of the game where certain things need to occur at certain times. As it is right now, I've disabled the time from running at the start of this area (I manually control time based on where the player is) until the player gets past the point where it doesn't matter anymore. Unfortunately, this is a somewhat sizable chunk of this section of the game and it seems kind of lame to do it this way. Can anyone think of a more elegant solution that would allow me to keep the clock running and still hit the parts I need when I need to hit them?

Arrive at village: Sunset(ish)
Eat dinner in village: Between arrival and nighttime
Go to sleep in village: Prior to 1am.
Wake up: 1am
Follow the bad guys and kill them all: Before sunrise

I manually set the time to sunrise and let the clock run normally from that point. I'd just really like a way to keep that clock running as it makes zero sense to stop it.
Honestly, when it comes to something as complex as this, you need to ask yourself as the game developer, "Why is this mechanic important?"

If you're doing this time crunch sort of thing for the sake of it, there are surely better routes to take than to try and add a feature that doesn't really change much besides atmosphere.
(Segmented events as you've already mentioned.)

Would having the running timer allow the player to do certain things they normally wouldn't have been able to do? How does it progress the story? Is it a puzzle mechanic? Do only certain enemies/battles occur at certain time periods?




I think something as you've mentioned in the last bit of your post would be a good goal to work with. "Follow and kill all the bad guys before sunrise."

Perhaps take this event you want, and determine how tedious or stressful this would be for a player. If I have to kill 10 bad guys in 20 minutes, versus say 5 in 30 minutes, I would be a lot less stressed out as a player.

Once you figure that out, follow the same kind of formatted thinking process for your other events. What is the significance of having dinner between arrival and night time? etc etc.

Hope that helps!
The time system is largely a feature to breathe a little extra life into the world. There are some enemies that you only see during the day or night. There are also certain events that occur at certain times. As an example, there's a public execution that will take place on or after the 10th of the month between 10pm and midnight. I made it on or after so the player wouldn't have to be there on the day, at the time. They'd still get to witness the event as long as they showed up there SOMEDAY from the 10th on at the correct time, and that potential delay is made to fit narratively (paperwork delays, etc.).

I'm also able to schedule NPCs, so at night they go home, you might find them sitting at the dinner table before it gets too late and they go to bed, they lock their doors (and throw you out if you're already inside), businesses close, etc. and everyone gets up at whatever time in the morning. All these things are probably unnecessary in the grand scheme of things, but it all adds a lot of flavor to the world that I would definitely miss if it were gone.

For this particular issue, this is more of a narrative quandary, mostly since the narrative was written LONG before the time system was even a consideration. I don't mind re-writing that bit, but it wouldn't really make sense any other way. The event (or kind of long string of events) that takes place can only happen at night, logically, and I guess doesn't have to be resolved by sunrise, but doing so keeps it tidy from a timekeeping perspective.

Also to note, it's a lot of walking from point A to point B before you get to that battle, and that's what I'm concerned with. It has to be at night because the bads are moving a prisoner, and the player meets a spy that's had the village under surveillance, both things that would be awkward to have happen in broad daylight. I've tried to intensify the need to move quickly through the dialogue, and during this event the player is shoehorned into following the path they need to follow but there are still plenty of distractions along the way that could cause them to show up to the fight midday or whenever.

After writing this all out, I'm thinking I can deal with everything up to the wake up at 1am by just letting the clock run and turning dinner into breakfast/lunch and making up some BS excuse as to why the player can't proceed with the mission they're on depending on the time they actually arrive at the village. Dialogue already says the path to the village is dangerous, so I could block it to keep the player from entering while it's dark out and that would fit narratively. But I'll need to find a way to force the player to move to the completion of the event immediately after the 1am wake up. Maybe back up the wakeup time to 10 or 11pm or something to give a little more leeway (there's already ample time to get where you need to go, but a little extra won't hurt)...maybe even have multiple outcomes, like you got there in time and saved the prisoner or didn't get there in time and the prisoner died...could be interesting.

Thank you for your answer @PoptartPresident, please excuse the wandering nature of this reply. This has been kind of therapeutic and gives me something to think about/do while I work up the motivation to schedule the NPCs in this section of the game.

Original thread: https://forums.rpgmakerweb.com/threads/time-system-advice.154693/