Terrain Splines
RustEdit ProA terrain spline changes the terrain along its line or inside it: it flattens a bed for a road, raises a ridge, cuts a canyon, levels an area or paints it. The change stays live. Move a knot and the terrain follows when you let go of the mouse button; delete the spline and the change goes away.

Before you start
- You need RustEdit Pro or higher. Without it, the terrain types are not in the type dropdown, the settings of terrain splines in a scene cannot be changed, and they do not change the terrain.
- Know how to draw and edit splines. See Editing Splines.
How to shape the terrain with a spline
- Make a spline entity and draw the line. For an area, close the spline.
- With the spline entity selected, click Terrain in the component buttons of the Inspector.
- In the Splines table, pick a Type in the spline's row: Road Bed, Ridge / Canyon, Shape Area, Paint Area or Graph Profile. The terrain changes at once. Graph Profile first needs a profile: see Spline Profile.
- Click the row, and set the options in its Settings tab. The line at the top says what the type does.
- Move knots to adjust the shape. The terrain is built again after each change.
One spline entity can have several terrain splines, each with its own type.
The types
| Type | What it does | Starts with |
|---|---|---|
| Road Bed | The ground along the line goes to the line's height. Move the knots up or down to shape it. | Width 12, Falloff 15 |
| Ridge / Canyon | Raises the ground along the line by the amount, or lowers it with a negative amount. The Profile curve shapes it from the middle to the edge. | Width 80, Falloff 20, Amount 20 |
| Shape Area | The ground inside the closed line goes level, at the line's average height plus the level. | Falloff 20 |
| Paint Area | Paints the inside of the closed line. | Falloff 5, Splat Dirt |
| Graph Profile | Changes the ground beside the line by a spline profile, a node graph you build. It has its own rows: see Spline Profile. | Width 10, Reach 30 |
Options
The rows depend on the type.
| Option | Types | What it does |
|---|---|---|
| Apply | All | The spline changes the terrain. It is on for a new spline. It is off on splines from an exported map, because that terrain has the change already. |
| Width | Road Bed, Ridge / Canyon | The full width of the line in meters. |
| Falloff | All | How far past the edge the change eases out, in meters. |
| Offset | Road Bed | Meters over (or under) the line the ground goes to. |
| Amount | Ridge / Canyon | Meters the ground is raised in the middle. Negative lowers it. |
| Level | Shape Area | Meters over (or under) the line's average height the inside goes to. |
| Opacity | All | How much of the change is made, 0 to 1. |
| Profile | Ridge / Canyon | A curve: the shape across the line, from its middle (left) to its edge (right). |
| Splat | All | The ground texture painted along the line or inside the area. None paints no splat. |
| Biome | All | The biome painted along the line or inside the area: Arid, Temperate, Tundra or Arctic. None paints no biome. Jungle is not in the list. |
| Topology | All | The topology added along the line or inside the area. |
The default Profile curve is full at the middle and eases to nothing at the edge. Edit the curve for a flat top, a steep wall or a V shape.
How it works with other terrain changes
- Terrain splines are applied after your terrain edits, the terrain changes of placed prefabs and the terrain modifiers of roads, rivers and rails. Where a terrain spline works at full strength, it decides the result.
- The spline's knots set the height. Hold Ctrl while you drag a knot to put it on the current ground.
- When you export the map, the exported terrain includes the changes of every terrain spline with Apply on.
- The terrain splines themselves are saved in the scene, and in RustEdit's data in a map exported with In RustEdit data, so they stay editable. With In the map, only their changes to the terrain are exported.
When you open an exported map, its terrain splines come back with Apply off. The map's terrain already has their changes, so RustEdit does not make them a second time. Turn Apply on only for a spline whose change is not in the terrain.
To go on working on the terrain splines, open the scene file, not the exported map. The scene file keeps Apply as you set it.
A Road path has its own terrain modifiers, Rust's bed for a road. For a different shape, draw a Road Bed along the road, in a second spline entity with Terrain picked in the component buttons.
Undo
Changes to the knots are undo steps, and the terrain follows the undo. Changes in the Inspector are undo steps too: the type, the options rows and the component buttons.
Use your splines in a terrain graph
The terrain graph's Spline Mask node turns the map's splines into a mask and a height. It can take all splines, one Rust path type, the terrain splines, the prefab splines, or the splines without a type. See Terrain Graph Nodes.