Initially I was gonna modify one of the combining map scripts, to beable to combine them randomly, since I want to create a module based random map generator for one of me side quest dungeons.
However that would be trickier to create with a modification of another script then I originally thought, because then I would also need to define the ways each individual module can be attached to the map(otherwise you may end up with doorways that go nowhere, dead ends that shouldn't be dead ends, ect, it would look sloppy).
To make matters even worse, the encounter system works differently. Everywhere else in the game, the game uses random encounters, but in this dungeon, not only are enemies visible on the map, they are completely randomized, as to what enemies could be where or even if a enemy is there at all(Think Lufia 2's Ancient Cave)
Now how to pull this off, is tricky to say the least, nevermind the randomization trigger.
Using a common event would be sloppy, and you would have to redefine alot of features that the editor has as a "option" as well as when to implement such based on the randomization outcome..
Short from paying Hime or Yanfly(there probally aren't many others around who can even make such a script, so even if I had the extra money to pay them, if they didn't want to take part in such a job, I would be screwed) thousands to create a custom script that needs to literally calculate a million, and one variable with random outcomes, doing this via script, would pretty much be impossible.
I never imagined I would be creating such a huge randomized dungeon this way, but it would seem eventing it all out, would be infinitely easier.
The key to it being possible, is It's module map design, even though It's a 100 floor dungeon(99 of which are randomized), It's not gonna require even 100 maps, let alone the thousands one might expect.
The key it the doors/transfer events, I'll just have them handle the randomization, then using a switch so the randomization only happens once for each door you walk through while on a give floor(leaving the floor resets all the switches(I'll have to turn on switches from the other end automatically, based on the location that the player starts the map at+have it fixed to the correct transport location, but that's easy enough to do).
Also to take care of of enemy random spawn location, the map being module based, creates the solution, every cell of the map that can be walked on, will effectively be an event, which based on another randomized calc run when you pass through the door the first time on each floor.
It's a lot of work for sure, but It's a hell of a lot more viable then coming up with a script that does "everything" I need it to do(oh btw did I mention, each enemy has its own custom move route as well).
This is gonna be one crazy thing to event, but when done, It's gonna all come together beautifully. I'm thinking I should wait until atleast 3/4 of the game is complete, before I fully implement this though or I'll be having too much fun doing dungeon runs, to actually develop the game lol.
.
However that would be trickier to create with a modification of another script then I originally thought, because then I would also need to define the ways each individual module can be attached to the map(otherwise you may end up with doorways that go nowhere, dead ends that shouldn't be dead ends, ect, it would look sloppy).
To make matters even worse, the encounter system works differently. Everywhere else in the game, the game uses random encounters, but in this dungeon, not only are enemies visible on the map, they are completely randomized, as to what enemies could be where or even if a enemy is there at all(Think Lufia 2's Ancient Cave)
Now how to pull this off, is tricky to say the least, nevermind the randomization trigger.
Using a common event would be sloppy, and you would have to redefine alot of features that the editor has as a "option" as well as when to implement such based on the randomization outcome..
Short from paying Hime or Yanfly(there probally aren't many others around who can even make such a script, so even if I had the extra money to pay them, if they didn't want to take part in such a job, I would be screwed) thousands to create a custom script that needs to literally calculate a million, and one variable with random outcomes, doing this via script, would pretty much be impossible.
I never imagined I would be creating such a huge randomized dungeon this way, but it would seem eventing it all out, would be infinitely easier.
The key to it being possible, is It's module map design, even though It's a 100 floor dungeon(99 of which are randomized), It's not gonna require even 100 maps, let alone the thousands one might expect.
The key it the doors/transfer events, I'll just have them handle the randomization, then using a switch so the randomization only happens once for each door you walk through while on a give floor(leaving the floor resets all the switches(I'll have to turn on switches from the other end automatically, based on the location that the player starts the map at+have it fixed to the correct transport location, but that's easy enough to do).
Also to take care of of enemy random spawn location, the map being module based, creates the solution, every cell of the map that can be walked on, will effectively be an event, which based on another randomized calc run when you pass through the door the first time on each floor.
It's a lot of work for sure, but It's a hell of a lot more viable then coming up with a script that does "everything" I need it to do(oh btw did I mention, each enemy has its own custom move route as well).
This is gonna be one crazy thing to event, but when done, It's gonna all come together beautifully. I'm thinking I should wait until atleast 3/4 of the game is complete, before I fully implement this though or I'll be having too much fun doing dungeon runs, to actually develop the game lol.
.