Breakdown tolerant tracks

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

odalman
Engineer
Engineer
Posts: 37
Joined: 07 Jan 2020 01:46

Re: Breakdown tolerant tracks

Post by odalman »

On the positive side, the traffic actually flows in the case that I tested and it only takes up a width of 2 tiles. However, something preventing a train from cutting in front of another train is still the most badly needed functionality. Also, the pathfinder might not recognize the difference between a train at full speed versus a broken down train ahead in a lane. Or did I just not notice it? If a train has a choice of 2 lanes with a train ahead in each, it should choose to come behind the one with highest reliability, all else equal. I tested for a while with 4 backwards signals after each crossover but it did not noticeably discourage lane changes.

Oncle Boris
Engineer
Engineer
Posts: 9
Joined: 24 Oct 2011 14:55

Re: Breakdown tolerant tracks

Post by Oncle Boris »

odalman wrote:
18 Jan 2020 22:44
On the positive side, the traffic actually flows in the case that I tested and it only takes up a width of 2 tiles. However, something preventing a train from cutting in front of another train is still the most badly needed functionality. Also, the pathfinder might not recognize the difference between a train at full speed versus a broken down train ahead in a lane. Or did I just not notice it? If a train has a choice of 2 lanes with a train ahead in each, it should choose to come behind the one with highest reliability, all else equal. I tested for a while with 4 backwards signals after each crossover but it did not noticeably discourage lane changes.
Since there are back facing signals every nth-tile on both tracks I'd suspect yapf applies a similar penalty to both lanes, thus making both options equal and triggering unpredictable train behavior.

odalman
Engineer
Engineer
Posts: 37
Joined: 07 Jan 2020 01:46

Re: Breakdown tolerant tracks

Post by odalman »

Yes, the signal length was a problem. Here the amount of forward signals is doubled:
Image
It seems to work better.

Eventhough the pattern of track and signals is symmetrical, the idea is that for any finite distance that the pathfinder looks ahead, there will be at least as many backwards signals in the other lane than in the current lane.
Attachments
doubletrack_Tafidis_with_double_signal_density.png
(173.73 KiB) Not downloaded yet

Oncle Boris
Engineer
Engineer
Posts: 9
Joined: 24 Oct 2011 14:55

Re: Breakdown tolerant tracks

Post by Oncle Boris »

So with this design you've posted, reducing signal length, trains aren't reserving a path anymore through the switcher, allowing trains on the other line to block them should the pathfinder fancy a lane change.

Afdal
Engineer
Engineer
Posts: 4
Joined: 09 Apr 2013 22:09

Re: Breakdown tolerant tracks

Post by Afdal »

Here's how I would do it, if I were mad or playing with the Clipboard patch that lets you copy and paste designs:
Image
High-speed shifters for 3-tile-long trains, at their highest density.
Attachments
OpenTTD-3-tile-shifter-maxdensity.png
(145.34 KiB) Not downloaded yet

Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: astralmati and 10 guests