So, if the train has a loading station and fills up, and then is waiting for an available unloading station, but none are available, if the train has a fuel interrupt, it'll just leave for the interrupt instead of waiting until their next destination is available. IE, the train shouldn't interrupt unless the next destination in their schedule is enabled.
Picture is of a train occupying the fuel station because its next destination is unavailable.
[2.0.11] Train interrupt activates even if all next stops are disabled
Re: [2.0.11] Train interrupt activates even if all next stops are disabled
Hi,
Can you provide the save game?
Can you provide the save game?
Re: [2.0.11] Train interrupt activates even if all next stops are disabled
The save game - but at a later time from when it happened.
Edit: I opened the map and found an easy way to duplicate it. Go to the streel train, change the stop to disable by changing the sign to less-than (see picture) so that it is disabled. Then remove fuel from the train, down to less than 20 which is the fuel trigger. The interrupt triggers. The train will go to the interrupt stop (the fueling station) but then have nowhere to go.
Edit: I opened the map and found an easy way to duplicate it. Go to the streel train, change the stop to disable by changing the sign to less-than (see picture) so that it is disabled. Then remove fuel from the train, down to less than 20 which is the fuel trigger. The interrupt triggers. The train will go to the interrupt stop (the fueling station) but then have nowhere to go.
- Attachments
-
- V2 SpaceAge 002 010c.zip
- (21.86 MiB) Downloaded 15 times
Re: [2.0.11] Train interrupt activates even if all next stops are disabled
Ok, that is working correctly, the interrupt has no conditions about if it should care if it has cargo or not, it is just following the programming, and it isn't the interrupt systems responsibility to ensure subsequent stations are open
IF you don't want it to refuel with full cargo, then add that as an interrupt condition
IF you don't want it to refuel with full cargo, then add that as an interrupt condition
Re: [2.0.11] Train interrupt activates even if all next stops are disabled
Is there a way to add a condition to see if there are open stations to the interrupt? Otherwise, it still seems broken. Wouldn't the spirit of the fueling station be that trains shouldn't remain there after they fill up?
-
- Burner Inserter
- Posts: 15
- Joined: Wed Oct 30, 2024 1:34 am
- Contact:
Re: [2.0.11] Train interrupt activates even if all next stops are disabled
I highly recommend that if you use that kind of train system,
you should use 'waiting bays' or 'depots' for the trains to wait at until the station is open.
It'll reduce the amount of time a train is hogging a specific station if it has nowhere to go down to almost zero.
The depots should theoretically be nearby the fuel stations, sort of like rest stops that have gas pumps
However you implement such an idea is entirely up to you.
you should use 'waiting bays' or 'depots' for the trains to wait at until the station is open.
It'll reduce the amount of time a train is hogging a specific station if it has nowhere to go down to almost zero.
The depots should theoretically be nearby the fuel stations, sort of like rest stops that have gas pumps
However you implement such an idea is entirely up to you.
Re: [2.0.11] Train interrupt activates even if all next stops are disabled
Possible solution:
Make anohter interrupt...
If...
...at refuel station
and
...no path
then...
go to depot
Set the depot to a higher priority so the train in the depot will be dispatched to the unloader before any train waiting at a loading station.
Make anohter interrupt...
If...
...at refuel station
and
...no path
then...
go to depot
Set the depot to a higher priority so the train in the depot will be dispatched to the unloader before any train waiting at a loading station.