[0.13.x] Make Chain Signal connectable to circuit network
Moderator: ickputzdirwech
[0.13.x] Make Chain Signal connectable to circuit network
It would be nice if the Rail Chain Signal could be connected to the circuit network in the same way as the Rail Signal.
As an example of when this could be useful: when you try to design a nice crossing (to keep your trains from killing you) the circuit network functionality of the Rail Signal is crucial, it allows you to stop trains if you're going through a gate, or close a gate if a train is about to arrive (i.e. the signal turns red or yellow). However currently this forces you to use Rail Signals which makes it impossible to place these crossings in certain situations (e.g. in intersections, or across stations if you don't want trains to attempt to enter an occupied station).
Also, allowing the Rail Signal to be connected but not the Rail Chain Signal seems weirdly inconsistent
As an example of when this could be useful: when you try to design a nice crossing (to keep your trains from killing you) the circuit network functionality of the Rail Signal is crucial, it allows you to stop trains if you're going through a gate, or close a gate if a train is about to arrive (i.e. the signal turns red or yellow). However currently this forces you to use Rail Signals which makes it impossible to place these crossings in certain situations (e.g. in intersections, or across stations if you don't want trains to attempt to enter an occupied station).
Also, allowing the Rail Signal to be connected but not the Rail Chain Signal seems weirdly inconsistent
Re: [0.13.x] Make Chain Signal connectable to circuit network
I would say the state of the chain signals depends on the outgoing signals. So if you change the state of the outgoing signal the former chain signals must also change. (But I cannot know it yet, no possibility to test it without breaking my current installation.)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: [0.13.x] Make Chain Signal connectable to circuit network
I suppose that would work (apparently chain signals also turn yellow at the same time as the next signal), but it'd be more elegant to connect to the chain signal directly.
Also, if you want to make a template for a rail crossing then it's often better to use a chain signal, since those are less likely to cause problem (and prevent trains from blocking the crossing). Which makes sense since rail crossings are a kind of intersection, except not between rails but between a road and a rail.
And since almost everything that could logically be connected to the circuit network can be connected to the circuit network, the chain signals seems a weird omission, especially since it's pretty clear how to generalize the rail signal behaviour to the chain signal.
Edit: just tested it, changing the exit rail signals does indeed affect the chain signal, but also prevents trains from using that exit, even if they're already past the crossing. And the rail signal will stay yellow even if the train has already passed the crossing. I don't really see an easy way to solve those problems without adding a rail signal (which causes other problems).
Edit2: changing the exit rail signals does work but the colour of the rail signal isn't always updated (trains still stop though). And for some reason the rail signal doesn't send it's output if you connect it directly to a gate, except if you do so indirectly (e.g. first connecting to a pole, then to the gate). Those might be a bugs.
Also, if you want to make a template for a rail crossing then it's often better to use a chain signal, since those are less likely to cause problem (and prevent trains from blocking the crossing). Which makes sense since rail crossings are a kind of intersection, except not between rails but between a road and a rail.
And since almost everything that could logically be connected to the circuit network can be connected to the circuit network, the chain signals seems a weird omission, especially since it's pretty clear how to generalize the rail signal behaviour to the chain signal.
Edit: just tested it, changing the exit rail signals does indeed affect the chain signal, but also prevents trains from using that exit, even if they're already past the crossing. And the rail signal will stay yellow even if the train has already passed the crossing. I don't really see an easy way to solve those problems without adding a rail signal (which causes other problems).
Edit2: changing the exit rail signals does work but the colour of the rail signal isn't always updated (trains still stop though). And for some reason the rail signal doesn't send it's output if you connect it directly to a gate, except if you do so indirectly (e.g. first connecting to a pole, then to the gate). Those might be a bugs.
[0.13] chain signal
I have made a train gate, but the only think from making it fool proof is the ability to read from a chain signal with the circuit network. I would like to have this implemented so you can keep trains always out of parts, but also wait.
we now use a very tiny block to fix it, but you still have moments where the train is not in the coming block and you can still enter, we are using the yellow signal as well. its almost foolproof, only when a train is waiting and you run back and forth.
TL;DR;
circuit network connection for chain signals.
we now use a very tiny block to fix it, but you still have moments where the train is not in the coming block and you can still enter, we are using the yellow signal as well. its almost foolproof, only when a train is waiting and you run back and forth.
TL;DR;
circuit network connection for chain signals.
Re: [0.13.x] Make Chain Signal connectable to circuit network
I merged this topic into the former.
I like that pic.
See also previous comments: Isn't it so, that the state is equal to the first non-chain-signal?
And very difficult question: what should a chain-signal output, if it is "blue"? (That state, when the chain signal has one closed and one open output signal on it's way)
-> In my opinion not possible without doing dubious things.
I like that pic.
See also previous comments: Isn't it so, that the state is equal to the first non-chain-signal?
And very difficult question: what should a chain-signal output, if it is "blue"? (That state, when the chain signal has one closed and one open output signal on it's way)
-> In my opinion not possible without doing dubious things.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: [0.13.x] Make Chain Signal connectable to circuit network
Not necessarily, if there's a train in between a chain signal and a rail signal then the chain signal will be red, but the rail signal could be green (or yellow).ssilk wrote:Isn't it so, that the state is equal to the first non-chain-signal?
Just outputting "blue" would be enough for me. I think it's reasonable if you have to connect other (chain) rail signals to get more specific information on which exit is free.ssilk wrote: And very difficult question: what should a chain-signal output, if it is "blue"? (That state, when the chain signal has one closed and one open output signal on it's way)
-> In my opinion not possible without doing dubious things.
Re: [0.13.x] Make Chain Signal connectable to circuit network
i looked around, but couldnt find this one, sorry but thanks for moving it. in my eyes you wont be able to set the signal to blue, just like you can set the signal of a normal rail signal to yellow.
The thing is that i would like to stop the train when someone is standing in there, now we block the tiny block in front of the chain, but when we can block the chain, then we dont need the tiny block.
The thing is that i would like to stop the train when someone is standing in there, now we block the tiny block in front of the chain, but when we can block the chain, then we dont need the tiny block.
Re: [0.13.x] Make Chain Signal connectable to circuit network
The question was what the chain signal should sent to the circuit network if it was blue, not if it should be possible to set the signal to blue.DutchJer wrote:i looked around, but couldnt find this one, sorry but thanks for moving it. in my eyes you wont be able to set the signal to blue, just like you can set the signal of a normal rail signal to yellow.
Couldn't you just block the rail signal just after the crossing? Although I agree that blocking the chain signal would be more elegant.DutchJer wrote: The thing is that i would like to stop the train when someone is standing in there, now we block the tiny block in front of the chain, but when we can block the chain, then we dont need the tiny block.
Re: [0.13.x] Make Chain Signal connectable to circuit network
You know, now that Rail signals are connectable to circuit network, in theory we don't need rail chain signal at all. We could just use plain rail signal and implement the lock logic with the combinators.Shiandow wrote:It would be nice if the Rail Chain Signal could be connected to the circuit network in the same way as the Rail Signal.
Re: [0.13.x] Make Chain Signal connectable to circuit network
I don't think there's any way to replicate the blue signal though. Which would mess up train routing.malecord wrote:You know, now that Rail signals are connectable to circuit network, in theory we don't need rail chain signal at all. We could just use plain rail signal and implement the lock logic with the combinators.Shiandow wrote:It would be nice if the Rail Chain Signal could be connected to the circuit network in the same way as the Rail Signal.
Re: [0.13.x] Make Chain Signal connectable to circuit network
i prefer to connect chain signals to network too, maybe read only, for each state green yellow red and blue
Mining Drill Operator
Re: [0.13.x] Make Chain Signal connectable to circuit network
I agree that chain signals should be connectable (to read them out and to force them on red). While I could make a pedestrian crossing mimicking chain signal behiavior, other things are not really possible. For example, I would like to make a priority crossing where one direction receives priority over the other.
The problem however is that it is not possible to connect chain signals, which I really want to use since this is a crossing. Therefore I cant control the signals on this crossing (or any train crossings in general) without ridiculous workarounds.
One of such workarounds would be to do the chain signalling logic by hand, which is doable for pedestrian crossings or simple crossings. However, this becomes downright impossible when junctions get bigger and there are multiple exit routes for a train.
priority crossing
In this image the purple train is supposed to get priority over the blue train. This can be done by reading out when the purple train enters the block prior to the crossing. Upon entering this block, the blue train is to be blocked from entering the crossing and allow the purple train passage.The problem however is that it is not possible to connect chain signals, which I really want to use since this is a crossing. Therefore I cant control the signals on this crossing (or any train crossings in general) without ridiculous workarounds.
One of such workarounds would be to do the chain signalling logic by hand, which is doable for pedestrian crossings or simple crossings. However, this becomes downright impossible when junctions get bigger and there are multiple exit routes for a train.
Re: [0.13.x] Make Chain Signal connectable to circuit network
from all this what i read is that you think that you should be able to set the signal to blue, while i think you should only be able to block the road like you can with the rail signal, and read the current signal state.
as far as i know you can put a rail signal on yellow.
as far as i know you can put a rail signal on yellow.
Re: [0.13.x] Make Chain Signal connectable to circuit network
I'll throw my hat into the ring for this suggestion. In the example I've attached, the tracks to the lower right are a waiting area for trains headed to the upper right unloading stations. Because I cannot read from or change the state of chain signals via circuitry, my rail crossing lacks an input and an output. If I were to install regular signals for input and output, trains would ignore the waiting area and block the single path to the unloading area.
It would benefit other situations too, but this one really sticks out to me. I wonder if it could be added by a mod...
It would benefit other situations too, but this one really sticks out to me. I wonder if it could be added by a mod...
Re: [0.13.x] Make Chain Signal connectable to circuit network
As a workaround, I'm adding dead-ends with normal signals to the tracks to read out if there's a train in the block of the crossing. But this looks plain stupid.
Ofcourse, this does not help on other occasions where one would like to set the state of a chain signal.
Ofcourse, this does not help on other occasions where one would like to set the state of a chain signal.
Re: [0.13.x] Make Chain Signal connectable to circuit network
Track doesn't even need to connect properly if you only want to monitor state of block. Could put just a couple of tiles of track perpendicular or diagonally across the block you want to monitor.Cthulhoo wrote:As a workaround, I'm adding dead-ends with normal signals to the tracks to read out if there's a train in the block of the crossing. But this looks plain stupid.
Re: [0.13.x] Make Chain Signal connectable to circuit network
Yeah, I just hit this problem as well. I wanted to add a gated crossing between a stacker and its connected stations. I assumed I could simply add a chain signal at the crossing and either override its value or, at the very least, read its value. But, it doesn't connect.
Re: [0.13.x] Make Chain Signal connectable to circuit network
You can read the signal after the gate, when its yellow or red it cannot brake at the chain signal, which sorta gives what u need. I made my train crossing like that.
Re: [0.13.x] Make Chain Signal connectable to circuit network
That's the workaround, but this inconsistency should be patched.
Re: [0.13.x] Make Chain Signal connectable to circuit network
That only works if after the gate there is only one track direction. But if after the gates there is a junction with multiple exits then this isn't a viable option. Would be a nice improvement if we could connect the chain signals directly!aober93 wrote:You can read the signal after the gate, when its yellow or red it cannot brake at the chain signal, which sorta gives what u need. I made my train crossing like that.