#Make a train skip a station that another train is going to.
1 messages · Page 1 of 1 (latest)
There are a few ways to do this, but I think the most simple way to do it in your case is to simply add a train limit to the station
this will enable only a set amount of trains to travel to the station.
This can be done dynamically using circuits or you can just set a constant train limit
however that won't really make the train skip the station
doing that becomes more problematic
The only way to make a train skip a station is by disabling all stations with that name.
However that will interrupt the train that's already heading there
Possible to do with circuits but a bit complicated
"a bit" is an understatement. You'd have to have all stations on the schedule with the same name and control all limits and circuit wait conditions to prevent collisions
Wasn't that hard last time I did it
skipped out on it though because setting it up just took too much time
Then you're a circuit network genius
that would be an overstatement
What's the problem you're actually trying to solve?
Depending on the circumstances and complexity of the problem something as simple as this might work. This combinator will disable the trainstop whenever a train is parked there, and re-enable once it leaves (you can also add a cooldown quite easily). Coupled with a train limit of one this means that said station will only get one train at a time, and when a train arrives all other trains will skip the station until the train leaves.
This won't work all the time but for early game trains it's good enough for most cases I reckon
yeah train limits solve this completely, dunno what benefit you'd get from making it complicated
Hello,
we finished with the regular Friday Facts series, and yet, there is still so much we want to talk about. I want to clarify, that we are not going to release FFF every week, but there are a few of them coming in the near future.
1.1 - The real 1.0
The point of 1.1 isn't to add some new content, the main motivation is to fina...
Solely using train limits will not solve the issue at hand. Trains do not skip stations that have a full train limit but instead puts themselves in standby mode waiting for the station to clear up. This means that if you have a several trains with multi station schedules they will clog up waiting for each other to finish at the stations. Hence why you need to de-activate and reactivate the stations to make the other trains skip past the already occupied stations instead of waiting for it to become open.
You really do not want to deactivate stations
If done properly it doesn't matter.
OPs question was simply how to make trains skip stations, this is the only way to do that
"If done properly" is a way to blame the engineer for a bad design
Another solution is to put more trains on the rails
That still isn't really relevant to the question
this is the way to make trains skip stations
by deactivating the stations you want them to skip
There is an x-y problem going on here also. If that is the correct answer to the question, then the question itself is wrong imo
well you're original message was about how train limits would solve the issue, which it won't. I just pointed that out
🤷🏻♂️
non-dynamic or dynamic train limits don't work for stations with several trains, it just makes them wait for each other
which is just the same as having no train limit at all
which loops back to the reason why you want a train limit and a combinator which deactivates the station when a train is present
If one is tempted to disable stations then they should look for a different approach that doesn't require it. That's my $.02. I can't prove it to you in a discord thread, but it's my judgment. That's all I got
I've used such systems in a few playtroughs, never ran into issues
I'm happy for you lol
requires some slightly unique setup in comparison to your standard rail system but it's not annoying to do
sometimes it runs into issues with multiple trains trying to supply the same stations due to unlucky timing, but adding a small cooldown solves that issue
...no? You simply have several stations with the same name and your trains go to whatever one is open. It's pretty standard and works quite well. Disabling stations is only useful for very niche cases
I'd love to see a system utilizes disabling in a less annoying way than train limits. Save file please
gives you less control over the rail network than just adding that one combinator.
As an example you can't have one specific train go to one specific station as they all have the same name in that case, this makes it so that you can't make proper schedules; you can just input a name of X number of stations and hope that it arrives at the station eventually. This is a shotgun solution that relies on the fact that your trains work in a very linear fashion.
Sent a picture above, just a simple combinator will disable the station once a train is present causing all other trains to skip past that station. Allows for full customisation of schedules and enables trains to skip stations. This also allows stations to be deactivated based on circuit conditions which adds further room for customisation within the network.
How do you do this?
This setup will deactivate the station whenever a train is there causing all incoming traffic to be redirected to the next station
Also allows you to feed 1 green signal into the station trough other means to adjust when you want trains, as an example; if a chest is running low on items you can automatically enable the train station.
remember to put the train limit to 1, otherwise several trains will try to supply the same station and end up getting dead locked
Thanks
But is there a way to make one train head towards a specific station and then have another train skip that station? E.g. A train filled with iron ore is heading to an iron ore dropoff station and behind it is a train filled with copper that obviously not go to the iron ore unloading station. So is there a way to make the copper train go to the next station whilst the iron train is still travelling to the iron unload station?
Just don't add the iron station to the copper trains list?
oh now I get what you're doing, you don't have specifc trains for specific resources?
Yeah, I'm making a depot of about 50 trains that will al have iron, copper, stone and uranium pickup and dropoff stations and the trains will be sent to pick up ore from the stations when they have sufficient resources and this can change the amount of trains going to the stations based on how much of the resource patch is left.
well that's a unique way to do it
you do know there are simpler ways to transport resources right 
but if you insist on doing it that way, the train limit will only allow one train to travel to the station at a time, so that shouldn't be an issue
But then other trains that are waiting to go to stations past the one that another train is stopped at it won't and will not move at all
hence why we disable the station whenever a train is at it
allowing trains to move past it
But is there a way to disable the station and allow other trains to move past whilst the train heading to the station is still travelling to the station?
might be some way but it wouldn't be very simple
No
you would need to detect when a train heads for the station and relay that over a circuit network
but then again with multi stations trains that becomes increasingly harder
you would need to relay all station statues to central network which is just annoying
Disabling the station by definition will cause that train that's on its way to also instantly skip it
yeah it would be an enormous undertaking to make a good system for that
Why do other trains need to skip stations though? From the previous descriptions I'm reading it seems your schedules are simple, so skipping doesn't make much sense
Ah, nvm, you're adding all stations to a single schedule...
"Stop hitting yourself"
If you want that kind of functionality, I'd recommend looking into train dispatcher mods like cybersyn
We're talking about different things then. I'd still like a save file because I have no idea why you would want to disable a station in the way you describe.