In other languages: Deutsch 日本語 Русский 简体中文

Rail planner: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Page cleanup, expansion)
m (link to nintendo switch page less often)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Languages}}
The '''rail planner''' is a system that allows players to build many segments of [[Rail|rail track]] at once, either directly or as [[ghost]] entities.
The rail planner can be used immediately after researching the [[Railway_(research)|railway]] technology and acquiring some rails.


The rail planner is a feature that allows tracks to be built in a dynamic fashion that saves the player effort and time.
Aside from constructing the curved rail using a [[blueprint]] and [[construction robot]]s, the rail planner is currently the only way to place curved rail segments.


== Instructions ==
== Usage ==
 
[[File:Manual_rail_planner.jpg|thumb|300x300px|The rail planner operating in manual mode.]]
=== Starting the planner ===
 
To use the rail planner, craft and place a single rail, then mouseover the rail that was placed while still holding rails in hand. A green arrow/triangle should appear, like the example on the right.
 
[[File:rail_planner_starter.jpg|thumb|300x300px|The small green arrow used to start the planner.]]
 
Then, choose the type of planner by either left clicking or shift-left clicking the triangle.


While holding rails, left-click (press {{Keybinding|A}} on [[Nintendo Switch version|Nintendo Switch]]) on the green arrow icon on existing rail to initiate the rail planning mode.
This mode allows the player to directly place rails within a certain proximity to themselves (at most about 10 rails at a time).
The rails will be placed towards the cursor; simply aim with the cursor and left click (press {{Keybinding|A}} on Nintendo Switch) again to place.
After placement, the rail planner will continue from the end of the new segment, and the process can be repeated.
To escape the planner, press {{keybinding|Q}} ({{Keybinding|B}} on Nintendo Switch).


In this mode, the player is allowed to leave the typical range of the "green hologram" to place items.
This means that, even if the player is physically beyond the range of the "hologram" for the new rail segment, they may still left click (press {{Keybinding|A}} on Nintendo Switch) in order to have the rails placed from a distance.
This allows the player to start the planner, then run far away in a straight line, and click rapidly to bring the rails up to them.
{{clear}}
{{clear}}


=== Manual Planner ===
[[File:Ghost_rail_planner.jpg|thumb|300x300px|The rail planner operating in ghost building mode.]]
 
=== Ghost building ===
[[File:Manual_rail_planner.jpg|thumb|300x300px|The rail planner operating in manual mode.]]
The ghost building mode can be used to place longer stretches of rail at once, by creating [[ghost]]s of rails that can be filled in by [[construction robot]]s, either from [[roboport]]s or a [[personal roboport]]. To use the ghost planning mode, hold {{keybinding|Shift}} ({{Keybinding|ZR}} on [[Nintendo Switch version|Nintendo Switch]]) while using the rail planner as described above. The rail planner will find the shortest route without considering natural obstacles such as [[tree]]s or [[cliff]]s, these will be marked for deconstruction.
 
 
The manual planning mode can be selected by left clicking on the triangle that appears. This will allow the player to place rails close range, about 10 rails at a time at max. The rails will be placed towards the cursor, simply aim with the cursor and left click again to place. This will be repeated. To escape the planner, press {{keybinding|Esc}}.
 
If the player is beyond the range of the rails, they may still left click in order to have the rails placed. This allows the player to start the planner, then run far away in a straight line, and click rapidly to bring the rails up to them.
 
{{clear}}
{{clear}}


=== Ghost Planner ===
== History ==
 
[[File:Ghost_rail_planner.jpg|thumb|300x300px|The rail planner operating in ghost mode.]]
 
The Ghost planning mode can be used to place longer stretches of rail at once, by creating ghosts of rails that can be filled in by [[construction robot]]s, either from [[roboport]]s or a [[personal roboport]]. To use ghost planning mode, hold shift and left click the green starter triangle. Then, move the cursor to where you want the rail to terminate, press {{keybinding|R}} to rotate the last rail to the desired rotation, and {{keybinding|LMB}} to place the ghost rails.


The AI will find a path from the starter location that does not go through obstacles, instead weaving and winding between them. If you'd rather the rail planner choose the shortest route, use {{keybinding|Shift|LMB}} to place. Trees and stone rocks in the way will be marked for deconstruction. To escape the planner, press {{keybinding|Esc}} or {{keybinding|Q}}.
{{history|0.17.29|
* Simplified rail building.
**  Holding shift while rail building always activates the combination of ghost-rail-building + remove-obstacles, releasing shift returns back to normal manual mode.
**  It doesn't matter anymore, whether the rail building started with shift or not.
**  This removed the possibility to do ghost-rail-building without the remove-obstacles, but since it seems to be almost useless, we consider it to be worth the simplification.
}}


{{clear}}
{{history|0.13.0|
* [[Rail planner]] tool simplifies rail building.
* Removed the curved rail, [[rail]] is the only type now.
}}


== See Also ==
== See Also ==
* [https://factorio.com/blog/post/fff-113 The FFF blog post that introduces this feature.]
* [https://factorio.com/blog/post/fff-290 FFF describing the rail planning changes made in 0.17.29]
* [[Railway]]


* [[Rail]]
{{C|Railway{{!}}#Rail planner}}
* [https://eu3.factorio.com/assets/img/blog/fff-113-rail-plan-search-visualisation.gif A visualization of the work the engine goes through to find a valid path for ghost rails.]
* [https://www.factorio.com/blog/post/fff-113 The blog post that introduces this feature.]
* [[Railway]]
* [[Train]]

Latest revision as of 13:11, 24 June 2024

The rail planner is a system that allows players to build many segments of rail track at once, either directly or as ghost entities. The rail planner can be used immediately after researching the railway technology and acquiring some rails.

Aside from constructing the curved rail using a blueprint and construction robots, the rail planner is currently the only way to place curved rail segments.

Usage

The rail planner operating in manual mode.

While holding rails, left-click (press A on Nintendo Switch) on the green arrow icon on existing rail to initiate the rail planning mode. This mode allows the player to directly place rails within a certain proximity to themselves (at most about 10 rails at a time). The rails will be placed towards the cursor; simply aim with the cursor and left click (press A on Nintendo Switch) again to place. After placement, the rail planner will continue from the end of the new segment, and the process can be repeated. To escape the planner, press Q (B on Nintendo Switch).

In this mode, the player is allowed to leave the typical range of the "green hologram" to place items. This means that, even if the player is physically beyond the range of the "hologram" for the new rail segment, they may still left click (press A on Nintendo Switch) in order to have the rails placed from a distance. This allows the player to start the planner, then run far away in a straight line, and click rapidly to bring the rails up to them.

The rail planner operating in ghost building mode.

Ghost building

The ghost building mode can be used to place longer stretches of rail at once, by creating ghosts of rails that can be filled in by construction robots, either from roboports or a personal roboport. To use the ghost planning mode, hold Shift (ZR on Nintendo Switch) while using the rail planner as described above. The rail planner will find the shortest route without considering natural obstacles such as trees or cliffs, these will be marked for deconstruction.

History

  • 0.17.29:
    • Simplified rail building.
      • Holding shift while rail building always activates the combination of ghost-rail-building + remove-obstacles, releasing shift returns back to normal manual mode.
      • It doesn't matter anymore, whether the rail building started with shift or not.
      • This removed the possibility to do ghost-rail-building without the remove-obstacles, but since it seems to be almost useless, we consider it to be worth the simplification.

See Also