Train Upgrader


Easily automate the replacement of large numbers of active locomotives and wagons in your rail system. Useful in combination with mods that add multiple tiers of locomotives or wagons.

Utilities
9 months ago
1.1
29.2K
Trains

b Doesn't work well with Cybersyn

5 months ago

Hello!

I've noticed some few problems with Cybersyn and stations with repeated names.

Imagine your factory with hundreds of stations named "Provide" and "Request".
When Cybersyn (and I think LTN as well) want to send a train to a specific station, regardless of name, it first makes a coordinate destination (of the station) in the train's schedule, then the actual station. The train will go to the coordinate station, then the next stop is the target station, a feet in front of it. If Cybersyn didn't do this, the train would pick the nearest station with the same name and mix cargo.

The problems arrives with Train Upgrader is that it appears to inster the station after the train's current target station. If the train is going to a coordinate station and Train Upgrader decides to insert the Upgrade station right afterward, the train will arrive at the coordinates, but instead of stopping at the target station, will go to get upgraded, then head to the NEAREST station with the same name. This results in trains mixing cargos.

It would be better if the Train Upgrader mod worked in tandem with Cybersyn/LTN. One potential solution would be to only select trains who are currently waiting at a depot. Another solution would be to not request trains, but still put upgrader chests next to stations who will upgrade whatever trains end up stopping at it.

I may provide a world download if needed to reproduce the error.

4 months ago

+1 I am having this same issue

4 months ago

Me 3... Just don't insert the upgrade between a "coordinates" destination and a named station. Right after a named station should always be fine.

a month ago

I am also wishing this mod was more compatible with the other mods, I struggled through tier 1 to 2 trains in my current run using this mod, I basically had to babysit my depot and fix every train that got upgraded by this mod as it went to the wrong depot. I now wish to move to Tier 3 trains and I've expanded a bit since then and am dreading / trying to come up with a solution to not have to do that again.

New response