I've managed to get rid of the combinators.
Here is how it looks like:
It actually works exactly that way. When the signal is red or yellow, player gate closes. So if the train can't stop before the crossing, player gates get shut regardless of player being nearby.Miravlix wrote:Edit: Maybe reversing the concept will make safe crossing, by having the rail signal close the gate and making the player run face first into it.
Code: Select all
H4sIAAAAAAAA/+WYUW+bMBDHv0qV51CBbZJOFXvdh5gm5IKbWiKAjNOtQ3z3GUhUnJHwv75sSvvSUg77fn/fnc/Oq7uiymRxlyatKq22WjVJ25Zyr5JVY43U
uxcbuF/Fal1XjXtflUn7KwnY+i0JNl23Pto+6V2gCpVZo7Ogrgrl20e9edyts6osnZH7r5vm+ypa/UjanVHKGY3zv6U6T764Yd+fIuY/Cv/xwXsUUdf/nNxq
9rIogkLu6zN/7uMB4D6e2F7GFWe0vUXQ6F0pz3Xh48DifoS1pirSJ/UiX3VlkjbTJjtom2ZF1ah0HCCx5qDWpzdGyfz04lkWzfsbN1p+nOdZm8aerFr7VjuX
XrWxh96dI8zwMvi2GtxorCxtEro/97U00jpfVl9XHb4enqZLYSFwTQWgaTxKyntJc21Gd93noLy+ilN9B+ErI8udSquDrQ+Ypkblvar/fllc6PvrUpUq+OkC
fj4m2fWYrGpVpjtp1VxAqrJxtt6LD4EPEFP46KPwflGIPSV6inkNIjDhx0BmgLjhbYq7IGc4K+e8ROwzKsRo8SbOwu3vAWOC4vFtKj5N+Acs4cOpXJfLQkgp
CyGQGUvzhjPzXgoiyAhGEEsEMTJpDPl/lBeK2aPtbcUs/3K1OV0INHz7uS3VzmS6mD6E3eeTCcTm9LlaEoC9h7D13JzcXhZzT/2lsyAnHAVv96zCQ1Lpm5wL
gZsF+GLB7yGcT96jf5PA/XsGzlAA4fu/cK4VHzzW/v+3Bvz8eHp9ySfXK9dvbSiXNpveAZ0NjrY+urZqf+IePnaGZa7cLG7wy6Yv8rc0eeCGzIxyhfL0VV9A
rS6G6zOPbTO29sfPJ9/NmEWQWQhZLY81Xqt082BBoZ7t/CfLMDEGE0MwMQzDSCyCji8wfIHhCwhfQPiCjM/p+BzD5xg+h/A5hM/J+IyOzzB8huEzCJ9B+IyM
H9HxIww/wvAjCD+C8CMqfkimDyH4EGIPEfQQIQ+p4PRlx1YdW3RozaElJ684Pd2xbMeSHcp1KNXJmU4v81iVx4o8VOOhEk+u8PTtHdvdsc0d2tuhrZ28s9Pb
Oqyrw5o6qKeDWjpyR7chg2O9OdaaQ5051JhvqOBbCGMLYWwRjO08Rtc9uj8OprxLH1WZ/wHkj99xXSAAAA==
Crossing is ok but what if you stand on the track and a train arrives?taigcris wrote:You can make a safe crossing without the use of combinators, if the two signals are green (both rail signals are green) the gates is open but, one or more signals turn red o yellow the gates close. Gates are defined green=2
Yeah, in this case i'm die. I had thought about it ... but there should rarely happen ...brunzenstein wrote:Crossing is ok but what if you stand on the track and a train arrives?taigcris wrote:You can make a safe crossing without the use of combinators, if the two signals are green (both rail signals are green) the gates is open but, one or more signals turn red o yellow the gates close. Gates are defined green=2
The reliable detection range of gates is 2 blocks. That's why I added the inner gates to my construction.twepy wrote:The key of the safe rail crossing is the player detection range of the gates, as long as your within that range youre protected* outside that range you are game for any train. So its important to have gates at both sides of the track at the crossing to be within detection range the whole time.
Or you set the gate to closed when any signal at crossing exit is either yellow or red.twepy wrote:*However in my own tests ive noted that if a train already has reserved the block it will ignore the signal and continue on. So dont run into the crossing blind because there could be still a train coming through. To prevent that kind of situation it would require multiple layers of gates to make system detect you early enough to switch the signal to red to stop passing trains and trains that already reserved the block are past the crossing.
you can set the detection signals to be further out from the signals being controlled for a bit of leeway. you should still detect yellow and red conditions.Optera wrote:Or you set the gate to closed when any signal at crossing exit is either yellow or red.twepy wrote:*However in my own tests ive noted that if a train already has reserved the block it will ignore the signal and continue on. So dont run into the crossing blind because there could be still a train coming through. To prevent that kind of situation it would require multiple layers of gates to make system detect you early enough to switch the signal to red to stop passing trains and trains that already reserved the block are past the crossing.
You want the gates closed when the train is passing them not open just before it rushes throughratchetfreak wrote:you can set the detection signals to be further out from the signals being controlled for a bit of leeway. you should still detect yellow and red conditions.Optera wrote:Or you set the gate to closed when any signal at crossing exit is either yellow or red.twepy wrote:*However in my own tests ive noted that if a train already has reserved the block it will ignore the signal and continue on. So dont run into the crossing blind because there could be still a train coming through. To prevent that kind of situation it would require multiple layers of gates to make system detect you early enough to switch the signal to red to stop passing trains and trains that already reserved the block are past the crossing.
If you are standing on the track close enough to a gate wired into the network then your signal should turn red and the train should not run you over. If you set it up correctly then you should never get hit as long as you only cross/stand at the crossingsbrunzenstein wrote:There must be a way (mod) to determine the position of the player standing idle on the track via a pressure sensitive tile that stops the train just in case...