[0.15] Waypoint stations
Posted: Sun Sep 24, 2017 7:26 pm
Info
Please note that they do not force trains to travel through them, it is enough for the train to start braking for the stop to send it on to the next destination. This means that it cannot be used to micro-manage train paths, but it will still work well over longer distances. Behaviour might be improved in 0.16.
Basically we listen to on_train_changed_state for the arrive_station state, if the destination is a waypoint -> go to the next destination.
Should also be usable in earlier versions of Factorio by changing info.json.
Feedback, suggestions and bug reports welcome.
- Name: Waypoint stations
- Version: 0.1.0
- Factorio-Version: 0.15.34
- Description: Adds a train stop that acts as a waypoint, trains will try to travel near it but won't stop there.
- Multiplayer: untested
- License: http://unlicense.org/
- Release: 2017-09-24
- Download-Url: https://mods.factorio.com/mods/aaargha/ ... t-stations
- Website: viewtopic.php?f=93&t=52926
- Source: GitHub
- Category: Utility
- Tags: Trains
Please note that they do not force trains to travel through them, it is enough for the train to start braking for the stop to send it on to the next destination. This means that it cannot be used to micro-manage train paths, but it will still work well over longer distances. Behaviour might be improved in 0.16.
Basically we listen to on_train_changed_state for the arrive_station state, if the destination is a waypoint -> go to the next destination.
Should also be usable in earlier versions of Factorio by changing info.json.
Feedback, suggestions and bug reports welcome.