Asthetic safe rail crossing [LHD]. 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.
This build based on Simple safe rail crossing. How it basicly work in that page description. Here i am gonna describe the subtle changes with original but the function the same.
For RHD simple put rail signals on opposite side and green wire + copy the setting of the entry rail signal on the new entry side.
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.
It adds asthethic with lights indicator (red = player unable to cross, green = player allowed to cross, white = player is crossing + train traffic is on hold). speaker give a local sound when train is inside crossing or is about to enter (you only need 1 per selfcontained system).
rail signal (entry) has changed from outputting T signal to (red and yellow => output red color , green => output green color) this is for the light turning red/green and activating speakers when red.
There 1 (OR) arithmetic combinator it set when input red or green it will output signal T this restore the function to close the player gate by default and prevent crossing when it dangerous. (you only need 1 per selfcontained system).
