this post was submitted on 18 Jun 2023
8 points (100.0% liked)

Automation and Factory Builder Games

1052 readers
2 users here now

A place to talk and share content about automation and factory builder games.

icon attributionFactory icons created by vectorsmarket15 - Flaticon

https://www.flaticon.com/free-icons/factory

founded 1 year ago
MODERATORS
 

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

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] [email protected] 2 points 1 year ago

You would also have to stop the gate from opening if a train is already past the signal but not past the gate.

[–] [email protected] 1 points 1 year ago

This. This is easiest/best way, Imo.

Good luck and have fun!!

[–] [email protected] 2 points 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.

[–] [email protected] 1 points 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!

load more comments
view more: next ›