[kovarex] Parameterized Train interrupts cant be used in conjunction with reading train IDs

Things that we don't consider worth fixing at this moment.
valyrie97
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Oct 26, 2024 1:49 am
Contact:

[kovarex] Parameterized Train interrupts cant be used in conjunction with reading train IDs

Post by valyrie97 »

Ive been working on a train scheduler with the circuit network and discovered what i assume is a bug. i could be very wrong and misunderstanding how to use this feature. The setup is fairly simple:

- Create a small segment of rail with a stop and a locomotive.
- Create a train interrupt with a circuit condition of :parameter: > 0
- enable read train ID
- connect train station to a lamp ()in debugging it seemed any connection would trigger the issue)
- fuel up the train and let it loose.

the train immediately picks up the train ID signal and attempts the interrupt with it.
I understand why this is happening, to some degree. i mean, the signal is there, and it is > 0. However, given that the use case i see most often with this is a generic interrupt, for going to stations named '[item=coal] Dropoff' and the like, it seems a bit nonsensical to have to engineer around this. like making all of your signals negative values in order to send them to a train.

A couple proposed solutions:
- allow item parameter instead of only signal parameter in interrupt
- automatically ignore the signal that train ID is set to (the T by default)
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] Parameterized Train interrupts cant be used in conjunction with reading train IDs

Post by kovarex »

Hello, the proper fix we will have at some point (hopefully) will be the ability to distinquish red/gree input and output, so you can put these two things on separate wires.
valyrie97
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Oct 26, 2024 1:49 am
Contact:

Re: [kovarex] Parameterized Train interrupts cant be used in conjunction with reading train IDs

Post by valyrie97 »

sounds like a good solution!

sincere curiosity, is there any reason why item / fluid / fuel parameters cant be used in the interrupt trigger - circuit condition?
Friant
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Nov 26, 2024 11:51 pm
Contact:

Re: [kovarex] Parameterized Train interrupts cant be used in conjunction with reading train IDs

Post by Friant »

Hello!

I'd just like to voice that I have also encountered this problem and would very much love to see a fix for it. There is a work around using negative signals as valyrie97 indicated, but it would simplify a bit of circuitry to be able to select which wires signals are broadcast on/read from in the train stop and train interrupt menus.

Cheers!
Post Reply

Return to “Won't fix.”