In other languages: Deutsch Español Français 日本語 Polski Русский Українська Tiếng Việt Nam 简体中文

Railway: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Grammatical overhaul. Very incomplete.)
(Finished grammatical overhaul.)
Line 15: Line 15:
: A train is very fast, take care! Entering/exiting a moving train is possible, but dangerous.
: A train is very fast, take care! Entering/exiting a moving train is possible, but dangerous.
; [[Vehicle/Train/Defence]]
; [[Vehicle/Train/Defence]]
: Defend yourself as trains are a priority target of [[Enemies]].
: Defend, as trains are a priority target of [[Enemies]].


=== Tracks ===
=== Tracks ===
Line 27: Line 27:


==== Curves ====
==== Curves ====
To do a 90 degree turn two [[Curved rail]]s and one [[Straight rail]] is needed. The [[Straight rail]] has to be placed along the end of a curved rail to fit the gap between the two [[Curved rail]]s.
To create a 90 degree two [[Curved rail]]s and one [[Straight rail]] are needed. The [[Straight rail]] has to be placed along the end of a curved rail to fit the gap between the two [[Curved rail]]s.


==== Switches ====
==== Switches & Signals ====
[[File:rail-switch-example-1.png|thumb|512px|Composition of rails to form switches, straight and diagonal.]]
[[File:rail-switch-example-1.png|thumb|512px|Composition of rails to form switches, straight and diagonal.]]
* There is no optical sign for a working switch. You simply have to place a [[Curved rail]] overlapping on a [[Straight rail]] (or vice versa) to form a switch. In other words: You can create 3-way-switches at nearly every point of your track by mixing curves with straight rails.
* There is no optical sign for a working switch. The player must place a [[Curved rail]] overlapping on a [[Straight rail]] (or vice versa) to form a switch. In other words: The player can create 3-way-switches at nearly every point of their track by mixing curves with straight rails.
* The crossing of two straight tracks is not usable as switch, but they are connecting the '''blocks'''. See [[Railway network/Block]] and [[Railway network/Signal|Signals]].
* The crossing of two straight tracks is not usable as switch, but they do connect [[Railway/Signal/Block signal| signal blocks]] making it possible to prevent collisions.
* It is no problem to create parallel tracks, but it's currently a big problem to switch from one track to the other parallel track, if there is no space between them: The curves doesn't enable it. So it is ''eventually'' a good idea to create parallel tracks, by leaving two tiles space (size of one track-width) between them. This enables also to create left-hand sided traffic, because you can place the signals and train stops between the tracks.
* Parallel tracks do not interact with each other and generally have no problem, however, switching from one track to the other can require extra resources because the track has to turn away from the other parallel track then turn back to it. This can create complicated networks of signals and as such the player may wish not to build parallel tracks unless they are permanent.


==== Other ====
==== Other ====
* '''Known bug:''' In v0.8.8 you cannot place diagonal parallel tracks directly besides, because two trains in both directions will crash (Collision box to big, see [http://www.factorioforums.com/forum/viewtopic.php?f=7&t=2152  Close Diagonal Trains collide]
* Use the debug-mode (Press F6) to see and understand better, how the tracks are bound together
* Use the debug-mode (Press F6) to see and understand better, how the tracks are bound together
* FFF #113 Better Rail Building: http://www.factorio.com/blog/post/fff-113
* FFF #113 Better Rail Building: http://www.factorio.com/blog/post/fff-113
Line 47: Line 46:
|}
|}


* A train is a consist of at least one locomotive, but you can add multiple locomotives to increase acceleration and [[Cargo wagon]]s to enable the train to transport items.
* A train is a consist of at least one locomotive, but the player may add additional locomotives to keep the train moving at max speed or [[Cargo wagons]] to transport goods with the train.
* Manual driving is possible in both directions with one locomotive, although driving backwards is way slower
* Locomotives may be manually driven forward or backward, however, locomotives are generally much slower going backwards.
* Automatic driving is only possible in direction of facing of locomotives, with one loco the train can only move forward. To make the train drive in both directions add locos facing both directions
* Automatic driving is only possible when a locomotive is facing towards the station the train is moving towards. This can be counteracted by having a locomotive facing either direction on a rail, or adding a loop along the rail somewhere. Note that in a loop signals can misbehave due to detecting trains before they arrived.
* A train needs [[fuel]] to drive, [[fuel]] can be added by inserters or manually using the GUI
* A train needs [[fuel]] to drive. Fuel can be added by inserters.


