Temporary Stations (Wait Conditions and Personal Trains)


The mod lets you control the behaviour of trains upon arriving at temporary stations. The train either switches to manual mode or waits with custom conditions. You can also define a Train as your Personal Train and use the shortcut to call that train to your position.

Content
4 years ago
0.17 - 0.18
39
Trains

i Hotkey/Button to locate Personal Train

5 years ago

As title says. Would be great to have a button/keybind to focus the camera on your personal train. I mean, sure, there is the trains list, but said list tends to get a bit long as time goes on.

5 years ago

Hi,

such a feature is probably possible with the CutsceneController.
But it sounds like a lot of work for a very little used feature. I'll look into it for the next update. Do you lose your train a lot?

cheers

5 years ago

It… happens. Actually, I usually need a quick-focus for two reasons: when I lose my train/park it somewhere for later or when I want to quickly locate its station in my (quite dense) base.

But if you say that it requires a lot of work, I'd answer that neither of these happens nearly often enough to justify that work investment. I'll make do with vanilla features.

5 years ago

I never worked with Factorios cutscene feature, i don't know if you can click anything after i repositioned the camera.
A hotkey to open your trains vanilla schedule window, would be quite simple - would that help?

5 years ago

I'd still have to search through the list to locate that one train so the most time-consuming task would remain the same. However, I ended up finding some sort of workaround for that part.

https://drive.google.com/file/d/1n6i1pEvQtByqLk9hLpBrRdK8Fe3tlLYS/view
https://drive.google.com/file/d/1Oaqz65v2F6SvZFU59HRZSVLFUpYhj1kQ/view

It appears that no matter what temporary stations are added, even though it's before the standard ones, the list will remain sorted accordingly to the standard stations. In other words, as long as you use some sort of special character to have your personal train's station appear at the beginning of the trains list, it will remain so.

So, thanks to this… uh… discovery (I have some sort of "late to the party" feeling right now…) the issue is basically solved since finding that personal train is now just a single click away.

If for any reason you happen to still want to add that feature though, there is a mod that could give you some inspiration: https://mods.factorio.com/mod/autodrive

Dorfl added such a function in his latest update - and that's actually the reason I thought about it for Temporary Stations.

5 years ago

I looked at autodrive. His method is much better than my idea of a cutscene. I'll implement it and publish it later today

New response