Road Railroad intersection train crashes vehicles

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Finglor
Engineer
Engineer
Posts: 1
Joined: 30 Dec 2006 12:30

Road Railroad intersection train crashes vehicles

Post by Finglor »

The topic says it all.
I have railroad and road intersection.When a trains is passin the vehicles wait for it to pass but when a vehicle is passing the train justs crashes them and i lose my vehicle is there a way to prevent this?
Currently i have to make a bridge to prevent it :(
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

Placing bridges is the only way, however you can also configure the pathfinder to avoid those level rail crossings like the plague.

Depending on the pathfinder you use, increase road_crossing_penalty (YAPF) or npf_crossing_penalty (NPF) to something large like 100000. This will make it very unlikely for road vehicles to cross rail using level crossings, as they will take almost any bridge/tunnel route to the destination it can find.
User avatar
Griff
Tycoon
Tycoon
Posts: 4984
Joined: 15 May 2005 15:46
Location: Peterborough, United Kingdom

Post by Griff »

You can tunnel underneath as well...
Ukončete, prosím, výstup a nástup, dveře se zavírají
Mr. Wednesday
Engineer
Engineer
Posts: 25
Joined: 15 Dec 2006 21:58
Location: South Bend, IN, USA

Post by Mr. Wednesday »

Longer term, it would be nice if a multitrack crossing could show red all the way through when any one track is in use, instead of (as happens now) only showing red for the specific track(s).
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot] and 6 guests