I have discussed a few times in the past I've been working on procedural generation on my game, part of this is because I'm lazy, I want the mapping to be done for me. So depending on the turf and it's location, they can generate a number of different things, like filling in forests or caverns for me.
I have been playing Dwarf Fortress a bit lately and I like how they got that map system on multiple Zs and I want to do something like that. Mainly, for a world map, every space on that map could be a location you can enter in to, which takes you to a closer view.
My idea is that specific tiles will correlate with specific maps that are already pre-defined by the game. My idea is that when a tile is being entered in for the first time, the game pulls the reference of that map and then adds a new map to the game and then saves that map, so each time the server restarts or whatever, that map is still there when it first generated.
Is something like this possible? I am not even sure where to begin with this.
ID:2675721
Apr 26 2021, 5:51 am
|
|
Basically a seed tells the random number generator to generate the same random number given the same start conditions, so if you have a procedurally generated map, given the same seed, the same map would generate every time. This way each of your areas could be managed on the fly without having to load them in.