Topology
RustEdit ProThe 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
| Input | Kind | Default | Notes |
|---|---|---|---|
| In | Topology map | The value this node works on. | |
| Include | Choices | 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 | A 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. |
| Exclude | Choices | Ocean, Oceanside | A 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. |
| Flag | Choice | Mainland | The 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 X | Number | 0.5 | Where the fill starts across the map, 0 to 1. Rust starts in the middle. Slider from 0 to 1. |
| Start Y | Number | 0.5 | Where the fill starts up the map, 0 to 1. Rust starts in the middle. Slider from 0 to 1. |
Outputs
| Output | Kind |
|---|---|
| Out | Topology map. The result this node produces. |
Topology Layer
Paint one topology flag through a mask.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| In | Topology map | The value this node works on. | |
| Mask | Map | ||
| Flag | Choice | Field | The 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. |
| Erase | On or off | Off | On: removes the flag where the mask is above 0.5, instead of setting it. |
Outputs
| Output | Kind |
|---|---|
| Out | Topology map. The result this node produces. |
Topology Mask
Read one topology flag back out as a mask.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| In | Topology map | The value this node works on. | |
| Flag | Choice | Field | The 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
| Output | Kind |
|---|---|
| Out | Map. The result this node produces. |
Topology Merge
Combine two topology stacks.
Inputs
| Input | Kind | Default | Notes |
|---|---|---|---|
| A | Topology map | The first input. | |
| B | Topology map | The second input. |
Outputs
| Output | Kind |
|---|---|
| Out | Topology 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
| Input | Kind | Default | Notes |
|---|---|---|---|
| In | Topology map | The value this node works on. | |
| Source | Choices | Ocean | Cells 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. |
| Target | Choices | Field, Beach | Only 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. |
| Flag | Choice | Oceanside | The 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. |
| Radius | Whole number | 4 | How many cells ahead a source reaches, along rows and then columns. Slider from 0 to 64. |
Outputs
| Output | Kind |
|---|---|
| Out | Topology map. The result this node produces. |