5

I'm bulding an extensive and heavily used automated train system.

After having enjoyed the achievement of being obliterated by my own automated trains, I would prefer that not happening anymore.

I want to create a proper path through tracks so that I can have some "offical safe routes" that can be used, when I move by foot or with my car / tank across the rails.

Basically, I imagine a system that stops the trains on demand when I want to cross.

Of course, the trains should continue their course as usual once I safely crossed the tracks.

I'm thinking about some kind of switch system that could be activated from either side of the crossing.

Nice-to-have would also be some kind of visual clue whether the system is activated or not, so that I can easily see if my safe path is enabled or not.

The less manual actions needed to achieve this, the better. If the stop could be automatically activated once I approach the crossing (and deactivated when I leave), that would be the best solution I imagine.

High complexity of building the system is not an issue (or even appreciated!).

8

You can do this with rail signals and gates. Rail signals output their state to the circuit network, and can be controlled by the circuit network. Similarly, gates output a signal when a player or vehicle tries to open them, and can be forced open or closed with circuit network signals.

So, if you have an area of your railroad surrounded by gates with rail signals where a train would enter the area, then you can lock the gates when the signal turns red or yellow, and you can force the signal red when a player approaches the crossing. This won't lock the gate with no train because rail signals don't output anything to the network if they are being set to red by the network. If you have a rail system with multiple rails you may need additional gates in between the rails to make sure that you are detecting the player throughout the whole crossing area.

For a visual indicator, lights can be turned on and off and set to different colors by the circuit network. You can, for example, have indicator lights to show the network signal that is forcing the rail signal state, and the network signal that would lock the gate.

  • 1
    at last! an excellent reason to try out using the signals circuit network. Compiling circuit guides and tutorials now ... Thanks ! – Pac0 Jun 16 at 18:26
  • 1
    Kovarex has a nice visual example of this on their Steam profile. – ZeroKnight Sep 29 at 4:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.