In other languages: Deutsch Español Français 日本語 한국어 Nederlands Polski Português, Brasil Русский Українська 简体中文

Locomotive: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (TheWombatGuru moved page Diesel Locomotive to Diesel locomotive over redirect)
(44 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Machinery
{{:Infobox:Locomotive}}
|health        =1000
 
|stackupto    =5
The '''Locomotive''' is the engine for movement of [[Railway|trains]] over [[Railway#Tracks|track]]. Trains are useful for moving large amounts of items over large distances.
|storage      =3 (Fuel Only)
 
|energy        =600 kW burner
Locomotives are also good vehicles for the player to reach fixed destinations, as they are considerably faster than the [[car]] or [[tank]].  Naturally they do not have the same freedom of movement, however, as they are confined to the track. They can be set up to travel automatically between [[train stop]]s, or be controlled manually, even if the [[player]] is in a [[cargo wagon]] attached to the train, rather than the controlling locomotive itself. Automatic trains can also use [[rail signal]]s and [[rail chain signal]]s to designate different or changing paths on a railway, as well as manage multiple trains on multiple or intertwining tracks.
|pollution    =
 
|input        =time, 0.5 + steel plate, 30 + electronic circuit, 10 + engine unit, 20
Locomotives are [[burner devices]] and require [[fuel]] to run; the more powerful the fuel used, the faster the locomotive's acceleration and top speed will be. [[Solid fuel]], [[rocket fuel]] and [[nuclear fuel]] will give +20%, +80% and +150% acceleration respectively, and provide +5%, +15% and +15% for top speed respectively. Multiple locomotives can be used on a single train to increase its speed.
|raw          =time, 436.8 + iron plate, 30 + copper plate, 15 + steel plate, 50
 
|technologies =Railway
While locomotives can be assembled by hand, the [[engine unit]] for it require [[Assembling machine|automated construction]] to build, so it cannot be built from raw materials by hand. The color of the locomotive can be customized.
|producers    =Manual + Assembling machine 2 + Assembling machine 3
 
|consumers    =
== Connecting/Disconnecting a locomotive ==
}}
[[File:locomotive_gui.png|thumb|right|200px|Locomotive GUI]]
 
To connect locomotives, cargo wagons or [[fluid wagon]]s to each other, either place the cars next to each other on the track (there will be an outlined green connection), or connect an already existing disconnected car by driving the locomotive near the car and press {{Keybinding|G}} by default. To disconnect the last car in a train, press {{Keybinding|V}} by default.
 
== Defense ==
Locomotives are a priority target of [[enemies]], so places where trains can stop should be [[Defense|defended]]. Locomotives in transit can usually crash through everything in its way (including biters, [[car|other]] [[tank|vehicles]], and the player), so defense in transit is less important. However, enemies can attack and destroy rails, potentially stopping the train. Biters won't often cause this, since automated trains will not move if they can't find a path to their destination - a broken rail interrupts their path.
 
[[Construction robot]]s are a good way to automatically repair damage at train stations.
 
[[File:train_kills_biters.gif|frame|none|Train killing three big biters.]]


__NOTOC__
== Maximum speed ==
The maximum speed that a locomotive can get to depends on the train that it is pulling. The speed of an accelerating train can be calculated with the following formula:


The '''Diesel locomotive''' is the engine for movement of [[Railway network|trains]] over [[Railway network#Tracks|track]]. Trains are useful for moving large amounts of items over large distances.
  train_speed = (old_train_speed - (train_friction_force ÷ train_weight) + ((10 × number_of_locomotives_in_moving_direction × fuel_acceleration_bonus) ÷ train_weight)) × (1 - air_resistance_of_front_rolling_stock × 1000 ÷ train_weight)


Locomotives are also good vehicles for the player to reach fixed destinations, as they are considerably faster than the [[Car]] or [[Tank]]. Naturally they do not have the same freedom of movement, however, as they are confined to the track.
Where train_friction_force is <code>amount of wagons and locomotives ÷ 2</code> and train_weight is the summed up weight of each wagon and locomotive, see their individual pages for the weight values. The calculated train_speed is capped to <code>max_speed = 1.2 * fuel_top_speed_multiplier</code>.


Locomotives are [[burner devices]] and require [[fuel]] to run.  Despite the name, they can take any fuel, not just oil-derived types.
== Fuel duration (in seconds) ==


While Locomotives can be assembled by hand, the [[Engine unit]]s for it require automated construction to build, so it cannot be built from raw materials by hand.
{| class="wikitable"
|-
! 1 item of !! Burning time in seconds
|-
| {{Icon|Wood}} || 3.33
|-
| {{Icon|Coal}} || 6.67
|-
| {{Icon|Solid fuel}} || 20
|-
| {{Icon|Rocket fuel}} || 166.67
|-
| {{Icon|Nuclear fuel}} || 2016.67
|}


== Driving Controls ==
== Driving controls ==
''These are the default bindings. They can be changed in the Options menu.''
''These are the default bindings. They can be changed in the Options menu.''
{|
{|
|Enter/Exit
|Enter/Exit
|Enter
|{{Keybinding|enter}}
|-
|-
|Accelerate
|Accelerate
|W
|{{Keybinding|W}}
|-
|-
|Decelerate/Reverse
|Decelerate/Reverse
|S
|{{Keybinding|S}}
|-
|-
|Pick which fork to take at junction
|Pick which fork to take at junction
|A,D
|{{Keybinding|A}},{{Keybinding|D}}
|-
|Connect/Disconnect rolling stock
|{{Keybinding|G}},{{Keybinding|V}}
|}
|}


Note that while you can enter a train at any point, you must enter a Locomotive to drive the train manually (and automatic mode must be off).
== Achievements ==
Locomotives are directly connected to the following achievements:
{{Achievement|getting-on-track}}
{{Achievement|getting-on-track-like-a-pro}}
{{Achievement|watch-your-step}}
 
== Gallery ==
<gallery widths=320px>
File:trains_colors.png|The player among different colored locomotives.
</gallery>
 
== History ==
{{history|0.16.0|
* Locomotive will show train ID in its tooltip. The ID can be used in circuit network conditions.}}
 
{{history|0.15.19|
* Locomotive snaps to a train stop when placing the first locomotive next to the train stop.}}
 
{{history|0.15.7|
* Inserters will no longer take fuel from locomotives and instead will take the burnt result items if the locomotive fuel uses that system.}}
 
{{history|0.15.0|
* Renamed "diesel-locomotive" to "locomotive"}}


== Connecting/Disconnecting a Locomotive ==
{{history|0.14.0|
To connect Locomotives or [[Cargo wagon]]s to each other, either place the cars next to each other on the track (there will be an outlined green connection), or, to connect an already existing disconnected car, drive the Locomotive near the car and press G by default. To disconnect the last car in a train, press V by default.
* Added support for equipment grids in locomotives.}}


== Defense ==
{{history|0.13.0|
Locomotives are a priority target of [[Enemies]], so places where trains can stop should be [[Defense|defended]]. Locomotives in transit can usually crash through everything in the way (including [[Biter]]s, [[Tank]]s, and the Player) so defense in transit is less important. However, enemies can attack and destroy rails, potentially stopping the train.
* New locomotive graphics.
* Can now be colored.
* Trains are now regular size in horizontal and vertical orientations.
}}
 
{{history|0.12.1|
* Trains that are moving automatically cannot be rotated.}}
 
{{history|0.12.0|
* Now show contents in tooltip.}}
 
{{history|0.11.18|
* Increased the crafting cost of the cargo wagon and locomotive.
* Removing and merging the locomotive of a train without any additional locomotives doesn't clear the schedule anymore.
}}
 
{{history|0.11.6|
* Copy paste can now be used for train schedules.}}
 
{{history|0.10.2|
* Now recalculates path on rotation.}}
 
{{history|0.10.0|
* Backer names are used for locomotives.}}
 
{{history|0.9.0|
* Recipe change}}
 
{{history|0.5.0|
* Train can find the path backward when it has locomotives in the back
* New locomotive graphics.
* Locomotive + wagon + rails are more expensive.
}}
 
{{history|0.4.0|
* Locomotive uses fuel.
* Locomotive and Car are minable
* Easier riding in locomotive and car (accelerate vs. brake vs. reverse)
}}
 
{{history|0.2.8|
* Now shows health bar below locomotive.}}
 
{{history|0.2.1|
* Now emits light if active.}}


[[Construction robot]]s are a good way to automatically repair damage at train stations.
{{history|0.1.0|
* Introduced}}


==See also==
==See also==
* [[Railway]]
* [[Railway]]
* [[Cargo wagon]]
* [[Cargo wagon]]
* [[Vehicle/Train/Refueling]] for more details on fueling a train.
* [[Fluid wagon]]
* [[Vehicle/Train/Reverse driving]] for more details on driving.
* [[Railway/Automated transport]] for directions on setting up automated trains.


{{C|Vehicle}}
{{LogisticsNav}}
[[Category:Railway network]]
{{C|Transport}}
[[Category:Items]]

Revision as of 15:19, 18 July 2019

Locomotive.png
Locomotive

Locomotive entity.png

Recipe

Time.png
4
+
Electronic circuit.png
10
+
Engine unit.png
20
+
Steel plate.png
30
Locomotive.png
1

Total raw

Time.png
16.5
+
Copper plate.png
15
+
Engine unit.png
20
+
Iron plate.png
10
+
Steel plate.png
30

Recipe

Time.png
4
+
Electronic circuit.png
10
+
Engine unit.png
20
+
Steel plate.png
30
Locomotive.png
1

Total raw

Time.png
29
+
Copper plate.png
40
+
Engine unit.png
20
+
Iron plate.png
20
+
Steel plate.png
30

Map icon

Locomotive map icon.png

Storage size

3 (fuel only)

Health

1000

Resistances

Acid: 3/20%
Explosion: 15/30%
Fire: 15/50%
Impact: 50/60%
Physical: 15/30%

Stack size

5

Dimensions

2×6

Energy consumption

600 kW (burner)

Mining time

0.5

Weight

2000

Prototype type

locomotive

Internal name

locomotive

Required technologies

Railway (research).png

Boosting technologies

Braking force (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png

Valid fuel

Wood.png
Coal.png
Solid fuel.png
Rocket fuel.png
Nuclear fuel.png

The Locomotive is the engine for movement of trains over track. Trains are useful for moving large amounts of items over large distances.

Locomotives are also good vehicles for the player to reach fixed destinations, as they are considerably faster than the car or tank. Naturally they do not have the same freedom of movement, however, as they are confined to the track. They can be set up to travel automatically between train stops, or be controlled manually, even if the player is in a cargo wagon attached to the train, rather than the controlling locomotive itself. Automatic trains can also use rail signals and rail chain signals to designate different or changing paths on a railway, as well as manage multiple trains on multiple or intertwining tracks.

Locomotives are burner devices and require fuel to run; the more powerful the fuel used, the faster the locomotive's acceleration and top speed will be. Solid fuel, rocket fuel and nuclear fuel will give +20%, +80% and +150% acceleration respectively, and provide +5%, +15% and +15% for top speed respectively. Multiple locomotives can be used on a single train to increase its speed.

While locomotives can be assembled by hand, the engine unit for it require automated construction to build, so it cannot be built from raw materials by hand. The color of the locomotive can be customized.

Connecting/Disconnecting a locomotive

Locomotive GUI

To connect locomotives, cargo wagons or fluid wagons to each other, either place the cars next to each other on the track (there will be an outlined green connection), or connect an already existing disconnected car by driving the locomotive near the car and press G by default. To disconnect the last car in a train, press V by default.

Defense

Locomotives are a priority target of enemies, so places where trains can stop should be defended. Locomotives in transit can usually crash through everything in its way (including biters, other vehicles, and the player), so defense in transit is less important. However, enemies can attack and destroy rails, potentially stopping the train. Biters won't often cause this, since automated trains will not move if they can't find a path to their destination - a broken rail interrupts their path.

Construction robots are a good way to automatically repair damage at train stations.

Train killing three big biters.

Maximum speed

The maximum speed that a locomotive can get to depends on the train that it is pulling. The speed of an accelerating train can be calculated with the following formula:

train_speed = (old_train_speed - (train_friction_force ÷ train_weight) + ((10 × number_of_locomotives_in_moving_direction × fuel_acceleration_bonus) ÷ train_weight)) × (1 - air_resistance_of_front_rolling_stock × 1000 ÷ train_weight)

Where train_friction_force is amount of wagons and locomotives ÷ 2 and train_weight is the summed up weight of each wagon and locomotive, see their individual pages for the weight values. The calculated train_speed is capped to max_speed = 1.2 * fuel_top_speed_multiplier.

Fuel duration (in seconds)

1 item of Burning time in seconds
Wood.png
3.33
Coal.png
6.67
Solid fuel.png
20
Rocket fuel.png
166.67
Nuclear fuel.png
2016.67

Driving controls

These are the default bindings. They can be changed in the Options menu.

Enter/Exit ENTER
Accelerate W
Decelerate/Reverse S
Pick which fork to take at junction A,D
Connect/Disconnect rolling stock G,V

Achievements

Locomotives are directly connected to the following achievements:

Getting-on-track-achievement.png Getting on track

Build a locomotive.

Getting-on-track-like-a-pro-achievement.png Getting on track like a pro

Build a locomotive within the first 90 minutes of the game.

Watch-your-step-achievement.png Watch your step

Get killed by a moving locomotive.

Gallery

History

  • 0.16.0:
    • Locomotive will show train ID in its tooltip. The ID can be used in circuit network conditions.
  • 0.15.19:
    • Locomotive snaps to a train stop when placing the first locomotive next to the train stop.
  • 0.15.7:
    • Inserters will no longer take fuel from locomotives and instead will take the burnt result items if the locomotive fuel uses that system.
  • 0.15.0:
    • Renamed "diesel-locomotive" to "locomotive"
  • 0.14.0:
    • Added support for equipment grids in locomotives.
  • 0.13.0:
    • New locomotive graphics.
    • Can now be colored.
    • Trains are now regular size in horizontal and vertical orientations.
  • 0.12.1:
    • Trains that are moving automatically cannot be rotated.
  • 0.12.0:
    • Now show contents in tooltip.
  • 0.11.18:
    • Increased the crafting cost of the cargo wagon and locomotive.
    • Removing and merging the locomotive of a train without any additional locomotives doesn't clear the schedule anymore.
  • 0.11.6:
    • Copy paste can now be used for train schedules.
  • 0.10.2:
    • Now recalculates path on rotation.
  • 0.10.0:
    • Backer names are used for locomotives.
  • 0.5.0:
    • Train can find the path backward when it has locomotives in the back
    • New locomotive graphics.
    • Locomotive + wagon + rails are more expensive.
  • 0.4.0:
    • Locomotive uses fuel.
    • Locomotive and Car are minable
    • Easier riding in locomotive and car (accelerate vs. brake vs. reverse)
  • 0.2.8:
    • Now shows health bar below locomotive.
  • 0.2.1:
    • Now emits light if active.

See also