Are maps truly random?

caralampio

Chieftain
Joined
Dec 27, 2008
Messages
8
Are maps created each time you play by randomly placing tiles, or are they chosen from a large but finite set of pre-designed maps? Sometimes I feel like "I've already been here"...
 
No they are created randomly. The game uses a "seed" number in order to create them so if by chance that number is duplicated at some point then you might end up with a similar looking map. If you open up your Warlords folder, go to the Assets/Python folder, you'll find a file there called CvMapGeneratorUtil.py. The codes in there are pretty much what creates all the maps in the game and the person who came up with them added in alot of comments about what all the different codes do, so you can learn alot just by looking at that file.
 
Well, they aren't random like if hitted tiles with rocks blindfolded, but they are generated using some rules that include a random generator. If the script gives too little freedom in terms of use of the RNG ( like for example, solid shoreline pangea ), the maps may result very similar from time to time.
 
This is especially true of maps like Continents or Pangaea as it is obligated to give you 2 or 1 land mass of roughly the same general shape and spacing every time. It will mix the details up a bit though.

In addition, there is a very slim (but non-zero) chance that you actually get the same seed more than once.

If you are really interested, you can look at the map generator scripts. They are pretty simple to work with and you can make all sorts of changes.
 
This is especially true of maps like Continents or Pangaea as it is obligated to give you 2 or 1 land mass of roughly the same general shape and spacing every time.

I don't find this to be true playing Hemispheres maps with just two hemispheres. With that script maps are quite varied and unique, much more so than Continents. I ended up getting pretty bored with that one.
 
Not always, on fractal I got maps that look almost the same.
 
Just play forum games you'll never get the same map twice :goodjob:
 
Are maps created each time you play by randomly placing tiles, or are they chosen from a large but finite set of pre-designed maps? Sometimes I feel like "I've already been here"...

I always get the feeling the AI is trying to shaft me with starting locations. :mischief:
 
Regenerate Regenerate Regenerate!!!

PS - It is nice to see someone who has been on the forums longer than me :)

Don't travel to Off-Topic much do you?

:cool:
 
No, I play the game very slowly and hence use up most of my "Civ time" to playing the game :D
 
I always get the feeling the AI is trying to shaft me with starting locations. :mischief:

Sometimes I feel that if you quit in the first few turns (because you don't like the map) and do so several times, the game starts giving you worse and worse starting locations, like if it is punishing you.
 
Back
Top Bottom