News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

A bug? Town walls, hedges and alike are turned into railway crossings

Started by wolfgang, February 12, 2021, 08:51:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wolfgang

Hello,

if you keep the mouse button pressed while you're building a hedge, a town wall, heating pipes or something simular, and if you drag the building tool across a road, the hedge will be turned into a railway crossing on that road. :)

If your building tool crosses a railway track, you will end up with a crossing of two railway tracks.

Is this a known bug?

Leartin

Internally, such decorative elements are defined as railway tracks, as there is no dedicated 'wall' object. It can only be 'fixed' in so far as it's possible to define them as maglev or monorail, waytypes that usually don't have crossings and are sparsely used in general, hence conflict is less likely. Hedges and walls would still create intersections with each other though.

Vladki

I always wondered if it would be possible to create railway crossing that would look like a gate in city wall, and code it so that it will be used automatically to cross the city wall coded as special railway.

Leartin

Quote from: Vladki on February 12, 2021, 09:44:38 PM
I always wondered if it would be possible to create railway crossing that would look like a gate in city wall, and code it so that it will be used automatically to cross the city wall coded as special railway.
It should be possible now, abusing the new crossing speed limitations. The lowest speed crossing at or above the speed of the ways should be used, so a crossing that has zero railspeed should be chosen given the wall is at zero speed as well. One could also use the max speed of the wall to differentiate between visually distinct walls, with the issue that it would allow trains to actually use them as very slow ways - again solved by making the ways maglev or monorail or whatever isn't used or used the least in a given pakset.