Underpass rail-type bug.

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
EoRaptor
Engineer
Engineer
Posts: 2
Joined: 01 Jun 2004 09:36

Underpass rail-type bug.

Post by EoRaptor »

Actually, this is two bugs in one post!

I'll start with the major one. Rail passing under a bridge does not have to be the correct type for a train to pass over it. If you see the first screenshot (underpass-clear), you'll notice that the rails under the bridges are type monorail, while the attaching tracks on either side are type maglev. Maglev trains have no problem at all driving over the monorail track, and do so at full speed, as demonstrated in the second screenshot (underpass-maglev). You can use the rail conversion tool to 'swap' the rails under the bridge back and forth between monorail and maglev, and the trains don't seem to notice the difference. Convert a rail on another section of track, and the train stops as expected.

The second bug is how I discovered the first. If you use the rail conversion tool to convert long stretches of rail with drag and release, and that rail passes under more than one bridge, only the first bridge you encounter from where you started the drag operation will be converted. I did this, and didn't notice the rail hadn't converted until much later, when I went to update the lines that were using the bridges. The two bugs don't seem related beyond this, because switching the rails back and forth still has no effect on whether a train can pass. Not that the screenshots show both underpasses with monorail track, this is from me fooling around trying to figure out the extent of the bug. Originally, the bridge on the left converted fine when I did the drag and release.

I've also attached a savegame, if anybody wants to see it in action, though the rest of the map is a jumbled mess of me fooling with different station and rail arrangements.
Attachments
Cunthill Transport, 14th Apr 2036.sav
(123.77 KiB) Downloaded 185 times
underpass-maglev.png
underpass-maglev.png (15.4 KiB) Viewed 2715 times
That's not right.
That's not right.
underpass-clear.png (14.21 KiB) Viewed 2715 times
Prof. Frink
Tycoon
Tycoon
Posts: 3849
Joined: 20 Jan 2003 14:51
Location: Broadstone, Dorset
Contact:

Post by Prof. Frink »

This is an old bug from TTD. Also applies to rail on level crossings.
mispunt
Traffic Manager
Traffic Manager
Posts: 213
Joined: 05 Apr 2004 08:38
Location: Ede, The Netherlands
Contact:

Post by mispunt »

I had the same problem yester when converted the normal rail to monorail. but when I did it for the second time it just did what it should.
EoRaptor
Engineer
Engineer
Posts: 2
Joined: 01 Jun 2004 09:36

Post by EoRaptor »

Prof. Frink wrote:This is an old bug from TTD. Also applies to rail on level crossings.
Ah, so it's tied to the collision code. I don't know if it'll be easy to fix then. Maybe, eventually, OpenTTDS can have both a simple and a strict mode, one that allows the old TTD niceties, and one that is anal retentive about this stuff.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 28 guests