Skip to content

World Generator ​

The World Generator builds a whole world for a map from a seed and a preset: the terrain relief, mountains, the coast, rivers, dams, forests, farmland, wetlands, cities and towns, regional roads, a railway, sites, power lines, exterior furnishing, loot places, vehicle spawn slots, terrain paint, vegetation, environment scatter and the transitions between zones.

It works in two steps:

  1. Generate Plan makes a light, editable plan of the world. Nothing is built yet. You see the plan as lines, markers and coloured areas drawn on the ground, and you can change it: move a city, add a town, delete a road, turn some land into forest, draw your own railway line.
  2. Generate World builds the plan with the editor's own tools, one stage at a time: Terrain, Mountain Stamp, Coast, River, Dam, World Zones, Wetland, Roads with bridges and tunnels, Settlements, Farmland, Railway, Sites, Utilities, Exterior Furnishing, Loot, Vehicle Spawns, Terrain Paint, Vegetation, Environment Scatter and Zone Transitions.

What it builds is ordinary editor content. A forest's trees belong to its World Zone, and a city's streets belong to its settlement zone, exactly as if you had made them with those tools. The World Generator only remembers what you asked for, what it planned, which items it created and how each stage stands.

Screenshots

There are no screenshots of this tool yet. None could be taken from a real run of the editor for this page: this machine has no Electron binary and no dist/electron-app build, and installing them was not allowed. A capture script is ready in manual/capture/world-generator.ts, but it has not been run. Until then, everything below is described from the editor's source code.

Generate World rewrites the terrain's heights

The first stage, Terrain foundation, writes a fresh surface into every chunk of the map's terrain. Any sculpting you did by hand on that terrain (Terrain Sculpt, Ridge, Mountain Stamp, rivers, coasts, wetlands) is replaced. The terrain paint (base layers and your manual paint) is kept. The whole run is one undo step, so Ctrl+Z brings the old terrain back. Use the World Generator on a new map, or on a map whose relief you are happy to replace.

Where to find it ​

  1. Click the Map workspace button in the top bar.
  2. In the vertical toolbar on the left of the 3D view, find the World tool group (see Tool groups).
  3. Click the small arrow ▸ next to the group button, or right-click the group button. The group's menu opens with World Zones, Zone Transitions, World Generator and World Regions.
  4. Click World Generator (glyph ◎). Pointing to it shows the hint "plan, preview and generate a whole world from a seed and a preset".

The group button remembers the last tool you used in it. After the first time, a click on the group button itself arms the World Generator again, and its face shows ◎. When the World Generator is already armed, a click on the group button opens the menu instead.

The tool has no keyboard shortcut. Its panel replaces the Inspector's content while the tool is armed.

  • No terrain needed. Unlike World Zones and Zone Transitions, the World Generator can be armed on a map without a terrain. If the map has none, Generate Plan creates one (see Width, Length and Height range).
  • A map must be open. Without an open map the panel shows only "Open a map to use the World Generator." and the Plan overlay section.
  • Leaving the tool. Pick another tool, or press Esc twice quickly (within 400 ms), which arms the Map toolbar's Select tool. When the tool is no longer armed, its drawings disappear from the ground, and a railway corridor you were drawing is discarded.

How it works ​

  settings + world seed
       |  Generate Plan / Update Plan     lightweight, editable, saved in the map
       v
  World Plan    flat land, mountains, coastline, rivers and tributaries, dams, settlements (cities split
                into centre / commercial / suburbs / industry), natural regions cut into tiles, regional
                roads, railway with stations and sidings, sites, substations and power lines, your discs
       |  Generate World                  21 stages, with progress and Cancel, ONE undo step
       v
  the editor's own systems: Terrain + Mountain Stamp, Coast, River carve, Dam, World Zones, Wetland,
  Roads + Bridges + Tunnels, Settlement, Farmland, Railway, Sites, Utilities, Exterior Furnishing, Loot,
  Vehicle Spawns, Terrain Paint, Vegetation, Environment Scatter, Zone Transitions, Validation

A few rules hold everywhere in this tool:

  • Every change is one undo step. Each settings change, preset, seed, Generate Plan, plan edit, generation run, Clear and Detach is one entry in the undo history. Creating a terrain for the map is a separate entry of its own.
  • Your own content is a constraint, not material. Zones and roads you made yourself are planned around. A settlement zone you drew becomes a place the regional roads connect to. Clearing and regenerating only touch content the World Generator created and still owns. Manual, locked and detached content is kept. The terrain's heights are the exception (see the warning above).
  • The plan is saved in the map. The settings, the seed, the plan, the stage states, your custom presets, the last report and the generation log are saved with the map. This record is for the editor only. It is not exported with the mod.
  • The panel state is not saved. The panel detail (Basic or Advanced), the plan edit mode, the selected plan item and the overlay switches last for the editor session only, and are never undone or redone.

Panel detail and Inspector complexity ​

Two independent switches decide what the panel shows.

Basic / Advanced is the panel's own switch, at the top of the panel (Panel detail). It starts on Basic each time the editor starts.

  • Basic shows the main settings (14 of the 41) and the main actions.
  • Advanced adds every other setting, Height range, Re-plan Everything, Discard Plan, the per-stage buttons, Subsystem seeds, Custom presets and Diagnostics.

Inspector Complexity (File › Preferences… › General) hides some controls further:

ControlPanel detail neededInspector complexity needed
World seed, New SeedBasicMedium
Height range (m)AdvancedMedium
Every number setting (Relief, Roughness, Mountain height, Flat land, Lowland above water, Water level, Dense forest share, Region tile, Size, Coastal preference, River preference)AdvancedMedium
Selected settlement's SeedBasicMedium
World StatisticsBasicMedium
Subsystem seeds sectionAdvancedAdvanced
Diagnostics sectionAdvancedAdvanced
Everything elseas listed in this chapterany (Normal)

When the complexity hides something, the section gets a Show more (N) footer. Click it to show the hidden controls without changing your preference, and Show less to hide them again. Controls shown this way get a thin accent rule. The Subsystem seeds and Diagnostics sections are hidden as a whole, so their Show more is the footer at the end of the Inspector. While you have overridden a subsystem seed and that section is hidden, the footer also says that a hidden setting is modified.

Hidden controls keep their values. A hidden number setting is still used by Generate Plan and Generate World.

The panel, top to bottom ​

SectionWhat it containsShown
World GeneratorBasic / Advanced, an introduction, progress and Cancel Generation while a run is going, the last refusal and message, the validation summary of the last run, and the confirmation box.Always
WorldPreset buttons, World seed, New Seed, Width, Length, Height range.A map is open
GenerateGenerate Plan / Update Plan, Generate World, Regenerate Dirty, Clear All Generated, Re-plan Everything, Discard Plan.A map is open
Terrain, Water, Natural regions, Settlements, Infrastructure, DetailThe settings of the world.A map is open
PlanPlan summary, the 11 plan edit modes, Region radius, Finish Corridor, Discard Points, the plan's validation messages with Focus.A map is open
Selected plan itemName, kind and flags, Lock, Disable, Focus, Delete from Plan, Detach, and Kind / Radius / Seed or Type / Radius.A plan item is selected
StagesThe 21 stages with status, time, counts and (Advanced) Generate from here, Only this stage, Clear.A map is open
ReportThe last run's summary and messages with Focus, and World Statistics.A map is open
Subsystem seeds13 seed fields.Advanced, complexity Advanced
Custom presetsName, Save Current Settings, the saved presets with Remove.Advanced
DiagnosticsVersion line, stage timings, the generation log.Advanced, complexity Advanced
Plan overlay8 layer switches and the legend.Always

The World Generator header ​

ItemWhat it shows or does
Basic / AdvancedThe panel detail (see above).
Introduction"Generate Plan makes a lightweight, editable plan of the world. Generate World builds it through the editor's own tools… Manual and locked content is never replaced."
Progress bar and busy textWhile planning: "Planning the world...". While a run is going: "Generating... N% Stage", where N is the overall progress and Stage is the stage being built. The bar fills with the overall progress.
Cancel GenerationShown only during a generation run (not during planning). See Cancel.
Refusal lineWhy the last action did nothing, for example "Generate a plan first." It stays until the next action. See Messages.
Message lineWhat the last action did, for example "Plan ready: 8 layers planned · …" or "World generated: 21 stages in 74.2 s · 3 warnings."
Validation summaryAfter a finished run: "Validating what was generated…", then "Validation: N critical · N errors · N warnings" (and "· N block export" when some problems block the export), with a Show Problems button that opens the Problems tab of the bottom panel. If another validation was running, it says "Validation skipped (another run was in progress) - Validate World when ready."
Confirmation boxAppears before an action that would rewrite or remove generated content. See Confirmation.

While a plan or a run is in progress, almost every control of the panel is disabled. Cancel Generation, the selected item's Focus, the plan edit mode buttons and the overlay switches stay usable. Clicks on the ground do nothing while the generator is busy.

World section ​

Presets ​

The section starts with one button per built-in preset: Balanced, Rural, Urbanized, Forest, Mountainous, Coastal and Sparse. The map's own custom presets follow them. The highlighted button is the active preset, and the line under the buttons repeats it: "Preset: Balanced".

