Jump to content

RANDOM MAPS: Suggestions, Bug reports and Ideas about random maps here.


 Share

Recommended Posts

Andy: 

(in A26)

I tried Carpathian 3 times at medium map size (4 vs 4) and each time it put me in a valley  on a flank with no path out.  The first time I built a fortress up against a cliff and I was able to free 1 soldier up top  at a time by emptying a full house in that direction (So that bug  is still kind of there).

They were able to build a camp but by that time my allies were all too far gone. I found it odd that I was the only civ that was locked in in all of my three attempts

I changed to a normal sized map and the problem went away.

I don't know if its worth debugging (or if it can be reproduced) but it is an interesting map. I've really enjoyed Homer's delight, Stan's Sorrow and Cliffs of Carnage from the latest release.

 

  • Thanks 1
Link to comment
Share on other sites

Woudn't you know, I tried medium again  tonight and it worked ok.  It's my occasional observation that sometimes 'random' gets in a bit of a rut when you continually replay the same map in a single setting.  The glitch will probably be very difficult to reproduce.

Link to comment
Share on other sites

On 29/08/2022 at 6:33 AM, Stan` said:

Well you have the seed in the replay to replay the exact same map...

@Old Roman 

Quote

For example, let’s say you wanted to generate a random number in Excel (Note: Excel sets a limit of 9999 for the seed). If you enter a number into the Random Seed box during the process, you’ll be able to use the same set of random numbers again. If you typed “77” into the box, and typed “77” the next time you run the random number generator, Excel will display that same set of random numbers. If you type “99”, you’ll get an entirely different set of numbers. But if you revert back to a seed of 77, then you’ll get the same set of random numbers you started with.

The seed used for each game is stored in the replay file. 0ad has cmd line options to use the same seed. They're listed in binaries/system/readme.txt

 

 

Link to comment
Share on other sites

Ok the following seeds generated a valley In medium Carpathian in which I was completely trapped:

"Seed":2164250698
"Seed":118454041
"Seed":1002090554

These may be useful to someone who might want to figure out why the map code is occasionally doing this.  For myself, I have no desire to play these seeds again.  However you may have answered a question I posted a long time ago about replaying a randomly generated game.  At that time I interpreted certain suggestions that I should use the seed in Atlas (which of course failed).  Thanks to Stan and Andy I see that the seed will probably work by starting the game with the command line and will investigate when I come across a particularly interesting iteration of a random map.  

 

Link to comment
Share on other sites

2 hours ago, Old Roman said:

Ok the following seeds generated a valley In medium Carpathian in which I was completely trapped:

"Seed":2164250698
"Seed":118454041
"Seed":1002090554

These may be useful to someone who might want to figure out why the map code is occasionally doing this.  For myself, I have no desire to play these seeds again.  However you may have answered a question I posted a long time ago about replaying a randomly generated game.  At that time I interpreted certain suggestions that I should use the seed in Atlas (which of course failed).  Thanks to Stan and Andy I see that the seed will probably work by starting the game with the command line and will investigate when I come across a particularly interesting iteration of a random map.  

 

No need for you to do that @Old Roman:) Could you attach a replay though?

Link to comment
Share on other sites

  • 2 weeks later...
On 28/08/2022 at 8:06 PM, Old Roman said:

Andy: 

(in A26)

I tried Carpathian 3 times at medium map size (4 vs 4) and each time it put me in a valley  on a flank with no path out.  The first time I built a fortress up against a cliff and I was able to free 1 soldier up top  at a time by emptying a full house in that direction (So that bug  is still kind of there).

They were able to build a camp but by that time my allies were all too far gone. I found it odd that I was the only civ that was locked in in all of my three attempts

I changed to a normal sized map and the problem went away.

I don't know if its worth debugging (or if it can be reproduced) but it is an interesting map. I've really enjoyed Homer's delight, Stan's Sorrow and Cliffs of Carnage from the latest release.

 

I have remade the system to be more reliable, starting with giving every player a customized starting area, which should make the surrounding area more reproductible.
I would really recommend this map, the ramps to the different levels are much smaller and cramped, but much more likely to be traversable.

The new map-generator is linked down below.

And for fixing the map "Carpathian",
at line 16 is a variable

distHill = 45


increasing the variable makes the valley larger, and also make the ramps more likely to go all the way down and up to the plateaus and valleys.

The variable distHill is the amount of fields, every structure (valley/hill) is separated from each other.
The variable

randHillMax = 12

is an random displacement. Reducing the value reduces the amount of awkward geological features like cut of valley.
Reducing it to zero makes the whole topology look like honeycombs.

 

 

  • Like 1
Link to comment
Share on other sites

unknown, isthmus generation.

Spoiler

image.png.2cfc748bc8eb206f3c961e702080113a.png

 I love these bugged islands all squished together, it makes for amazing gameplay. A central crossing with multiple potential flanking routes.

Ships are possible but not as effective as in the open ocean variant:

Spoiler

image.png.46df740b1a8745e2c0aa4dc8f95e8e46.png

and idk why anyone would want this generation, i guess it looks kinda cool. The islands don't really make for great gameplay.

Spoiler

image.png.ce2f6d433eadef207e3758e278df0f2c.png

One could reverse engineer the bug and find a way to make the map generate like the first picture every time.

  • Like 1
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...