Skip to main content

Procedural Generation

The Procedural Generation panel runs Rust's own map generator on the open map, one step at a time, in the order Rust runs them. You choose which steps run, change their settings and the world settings, and can add steps that place your own custom monuments.

Everything you change is kept in a preset. The steps and their default settings come from the Rust game files on your computer, so they match your Rust version.

The Procedural Generation panel with the step list and the Lakes step picked, its settings open

Before you start​

  • Open a map, or make a new one. The steps run on the open map.
  • RustEdit needs the Rust game files. The step list fills once they are loaded.

Open the panel​

Click the Procedural Generation button on the tool bar on the left, or open ToolsWorldProcedural Generation.

Run the steps​

  1. Turn on the steps you want, and turn off the rest.
  2. Type a seed in Seed, or leave it empty for a random one.
  3. Click Run. RustEdit asks "Run N procedural steps on this map?".
  4. Click Confirm. A loading screen shows each step as it runs. When the run ends, the Notifications panel says how many steps ran and which seed was used.

To run one step on its own, right-click its row and pick Run This Step.

warning

The terrain steps, such as Height Map and Splat Map, write new maps for the whole map. The other steps add prefabs. A run does not remove the prefabs that are on the map already. To generate a whole new map, start from a new, empty map.

Steps on a map that has roads and rails​

You can run the road, rail and power line steps on a finished map. The steps use the roads and rails the map has already:

  • Road Layout and Rail Layout link new roads and rails to the ones the map has. They do not make a second network on top of it.
  • Power Line Layout starts its power lines from the map's main roads, as in a full run.
  • Road Monuments finds the map's roads, and the train tunnel step finds its rails.
  • Road Ring and Rail Ring are skipped when the map has its ring road or ring rail already. The Notifications panel says so.
  • The road, rail, power line and trail steps lead their paths to the connection points of the custom monuments on the map. See Monuments already on the map.

The steps that work along every road or rail, such as Road Terrain, Road Texture and Road Objects, only work on the paths the same run makes. They never change the map's own roads and rails.

Undo a run​

The whole run is one undo step. Press Ctrl+Z to undo it. Undo puts back the height, splat, biome, topology and alpha maps, and removes the prefabs the run placed. The undo history from before the run stays: the next Ctrl+Z undoes your last step before the run.

When a step fails​

A step that fails is skipped, and the others still run. The Notifications panel names the step and the error, and the run ends with "Procedural generation ran N steps, M failed. See the errors above".

The panel​

From top to bottom:

PartWhat it does
PresetThe preset in use, with Save As and Delete buttons beside it. See Steps and Presets.
Steps / WorldSwitches between the step list and the world settings.
Search boxShows only the steps with this text in their name.
All StepsIts switch turns every step on or off. It shows how many steps are on, such as "84 of 84 on". Its + button adds a step of your own. See Custom Monument Steps.
Step listOne row for each step, in the order they run.
SeedThe seed for the run. Leave it empty for a new random seed each time.
RunRuns the steps that are on. The button says how many, such as Run 84 Steps.

Each step row has:

  • A switch that turns the step on or off.
  • The step's name. Click it to show the step's settings under the row.
  • A dot when the step's settings differ from the default settings.
  • The step's group, dim on the right, such as Terrain, Paths or Monuments. See Steps and Presets for the groups.

Right-click a row for more: Run This Step, Reset to Default Settings, Add Step Here, Turn All On and Turn All Off.

Seeds​

  • With Seed empty, every run uses a new random seed. The Notifications panel says which one, so you can type it in later to get the same map again.
  • The same seed and the same settings, run on the same starting map, make the same map again.
  • Each step runs with its own seed, made from the run's seed and the step's place in Rust's list, as in Rust.
  • The seed also decides where the loot tier bands and the biome bands go, as in Rust.
  • A step of your own keeps its own seed when you move it to another place in the list.
  • The seed is saved in the preset.

Step settings​

  1. Click a step's name. Its settings open under the row.
  2. Change a setting. The row gets a dot, and the preset saves the change.
  • Point at a setting to see what it does. The tooltip ends with its default value, such as "Default: On".
  • Lists have Add and Remove buttons. A prefab is typed as its path, such as assets/.../name.prefab. A path that is not a prefab is marked "No prefab has this path".
  • To put a step back to its default settings, right-click its row and pick Reset to Default Settings.

Some settings skip a step. For example, a step with Min World Size does not run on maps smaller than that size.

World settings​

Click World at the top of the panel to see the settings for the whole map. Click Reset World Settings at the bottom to put them all back.

SettingWhat it does
Percentage Tier 0, Percentage Tier 1, Percentage Tier 2The share of the map for each loot tier band. Jungle can only appear in the Tier 0 band.
Percentage Biome Arid, Percentage Biome Temperate, Percentage Biome Tundra, Percentage Biome ArcticThe share of the map for each biome band, in the order arid, temperate, tundra, arctic.
Percentage Biome JungleThe width of the band where temperate ground in Tier 0 turns into jungle. Bigger values give more jungle.
Main RoadsOff skips the Road Ring step.
Side RoadsOff skips the Road Layout step for roads.
TrailsOff skips the Trail Layout step.
RiversOff skips the River Layout step.
PowerlinesOff skips the Power Line Layout step.
Above Ground RailsOff skips the Rail Ring and Rail Layout steps.
Below Ground RailsOff skips the Tunnels step, and the roadside train tunnel entrances are not placed.
Underwater LabsOff skips the Underwater Entrances step, and the underwater lab monuments are not placed.
Prefab BlacklistPrefabs whose path has any of these texts are skipped when steps load prefabs from folders.
Prefab WhitelistWhen not empty, only prefabs whose path has one of these texts are loaded from folders. The blacklist is checked first.

Point at a setting in the panel for its full description.

Custom monuments and the terrain​

Tips​

  • Turn off the steps you do not need while you try settings, then run them all at the end.
  • Steps that place nothing on small maps, such as some monument steps, may have a Min World Size. Check their settings.