Faux-procedurally generated maps

So, I was playing Diablo II in a somewhat nostalgic mood, and got thinking about its procedural map generation, and started thinking - could RPG Maker MV "fake it" with tileset switching? I mean, one could fathomably create a number of meticulously plotted tilesets, with just slight differences in obstacle placements, and thus end up with the option to switch around the tileset to get a dozen different maps on the same map screen.

You could accomplish this by setting a number of variables to random values at game start, one for each map, each in a range covering the different tilesets, and include a fade to black on leaving a map, and a quick tileset switch before fading the view back in on arrival.

Obviously, the workload for designing the maps so meticulously would be pretty high, but right now, I'm curious - would the engine be able to handle it? Seems like it'd be a fairly light load, all things considered; an "on arrival"-event on each map, a "run once"-event on startup, and otherwise a fair amount of tilesets, but relatively few maps to load...

Any thoughts? Anyone tried this? Just as important, anyone made this work?
for RPG MV, there is 1 map genrator, 1 is still being made and almost in beta which can
generate a map with rooms everytime you enter or re-enter it.

a world map on the other hand, I got no idea, but it is also not easy to create one a plugin
to do just that.
Huh, tileset-switching is an idea. I'd done an experimental maze so there were a dozen different rooms but all the decoration, monsters, and treasure was randomly generated. Having to run twenty randomisers and then spawn in the correct stuff didn't seem to slow anything down. Just running a couple for choosing a tileset seems like it should be easy for the engine to handle.
Fauxcedurally. :awink:
Technically, changing tiles aren't impossible. With enough knowledge, you can transform the shape of the map using a script call. Here is what I did in VXA, and if this possible in VXA, it should be possible in MV.

rnoQbS9.gif


And before you get excited to create a procedurally generated map, you need to face these challenge:
  • Understand how tilemap works. The ID number of autotile (and it is different for cliff)
    Autotile ID.jpg
  • Think of a good procedure to generate a map. A map is not completely random, it has a procedure. And the procedure can be like a random walk algorithm (which what I did). But the algorithm needs to be tweaked so it also draws the wall tiles. Or maybe, the "procedure" is to merge the existing small chunk of the map
  • If you want to release the map generation plugin for the public. You also need to think of how to make it easy to use and/or write documentation for it. Which is, in my opinion, the hardest part.
  • Think of a good game design that uses the map generation. Why can't you just use a fixed map and why it has to be random.
Yeah, my thought was not actually about procedurally generating maps, but about carefully designing maps using the build-in Switch Tileset function of MV (it's on the third page of the Event commands in the Event editor).

Essentially, the goal would not to create infinite random maps, but to create a number of maps that, using a clever deceit, gives the impression of very cunning procedural generation in a way that will make identical subsequent playthroughs unlikely.

For example, you've set up ten maps with six different tilesets each that turn out different navigatable paths across the maps, that's a few metric buttloads of mapping work along with tileset manipulation, but it creates something like sixty and a half million possible combinations of levels through the adventure. All prepared at the touch of the "New Game" button by setting ten variables to a small random number each.
Game Mechanics Design is both engine neutral and for looking at aspects of game play at a more conceptual level. "How do I...?" (implementation) questions belong in the Support forum for the engine you are using.

Moved to: RPG Maker MV
Tell you what. There is a way to make something similar happen with really only Eventing.You win simplicity, you lose workload though.
You have to make mini maps. The more the better. Then you create Events into these maps, so they vary each time. A LOT of events. Some obstacles, some items, some enemies. All these will take form via a call of a Common Event and variable manipulation (with random numbers and stuff). The solid thing will be the Teleport Events. You can make Common Events for North East West South (NEWS) that will send you to a random chosen map, using another common event. But you can use NEWS Eventing to make the system remember the previous maps. That might need a little more complexity to the Eventing sytstem, since you need a stack of maps to send you back and another stack to reproduce them, if you decide half way to change directions, but no sweat.
Best way is by using arrays but that would require a little scripting on your behalf.
RPG Maker MV is truly capable of doing stuff. Now if you want to render ad-hoc new map regions, you HAVE to use plugin(s) to do that.
Game Mechanics Design is both engine neutral and for looking at aspects of game play at a more conceptual level. "How do I...?" (implementation) questions belong in the Support forum for the engine you are using.

Fair, but the question was intended as a (granted, engine-specific) conceptual musing, rather than a how-to.

It drifted a little away from that, though.
It is possible, but laborious. I used this project for some tests and, finally, I didn't have time to implement them. As already said, you can create minimaps and vary them (it was the least laborious option in the short space I had), you can include dozens of events and leave the walls dynamic (I did in the last map of the project). However, you will still have the trouble of calculating the routes so that it is impossible for the player to lose access to the map objective.

Now that I have more time, I'm going to work on this, but I've already taken the indirect tip that TheoAllen left in his comment. Working with autotiles is much more difficult, if you use simpler graphics (like the A5 tiles he showed in the example) you save time in fitting the whole puzzle.

Original thread: https://forums.rpgmakerweb.com/threads/faux-procedurally-generated-maps.118829/