Simple safe rail crossing withouth using combinater, doesnt need electricity. It give priority to the player and prevent crossing if the train can not stop in time before the crossing or is already inside the crossing. The player gate are normaly close to prevent biters crossing.
added light and speakers for 2 lane LHD on Asthetic safe rail crossing.
The circuit it selfcontained however you can link it with the same gate crossing if you wanna cross multiple rail at the same time. simply hook both system with a green wire.
T = Train
P = Player
Player gate : open condition T = 0 , output signal
Train gate : open condition T > 0
Rail signal (entry) : closed condition P > 0 , Output signal red,yellow,green T
Rail signal (exit) : not connected
Rail signal can only be overwritten/ don't give any output signal when the rail signal would be naturally green.
This allow to set the green signal also with output T. When the player at the gate it will cut the green T signal allowing for the player to cross. But when there no player at the player gate it will always send a T signal closing the player gate preventing biters to enter
The condition at the train gate is to only close the train gate when the player gates are open this prevent player using the train gate to exit and potentially killing themself with the train. (idiot proof yay!!! ;p)
I used single locomotives with nuclear fuel to test it and found 2 problems.
1) The rail signal (entry) to close to the train gate. sometimes it smash the gate becuase the accelration faster then the gate can lower down. Putting down a rail chain signal just infront the rail signal seem to prevent this. It possible it not needed with actually cargo.
added rail signal infront entry rail signal
2) It does not prevent the train enter the crossing even though it can not exit the crossing (put a a train at the exit). Was hoping to change the entry rail signal to a rail chain signal but sadly those signal have no input. :(
tried to make the entry rail signal a chain signal by linking it with the output of the exit rail signal although it prevent train to enter the crossing when it cannot exit, it forces player gate to open when the exit rail signal is red/yellow braking the original desing
Planning to make a second version that maybe addres the problems + putting lamp and audio indicaters but it probably need combinators. any help/critic welcome