'''TODO''': Add images of both GUI screens of trains
'''TODO''': Add images of both GUI screens of trains.


Trains inventory is only used for [[Fuel]]. To transport items [[Cargo wagon]]s have to be attached to the train. Simply place them close to the existing train, a graphic will show you that they will be attached. The cargo wagons can be filled manually or by adjacent inserters.
The locomotives' inventory is only used for [[Fuel]]. To transport items [[Cargo wagon]]s have to be attached to the train. To attach a Cargo wagon, the player may either prepare to place one near an existing train- a green graphic will show you that they will be attached, showing a connection between the train and the new wagon. Alternatively, the player may manually connect cargo wagons to trains with the stock connect key, if the cargo wagon was placed far away from a train. The cargo wagons can be filled manually or by adjacent inserters.


== Advanced ==
== Advanced ==
This section covers items used to make trains automatically transport items between stations. To fully understand you should be familiar with the Beginner Section.
This section covers items used to make trains automatically transport items between stations. The player should be familiar with the Beginner Section to fully employ these strategies.


=== [[Automated rail transportation (research)|Automated rail transportation]] ===
=== [[Automated rail transportation (research)|Automated rail transportation]] ===
Line 68: Line 67:
: The item that marks the position for the locomotive to stop.
: The item that marks the position for the locomotive to stop.
; Train Station
; Train Station
: The complete facility around one or more [[Train stop]]s including un/loading machinery, defense structures, refueling/repair installations.
: The complete facility around one or more [[Train stop]]s generally includes un/loading machinery, defense structures, refueling/repair installations.


=== Track Layout ===
=== Track Layout ===
Line 85: Line 84:
=== Train stop ===
=== Train stop ===
* the train will search for a path to stop with the [[Train stop]] on its right hand side in driving direction
* the train will search for a path to stop with the [[Train stop]] on its right hand side in driving direction
* You need at least two [[Train stop]]s to make your train drive between them
* The player will need at least two [[Train stop]]s to make their train drive between them
* depending on your layout you will need turning loops or not
* For different layouts different quantities of curved and straight rails.
* Check your tracks by driving the full route once manually
* The player should tracks by driving the full route once manually or being aware of whether trains are not arriving.
* keep in mind to add refueling to your train stations, otherwise trains can run dry in dangerous area
* Ensure that trains are regularly refueling, or trains may receive damage or be destroyed.


=== Schedule ===
=== Schedule ===
* When right-clicking on the locomotive you can set up a schedule:
* When right-clicking on the locomotive the player can set up a schedule:
** The lower window are the list of all existing [[Railway network/Train stop|train stops]],
** The lower window are the list of all existing [[Railway network/Train stop|train stops]],
** the upper window is the route, the train should do.
** the upper window is the route, the train should do.
** You can open the map (M) to see all stop-names.
** The names of stops are marked on the [[map]].
** The highlighted entry is the current target.
** The highlighted entry is the current target.
** Hit the +-button to add a train stop below the above selected train stop.
** Hit the +-button to add a train stop below the above selected train stop.
Line 111: Line 110:
* Is the next [[Train stop]] placed on right-hand side?
* Is the next [[Train stop]] placed on right-hand side?
* Are signals set correctly, if any?
* Are signals set correctly, if any?
* Is a signal reading the location of the train before it moves?
----
----


Line 118: Line 118:
|}
|}


