The International Simutrans Forum

 

Author Topic: A bug? Town walls, hedges and alike are turned into railway crossings  (Read 245 times)

0 Members and 1 Guest are viewing this topic.

Offline wolfgang

  • *
  • Posts: 54
  • Languages: DE,EN
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?

Offline Leartin

  • Oh no, not him again!
  • Devotee
  • *
  • Posts: 1573
  • PAK-DEV P192C
  • Languages: DE, EN
Re: A bug? Town walls, hedges and alike are turned into railway crossings
« Reply #1 on: February 12, 2021, 09:04:30 PM »
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.

Offline Vladki

  • Devotee
  • *
  • Posts: 3711
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: A bug? Town walls, hedges and alike are turned into railway crossings
« Reply #2 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.

Offline Leartin

  • Oh no, not him again!
  • Devotee
  • *
  • Posts: 1573
  • PAK-DEV P192C
  • Languages: DE, EN
Re: A bug? Town walls, hedges and alike are turned into railway crossings
« Reply #3 on: February 13, 2021, 11:03:20 AM »
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.