Locomotive: Difference between revisions
No edit summary |
Muppet9010 (talk | contribs) (→Driving controls: clarify which key does left turn and which does right turn.) |
||
(23 intermediate revisions by 7 users not shown) | |||
Line 10: | Line 10: | ||
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. | 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. | ||
== | == 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. | 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 == | == Defense == | ||
Locomotives in transit can usually crash through everything in its way (including biters, [[car|other]] [[tank|vehicles]], and the player). However, if the locomotive is moving too slowly, or the target is too tough, it will stop the train instead. If the locomotive hits an [[enemy]], the enemies will fight back and try to destroy the train and the rails. | |||
[[Construction robot]]s are a good way to automatically repair damage at train stations. | [[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.]] | |||
== Maximum speed == | |||
The maximum speed that a locomotive can get to depends on the train that it is pulling. The speed of an accelerating, fully fueled, train is calculated every tick by the game with the following formula: | |||
train_speed = max(0, abs(train_speed) - train_friction_force ÷ train_weight) | |||
train_speed = train_speed + (10 × number_of_locomotives_in_moving_direction × fuel_acceleration_bonus ÷ train_weight) | |||
train_speed = train_speed × (1 - air_resistance_of_front_rolling_stock ÷ (train_weight ÷ 1000)) | |||
Where train_friction_force is the summed up friction of each wagon and locomotive (0.5 for any type of wagon including locomotives) and train_weight is the summed up weight of each wagon and locomotive, see their individual pages for the weight values. The friction and air resistance of wagons and locomotives can be found in their prototypes. The calculated train_speed is capped to <code>max_speed = 1.2 * fuel_top_speed_multiplier</code>. | |||
== Fuel duration (in seconds) == | == Fuel duration (in seconds) == | ||
Line 51: | Line 39: | ||
| {{Icon|Wood}} || 3.33 | | {{Icon|Wood}} || 3.33 | ||
|- | |- | ||
| {{Icon| | | {{Icon|Coal}} || 6.67 | ||
|- | |- | ||
| {{Icon| | | {{Icon|Solid fuel}} || 20 | ||
|- | |- | ||
| {{Icon| | | {{Icon|Rocket fuel}} || 166.67 | ||
|- | |- | ||
| {{Icon| | | {{Icon|Nuclear fuel}} || 2016.67 | ||
|} | |||
== Driving controls == | |||
''These are the default bindings. They can be changed in the Options menu.'' | |||
{| | |||
|Enter/Exit | |||
|{{Keybinding|enter}} | |||
|- | |||
|Accelerate | |||
|{{Keybinding|W}} | |||
|- | |||
|Decelerate/Reverse | |||
|{{Keybinding|S}} | |||
|- | |||
|Pick which fork to take at junction (left, right) | |||
|{{Keybinding|A}},{{Keybinding|D}} | |||
|- | |- | ||
| {{ | |Connect/Disconnect rolling stock | ||
|{{Keybinding|G}},{{Keybinding|V}} | |||
|} | |} | ||
== 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 == | ||
Line 68: | Line 79: | ||
== History == | == History == | ||
{{history|0.17.0| | |||
* Locomotive fuel consumption doubled.}} | |||
{{history|0.16.0| | {{history|0.16.0| | ||
* Locomotive will show train ID in its tooltip. The ID can be used in circuit network conditions.}} | * Locomotive will show train ID in its tooltip. The ID can be used in circuit network conditions.}} | ||
Line 116: | Line 130: | ||
* New locomotive graphics. | * New locomotive graphics. | ||
* Locomotive + wagon + rails are more expensive. | * Locomotive + wagon + rails are more expensive. | ||
}} | |||
{{history|0.4.1| | |||
* Smooth (precise) rolling stock placement. | |||
* Rotating while building affects the direction of the rolling stock. | |||
* Rolling stocks can be disconnected from both sides. | |||
}} | }} | ||
Line 122: | Line 142: | ||
* Locomotive and Car are minable | * Locomotive and Car are minable | ||
* Easier riding in locomotive and car (accelerate vs. brake vs. reverse) | * Easier riding in locomotive and car (accelerate vs. brake vs. reverse) | ||
* Automated train transportation. Trains can be given schedule to go to Train Stops (named after backers). | |||
}} | }} | ||
Line 139: | Line 160: | ||
{{LogisticsNav}} | {{LogisticsNav}} | ||
{{C| | {{C|Railway}} | ||
{{C|Rolling stock}} |
Latest revision as of 14:49, 28 June 2021
Locomotive |
Recipe |
|
+ + + → | |
Total raw |
|
+ + + + |
Recipe |
|
+ + + → | |
Total raw |
|
+ + + + |
Map icon |
|
Storage size |
3 (fuel only) |
Health |
1000 |
Resistances |
Acid: 3/20% |
Stack size |
5 |
Dimensions |
2×6 |
Energy consumption |
600 kW (burner) |
Mining time |
0.5 |
Weight |
2000 |
Prototype type |
|
Internal name |
locomotive |
Required technologies |
|
Boosting technologies |
|
Produced by |
|
Valid fuel |
|
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
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 in transit can usually crash through everything in its way (including biters, other vehicles, and the player). However, if the locomotive is moving too slowly, or the target is too tough, it will stop the train instead. If the locomotive hits an enemy, the enemies will fight back and try to destroy the train and the rails.
Construction robots are a good way to automatically repair damage at train stations.
Maximum speed
The maximum speed that a locomotive can get to depends on the train that it is pulling. The speed of an accelerating, fully fueled, train is calculated every tick by the game with the following formula:
train_speed = max(0, abs(train_speed) - train_friction_force ÷ train_weight) train_speed = train_speed + (10 × number_of_locomotives_in_moving_direction × fuel_acceleration_bonus ÷ train_weight) train_speed = train_speed × (1 - air_resistance_of_front_rolling_stock ÷ (train_weight ÷ 1000))
Where train_friction_force is the summed up friction of each wagon and locomotive (0.5 for any type of wagon including locomotives) and train_weight is the summed up weight of each wagon and locomotive, see their individual pages for the weight values. The friction and air resistance of wagons and locomotives can be found in their prototypes. 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 |
---|---|
3.33 | |
6.67 | |
20 | |
166.67 | |
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 (left, right) | A,D |
Connect/Disconnect rolling stock | G,V |
Achievements
Locomotives are directly connected to the following achievements:
Getting on track Build a locomotive. |
Getting on track like a pro Build a locomotive within the first 90 minutes of the game. |
Watch your step Get killed by a moving locomotive. |
Gallery
History
- 0.17.0:
- Locomotive fuel consumption doubled.
- 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.9.0:
- Recipe change
- 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.1:
- Smooth (precise) rolling stock placement.
- Rotating while building affects the direction of the rolling stock.
- Rolling stocks can be disconnected from both sides.
- 0.4.0:
- Locomotive uses fuel.
- Locomotive and Car are minable
- Easier riding in locomotive and car (accelerate vs. brake vs. reverse)
- Automated train transportation. Trains can be given schedule to go to Train Stops (named after backers).
- 0.2.8:
- Now shows health bar below locomotive.
- 0.2.1:
- Now emits light if active.
- 0.1.0:
- Introduced