Hello folks,
Not sure if this the right place to ask this but here goes. I'll try to be as detailed as possible
For those of you that have played The Legend of Zelda: Majora's Mask or Radiata Stories, you would have noticed that non-playable characters (NPCs) have a set routine or daily schedule. Let's assume one such NPC is called Jake. Jake's daily routine would be something like this
12 am - 6 am Sleeping in home/room. Door cannot be opened
6 am - 7 am Jake gets out of his room and walks to his workplace. This walk can extend to several maps
7 am - 12 pm Jake stands next to a door.
12 pm - 2 pm Player sees Jake walk and sit on a nearby table
2 pm - 7 pm Same as 7am – 12 pm schedule
7 pm - 8 pm Jake walks to the local pub. Sits on a table
8 pm - 11 pm Jake is sitting. Eating and and drinking
11 pm - 12 am Jake walks back home. Once he gets home, his house door is locked
Repeat daily routine
Obviously the above is too detailed and will entail things such as a world timer plug-in (which the community has already addressed).
However I want to try a simpler version. Let us assume we have two maps, Map 1 and Map 2. Let us also assume we have a simple common event counter (This is our clock for now). Our NPC Jake is going from Map 1 to Map 2, Waits in Map 2 then walks back to Map 1. The player leaves and enters the maps as they please, however Jake is still following his daily routine.
From what I read in some of the old RP threads, it appears RP is not equipped to handle this and some members of the community have attempted it but abandoned the idea
https://www.rpgmakercentral.com/topic/35012-transferring-events-to-other-maps/
https://www.rpgmakercentral.com/topic/19502-vx-ace-dynamic-npc-system-cancelled/
(Not sure how far this went)
https://forums.rpgmakerweb.com/index.php?threads/always-update-off-screen-events.73797/
A brute force way would be to save the locations of everyone in the world (or in this case Jake) so that it could be tracked by a global positioning tracker and work out a formula that translates those positions to the current map the player is on.
How would you folks suggest tackling this?
Not sure if this the right place to ask this but here goes. I'll try to be as detailed as possible
For those of you that have played The Legend of Zelda: Majora's Mask or Radiata Stories, you would have noticed that non-playable characters (NPCs) have a set routine or daily schedule. Let's assume one such NPC is called Jake. Jake's daily routine would be something like this
12 am - 6 am Sleeping in home/room. Door cannot be opened
6 am - 7 am Jake gets out of his room and walks to his workplace. This walk can extend to several maps
7 am - 12 pm Jake stands next to a door.
12 pm - 2 pm Player sees Jake walk and sit on a nearby table
2 pm - 7 pm Same as 7am – 12 pm schedule
7 pm - 8 pm Jake walks to the local pub. Sits on a table
8 pm - 11 pm Jake is sitting. Eating and and drinking
11 pm - 12 am Jake walks back home. Once he gets home, his house door is locked
Repeat daily routine
Obviously the above is too detailed and will entail things such as a world timer plug-in (which the community has already addressed).
However I want to try a simpler version. Let us assume we have two maps, Map 1 and Map 2. Let us also assume we have a simple common event counter (This is our clock for now). Our NPC Jake is going from Map 1 to Map 2, Waits in Map 2 then walks back to Map 1. The player leaves and enters the maps as they please, however Jake is still following his daily routine.
From what I read in some of the old RP threads, it appears RP is not equipped to handle this and some members of the community have attempted it but abandoned the idea
https://www.rpgmakercentral.com/topic/35012-transferring-events-to-other-maps/
https://www.rpgmakercentral.com/topic/19502-vx-ace-dynamic-npc-system-cancelled/
(Not sure how far this went)
https://forums.rpgmakerweb.com/index.php?threads/always-update-off-screen-events.73797/
A brute force way would be to save the locations of everyone in the world (or in this case Jake) so that it could be tracked by a global positioning tracker and work out a formula that translates those positions to the current map the player is on.
How would you folks suggest tackling this?