To make the understanding of Railsignal and their behavior and effects easier we start with some definitions:
Understanding rail signals can be difficult. Several terms critical to understanding them are below:
; Rail segment
; Rail segment
: A piece of track. There are just [[Straight rail]] and [[Curved rail]].
: A piece of track. There are just [[Straight rail]] and [[Curved rail]].
; Segment
; Segment
: A single path of continuous rails, a track without intersections or switches. This becomes important when you want to use [[Railway/Signal|Signals]]. You can see the number of the current segment when hovering over the track.
: A single path of continuous rails, a track without intersections or switches. This becomes important when [[Railway/Signal|Signals]] are employed. The player may check the number of the current segment by mousing over a segment.
; Block
; Block
: A set of segments. Every connected segment belongs to one block, no matter whether a train can drive on it or not, and even if it can be driven only in one direction (for example a joining switch: the other segment of the switch belongs to the same block!). You can see the current block numbers of a rail piece in the info section. '''See also [https://forums.factorio.com/viewtopic.php?f=18&t=3811#p28310 this forum post]''' for a good explanation about blocks.
: A set of segments defined by rail signals. By default every connected segment belongs to one block, no matter whether a train can drive on it or not, and even if it can be driven only in one direction (for example a joining switch: the other segment of the switch belongs to the same block!). You can see the current block numbers of a rail piece in the info section. '''See also [https://forums.factorio.com/viewtopic.php?f=18&t=3811#p28310 this forum post]''' for a good explanation about blocks.


Researching [[Rail signals]] enables to drive more trains.
Researching [[Rail signals]] enables the player to define automated train patterns.
* [[Railway/Signal]]
* [[Railway/Signal]]
** [[Railway/Signal/Block signal]]
** [[Railway/Signal/Block signal]]
Line 132: Line 132:
* [[Railway/Multiple trains]]
* [[Railway/Multiple trains]]
* [[Railway/Rail info]] - hovering a rail-segment reveals some important information
* [[Railway/Rail info]] - hovering a rail-segment reveals some important information
* [[Railway/How to see the blocks]] (about for turning debug mode, rail info on and better visibility in the next versions)
* [[Railway/How to see the blocks]] (Enabling debug info, rail info on and better visibility in the next versions)
* [[Railway/Deadlocks]]
* [[Railway/Deadlocks]]
* [[Railway/Automated transport]] - all about
* [[Railway/Automated transport]] - all about automated transport.
* [[Railway/Train path finding]] - how the trains find their path
* [[Railway/Train path finding]] - how the trains find their path.


== Expert ==
== Expert ==
This section contains further links to in-depth knowledge. Warning: Articles in this section reveal internal game mechanics and statistics, if you like optimizing and tweaking yourself you should stop reading now.
This section contains further links to in-depth knowledge. As a general advisory, tips given in this section detail the more intricate mechanics in the game and can be dangerous to the experience of players who wish to discover better methods on their own.


=== About Trains ===
=== About Trains ===
* [[Vehicle/Train/Wagon]]: A wagon is like a rolling chest, but the inserters can insert into it from a further distance.
* [[Vehicle/Train/Wagon]]: A wagon is like a rolling chest, but the inserters can insert into it from a slightly farther distance.
* [[Vehicle/Train/Driving]]: You can enter a train by pressing the default key Enter.
* [[Vehicle/Train/Driving]]: The player may manually drive a train, and enter the train by pressing Enter.
* [[Vehicle/Train/Reverse driving]]: Possibilities to drive into the other direction when in automatic mode.
* [[Vehicle/Train/Reverse driving]]: How to drive a train in different directions while in automatic mode.
* [[Railway/Mixed transports]] - moving different items in wagons
* [[Railway/Mixed transports]] - moving different items in wagons
* [[Railway/Size of trains]] - about the handling of equal and different train sizes
* [[Railway/Size of trains]] - about the handling of equal and different train sizes
Line 152: Line 152:
* [[Railway/Train stop]]s - don't mix train stops with train stations!
* [[Railway/Train stop]]s - don't mix train stops with train stations!
* [[Railway/Train station]]s - about the loading/unloading of trains
* [[Railway/Train station]]s - about the loading/unloading of trains
* [[Railway/The renaming-of-train-stop-trick]]: What happens, if you give a train stop the same name, as another train stop?
* [[Railway/The renaming-of-train-stop-trick]]: What happens if the player gives a train stop the same name as another train stop?
* [[Railway/Multiple trains/Single track]]:  It is possible to operate multiple trains on one track.
* [[Railway/Multiple trains/Single track]]:  It is possible to operate multiple trains on one track.


