APC Paths
An APC spline is a route for the Bradley APC. The APC drives along it and stops at interest nodes to look around. You can slow it down on tight parts, set how many APCs drive it, and check the route before you export.

Before you start
Rust does not read APC paths by itself: a server needs the RustEdit 2 Server Extension to use them.
How to make an APC path
- Make a spline entity and draw the route. See Editing Splines.
- In the Inspector, click Path in the component buttons.
- In the Splines table, set the spline's Type to APC.
- Click the row. Its Settings tab shows.
- Click Auto Interest Nodes. RustEdit puts interest nodes in the places Rust gives a road APC. To add them one at a time instead, see Interest nodes.
- Turn on Drivable. RustEdit colors the path by how the APC can drive it.
- Move the knots, or change the ground, until no part is red and no pink box shows. See Check that the APC can drive it.
To follow a road, click Copy Shape From Road under Route and pick the road. Roads are listed by the name of their spline entity. The APC path takes the road's shape, and it gets interest nodes in the places Rust gives a road APC. Its old knots, speeds and interest nodes are replaced. It is one undo step.
Junctions and networks
- Link knots to join APC splines into a network with junctions. Linked knots of APC splines in the same spline entity become one junction. See Link in Spline Widget.
- Each spline entity makes its own networks. Splines in two spline entities never join, even when their knots touch.
- A closed spline is a loop. An open spline has two dead ends.
Interest nodes
Interest nodes are the places the APC drives to and looks around. Rust needs at least one on each APC path. The APC drives to the point of the path nearest to the node, so a node must be near the path.
Interest nodes show as green dots. A node more than 10 m from the path is red: move it closer.
| Button | What it does |
|---|---|
| Add Interest Node | Adds a node on the ground at the middle of the scene view. |
| Auto Interest Nodes | Puts interest nodes in the places Rust gives a road APC: one at each end of an open path, and 1 to 3 along it, one for each 500 m. The old ones are removed. |
| Snap Interest Nodes | Moves every interest node onto the nearest point of the path. |
| Delete Selected Interest Nodes | Deletes the interest nodes you selected in spline edit mode. |
In spline edit mode, you can select and move interest nodes:
- Click an interest node to select it. Ctrl+Mouse Left adds more nodes to the selection.
- Drag an interest node to move it.
- Move or turn the selected nodes with the transform gizmo, like knots. Selected knots move with them.
- Press Delete to delete the selected interest nodes, or click Delete Selected Interest Nodes.
Each of these changes is one undo step. If no interest node is selected, Delete Selected Interest Nodes tells you to select some first.
Speeds
A speed keeps the APC under a top speed on part of the path, for example on a sharp bend or a bridge. You set it on a segment: the part of the path between two knots. A closed path also has the segment from its last knot to its first.
- Turn on spline edit mode.
- Click the path between two knots. The segment is selected. Ctrl+Mouse Left adds or takes out segments.
- In the spline widget, type the top speed in Speed, in meters a second. An APC drives up to 15 m/s. Empty or 0 is full speed.
You can also right-click a segment. Set Speed... asks for the speed. Full Speed takes the speed off. On a selected segment, they change all the selected segments.
Slowed segments are drawn red (slow) to yellow (nearly full speed). While the path is selected, each one shows its speed, for example "5 m/s". Each change is one undo step.
- A knot put in on a slowed segment keeps both halves slow.
- Deleting a knot joins its two segments at the slower speed.
- Reverse Flow keeps the speeds on the same parts of the path.
- Opening a closed path takes the speed off its last segment.
- Older scenes had speeds on knots. Each one goes to the segment that starts at that knot, so the same parts stay slow.
Check that the APC can drive it
Turn on Drivable under Route to color the path by how the APC drives it:
| Color | Meaning |
|---|---|
| Green | Good. |
| Yellow | Steep: more than 20 degrees. |
| Red | Too steep: more than 30 degrees. |
| Blue | Under water: the ground is below sea level. |
| Pink box | An object is in the APC's way. |
The check measures the ground under the path. Where the spline is more than 3 m over the ground, such as on a bridge, it uses the spline's height. Drivable is not saved.
Spawning
These settings say how the server spawns APCs on the path. Linked APC paths are one network and use the settings of the network's first path.
| Option | What it does |
|---|---|
| APCs | How many APCs drive this path at once, 1 to 10. |
| Respawn | Minutes before a destroyed APC comes back. 0 uses the server's bradley.respawndelayminutes. |
| Crates | Crates dropped when the APC is destroyed. -1 uses Rust's own number. |
| Scientists | The APC lets out scientists when it is attacked. |
| Road AI | On: the scientists walk on the road navmesh (the walkable area that Rust's NPCs use), like a road APC's. Off: they use the monument navmesh, like the launch site APC's. |
What the export adds
When you export the map with In RustEdit data, RustEdit does not write the APC splines into the map as splines. It writes them into its own data in the map, ready for the server to use. With In the map, the APC paths are lost. See In the map or in RustEdit data.
When a network has no interest nodes, the export adds them like Rust does for a road APC: one at each dead end, and 1 to 3 along the path. The app tells you: "The APC path in ... has no interest nodes, which Rust needs."
The scene file keeps the full splines. When you open an exported map without its scene, RustEdit makes the APC splines again from the nodes, with fewer knots.
What the export writes
- Each network is a list of nodes the same distance apart along each spline, at most 10 m: the spline's length is split into equal parts. Nodes sit 1 m over the ground. Where the spline is more than 3 m over the ground, a node keeps the spline's height.
- Each node is joined to the nodes next to it. Splines joined at linked knots share one node, the node nearest the knot, which makes the junction. In the middle of a spline, that node can be up to 5 m from the knot. An open spline is not joined from its end back to its start.
- Each node is written with the segment of its spline it is on. The segments are written too, with their top speed, their length and their nodes.
- Each interest node is written with the path node nearest to it.
- Each slowed segment becomes a row of boxes along the path, one for each part between two nodes, 12 m wide and 10 m tall, with its top speed. A part that crosses into a slowed segment is slowed too. The boxes follow the bends.
- The spawn settings of the network.