Skip to main content

Topology

RustEdit Pro

The nodes in the Topology category of the Terrain Graph's Add Node menu. Round sockets carry maps and square sockets carry single values. See Graph editor.

Topology Flood Fill​

Flag every cell reachable from a start point, the way Rust finds the mainland.

Inputs

InputKindDefaultNotes
InTopology mapThe value this node works on.
IncludeChoicesField, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, HilltopA cell can be filled when it has any of these flags. Pick any of: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.
ExcludeChoicesOcean, OceansideA cell with any of these flags stops the fill. Pick any of: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.
FlagChoiceMainlandThe flag set on every filled cell. Options: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.
Start XNumber0.5Where the fill starts across the map, 0 to 1. Rust starts in the middle. Slider from 0 to 1.
Start YNumber0.5Where the fill starts up the map, 0 to 1. Rust starts in the middle. Slider from 0 to 1.

Outputs

OutputKind
OutTopology map. The result this node produces.

Topology Layer​

Paint one topology flag through a mask.

Inputs

InputKindDefaultNotes
InTopology mapThe value this node works on.
MaskMap
FlagChoiceFieldThe topology flag to paint. It is set where the mask is above 0.5. Options: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.
EraseOn or offOffOn: removes the flag where the mask is above 0.5, instead of setting it.

Outputs

OutputKind
OutTopology map. The result this node produces.

Topology Mask​

Read one topology flag back out as a mask.

Inputs

InputKindDefaultNotes
InTopology mapThe value this node works on.
FlagChoiceFieldThe topology flag to read out as a mask, high where the flag is set. Options: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.

Outputs

OutputKind
OutMap. The result this node produces.

Topology Merge​

Combine two topology stacks.

Inputs

InputKindDefaultNotes
ATopology mapThe first input.
BTopology mapThe second input.

Outputs

OutputKind
OutTopology map. The result this node produces.

Topology Spread​

Set a flag on cells near other flags, the way Rust spreads beachside, oceanside and forestside.

Inputs

InputKindDefaultNotes
InTopology mapThe value this node works on.
SourceChoicesOceanCells with any of these flags spread. Pick any of: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.
TargetChoicesField, BeachOnly cells with any of these flags can take the flag. Pick any of: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.
FlagChoiceOceansideThe flag the spread sets. Options: Field, Cliff, Summit, Beachside, Beach, Forest, Forestside, Ocean, Oceanside, Decor, Monument, Road, Roadside, Swamp, River, Riverside, Lake, Lakeside, Offshore, Rail, Railside, Building, Cliffside, Mountain, Clutter, Alt, Tier0, Tier1, Tier2, Mainland, Hilltop.
RadiusWhole number4How many cells ahead a source reaches, along rows and then columns. Slider from 0 to 64.

Outputs

OutputKind
OutTopology map. The result this node produces.