== Tipps & Tricks ==
== Tips & Tricks ==
* About a supply train following you to your outpost: http://www.factorioforums.com/forum/viewtopic.php?f=5&t=6203
* About a supply train following you to your outpost: http://www.factorioforums.com/forum/viewtopic.php?f=5&t=6203
* You can lay rails by sitting inside of the train:
* The player may lay rails by sitting inside of the train.


== Relationship to [http://www.openttd.org/ OpenTTD] ==
== Relationship to [http://www.openttd.org/ OpenTTD] ==
Factorio's railway system works basically exactly [http://wiki.openttd.org/Signals#Block_signals≈ the block signals in Open Traffic Tycoon Deluxe]. If you ever played that game you will find some elements also in Factorio. If not, you can learn from their documentation.
Factorio's railway system works basically exactly like [http://wiki.openttd.org/Signals#Block_signals≈ the block signals in Open Traffic Tycoon Deluxe]. If you ever played that game you will find some elements also in Factorio. If not, you can learn from their documentation.


{{Special:PrefixIndex/{{FULLPAGENAME}}/}}
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}

Revision as of 19:08, 14 March 2016

For the research see Railway (research)

The Railway is one of the main transport methods in Factorio. Although the installation of such an network is sometimes complicated and takes a large amount of resources and space, it is especially over large distances more efficient and faster than belts and robot logistics.

Besides the use as transportation medium it must be said here, trains can be quite enjoyable to drive!

Railway construction, however, is not learned in an instant. It takes some time to learn the basics, such as automating transportation. Learning how to manage and upkeep a larger train network can take quite some time and a large amount of experience..

Beginner

This section covers how to build tracks. assemble trains, and get moving. This enables manual transportation over large distances using trains and covers the earliest iteration of railway tech.

Railway/Tutorials
Sometimes a picture/video says more than a thousand words.
Railway/Do not cross the tracks
A train is very fast, take care! Entering/exiting a moving train is possible, but dangerous.
Vehicle/Train/Defence
Defend, as trains are a priority target of Enemies.

Tracks

Composition of rails to form a 90 degree turn.
Straight rail Curved rail |-

The backbone of the player's rail system has to be built out of the two basic elements (straight/curve) manually. According to FFF #113/#114 update thirteen will include a build-by-drag feature to make building tracks easier and faster.

Rails can be placed in a two-Tile area only. For the future (for example if the player makes plans for a train station, before they research trains,) it is generally a good idea to only place tracks on even tile-coordinates. The player can see the coordinates of the tile they are moving with the cursor by turning on the Debug mode, selecting "show-tiles".

Curves

To create a 90 degree two Curved rails and one Straight rail are needed. The Straight rail has to be placed along the end of a curved rail to fit the gap between the two Curved rails.

Switches & Signals

File:Rail-switch-example-1.png
Composition of rails to form switches, straight and diagonal.
  • There is no optical sign for a working switch. The player must place a Curved rail overlapping on a Straight rail (or vice versa) to form a switch. In other words: The player can create 3-way-switches at nearly every point of their track by mixing curves with straight rails.
  • The crossing of two straight tracks is not usable as switch, but they do connect signal blocks making it possible to prevent collisions.
  • Parallel tracks do not interact with each other and generally have no problem, however, switching from one track to the other can require extra resources because the track has to turn away from the other parallel track then turn back to it. This can create complicated networks of signals and as such the player may wish not to build parallel tracks unless they are permanent.

Other


Trains

Diesel locomotive Cargo wagon |-
  • A train is a consist of at least one locomotive, but the player may add additional locomotives to keep the train moving at max speed or Cargo wagons to transport goods with the train.
  • Locomotives may be manually driven forward or backward, however, locomotives are generally much slower going backwards.
  • Automatic driving is only possible when a locomotive is facing towards the station the train is moving towards. This can be counteracted by having a locomotive facing either direction on a rail, or adding a loop along the rail somewhere. Note that in a loop signals can misbehave due to detecting trains before they arrived.
  • A train needs fuel to drive. Fuel can be added by inserters.

TODO: Add images of both GUI screens of trains.

The locomotives' inventory is only used for Fuel. To transport items Cargo wagons have to be attached to the train. To attach a Cargo wagon, the player may either prepare to place one near an existing train- a green graphic will show you that they will be attached, showing a connection between the train and the new wagon. Alternatively, the player may manually connect cargo wagons to trains with the stock connect key, if the cargo wagon was placed far away from a train. The cargo wagons can be filled manually or by adjacent inserters.

Advanced

This section covers items used to make trains automatically transport items between stations. The player should be familiar with the Beginner Section to fully employ these strategies.

Automated rail transportation

A very minimal station.
Train Station with multiple Train stops and Rail signals to allow operation of multiple trains on single track.
Train stop |-
Train stop
The item that marks the position for the locomotive to stop.
Train Station
The complete facility around one or more Train stops generally includes un/loading machinery, defense structures, refueling/repair installations.

Track Layout

For track layout there are 2 common options on how to operate:

Circular - higher efficiency in large networks
Trains move only in one direction driving a circle
requires turning loops
extremely powerful when using a "two-track" layout, one track for each direction
high chance of gridlocks when not signaled properly
Linear - easier to setup, cheaper at beginning
Trains drive in two directions on the same track
lower cost for tracks, but minimum of 2 engines per train
high waiting times when operating multiple trains

Train stop

  • the train will search for a path to stop with the Train stop on its right hand side in driving direction
  • The player will need at least two Train stops to make their train drive between them
  • For different layouts different quantities of curved and straight rails.
  • The player should tracks by driving the full route once manually or being aware of whether trains are not arriving.
  • Ensure that trains are regularly refueling, or trains may receive damage or be destroyed.

Schedule

  • When right-clicking on the locomotive the player can set up a schedule:
    • The lower window are the list of all existing train stops,
    • the upper window is the route, the train should do.
    • The names of stops are marked on the map.
    • The highlighted entry is the current target.
    • Hit the +-button to add a train stop below the above selected train stop.
    • Railway network/Train schedule: Time which the train will wait at the selected train stop.

For the other functions see the mouse hover info.

Troubleshooting

Train doesn't move

  • Is the train fueled?
  • Is the train facing the right direction?
  • Is another train in the same block?

No path

  • Is the track working properly?
  • Is the next Train stop placed on right-hand side?
  • Are signals set correctly, if any?
  • Is a signal reading the location of the train before it moves?

Rail signals

Rail signal Rail chain signal |-

Understanding rail signals can be difficult. Several terms critical to understanding them are below:

Rail segment
A piece of track. There are just Straight rail and Curved rail.
Segment
A single path of continuous rails, a track without intersections or switches. This becomes important when Signals are employed. The player may check the number of the current segment by mousing over a segment.
Block
A set of segments defined by rail signals. By default every connected segment belongs to one block, no matter whether a train can drive on it or not, and even if it can be driven only in one direction (for example a joining switch: the other segment of the switch belongs to the same block!). You can see the current block numbers of a rail piece in the info section. See also this forum post for a good explanation about blocks.

Researching Rail signals enables the player to define automated train patterns.

Expert

This section contains further links to in-depth knowledge. As a general advisory, tips given in this section detail the more intricate mechanics in the game and can be dangerous to the experience of players who wish to discover better methods on their own.

About Trains

About train stations and stops

Tips & Tricks

Relationship to OpenTTD

Factorio's railway system works basically exactly like the block signals in Open Traffic Tycoon Deluxe. If you ever played that game you will find some elements also in Factorio. If not, you can learn from their documentation.