In factorio, how do I make a safe railway crossing? Such that the trains will stop if a player is crossing the tracks.

  • LeZero@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    1 year ago

    One way to do it would be to connect a gate to your train signals. When the player opens the gate, it should turn the signals red, stopping any train.

  • Spzi@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Gates are the proper solution. But then you need walls all along the rail, or need to remember to only cross the rail at these crossings. If you need something quick and dirty:

    Connect a signal to a colored light, space them so that you always have at least one of these lights on screen. Or connect the signal to a programmable speaker, and make it play some sound which warns you.

  • TauZero@mander.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You can link gates to circuit network! You can either read a train signal and force close the pedestrian gate, or better yet read the pedestrian gate and force close the train gate. Forcing the train signal red sometimes doesn’t stop the train in time, but force closing the gate does, with hilarious consequences. Hey, better them than you!