Click a preset to replace every setting with the preset's values, as one undo step. The preset never changes the world's Width and Length. It does set the Height range (400 m, or 700 m for Mountainous), unless the map already has a terrain, whose height range always wins. Choosing a preset only changes settings: nothing is planned or built until you click Update Plan or Generate World.

There is no Custom button. When you change any setting by hand, the World Generator looks for a preset whose values are now exactly the same (built-in presets first, then your custom presets). If none matches, no button is highlighted and the line says "Preset: Custom". The comparison covers every setting except Width and Length, including the Height range. On a map whose terrain's height range is not the preset's (400 m, Mountainous 700 m), editing any setting therefore shows Preset: Custom, even if you put the preset's values back.

A preset is a character, not a number of things. Counts and amounts scale with the world's area (see How levels become amounts), so a 2 km world and a 16 km world under the same preset look alike at their own scale.

What each preset changes compared with Balanced (Balanced is the default of a new map, and every value of Balanced is in the settings tables):

PresetChanges from Balanced
BalancedNothing: the defaults.
RuralTerrain Rolling, Relief 0.4, Mountains Low, Flat land 0.6 · Farmland High, Dense forest share 0.2 · Density Low, Suburbs Low, Industry Low, Size 0.85 · Road style Rural, Railway style Rural, Sidings off · Sites in settlements Low
UrbanizedTerrain Rolling, Relief 0.35, Mountains Low, Flat land 0.7 · Forest Low, Farmland Low, Dense forest share 0.15 · Density High, Suburbs High, Industry High, Size 1.25 · Regional roads High, Electrified on · Sites in settlements High, Sites in the countryside Medium
ForestRelief 0.55 · Forest High, Farmland Low, Dense forest share 0.5 · Density Low, Suburbs Low, Industry Low · Regional roads Low, Road style Rural, Railway off, Street lighting off · Vegetation High, Sites in the countryside Medium
MountainousHeight range 700 · Terrain Mountainous, Relief 0.8, Roughness 0.5, Mountains High, Mountain height 280, Flat land 0.3, Lowland above water 8 · Dams Rare · Forest High, Farmland Low, Dense forest share 0.4 · Density Low, Suburbs Low, Industry Low, Size 0.85
CoastalTerrain Rolling, Relief 0.45 · Coast One side, Coast side Auto, Wetlands Medium · Coastal preference 0.85
SparseForest High, Farmland Low, Dense forest share 0.45 · Density Low, Suburbs Off, Industry Low, Size 0.8 · Regional roads Low, Road style Abandoned, Railway style Abandoned, Stations off, Sidings off, Utilities off, Street lighting off · Sites in settlements Low

World seed and New Seed ​

NameControlVerified purposeValuesNotes
World seedNumber, step 1The root of every random choice. The same seed, settings and terrain size plan the same world, item for item, on any machine.A whole number from 0 to 4 294 967 295. A negative number is made positive, decimals are cut off, and larger numbers wrap around.Medium complexity. Applied when the field loses focus or you press Enter. One undo step.
New SeedButtonSets a random seed.—Medium complexity. One undo step.

The first seed of a map: if Mod Settings has a Custom Seed (Generation Seed set to Custom), a map that never had a World Generator seed starts from it. Otherwise the seed is derived from the map's own id. A map keeps the seed it has: changing the Mod's Custom Seed later does not change it.

From the world seed, the World Generator derives one sub-seed per subsystem (terrain, mountains, coast, hydrology, settlements, regions, roads, railway, sites, utilities, vegetation, scatter, transitions). Each is computed from the world seed and the subsystem's name, never drawn from a shared sequence. So changing, say, the density of sites reshuffles only the sites. In Advanced mode you can override each sub-seed (see Subsystem seeds).

Changing the seed changes nothing on the ground at once. The next Update Plan or Generate World re-plans the layers whose seed changed. The items you added, moved, edited or locked stay as they are.

Width, Length and Height range ​

