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

Rail planner: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Completed history, minor formatting)
m (→‎Ghost building: use same wording everywhere)
 
(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 helpful, time-saving system that allows players to build many segments of [[Rail|rail track]] at once, either directly or as [[Glossary#G|ghost]] items.  You can use the rail planner immediately after researching the [[Railway_(research)|Railway]] technology and acquiring some rails.
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.
 
The rail planner was introduced in version 0.13, and eliminated the need for [[Curved_rail|curved rails]].  Thus, aside from constructing the curved rail using a [[blueprint]] and [[Construction_robot|construction robots]], the rail planner is currently the only way to place curved rail segments.
 
== Instructions ==
 
=== Starting the planner ===
 
[[File:rail_planner_starter.jpg|thumb|300x300px|The small green arrow used to start the planner.]]
 
To use the rail planner:
 
# Craft some [[Rail|rails]].
# Place a single piece of rail.
# Mouse over the rail that was placed (while still holding rails in hand).
# A green arrow/triangle should appear, like the example on the right.
# Left-click to start the rail planner ({{keybinding|LMB}} for manual mode, {{keybinding|Shift|LMB}} for ghost mode).
 
{{clear}}
 
=== Manual Planner ===


== Usage ==
[[File:Manual_rail_planner.jpg|thumb|300x300px|The rail planner operating in manual mode.]]
[[File:Manual_rail_planner.jpg|thumb|300x300px|The rail planner operating in manual mode.]]


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).


While holding rails, left-click on the green arrow icon on existing rail to initiate manual 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 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|Esc}}.
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.
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 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.
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 ===
[[File:Ghost_rail_planner.jpg|thumb|300x300px|The rail planner operating in ghost building mode.]]
 
=== Ghost building ===
[[File:Ghost_rail_planner.jpg|thumb|300x300px|The rail planner operating in ghost 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]].
 
The ghost planning mode can be used to place longer stretches of rail at once, by creating [[Glossary#G|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 {{keybinding|Shift}} and left click the green arrow icon on an existing rail. 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, as seen in [https://eu3.factorio.com/assets/img/blog/fff-113-rail-plan-search-visualisation.gif this visualization].  If you'd rather the rail planner choose the shortest route ''without'' considering natural obstacles, use {{keybinding|Shift}} to preview the route and {{keybinding|Shift|LMB}} to place. [[Tree|Trees]] and stone rocks in the way will be marked for deconstruction (as if a [[Deconstruction_planner|deconstruction planner]] was used on them).  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|Esc}}.  


Ghost building mode is available in 2 different modes:
* Shortest route: 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, for [[water]] or similar bodies, [[landfill]] or [[foundation]] will be used.
* Collision avoidance: hold {{keybinding|Control}} while using the rail planner as described above. The rail planner will find a route while avoiding entities like [[tree]]s, [[cliff]]s or [[water]].
{{clear}}
{{clear}}


== History ==
== History ==


{{history|0.13.16|
{{history|0.17.29|
* Fixed rail planner collision checks for rails in west and south direction.}}
* 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.
{{history|0.13.2|
**  It doesn't matter anymore, whether the rail building started with shift or not.
* Fixed rocks not being ignored when rail planner ghost building.}}
**  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.
}}


{{history|0.13.0|
{{history|0.13.0|
Line 56: Line 43:


== 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]]


* [https://www.factorio.com/blog/post/fff-113 The FFF blog post that introduces this feature.]
{{C|Railway{{!}}#Rail planner}}
* [[Railway]]

Latest revision as of 16:53, 23 December 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.

Ghost building mode is available in 2 different modes:

  • Shortest route: 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, for water or similar bodies, landfill or foundation will be used.
  • Collision avoidance: hold Control while using the rail planner as described above. The rail planner will find a route while avoiding entities like trees, cliffs or water.

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