Skip to content

Seed

The number the map generator's random sequence is started from.

Specification
Applies to
random map generation
File
map seed file
Section
[RandomMap]
Value
integer
When omitted
UnchangedThe read passes the current setting through, and the generator's settings outlive one map, so an omitted assignment keeps whatever the last map built in this session left behind.

Every random choice generation makes comes from one sequence started from this number, so the same settings and the same seed give back the same map, cell for cell. Two maps differing only in seed are laid out entirely differently. Map seed files covers the section it is written in.

map seed file
[RandomMap]
Seed=12345
Width=1
Height=1
NumPlayers=4

-1 is the request for a fresh number: the map generator dialog replaces it with a draw from 0 through 65535 as it opens, and the preview and generate buttons replace it again if it has somehow survived. The dialog’s randomize button draws from the same range, and the settings taken off the dialog are held to it.

See alsoNumPlayers, Width, Height