Random World

Hello everyone, This is my first post 🙂 But though I would drive into the heavy stuff, I have been working with RPG Maker for some time now, both designing and programming and have started a project that generates random worlds.

Currently this is a rather slow process given the complex nature of the script, building terrain, rivers, forests ect, I have worked hard to speed up the process and have it building a 500 by 500 size world rather well.

I have done some searching and found random dungeons scripts but have yet to find a random world generator, are there any scripts for this?

A 2nd major part of my project is that the world builds up the events, trees ect can all be cut down, rocks destoryed, fishing, its a RPG survival style game, although not a vortex world in a 3D sence, you can remove trees, and so on, you can also build and make stone walls to build up a base, craft items and so on.

Paul.
Hi, welcome~

That sounds pretty unusual - to me it is unheard of as a script 😳 

I have a friend who was looking for something like this long ago, as part of a game about travelling. 

I think You should present it. : ) 
It is still a work in progress, I am pushing RPG maker to the limits lol, handling so many events, monsters, painting a new "world", I am making the code now and slowly building it to run faster but still running into time problems with parts taking abit too long to finish for my liking 🙂
Wow this would such an awesome script, good luck!
The proble is speed, as I am making things more complex, trying to make a better system I am having to wait longer 🙁

even a small map (50 x 50) has 2500 "zones",  150 x 150 map has 22500, while the size of the map is not a major problem, my code does not go though everything map tile, but it does require more objects to build up a suitable world, so the two are directely connected.

Currently I have events that are used, enemy, trees that can be cut down, stone you can mine, farming items that regrow, and so on, I have a river system that creates rivers all over the map and a forst system, the forest system is complex given the fact they are all events rather than just "images", I could speed up the system to have trees as a painted item, but the user can cut tress down, so they need to be events..

Paul.
I can tell you what I have done for a similar project. Rather than go with a big 500x500 map, I used smaller 90x90 puzzle piece sized maps. Then I made a lot of them, more than I would need to make a full size map. Then when you went off an edge of an existing map, if it termined it was virgin territory (a map hadn't be assigned to those coordinates yet) then it picked a suitable map from one that hadn't be selected yet and made sense for the biome to go there. Then I populated these maps with events, like mining or resource nodes that just had a chance to appear or not appear sometimes to give a further feel or randomness, and they would change based on rolls, sometimes they would be logging nodes, other times mining nodes. In such a way I combined hand made maps with a feel of randomness and some elements of random generation each time the game is played.
Paul, might I suggest in lieu of a larger 500x500 map you think small? I broke mine down to 60x40 both for speed, for the old "zelda" aesthetic, and finally to get ready for future MV work as mobile devices I doubt will simply handle 500x500 generated spaces with all the bells and whistles and not face some serious choke. Figure the more I can segment at a world map level, the better.

Should help to resolve the speed, and if your game is about survival you can even think larger by having the array of 60x40 map grid squares be done via your script so that you can have specialty locations randomly allocated throughout the map easily.
Hi Zephyr,

Sounds a good idea, i will def look into this, althoughj I have a new direction and am programming this so will keep survival elements and mix in other elements too 🙂
Not at all Theyare7. In addition, for your survival elements, I think this will allow you to have some fairly distinct sections of the map that people will recognize or enjoy finding with better scripted events, and you won't have to monkey around with figuring out a way to embed them into your larger script generating your 500x500 world. And you won't be stuck to a max of 500x500 🙂
🙂

I am moving the maps around, the 500 x 500 is a fixed map solar system, the idea being you use a ship to fly around to visit different planets ect, the fixed map is not very dynamic, although I do plan to make a small star and have the planets orbit around.

Each planet, astroid, space station will have it's own map, and unique size, this lets me have many small maps as you suggested with small events ect, built when you first visit them.

Using this method I can also in the future expand the game, so this "solar system" zone can be a sub map of a large 500 x 500 map that has afew solar systems ect if i wanted 🙂

Currently I am testing stuff, Crafting / Survival, I have a real time battle system for planets ect, and random encounters system for space, I have a basic farming / harvesting system, resourse mining and the basic survival system.

Still a massive work in process but lots of ideas buzzing around 🙂

Original thread: https://forums.rpgmakerweb.com/threads/random-world.44212/