Jump to content

Procedural maps


norjay
 Share

Recommended Posts

This is a new approach to map design, using algorithms to determine key elements. The topography, placement of towns, and locations of mines are dictated by mathematical functions, while textures and trees exhibit only minimal randomness. The randomness is largely restricted to the parameters of these functions, allowing for controlled variability.
A major advantage of this approach is that it enables the creation of very large-scale structures, particularly long cliffs.

I focused on several key aspects: map generation should be fast, the topography should present a challenge, and the entire terrain should be accessible with minimal wasted space. Additionally, each player should have an equally balanced environment, which is why the terrain is rotationally symmetric.

The topography consists entirely of cliffs, each with a steep side and a gentle slope. As a result, there are no prominent mountains, and the overall height profile remains uniform.
My goal is to define maps based on the length of cliffs, the asperity (the distance between cliffs), and the number of directional changes. I also want to create distinct areas with varying asperity, such as plains and valleys compared to more rugged regions.

I've attached a first test version of the map and would love for you to give it a try. While I've already tested to ensure that the bots navigate without getting stuck, I’m relatively new to this kind map design and haven't played 0 A.D. for over a year. As a result, I may not be the best judge of whether the map is truly engaging or balanced.
That’s where you come in! Your experience and feedback would be invaluable in refining the map. I’m eager to hear your thoughts on how it plays and whether it offers a fun and challenging experience.

image.png.4348314d9a208e7b37d676ea06259fd8.pngimage.png.bff5a9d7a12eb74fbe12ce8e5b486f5c.png

 

proc20240927a.zip

proc20240927a.zip

  • Like 3
Link to comment
Share on other sites

Hi @norjay. I love the idea of having random maps with 'challenging topography'. It seems the generation here mostly make cliffs in circles pattern around the map center. I believe it could be funnier to have them have theses patterns form outwards from the players starting positions instead. This would make fun to try to plan defenses and also be less cumbersome to travel (often mostly empty in early phases) center of the map.

Link to comment
Share on other sites

Two new maps, which are quite similar.
I made the long cliffs more in a direction from center to edge, giving every player a pielike place, funneling all attacks through the center of the map.
But bots can't handle this topographie very well. Even with an ensured path to everyone else, the often stand on the cliffs hurling missiles at each other. While citizen go on huge walks just to gather some resources just on the other side of the cliff. Also just one tower close to the edge of the cliff can deplete an entire economy, because the bots are just ignore them. And it seems sometimes warriors just stand around, just as they are stucked.
Even a noob like me can win easily when exploiting these flaws.
These maps may only work well with human players.

The first map 'a' has longer cliffs inside the own territory, the map 'b' has an additional valley.
Below you see an undistorted "heightmap" of 'a' and 'b'.
This gives the basic idea of the map, since the distorsion will not change the logic, the pathes, that you can choose.
Observe, that all maps are rotationally symmetric in nearly every aspect. The trees are randomly set, but in a determined area, which are again rotationally symmetric.
Also the textures are randomly, but have determined areas for different sets of texture.

Also every base have some starting resources, which are the same for every base (except the kind of tree is random, and the angle of the resources is random).
The bases are aligned to the basic grid, that should make adding infrastructure more easy.
image.thumb.png.c2dee43b62303ca3d33af5aec421fc07.png

image.thumb.png.69d3fa4f1dc60c3e1348f6b52030edc1.png

 

With texture but without mines and forest the 'b' looks like this:

image.thumb.png.c35e1884dc69f6cbe5a740b834901839.png

 

with all the distorsion but without resources it looks like this.

image.thumb.png.2e619e3800b399c32e1abc2a844e9aa3.png

20240928.zip

Edited by norjay
  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...