Eddi wrote:
use the patch setting "yapf.rail_pbs_signal_back_penalty" to change this, default appears to be 2500 (equals 25 tiles, but the length of acceptable detours are different, depending on other penalties like curves)
It's rather high currently, I think I will lower this penalty in the next version. I initially chose such a high value because the first patch didn't have one-way pbs signals, only extra no-entry signals. As this isn't the case anymore, a lower default is better I belive.
YukonRob wrote:Great work. One thing I would like to see tweaked; when I have it set to build advanced signals (vs one way advanced signals) could it cycle through the signals the same way as regular signals (ie. 2 way, 1 way, 1 way)? When I build under bridges or behind buildings I am always putting in the wrong signal because I can't see what I am doing and the click order has changed.
The click order hasn't really changed, the signals starts as if you had clicked once already. Changing this to default two-sided signals means you will almost always have to click extra, as two-sided pbs signals are not very usefull.
YukonRob wrote:
I also tend to get a lot more 'train x is lost' messages, is this do to your pathfinding? Or my poorly designed network?
I didn't modify the core of the pathfinder, so if a path was found before, it should still be found. A factor might be that trains will follow their reservation, even if it is not the optimal route. Depending on your network, this might have a detrimental effect on the pathfinder.
YukonRob wrote:
PS - I also love the (un?)intentional side effect of forcing trains into depots when the track does get backed up.
It's a side-effect of how the pathfinder works. Each tile is assigned a cost for passing through, and the path with the least cost is selected. Each reserved track passed has a cost, and a path through a depot another. If the cost of the depot is less, it will be chosen. It's not really intended, it's just the way the pathfinder works.
Eddi wrote:
Solution: when reserving a path, reserve the target signal tile as well [the old PBS patch did that]
Known problem with paths to non-pbs signals, will be fixed.
-- Michael Lutz