Having a blast with RMMZ i havent touched rpg maker in a long time but im making my first game and it's pretty sweet so far. im reallly stumped on something right now though. im working on having on screen battles, where an enemy with random pathing gets in your vicinity, it starts a battle. its going great so far. i also have a harvesting materials system going where you walk up to an event, it checks your inventory for a crafting tool, and gives you a random chance to collect stuff ala monster hunter. its working fine. however here is where im brutally stumped..
i would like the stuff (both enemies and mats) to respawn when the player rests at an inn. i understand now that using erase event would make them respawn on re-entering the map, so one idea is to have everything for a certain area on one huge map, and when you sleep, it takes you in and out of the map, respawning all the events, and maybe the exit of the map would be just straight to the overworld, but thats potentially a looooot of stuff going on in one map (lag city?)
another option i was toying around with is self switching to an empty page to make the event stop, in which they are able to stay gone when you leave the map, but i dont see how to bring all the events back at once. basically i have come to the conclusion that if i want EVERYTHING to respawn under one triggering event but NOT when going in and out of the map, i would have to have a switch for every single monster and harvestable, and would have to list every single one of the switches on the sleeping event to respawn them. or i could just reuse the switches for every new dungeon, but i also plan on having a lot of dungeons with random loot ala skyrim etc., so it would basically be pointless to have all those switches and might as well give up and accept that stuff is gonna respawn when the player leaves the map.
another option i briefly looked into is frame based respawn timers, which would eliminate most of my pain, but i just dont know how i feel about making players wait in real time for stuff to respawn. it could be cool, and if i cant find a simple solution, i might just cave and try it.
any suggestions? i dont want huge maps, i like the feeling of going in and out of maps. especially for stores and stuff... like i dont want everything respawning everytime the players exits the map, its just not how i envision the game. i REALLY appreciate any advice y'all have... i did about 10 hours plus working on this system and lurking youtube/google/reddit/this forum and someone please tell me there is omething super simple that im missing LOL. i really wanted the natural high of figuring this one out on my own... but from the lurking ive done, i figured you guys know these systems so well i might as well give up and ask, maybe save some precious time or at least just get opinions on what to do if i really am this limited. THANKS SO MUCH IN ADVANCE!!!
i would like the stuff (both enemies and mats) to respawn when the player rests at an inn. i understand now that using erase event would make them respawn on re-entering the map, so one idea is to have everything for a certain area on one huge map, and when you sleep, it takes you in and out of the map, respawning all the events, and maybe the exit of the map would be just straight to the overworld, but thats potentially a looooot of stuff going on in one map (lag city?)
another option i was toying around with is self switching to an empty page to make the event stop, in which they are able to stay gone when you leave the map, but i dont see how to bring all the events back at once. basically i have come to the conclusion that if i want EVERYTHING to respawn under one triggering event but NOT when going in and out of the map, i would have to have a switch for every single monster and harvestable, and would have to list every single one of the switches on the sleeping event to respawn them. or i could just reuse the switches for every new dungeon, but i also plan on having a lot of dungeons with random loot ala skyrim etc., so it would basically be pointless to have all those switches and might as well give up and accept that stuff is gonna respawn when the player leaves the map.
another option i briefly looked into is frame based respawn timers, which would eliminate most of my pain, but i just dont know how i feel about making players wait in real time for stuff to respawn. it could be cool, and if i cant find a simple solution, i might just cave and try it.
any suggestions? i dont want huge maps, i like the feeling of going in and out of maps. especially for stores and stuff... like i dont want everything respawning everytime the players exits the map, its just not how i envision the game. i REALLY appreciate any advice y'all have... i did about 10 hours plus working on this system and lurking youtube/google/reddit/this forum and someone please tell me there is omething super simple that im missing LOL. i really wanted the natural high of figuring this one out on my own... but from the lurking ive done, i figured you guys know these systems so well i might as well give up and ask, maybe save some precious time or at least just get opinions on what to do if i really am this limited. THANKS SO MUCH IN ADVANCE!!!