NameControlVerified purposeDefaultRangeNotes
Width (m)Number, step 256World size along X when the World Generator creates the terrain.2048 (or the terrain's width)256 to 65 536, rounded to whole metresDisabled while the map has a terrain.
Length (m)Number, step 256World size along Z when it creates the terrain.2048 (or the terrain's length)256 to 65 536Disabled while the map has a terrain.
Height range (m)Number, step 10The new terrain's height range (its maximum height).400 (700 with Mountainous)50 to 2000Advanced, Medium complexity. Disabled while the map has a terrain.

The hint under the fields says which case applies:

  • "The map has no terrain: Generate Plan creates one of this size." The fields are editable. A value of 0 or below, or text that is not a number, is ignored. A value outside the range is moved to the nearest limit.
  • "The size is the map's terrain's." The map has a terrain, so the fields are disabled and show the terrain's own size and height range. An existing terrain is the world: the World Generator never resizes it.

When the World Generator creates the terrain (on the first Generate Plan or Generate World of a map without one), the terrain is called Generated World and is made like this:

  • size Width × Length, height range Height range, centred on the world origin;
  • chunks of 512 m (or 1024 m when Width or Length is over 4096 m), with 257 height samples per chunk side, so a sample every 2 m (4 m for the large chunks);
  • paint resolution 512 per chunk (256 for the large chunks);
  • flat, at the lowland height: Water level + Lowland above water (26 m with the defaults).

This is a separate undo step, before the plan's own step. If the terrain cannot be created, the refusal says "A terrain could not be created for this map."

Generate section ​

ButtonShownEnabled whenWhat it does
Generate Plan / Update PlanAlwaysNot busyPlans the world, or brings the existing plan up to date with the settings and seeds. The label is Generate Plan until the map has a plan, then Update Plan. Nothing is built. One undo step (Generate world plan). On a map without a terrain, a terrain is created first.
Generate WorldAlwaysNot busyBrings the plan up to date first (exactly like Update Plan), checks it, then runs all 21 stages in order. Asks for confirmation first when some stage was already generated. One undo step (Generate world). On a map without a terrain, a terrain is created first.
Regenerate Dirty (N)AlwaysNot busy, the map has a plan, and N > 0Runs only the stages that are Dirty, Failed or Not generated, plus every stage that depends on them. N is the number of stages it would run. No confirmation. If nothing is out of date, the message says "Every stage is up to date."
Clear All GeneratedAlwaysNot busy, and at least one stage is not Not generatedRemoves everything the World Generator built, stage by stage in reverse order, including the terrain relief: the terrain goes back to flat ground at the lowland height. The plan, your manual content and locked content stay. Always asks for confirmation.
Re-plan EverythingAdvancedNot busyRe-plans every layer of the plan, even those whose inputs did not change. Your added, moved, edited and locked items are still kept, and deleted items stay deleted.
Discard PlanAdvancedNot busy, the map has a planThrows the plan away, with its deletions (tombstones) and your region discs, and deselects the plan item. Generated content is not touched. The next Generate Plan starts from scratch. One undo step.

The hint under the buttons says: "Generate World brings the plan up to date with the settings first (your moved, added and locked items are kept). Regenerate Dirty runs only what changed and what depends on it."

Right after Generate Plan, before anything was built, every stage is Not generated, so Regenerate Dirty (21) runs the same 21 stages as Generate World.

A plan with an error (see Plan messages) blocks Generate World, Regenerate Dirty, Generate from here and Only this stage with "The plan has errors - fix them (or change the settings) before generating." Warnings and infos do not block. Clearing is never blocked.

Settings sections ​

Six sections hold the settings: Terrain, Water, Natural regions, Settlements, Infrastructure and Detail. In Basic, each section shows only its main settings. Advanced shows them all.

Every change is one undo step (World Generator settings) and updates the preset match. Nothing is re-planned or rebuilt when you change a setting. The change takes effect at the next Update Plan or generation run, and makes the stages that read the setting Dirty.

How the controls work:

  • Selects apply at once.
  • Numbers apply when the field loses focus or you press Enter. Text that is not a number is ignored. A value outside the range is moved to the nearest limit.
  • Counts (Cities, Towns): an empty field or -1 means Auto. Decimals are rounded and values below -1 become -1.
  • Checkboxes apply at once.

The Level values of most selects are Off, Low, Medium and High. What each level becomes in real amounts is in How levels become amounts.

The last column says what a change affects: the plan layer that is re-planned at the next Update Plan (and everything planned after it, when its content changes), and the stages that become Dirty.

Terrain ​

SettingPanelControlDefault (Balanced)Range / optionsVerified effectAffects
TerrainBasicSelectHillyFlat, Rolling, Hilly, MountainousThe relief character. The base heights of the relief and of the highlands grow from Flat to Mountainous (about 3 m and 0 m for Flat, 12 and 14 for Rolling, 28 and 36 for Hilly, 48 and 75 for Mountainous, before Relief scales them), and so does the fine detail. Mountainous also adds one mountain range. It also picks the coast profile (Mountainous: rocky coast, Flat: smooth shore, otherwise beach) and the dam type (Mountainous: concrete, otherwise small rural).Terrain layer; stages Terrain foundation, Mountains, Coast
MountainsBasicSelect (Level)MediumOff, Low, Medium, HighHow many mountain ranges are planned.Terrain layer; Terrain foundation, Mountains
ReliefAdvancedNumber, step 0.050.50 to 1How much the macro relief rises and falls: it scales the relief by 0.3 + 1.4 × Relief and the highlands by 0.4 + 1.2 × Relief.Terrain layer; Terrain foundation, Mountains
RoughnessAdvancedNumber, step 0.050.350 to 1The fine bumps over the macro relief (written by the Terrain foundation stage), and the roughness of the mountain stamps (0.25 + 0.5 × Roughness).Terrain layer; Terrain foundation, Mountains
Mountain height (m)AdvancedNumber, step 1012020 to 1500How high the tallest mountain rises above its surroundings. The others vary below it.Terrain layer; Terrain foundation, Mountains
Flat landAdvancedNumber, step 0.050.450 to 1The share of usable land kept flat for settlements, farmland and industry. At 0.02 or less, no flat areas are reserved. The number of flat areas is 1 + area (km²) × Flat land × 0.3, from 1 to 40.Terrain layer; Terrain foundation, Mountains
Lowland above water (m)AdvancedNumber, step 161 to 200How high the lowlands stand above the water level. Land up to 4 m above the lowland is where wetlands are planned. It also sets the height of a terrain the World Generator creates.Terrain layer; Terrain foundation, Mountains

Water ​

SettingPanelControlDefaultRange / optionsVerified effectAffects
CoastBasicSelectInlandInland, One side, Corner, IslandWhere the sea is: nowhere, along one side of the world, around one corner (two sides), or all around. With Inland, the Coast stage is skipped.Terrain layer (coastline), Natural regions (coast band); Terrain foundation, Coast
Coast sideAdvancedSelectAutoAuto, North, East, South, WestFor One side: the side of the sea. For Corner: the first of the two sides; the second is picked from the seed. Auto picks the side from the coast seed. Not used by Inland or Island.Terrain layer; Terrain foundation
RiversBasicSelect (Level)MediumOff, Low, Medium, HighHow many main rivers, and how many tributaries each one gets. Rivers run downhill to the sea or to an edge of the world.Hydrology layer; Rivers
WetlandsAdvancedSelect (Level)LowOff, Low, Medium, HighThe share of usable land planned as wetland.Natural regions layer; Wetlands
DamsAdvancedSelectOffOff, Rare, NormalHow many dams are planned across the rivers' valleys. None when Rivers is Off. With Off, the Dams stage is skipped.Hydrology layer; Dams
Water level (m)AdvancedNumber, step 1200 to 60% of the Height range (at most 1500)The world Y of the water (sea and rivers). The Terrain foundation stage turns the map's water on at this level when the coast, rivers, wetlands or dams need water. Rivers are carved below this one level: there are no per-river water heights.Terrain and Settlements layers; Terrain foundation, Coast, Rivers

Natural regions ​

SettingPanelControlDefaultRange / optionsVerified effectAffects
ForestBasicSelect (Level)MediumOff, Low, Medium, HighThe share of usable land planned as forest.Natural regions layer
FarmlandBasicSelect (Level)MediumOff, Low, Medium, HighThe share of usable land planned as farmland.Natural regions layer
Dense forest shareAdvancedNumber, step 0.050.30 to 1The share of the forest that is Dense Forest. 0 means no Dense Forest.Natural regions layer
Region tile (m)AdvancedNumber, step 501024256 to 4096, whole metresNatural regions are cut into square tiles of this size. Each piece becomes its own World Zone, so a big forest is several Forest zones side by side, which keeps generation and progress local.Natural regions layer

Settlements ​

SettingPanelControlDefaultRange / optionsVerified effectAffects
DensityBasicSelect (Level)MediumOff, Low, Medium, HighHow settled the world is: what the Auto counts of cities and towns scale with. Off plans no Auto cities or towns.Settlements layer (and the power plan)
CitiesBasicCountAuto (-1)Auto, or 0 to 64 (at most 24 are planned)The number of cities. A city becomes up to six zones: an Urban centre, a Commercial sector, three Suburban sectors and, unless Industry is Off, an Industrial sector.Settlements layer
TownsBasicCountAuto (-1)Auto, or 0 to 64 (at most 48 are planned)The number of towns. A town has a Small Town centre and, unless Suburbs is Off, a ring of two Suburban sectors; most towns (decided by their seed) also get a Commercial sector.Settlements layer
SuburbsAdvancedSelect (Level)MediumOff, Low, Medium, HighHow many separate suburbs are planned per city. Off also removes the towns' suburb ring and commercial sector.Settlements layer
IndustryAdvancedSelect (Level)MediumOff, Low, Medium, HighHow many separate industrial areas are planned, from the numbers of cities and towns. Off also removes the cities' industrial sector.Settlements layer
SizeAdvancedNumber, step 0.0510.6 to 1.6Scales the radius of every planned settlement.Settlements layer
Coastal preferenceAdvancedNumber, step 0.050.40 to 1How strongly settlements prefer sites near the coast.Settlements layer
River preferenceAdvancedNumber, step 0.050.50 to 1How strongly settlements prefer sites near a river.Settlements layer

Under the section: "Cities and towns: -1 (or empty) is Auto - scaled with the world's area and the density."

Infrastructure ​

SettingPanelControlDefaultRange / optionsVerified effectAffects
Regional roadsBasicSelect (Level)MediumOff, Low, Medium, HighOff plans no regional roads. Otherwise a backbone joins the cities and towns, with connectors and exits at the world's edges. Medium and High add extra loops where a loop cuts a long detour (High adds more).Roads layer, power plan; Regional roads
Road styleAdvancedSelectModernModern, Rural, AbandonedHow the regional roads look (well kept, rural, or worn without markings). The bridges are road bridges for Modern and rural bridges otherwise.Regional roads
BridgesAdvancedCheckboxOn—Bridges where regional roads cross water (spans up to 180 m), and where the railway crosses water.Regional roads, Railway
TunnelsAdvancedCheckboxOn—Road tunnels where a regional road would cut deep into the ground (at least 60 m, or the road tunnel preset's minimum length if longer, and at most 1500 m), and railway tunnels where the line's cutting would be too deep for more than 80 m.Roads and Railway layers; Regional roads, Railway
RailwayBasicCheckboxOn—Plans one main line between two edges of the world. Off: no railway is planned, and the Railway stage is skipped, even for a corridor you drew.Railway layer; Railway, Utilities
Railway styleAdvancedSelectStandardStandard, Rural, Heavy freight, AbandonedThe Railway system's track preset used for the line (and its minimum curve radius).Railway
ElectrifiedAdvancedCheckboxOff—The line is made electrification-ready, and the Utilities stage adds a Catenary over it.Railway, Utilities
StationsAdvancedCheckboxOn—Stations beside the settlements the line passes. Also lets station compounds be planned as sites.Railway and Sites layers; Railway
SidingsAdvancedCheckboxOn—Sidings (240 m) into the industrial areas the line passes.Railway layer; Railway
UtilitiesBasicCheckboxOn—Substations for cities, industrial areas and towns, high-voltage transmission lines between them, and power distribution inside the settlements.Power plan; Utilities
Street lightingAdvancedCheckboxOn—Street lights and parking lights in the settlements' power distribution.Utilities

Detail ​

SettingPanelControlDefaultRange / optionsVerified effectAffects
VegetationBasicSelect (Level)MediumOff, Low, Medium, HighScales the tree, shrub and grass density of each natural zone's type (0, 0.55, 1, 1.45 times its default). Off leaves the natural zones and wetlands without vegetation.Vegetation
ScatterAdvancedSelect (Level)LowOff, Low, Medium, HighEnvironment scatter on farmland (farmland details) and coast (coastal rocks) zones, at 0.6, 1 or 1.5 times the preset layers' density. Off skips the stage.Environment scatter
Sites in settlementsBasicSelect (Level)MediumOff, Low, Medium, HighThe density of sites (POIs) the Sites system places inside settlement zones (0, 0.5, 1, 1.7 times its own default).Sites (POIs)
Sites in the countrysideAdvancedSelect (Level)LowOff, Low, Medium, HighHow many world-level sites (gas station, campground, military compound…) are planned outside settlements. Only site types the project has templates for are planned.Sites layer
Zone transitionsAdvancedCheckboxOn—Blended transitions between neighbouring zones of different types. Off skips the stage.Zone transitions

How levels become amounts ​

Amounts are worked out from the world's area (A, in km²) when the world is planned. These are the formulas in the code:

WhatOffLowMediumHigh
Auto cities (Density)0round(A × 0.005)round(A × 0.011), at least 1round(A × 0.022), at least 1
Auto towns (Density)0round(A × 0.012), at least 1round(A × 0.024), at least 1round(A × 0.04), at least 1
Suburbs per city00.61.22
Industrial areas (Industry)00.4 per city + 0.1 per town1 per city + 0.25 per town1.6 per city + 0.45 per town
Mountain ranges (Mountains)0round(A × 0.025), at least 1round(A × 0.05), at least 1round(A × 0.09), at least 2
Main rivers (Rivers)0round(√A × 0.12), at least 1round(√A × 0.22), at least 1round(√A × 0.34), at least 1
Tributaries per river0012
Forest share of usable land015%32%55%
Farmland share08%18%32%
Wetland share02%5%10%
Sites in the countryside0round(A × 0.1)round(A × 0.2)round(A × 0.4)
Road loops (Regional roads)none (no roads)no loopsdetour ratio 1.65detour ratio 1.35
Vegetation density×0×0.55×1×1.45
Scatter density×0×0.6×1×1.5
Sites in settlements density×0×0.5×1×1.7

More rules:

  • Auto cities are 0 on worlds under 2.5 km², and Auto towns are 0 under 0.8 km².
  • A world of 2 km² or more gets at least one countryside site (when not Off). There are at most 60.
  • Mountainous terrain adds one mountain range.
  • Dams: Rare plans 1, Normal plans round(√A × 0.2), at least 1.
  • Settlement radius before Size: city 300 + 30√A m (300 to 900), town 165 + 9√A m (160 to 320), suburb 150 + 6√A m (at most 260), industrial area 170 + 8√A m (at most 420). Each is also limited to a share of the world's shorter side (22%, 14%, 10% and 12%).

Example: the default 2048 × 2048 m world is about 4.2 km². Under Balanced it plans 1 city and 1 town (each "at least 1"), 1 mountain range and 1 main river with 1 tributary.

Plan section ​

Plan summary ​

Before the first plan, the section says "No plan yet - Generate Plan." Afterwards it shows one line, for example:

Cities 1 · towns 1 · suburbs 1 · industrial 1 · regions 23 · mountains 1 · rivers 2 · dams 0 · roads 4 (6.8 km) · railway 2.4 km, 2 stations · sites 1 · substations 3 · deleted 0

The counts include disabled items. The road and railway lengths, in km to one decimal, leave disabled roads and railways out. deleted is the number of plan items you deleted (their tombstones).

What the plan contains ​

Plan itemSelectableShown on the ground asBecomes, when generated
MountainYesBrown square marker and a dashed circle of its footprintA Mountain Stamp on the terrain
RiverYesBlue line (tributaries lighter); dashed when disabledA river bed and valley carved into the terrain
DamYesGrey square markerA Dam across the valley nearest to it
CoastlineNoSolid blue lineA Coast that shapes the shore
Settlement (City, Town, Suburb, Industrial area)YesThe outlines of its parts in their zone colours, and a square at its centre (bigger for a city); dashed when disabled or detachedOne World Zone per part, generated by the Settlement system
Region (Forest, Dense forest, Farmland, Wetland, Open land, Mountain, Coast)YesIts outline in its zone colour; dashed when disabled or detachedOne World Zone of that type per region tile
Region override (your disc)YesDashed circle in its type's colour and a white dot at its centreNothing by itself: it decides the type of the regions planned inside it
Regional road (Major, Regional, Local)YesLine in its role's colour; dashed when disabled or detachedA road of the Road system, with junctions, bridges and tunnels
RailwayYesPurple line, station squares and siding dotsA railway track with stations and sidings
SiteYesPink square and a circle of its sizeA site of the Sites system, from its built-in template
SubstationYesTeal squareA substation of the Utilities system
Power lineYesDashed teal lineA high-voltage transmission line
Flat-land reservationNoNot drawnFlatter ground in the Terrain foundation

A dashed line marks the edge of the world. The colours are listed in the legend.

Plan edit modes ​

The 11 mode buttons decide what a click on the ground does. They are disabled until the map has a plan and a terrain. The active mode is highlighted, and a hint under the buttons explains it. The mode starts on Select and is kept for the editor session, also when you switch to another tool and back.

The World Generator owns the left mouse button on the ground while it is armed: clicking does not select or move ordinary objects. Camera moves work as usual: Ctrl+left drag orbits and Alt+left drag pans in every mode. A press with Ctrl or Alt only becomes a camera move after the pointer moves 4 pixels, so an Alt+click is still a click.

How a click finds a plan item. A click reaches items within a small distance: the longer side of the world ÷ 160, and at least 8 m (12.8 m on a 2048 m world). A settlement is easier to hit: the distance is measured from a circle around its centre (35% of its radius, or 3 times the reach if that is smaller). The search goes in this order:

  1. the nearest anchored item: settlement, mountain, dam, site, substation or region disc;
  2. otherwise the nearest line: river, regional road, railway or power line;
  3. otherwise the region whose outline contains the point.

Coastlines and flat-land reservations cannot be picked.

Select ​

"Click a plan item on the ground to select it."

  • Click an item to select it. Its outline, line and centre are drawn in light blue (#6fdcff) over everything else, and the Selected plan item section appears.
  • Click where there is no item to clear the selection.
  • A click also clears the red ring of a focused message.
  • Selecting is not an undo step and changes nothing in the plan.

Move ​

"Drag a plan item to move it (a road, railway or river: drag its nearest point). Moved items are pinned: re-planning keeps them."

Press on an item, drag, and release. While you drag, the selected item's light-blue outline follows the pointer. On release, the move is one undo step (Move plan item), and the item is marked Edited, which pins it (see Re-planning).

ItemWhat a drag does
SettlementMoves its centre to the release point. Its parts (centre, commercial, suburbs, industry) are rebuilt around the new centre.
Mountain, dam, site, substation, region discMoves it to the release point.
RegionMoves the whole outline, so that the average of its corner points lands on the release point. A plain click without dragging also moves the region: its centre jumps to the click point.
River, regional road, railway, power lineMoves one corner point of the line: the one nearest to where you pressed. You must press within 1.5 times the reach of that point. Pressing on the line farther from any point selects the line and says "Drag a point of the line to reshape it." The rest of the line stays where it was.

An anchored item is not moved by a click that ends less than 0.5 m from its centre. Pressing where there is no item clears the selection. Moving an item does not check Lock: locked items can be moved too.

Add City, Add Town, Add Suburb, Add Industrial ​

"Click to add a city to the plan." (and the same for a town, a suburb, an industrial area)

Each click adds one settlement at the clicked point, as one undo step (Add settlement to plan), and selects it. The mode stays active, so you can keep clicking. The new settlement:

  • is named after its kind and number: City 2, Town 3, Suburb 1, Industrial Area 1;
  • is marked Added, so re-planning never removes or moves it;
  • gets the planned radius for its kind from the current settings (see How levels become amounts); an industrial area gets 75% of the industrial size;
  • gets its own seed and a rotation of 0°, and its parts are built at once.

When the plan is updated, the World Generator plans fewer settlements of that kind to make room: for example, with 2 Auto cities and 1 city you added, it plans 1 more.

Add Forest, Add Farmland, Add Wetland, Add Open Land ​

"Click to make the land there forest, whatever the plan chose." (Farmland: "Click to make the land there farmland.", Wetland: "…wetland.", Open Land: "Click to keep the land there open countryside.")

These modes add a region override: a disc of land use that the plan must honour.

  1. Set Region radius (m) in the field that appears under the mode hint (see below).
  2. Move the pointer over the ground. A dashed circle of that radius, in the type's colour, follows it.
  3. Click. The disc is added as one undo step (Add region to plan), marked Added, and selected.

The disc does not change the regions at once. At the next Update Plan or Generate World, the natural regions are re-planned and every free land cell inside the disc gets the disc's type, whatever the plan would have chosen. Cells that are not free land are not changed: water, enabled settlements, your own manual zones, and regions you locked, added or edited. Discs are never re-planned: they stay until you delete them or Discard Plan.

Railway Corridor ​

"Click the corridor's points; double click (or Finish) adds it. Alt+click removes the last point. It replaces the planned main line."

  1. Click the points of the line, in order. Each click adds a point (green markers; the first one is a square). A dashed green line runs from the points to the pointer.
  2. Alt+click removes the last point.
  3. Finish the line with a double click (a second click within 400 ms and close to the previous one, once there are at least 2 points), or with the Finish Corridor button. The first click of the double click adds its point before the second one finishes.

When it finishes:

  • the line is resampled with a point every 40 m and added to the plan as one undo step (Add railway corridor), marked Added;
  • it replaces every planned railway that is not locked, added or edited;
  • if Stations is on, a station is placed on the line for each city or town it passes close to (within the settlement's reach plus 300 m), named Station 1, Station 2…; a corridor has no sidings;
  • the mode goes back to Select, with the new railway selected.

Discard Points (enabled once there is a point) throws the points away. So do Esc, choosing another mode, and leaving the tool. Finishing with fewer than 2 points says "A railway corridor needs at least two points."

If the Railway setting is off, the corridor stays in the plan but the Railway stage is skipped, so no track is built.

Region radius, Finish Corridor and Discard Points ​

NameShownControlVerified purposeDefault / range
Region radius (m)Add Forest, Add Farmland, Add Wetland, Add Open LandNumber, step 25The radius of the next disc you add.250. A value under 20 is ignored; values over 5000 become 5000. Kept for the editor session. Not an undo step.
Finish CorridorRailway CorridorButtonAdds the corridor drawn so far (see above).Enabled with at least 2 points.
Discard PointsRailway CorridorButtonThrows the corridor's points away.Enabled with at least 1 point.

Plan messages ​

Under the modes, the panel lists what is wrong with the plan. The list is refreshed after every Generate Plan, after every plan edit, and at the start of every generation run. Each line reads "Severity · message". Lines with a place or a plan item have a Focus link (see Focus).

MessageSeverityWhen
The settings leave almost no land above the water.ErrorLess than 5% of the world is land above the water level.
City 1 stands in the water.ErrorAn enabled settlement's centre is in the sea, or less than 0.5 m above the water level.
Town 2 is on steep ground (18% mean slope).WarningThe mean slope around an enabled settlement is over 15%.
City 1 and Town 1 overlap.WarningTwo enabled settlements are closer than 90% of the sum of their radii.
Town 3 has no regional road.WarningRegional roads are not Off, there are at least 2 enabled settlements, and a city or town has no regional road.
The railway curves too tightly (radius 150 m).WarningA planned railway has a bend tighter than 200 m.
A river climbs 15 m on its way - its carve will level it.InfoA river rises more than 12 m somewhere along its course.
Regions and settlements cover 115% of the land.WarningThe regions and settlement parts add up to more than 110% of the land.
No natural land is left for forests or farmland.WarningThe non-farmland regions cover less than 5% of the land.
No site template for gasStation - it is not planned.WarningA planned site type has no built-in template in the project.
650 zones will be generated - generation may take a while.InfoThe plan would create more than 600 zones.

Errors block generation (see Generate section). Fix them by moving or deleting the settlement, or by changing the settings (for example a lower Water level, or Coast set to Inland), then update the plan.

Selected plan item ​

This section appears while a plan item is selected. Its title is the item's name (for example City 1, Major Road 2, Main Line), or its kind when it has no name (Region, Mountain…).

The line under the title lists, separated by ·: the item's collection (Settlement, Region, Region override, Regional road, Railway, River, Mountain, Dam, Site, Substation, Power line), its kind (City, Town, Suburb, Industrial area), its region type, its road role (Major, Regional, Local), and its flags:

FlagMeaning
LockedYou locked it. Re-planning keeps it as it is.
AddedYou added it (Add City…, Add Forest…, Railway Corridor). Kept like a locked item.
EditedYou moved, reshaped or changed it. Kept like a locked item.
DisabledIt stays in the plan but is not generated.
DetachedIts generated content was handed over to manual editing. The World Generator ignores it from now on.

Buttons ​

ButtonEnabled whenWhat it does
Lock / UnlockNot busySets or clears Locked. One undo step. Lock does not stop you from moving or changing the item yourself.
Disable / EnableNot busySets or clears Disabled. A disabled item is not generated: its zones, road, track or site are removed at the next run of its stage. A disabled settlement or region is also left out of the land-use map. One undo step.
FocusAlwaysSelects it and frames the camera on it (see Focus). The camera moves only for items with a centre point: settlements, mountains, dams, sites, substations and discs. For lines and regions, Focus only selects.
Delete from PlanNot busyRemoves the item and leaves a tombstone, so an update of the plan does not bring it back. Deleting a settlement also deletes the regional roads that start or end at it, and its substations. One undo step. The selection is cleared.
Detach (make manual)Not busy, and something was generatedHidden once the item is detached. See below.

Detach (make manual) hands what the World Generator built from this item over to you, as ordinary manual content, in one undo step:

  • a settlement or region: its World Zones are no longer listed as generated by the World Generator, so they keep their content and the generator no longer reconciles, clears or rebuilds them;
  • a regional road, railway, site, substation or power line: the road, the tracks, the site or the utilities lose their generator tag;
  • for a mountain, river, dam or region disc, Detach does nothing.

The item stays in the plan marked Detached (and is enabled again if it was disabled), drawn dashed, and every later run ignores it. Detaching makes the item's stages Dirty, because the set of generated items changed. Regenerating them leaves the detached content alone.

Fields of a settlement ​

NameControlVerified purposeRangeNotes
KindSelectCity, Town, Suburb or Industrial area. Its parts are rebuilt for the new kind.—One undo step; marks it Edited.
Radius (m)Number, step 25The settlement's radius. Its parts are rebuilt.60 to 3000. 0 or below is ignored.One undo step; marks it Edited.
SeedNumber, step 1The settlement's own seed: the irregular shape of its outline, whether a town gets a commercial sector, and the seed of its zones' generation.0 to 4 294 967 295 (wraps around)Medium complexity. One undo step; marks it Edited.

Fields of a region or a region disc ​

NameShown forControlVerified purposeNotes
TypeRegion, Region overrideSelect: Forest, Dense forest, Farmland, Wetland, Open land, Mountain, CoastThe land use of the region (its zone type), or the type a disc forces.One undo step; marks it Edited. For a disc, it takes effect at the next update of the plan.
Radius (m)Region overrideNumber, step 25The disc's radius.At least 20 m (smaller values become 20; 0 or below is ignored). One undo step.
AreaRegionRead onlyThe region's area, for example "0.84 km²".—

The hint at the bottom of the section: "Locked, added and edited items are kept by re-planning. Disabled items stay in the plan but are not generated. Detach hands the generated content over to manual editing."

Other items (mountains, rivers, dams, roads, railways, sites, substations, power lines) have no fields here: change them on the ground with Move, or with the buttons.

Stages section ​

The section lists the 21 stages in the order they run. Each row shows the stage's name (with * for a critical stage) and its status. Once the stage has run, a second line shows "N ms · counts · N warnings · reason · error": how long it took, its first four counts (for example zones 14 · created 14 · kept 0 · removed 0), its number of warnings, why it is Dirty, and the error of a failed stage.

The hint under the list: "* critical: a failure stops what depends on it. Other failures are recorded and the run goes on."

The 21 stages ​

#StageReads (depends on)What it does, with which systemSkipped whenCounts
1Terrain foundation *—Writes a fresh macro surface into every terrain chunk (relief, highlands, flat land, coastal plain, fine roughness). The paint is kept. Turns the map's water on at the Water level when water is needed.Neverchunks
2Mountains *Terrain foundationAdds each enabled planned mountain with the Mountain Stamp, starting again from the foundation (never on top of an earlier run's mountains).Nevermountains
3CoastMountainsCreates one Coast per planned coastline (profile from the Terrain type) and lets the Coast system shape the shore.Coast is Inland, or no coastline was plannedshapedSamples, coasts
4RiversCoastErases the previous run's river corridors, then carves each enabled river: a valley first, then the River system's channel below the water level.No enabled riverrivers, riverKm
5Dams & reservoirsRiversRemoves the previous run's dams, then builds a Dam at the best valley crossing within 140 m of each planned dam.Dams is Off, or no enabled damdams
6World Zones *RiversCreates one World Zone per settlement part and per region tile, with stable ids. A zone whose plan item is gone, or whose type or outline changed, is removed (with its content) and made again. Region tiles have no edge fade, so tiles of one forest join without seams.Neverzones, created, kept, removed
7WetlandsWorld ZonesRuns the Wetland generator's Terrain, Water and Materials stages for each wetland zone. Its Vegetation and Details come later, in the Vegetation stage.No enabled wetland regionwetlands
8Regional roadsWetlands, DamsRemoves the previous run's unlocked regional roads, creates one Road per enabled planned road (look from Road style), splits them into junctions where they cross, then adds bridges and tunnels (when enabled) with the Road system's own detection.No enabled roadbridges, tunnels, roads, roadKm
9SettlementsRegional roadsRuns the Settlement generator in every settlement zone: roads, lots, buildings, room layouts and furnishing. Exterior furnishing is left for stage 14.No enabled settlementzones, roads, lots, buildings, connections, interiorLayouts, rooms, interiorProps
10FarmlandSettlementsRuns the Farmland generator in every farmland zone: fields, crops, tracks, boundaries, farmsteads with their interiors. Exteriors are left for stage 14.No enabled farmland regionzones, fields, interiorLayouts, interiorProps
11RailwaySettlementsRemoves the previous run's railway, lays the line with the Railway system (preset from Railway style, eased to the preset's minimum radius × 1.2, control points every 8 m), converts wet stretches to bridges and too-deep cuttings to tunnels, then adds stations and sidings.Railway is off, or no enabled railwaybridges, tunnels, stations, sidings, railKm
12Sites (POIs)Railway, FarmlandLets the Sites system place sites inside the settlement zones (at the Sites in settlements density), then rebuilds every planned countryside site on its planned outline from its built-in template.Sites in settlements is Off and no countryside site is plannedsettlementPois, worldPois
13UtilitiesSitesRemoves the previous run's world utilities, builds the substations and transmission lines, the power distribution (and street lights) of every settlement zone, and the catenary of an electrified line.Utilities is off and the line is not electrifiedsubstations, transmissionLines, settlementNetworks, lamps, catenary
14Exterior FurnishingUtilitiesRuns the Exteriors stage of every settlement and farmland zone (after the utilities, so street furniture does not stand where a pole went).No enabled settlement and no farmland regionexteriorItems, heavyStructures, decals, weeds
15LootExterior FurnishingGenerates the world's procedural loot places (containers, points, areas) from the furniture and exterior items. Each zone's own settings decide its density.Never (reports and does nothing when the loot registries are not available)lootContainers, lootPoints, lootAreas
16Vehicle SpawnsExterior FurnishingGenerates candidate vehicle slots (kerbs, parking bays, driveways, doors, yards). Each zone's own settings decide its density.Never (reports and does nothing when the registries are not available)vehicleSpawnPoints, vehicleSpawnAreas
17Terrain PaintExterior FurnishingAdds the terrain layers the paint materials need, applies the map's global Terrain Auto Paint (unless the palette opts out of the World Generator) and each generated zone's Terrain Paint. Your manual paint is never touched.NeverterrainPaintGlobal, terrainPaintZones
18VegetationTerrain PaintClears and regenerates the vegetation of every natural zone at the Vegetation level, then runs the Wetland generator's Vegetation and Details stages.Neverzones, trees, shrubs, grass
19Environment scatterVegetationAdds the farmland details and coastal rocks scatter layers once (with up to 6 model assets each, matched by name to the layer's category) and scatters them in farmland and coast zones.Scatter is Offplacements
20Zone transitionsEnvironment scatterDetects transitions between the generated zones, drops those between two zones of the same type, and generates the rest.Zone transitions is offtransitions
21ValidationZone transitionsChecks the generated world and reports, never repairs: roads or railway in water without a bridge, overlapping buildings of different owners, roads and zones the plan no longer has, missing scatter assets, railway too tight or too steep, very large zones.Nevererrors, warnings, infos

Every stage depends, directly or through others, on Terrain foundation. Generate from here on a stage runs it and everything after it in this dependency chain. For example, from Regional roads it runs stages 8 to 21, but not Coast, Rivers or Dams.

When a stage is skipped, the run first removes what that stage made in an earlier run, then marks it Skipped. So turning Railway off and regenerating removes the generated railway.

Statuses ​

StatusMeaning
Not generatedThe stage never ran, or it was cleared.
GeneratedIt ran and nothing it reads has changed since.
DirtyOut of date. The second line says why: its settings or plan changed (its own settings or plan items changed), or something it reads changed (a stage it depends on ran again, is Dirty itself, or was cleared).
FailedIt threw an error. Its partial work was discarded. The error is on the second line.
SkippedIt had nothing to do (see the table).

During a run, the rows show the run's own statuses: Generating (the current stage), Done, Failed, Skipped, Blocked (not run because a critical stage it depends on failed) and Cancelled. Stages still waiting keep their usual status until their turn.

Stage buttons (Advanced) ​

In Advanced, each row has three links:

LinkEnabled whenWhat it doesAsks to confirm when
Generate from hereNot busy, the map has a planRuns this stage and every stage after it in the dependency chain.A stage after it is already generated.
Only this stageNot busy, the map has a planRuns this one stage. The stages that read it become Dirty (something it reads changed).A stage after it is already generated.
ClearNot busy, and this stage is not Not generatedClears this stage and everything after it, in reverse order. Those stages go back to Not generated. Manual and locked content stays.Always (this stage, or one after it, is generated).

Clearing Terrain foundation sets every terrain height to the flat lowland height (Water level + Lowland above water). Clearing Mountains puts the foundation back without mountains. Clearing Validation removes nothing (it generated nothing).

Confirmation ​

Before Generate World (when anything was generated), Clear All Generated, and the stage buttons in the cases above, the header shows a confirmation box:

ActionText
Generate WorldGenerate World rewrites the world the generator made before.
Generate from hereRegenerating from Regional roads rewrites everything generated after it.
Only this stageRegenerating Regional roads alone leaves what was built on it Dirty.
ClearClearing Regional roads also clears what was built on it.
Clear All GeneratedClear All removes everything the generator made (terrain relief included).

Below it: "Generated stages affected: N · zones N · roads N · rail tracks N · sites N · utility networks N", then "Manual, locked and detached content is kept. One undo entry undoes it all."

  • N stages counts the generated stages the action rewrites or clears: for Generate World and Clear All, every generated stage; for Generate from here and Only this stage, the generated stages after it (not the stage itself); for Clear, the stage and the generated stages after it.
  • The zones, roads, rail tracks, sites, utility networks numbers are the totals the World Generator currently owns in the whole map, not only the part this action touches.
  • Click Proceed to run the action, or Back to cancel it.

Running a generation ​

What happens when you start Generate World, Regenerate Dirty, a stage button, Clear or Clear All Generated:

  1. If the map has no terrain, one is created (a separate undo step). Clearing never creates a terrain: without a terrain it refuses with "A terrain could not be created for this map."
  2. The plan is brought up to date with the settings (except when clearing a map that already has a plan), and checked. A plan error stops a generation here (see Plan messages).
  3. The stages run in order (clearing runs them in reverse order). The editor keeps working: the run advances in small slices of about 40 ms (longer, up to 200 ms, when the 3D view is slow), and repaints between them. The header shows "Generating... N% Stage", and the stage rows show their run status.
  4. After each completed stage, the run keeps a checkpoint.
  5. When the run ends, its whole result (the terrain and the map) is recorded as one undo step, named after the action (Generate world, Regenerate dirty stages, Generate from stage, Generate stage, Clear stage, Clear generated world).
  6. After a finished run that changed something, the editor validates the world, and the header shows the validation summary.

The message line then says one of:

  • "World generated: N stages in S s · N warnings."
  • "Generated with N failed stages (N done, N warnings) - see Stages and the report."
  • "Cancelled: the N completed stages were kept (S s). Undo removes them."

Failures ​

  • A stage that throws an error is Failed. Everything it did is thrown away, back to the last checkpoint.
  • If the failed stage is critical (Terrain foundation, Mountains, World Zones), every stage that depends on it is Blocked, and the report adds "A critical stage failed - the stages that depend on it were not run."
  • Any other failure is recorded, and the run goes on with the next stage.
  • A failed stage is run again by Regenerate Dirty.

Cancel ​

Click Cancel Generation during a run. The run stops after the slice in progress:

  • the stage in progress is Cancelled, and its partial work is thrown away;
  • the stages not started yet are Cancelled;
  • the stages already completed are kept, and recorded as one undo step, so Ctrl+Z removes them;
  • the report summary ends with "· cancelled", and no validation follows.

Planning ("Planning the world...") cannot be cancelled; it takes about a second.

When nothing is recorded ​

At the end of the run, the result is refused, and nothing at all is recorded, in two cases:

  • "The map changed while generating - nothing was recorded. Generate again.": something else changed the map during the run. Do not edit the map while the World Generator is running.
  • "The terrain is locked - nothing was recorded.": the run changed the terrain, but the terrain is locked in the map. Unlock the terrain first, then generate again.

Report section ​

Before the first run, the section says "Nothing generated yet." After a run, it shows a summary:

Run 3 · Generate World · 74.2 s · 21 stages · 6 messages

  • Run N: the run number. Every run and every clear gets the next number.
  • The kind of run: Generate World, Generate From Stage, Regenerate Dirty, One Stage or Clear.
  • The total time, the number of stages in the report (including skipped, blocked and cancelled ones) and the number of messages (all severities, at most 200).
  • "· cancelled" when the run was cancelled.

Below it, the messages of the run, one per line: "Severity · Stage: message", with a Focus link when the message has a place or an item. The run messages are listed in Messages.

World Statistics ​

World Statistics (Medium complexity) computes a light summary of the map when you click it:

Land 3.95 km² · water 0.24 km² · forest 1.10 km² · farmland 0.61 km² · developed 0.70 km² · natural 1.54 km² · zones 41 · cities 1 · towns 1 · regional roads 9 (6.81 km) · bridges 2 · tunnels 0 · railway 2.37 km · stations 2 · sites 6 · utility networks 12 · trees 41210 · shrubs 18034 · grass 77310 · scatter 912

(The numbers above are only an example of the format.) Good to know:

  • Land and water are sampled on a 96 × 96 grid against the map's water level. With the map's water off, everything counts as land.
  • forest, farmland, developed (settlement zone types) and natural areas, and zones, count every World Zone of the map, including your own.
  • cities and towns are the enabled settlements of the plan.
  • regional roads counts every road of the map, but the km in brackets count only the World Generator's roads. railway km counts only its tracks.
  • bridges, tunnels, stations, sites, utility networks, trees, shrubs, grass and scatter count everything in the map.
  • The text is not refreshed by itself. Click the button again after a change. It is forgotten when you leave the tool.

Focus ​

Focus links appear on plan messages, on run messages and on the selected item. A Focus:

  1. selects the plan item the message is about, if it is a plan item;
  2. draws a red ring and a red marker on the ground at the message's place;
  3. moves the camera there, framing an area of at least 120 m (1.4 times the item's radius for a settlement or a disc).

When a message has no place and points to something that is not a plan item (a zone or a road the stage created), Focus does not move the camera. In Select mode, the next click on the ground clears the red ring.

Subsystem seeds ​

Advanced panel detail, Advanced complexity (or the Inspector's Show more).

13 number fields, one per subsystem: Terrain, Mountains, Coast, Hydrology, Settlements, Regions, Roads, Railway, Sites, Utilities, Vegetation, Scatter, Transitions.

  • An empty field uses the seed derived from the world seed. Its grey placeholder shows that derived value.
  • Type a number to override that subsystem's seed (0 to 4 294 967 295; negative numbers are made positive, decimals are cut off). The label gets a * while it is overridden.
  • Empty the field to go back to the derived seed.
  • Each change is one undo step (Subsystem seed).

The hint: "Empty: derived from the world seed. A subsystem's own seed changes only that subsystem." A new seed only takes effect at the next Update Plan or run, which re-plans that subsystem's layer:

SeedUsed by
TerrainThe macro relief (Terrain layer, Terrain foundation stage)
MountainsWhere the mountains go
CoastThe coastline, the Auto coast side, the coasts' own seeds
HydrologyRivers, tributaries and dams, and the river banks' noise
SettlementsWhere settlements go
RegionsNatural regions and their zones' seeds
RoadsThe regional road network
RailwayThe main line, stations and sidings
SitesThe countryside sites
UtilitiesSubstations and power lines
Vegetation, Scatter, TransitionsDerived and saved like the others, but no current stage reads them (checked in the source). Changing them has no visible effect.

Custom presets ​

Advanced panel detail.

NameControlWhat it does
NameTextThe name of the preset to save.
Save Current SettingsButton, enabled when the name is not blank and the generator is not busySaves every current setting as a preset of this map, under that name (up to 80 characters kept). The new preset becomes the active one, and its button appears in the World section after the built-in presets. The Name field is emptied. One undo step.
Saved preset row: name and RemoveLinkDeletes that preset. The active preset is worked out again from the current settings. One undo step.

Custom presets are saved in the map's World Generator record, so they belong to that map only. Applying one keeps the world's Width and Length, like a built-in preset.

Diagnostics ​

Advanced panel detail, Advanced complexity (or the Inspector's Show more).

  • An information line: "Plan version 1 · algorithm 1 · runs N · generated zones N · plan cell X m". The plan cell is the size of the planning grid. The plan is always about 200 × 200 cells, so the cell is the world's size ÷ 200, and at least 8 m.
  • The timing of each stage in the last report: "Stage · status · N ms".
  • Generation log: the last 40 entries, newest first, as "#run Stage · message". Each completed stage logs "Stage done in N ms.", and every warning and error of a run is logged too. The map keeps the last 300 entries. Empty: "The log is empty."

Plan overlay and legend ​

This section is always shown, even without a map. Its checkboxes choose which parts of the plan are drawn on the ground. They change only the drawing: nothing in the plan or the map, no undo step. They are kept for the editor session.

CheckboxDrawsDefault
MountainsMountain markers and footprintsOn
Coast, rivers, damsCoastlines, rivers and tributaries, damsOn
Natural regionsRegion outlines and your region discsOn
SettlementsSettlement parts and centresOn
Roads and railwayRegional roads, railway, stations, sidingsOn
PowerPower lines and substationsOn
SitesCountryside sitesOn
Land-use mapThe plan's land use as colour draped on the ground: water in blue (ground at or below the water level, or the sea side of the coast), and each enabled settlement part and region in its zone colour. Up to 160 cells along a side.Off

The edge of the world (a dashed line), the selected item (light blue), the focused message (red), the railway corridor being drawn (green) and the disc under the pointer are always drawn, whatever the checkboxes. The whole overlay is shown only while the World Generator is armed and the map has a plan. It is editor display only: it is never saved or exported.

The legend lists the colours:

Legend entryColour
Coastline#3fa7ff (blue)
River#4fc3ff (light blue)
Mountain#b08968 (brown)
Major road#ff9f43 (orange)
Regional road#ffd166 (yellow)
Local road#f1f1f1 (white)
Railway / stations#c77dff (purple)
Site#ff6b9a (pink)
Substation / power line#00e5c0 (teal)
Selected#6fdcff (light blue)
Focused message#ff4d4d (red)

After them come the zone types with their World Zones colours: Urban, Commercial, Suburban, Small Town, Industrial, Forest, Dense Forest, Farmland, Wetland, Rural, Mountain, Coast. Plan regions use them too: an Open land region is drawn in the Rural colour.

Keyboard and mouse ​

InputModeAction
ClickSelectSelects the plan item under the pointer, or clears the selection.
Press, drag, releaseMoveMoves the item (a line: its nearest point). One undo step per drag.
ClickMoveOn a region: moves the region's centre to the click point.
ClickAdd City / Town / Suburb / IndustrialAdds a settlement there.
ClickAdd Forest / Farmland / Wetland / Open LandAdds a region disc of Region radius there.
ClickRailway CorridorAdds a corridor point.
Double clickRailway CorridorFinishes the corridor (at least 2 points).
Alt+clickRailway CorridorRemoves the last corridor point.
Ctrl+left dragAnyOrbits the camera (after 4 px of movement).
Alt+left dragAnyPans the camera (after 4 px of movement).
EscAnyDiscards the corridor being drawn and a drag in progress. If a toolbar group menu is open, it only closes the menu.
Esc twice within 400 msAnyArms the Map toolbar's Select tool (leaves the World Generator).
Ctrl+Z / redoAnyUndoes or redoes the last settings change, plan edit or run.

The World Generator has no shortcut of its own.

Re-planning: what is kept ​

The plan is made of layers, planned in this order. Update Plan re-plans only the layers whose inputs changed, and keeps the others exactly as they were, with your edits. The message says how many layers were re-planned: "Plan ready: N layers planned · N settlements · N regions · N roads (N ms).", or "The plan is up to date (N ms)." when nothing changed.

LayerIts inputsGives
TerrainWorld size, Height range, every Terrain setting, Water level, Coast, Coast side, Terrain / Mountains / Coast seedsFlat land, mountains, coastlines
HydrologyThe terrain layer's result, Rivers, Dams, Hydrology seedRivers, tributaries, dams
SettlementsTerrain and hydrology results, every Settlements setting, Water level, your own zones, Settlements seedCities, towns, suburbs, industrial areas
Natural regionsTerrain, hydrology and settlement results, every Natural regions setting, Wetlands, Coast, your own zones, your region discs, Regions seedRegions cut into tiles
RoadsTerrain, hydrology and settlement results, Regional roads, Tunnels, your own zones, Roads seedRegional roads
RailwayTerrain, hydrology and settlement results, Railway, Stations, Sidings, Tunnels, Railway seedMain line, stations, sidings
SitesTerrain, hydrology, settlement, road and railway results, Sites in the countryside, Stations, the project's site templates, Sites seedCountryside sites
PowerTerrain and settlement results, Utilities, Regional roads, Density, Utilities seedSubstations, power lines

Settings that are not in this table (Road style, Bridges, Railway style, Electrified, Street lighting, Vegetation, Scatter, Sites in settlements, Zone transitions) change no layer: they only make their stages Dirty.

When a layer is re-planned:

  • items you locked, added or edited are kept as they are, and the rest is planned around them;
  • every other item of that layer is planned again from scratch: it can move, change or disappear, and a Disabled flag on it is lost. Regions are the exception: a region planned again with the same id keeps its Disabled flag. To be sure a disabled item stays disabled, lock it too;
  • items you deleted stay deleted (tombstones);
  • your region discs are never re-planned.

Re-plan Everything re-plans every layer, with the same rules. Discard Plan forgets everything, including tombstones and discs.

If the world's size no longer matches the plan (for example the terrain was replaced by one of another size), the next planning starts from scratch: added, edited and locked items, deletions and discs are lost.

Your own content shapes the plan: enabled World Zones you made yourself (polygon or circle zones) are planned around, and your own settlement zones become places the regional roads connect to. Roads you made yourself are left alone.

What the World Generator replaces, and what it keeps ​

ContentWho owns itWhat a regenerate or Clear does
Terrain heights—Replaced by Terrain foundation (and set flat by its Clear).
Terrain paintYou / Terrain PaintBase layers and manual paint are kept. Terrain Paint applies the global auto paint and the generated zones' paint. Its Clear removes only those.
World Zones of settlement parts and region tilesThe World Generator (by stable id)Reconciled: kept when unchanged, removed and made again when their plan item changed, removed when their plan item is gone, disabled or detached. Their content is generated by each zone's own generator.
Regional roadsThe World Generator (tag on the road)Removed (unless locked) and made again.
Railway tracks, stations, sidingsThe World Generator (tag on the tracks)Removed (unless locked) and made again.
Countryside sitesThe World Generator (tag on the site)Removed (unless locked) and made again.
Substations, power lines, catenaryThe World Generator (tag)Removed and made again.
Coasts, dams, river corridors, scatter layersThe World Generator (listed in its record)Removed and made again. A river's Clear gives the ground back as it was before that river.
Loot places, vehicle slotsTheir generatorsRegenerated at world scope. Manual and locked ones stay.
Your own zones, roads, objects, buildingsYouNever touched.
Locked content—Never replaced.
Detached contentYou, after DetachNever touched again.

Messages ​

Refusals ​

Shown in the header; the action did nothing.

MessageCauseWhat to do
Generate a plan first.A plan edit or a click on the ground in an edit mode, while the map has no plan.Click Generate Plan.
A terrain could not be created for this map.The map has no terrain and one could not be made, or you tried to clear without a terrain.Create a terrain yourself (Hierarchy › Terrain › +), then try again.
The plan has errors - fix them (or change the settings) before generating.The plan has an Error message.See Plan messages.
A railway corridor needs at least two points.Finishing a corridor with fewer than 2 points.Click more points.
Drag a point of the line to reshape it.In Move, a press on a line too far from its points.Press closer to one of the line's points.
The map changed while generating - nothing was recorded. Generate again.Something changed the map during the run.Run it again without editing in the meantime.
The terrain is locked - nothing was recorded.The run changed a locked terrain.Unlock the terrain, then run again.
The World Generator failed - see the console.An unexpected error while planning or running.Check the developer console.
The map's terrain sets the world's size.A size change while the map has a terrain. The size fields are disabled in this case, so this is rarely seen.The terrain's size is used.

Run messages ​

Shown in the report (with the stage's name), and logged when they are warnings or errors.

MessageSeverityStage
Stage failed: …ErrorAny
A critical stage failed - the stages that depend on it were not run.ErrorTerrain foundation, Mountains, World Zones
Cancelled: …Warning—
A planned dam found no valley to close. / A dam could not be built (…).WarningDams
A wetland failed (…).WarningWetlands
A bridge was skipped (…).Info at a junction, otherwise WarningRegional roads
Zone: settlement failed (…). / Zone: … (a settlement's own warning)Warning / InfoSettlements, Exterior Furnishing
Zone: farmland failed (…).WarningFarmland, Exterior Furnishing
The railway could not be laid (…). / Station … was skipped (…). / A siding was skipped (…).Warning / Warning / InfoRailway
Site … failed (…). / Zone: no site templates fit. / Zone: site … skipped (…). / No site template for … - it is not planned.Warning / Warning / Info / WarningSites (POIs)
A substation was skipped (…). / A power line was skipped (…).WarningUtilities
Loot: the loot registries are not available - the stage was skipped. / Loot: N candidate places were skipped…InfoLoot
Vehicle Spawns: the vehicle spawn registries are not available… / Vehicle Spawns: N candidate slots were skipped…InfoVehicle Spawns
N terrain paint material(s) cannot paint the terrain and were left out.WarningTerrain Paint
Zone: vegetation blocked (…).WarningVegetation
No model matches the … scatter layers - add assets to them in Environment Scatter.WarningEnvironment scatter
Zone transitions: …InfoZone transitions
… runs through water without a bridge. (road or railway)WarningValidation
Two buildings overlap.WarningValidation
… connects to nothing. / A generated zone is missing (…).InfoValidation
Layer: N assets are missing from the project.WarningValidation
The railway curves too tightly (radius N m). / The railway is too steep (N%).WarningValidation
Zone is very large - its vegetation is thinned.InfoValidation

The Railway stage can also report a skipped railway bridge or tunnel. The editor has no English text for these two messages, so what they look like on screen was not verified.

The editor's general validation (the Problems panel) also has three World Generator problems: "World Generator: N item(s) it created for Stage are missing.", "World Generator has an invalid seed (…)." and "World Generator data comes from another version (algorithm N, current N)." This chapter did not trace when exactly they are raised.

Typical tasks ​

Generate a first world on a new map ​

  1. Open the map in the Map workspace. A map without a terrain is fine.
  2. Arm World › World Generator.
  3. Click a preset, for example Balanced or Coastal.
  4. If the map has no terrain, set Width and Length (and, in Advanced, Height range).
  5. Click Generate Plan. A terrain is created if needed, and the plan appears on the ground.
  6. Read the plan messages. Fix any Error.
  7. Click Generate World. Watch the progress. On a large world this can take minutes: vegetation and zone transitions are the slowest stages.
  8. Read the message line, the validation summary and the Report. Use Focus to look at each warning.

Try several worlds before building one ​

  1. Click New Seed (Medium complexity), then Update Plan.
  2. Look at the plan on the ground. Turn on Land-use map to see the land use in colour.
  3. Repeat until you like the layout, then click Generate World.

Planning takes about a second whatever the world's size, while generating takes much longer, so choose with the plan.

Add a town of your own ​

  1. After Generate Plan, click Add Town.
  2. Click the ground where the town should be. It is selected, named Town N and marked Added.
  3. Adjust Radius (m) in the Selected plan item section if needed.
  4. Click Update Plan: roads, regions and power are re-planned around the new town.
  5. Click Regenerate Dirty (or Generate World).

Force an area to be forest, farmland, wetland or open land ​

  1. Click Add Forest (or Farmland, Wetland, Open Land).
  2. Set Region radius (m).
  3. Click the ground at the centre of the area. Add more discs if needed.
  4. Click Update Plan. The regions inside the discs take the disc's type.
  5. Click Regenerate Dirty.

Draw your own railway line ​

  1. Make sure Railway is on (Infrastructure).
  2. Click Railway Corridor.
  3. Click the line's points across the world. Alt+click removes a wrong point.
  4. Double click the last point, or click Finish Corridor. The planned main line is replaced.
  5. Check the plan messages for The railway curves too tightly, and move points with Move if needed.
  6. Click Regenerate Dirty.

Move or reshape planned items ​

  1. Click Move.
  2. Drag a settlement, a mountain, a site or a disc to its new place. For a road, river, railway or power line, press on one of its points and drag it.
  3. Moved items are pinned: later updates of the plan keep them.
  4. Click Update Plan, then Regenerate Dirty.

Remove something generated and keep it out ​

  1. Click Select, then click the item (for example a regional road).
  2. Click Delete from Plan. A tombstone keeps it from coming back.
  3. Click Regenerate Dirty. The stage removes what the item had built.

To keep it in the plan without building it, click Disable instead of deleting it (and Lock it, so that re-planning keeps it).

Change a setting and rebuild only what changed ​

  1. Change the setting, for example Vegetation from Medium to High.
  2. The stages that read it become Dirty, and Regenerate Dirty (N) shows how many stages will run.
  3. Click Regenerate Dirty. It runs the plan update (if a layer is affected) and only the dirty stages and what depends on them.

Rebuild from one stage (Advanced) ​

  1. Switch the panel to Advanced.
  2. In Stages, click Generate from here on the first stage to rebuild, for example Settlements.
  3. Confirm with Proceed.

Keep a generated town and edit it by hand ​

  1. Select the settlement in the plan.
  2. Click Detach (make manual).
  3. Its zones are yours now: edit them with World Zones. Later runs of the World Generator leave them alone.

Save your settings as a preset ​

  1. Switch the panel to Advanced and set everything up.
  2. In Custom presets, type a Name and click Save Current Settings.
  3. The preset's button appears in the World section of this map.

Undo a generation, or remove everything generated ​

  • Press Ctrl+Z right after a run: the whole run is undone in one step (terrain and map together).
  • Or click Clear All Generated and Proceed. Everything the World Generator built is removed and the terrain becomes flat lowland again. The plan stays, so Generate World can build it again.

Common mistakes ​

  • Generating over a terrain you sculpted by hand. The Terrain foundation stage replaces every height. Undo the run, or use a new map.
  • Expecting a setting change to show at once. Settings only change the plan or the world at the next Update Plan or run.
  • Expecting a region disc to change the regions at once. Discs take effect at the next Update Plan or Generate World.
  • Looking for the Width and Length fields when the map has a terrain. They are disabled: the terrain's size is the world's size. Generate on a new map for another size.
  • Locking the terrain before generating. The whole run is then thrown away at the end ("The terrain is locked - nothing was recorded."). Unlock it first.
  • Editing the map while a run is going. The run is thrown away at the end ("The map changed while generating…"). Wait, or click Cancel Generation.
  • Clicking a region in Move mode to select it. In Move, a click on a region moves it to the click point. Use Select to select.
  • Disabling an item without locking it. If its layer is re-planned, the item is planned again and the Disabled flag can be lost (regions keep it).
  • Drawing a railway corridor with Railway off. The corridor is kept in the plan, but no track is built.
  • Using Discard Plan to remove the generated world. Discard Plan only forgets the plan; the generated content stays. Use Clear All Generated for that.
  • Expecting Detach on a mountain, river, dam or disc to do something. Detach only works for settlements, regions, roads, railways, sites, substations and power lines.
  • Expecting the counts in the confirmation box to be only what this action touches. They are the totals the World Generator owns in the map.
  • Saving a big generated world in the browser version. The browser workspace stores a map in local storage, about 5 MB. A generated world with its vegetation can be bigger, and saving then fails. Use a project folder or the desktop app for generated worlds.
  • Missing scatter on farmland and coasts. The scatter layers need model assets whose names match their categories. Without them the layers are empty and the report says "No model matches the … scatter layers…". Add assets to the layers in Environment Scatter.
  • Map workspace: the toolbar and its tool groups.
  • Chunks tab: a terrain made by the World Generator is divided into chunks of 512 m or 1024 m, so a large world can be loaded around the camera.
  • Wetland Brush: edit the wetlands the World Generator made (their zones are ordinary Wetland zones).
  • World Zones (toolbar World › World Zones): every settlement part and region tile the World Generator makes is a World Zone you can open there.
  • Zone Transitions (toolbar World › Zone Transitions): the transitions of stage 20.
  • World Regions (toolbar World › World Regions): streaming and overview for large worlds.
  • Mod Settings › Generation Seed: the Custom Seed a new map's World Generator starts from (see Mod Settings; the Generation Seed field itself is not described there yet).
  • Problems panel: the validation that follows a run, opened with Show Problems (see Fix problems before exporting).

Verification notes ​

This chapter was written from the editor's source code only: the world-generator-panel component, WorldGeneratorService, WorldGeneratorToolService, WorldGeneratorToolStore, the domain files (world-generation.ts, world-generation-presets.ts, world-generation-run.ts, world-generation-stages.ts, world-plan-edit.ts, world-planner.ts, world-plan-field.ts), the toolbar catalog, the Inspector complexity directives, the validation summary and the en-US texts. The following were not checked in a real run of the editor:

  • what the panel and the overlay look like (no screenshots were taken), and the exact wording and count of the Show more footers;
  • how long planning and generation take on real worlds (the times quoted come from the editor's own design notes);
  • how the two Railway messages without English text appear on screen;
  • when the three World Generator problems of the Problems panel are raised.