Road crossing PBS-signaled rail

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
Maninthebox
Engineer
Engineer
Posts: 113
Joined: 08 Aug 2008 11:35
Contact:

Road crossing PBS-signaled rail

Post by Maninthebox »

While running OtviAI and OtviTrAIn in one game I noticed that the busses/trucks were getting enormous amounts of delay and huge traffic jams caused by the road crossing a rail track. The rails in otvitrain are still very simple: two stations with pbs signals at the exit of the stations and rail without further signals in between (I do not deploy more then one train one a route atm, so this works fine). The railroad crossing go on red as soon as a train leaves the station and reserves the track all the way to it's endpoint which might be 250 or so tiles away. All road crossings on that path are closed until the train passed. Is this really the intended behaviour? Is it up to the "niceness" of the train builder how long a bus/truck has to wait before being able to cross his tracks?
deepblue2k8
Engineer
Engineer
Posts: 44
Joined: 06 Sep 2008 12:41
Location: Hamburg, Germany

Re: Road crossing PBS-signaled rail

Post by deepblue2k8 »

Actually it is, if you build PBS signals the whole path to the next signal is reserved and therefore crossings are closed for road vehicles.
This can be used to build safer road crossing by widening the gap between signals at a road.

The other option would be to build just normal signals on those tracks.
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Road crossing PBS-signaled rail

Post by Bilbo »

Well, it is not problem specific to AI. While this often mean unnecessary blocking (if the gap is too long), it increases safety of crossings - the crossing is now actually useable instead of being a slaughterhouse once train speeds reached above 80km/h.

Still, if there are signals just right before the crossing, the results still will be a bit crashy :)
If you need something, do it yourself or it will be never done.

My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility

Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: Ahrefs [Bot] and 22 guests