The International Simutrans Forum

 

Author Topic: Bug: Undergound train stations  (Read 270 times)

0 Members and 1 Guest are viewing this topic.

Offline accord2 pt

  • *
  • Posts: 234
  • Languages: EN, PT
Bug: Undergound train stations
« on: July 14, 2018, 03:24:41 PM »
I have noticed that Underground stations get the name from the surface station. If one is building a U station, and there are two different stations above, the platform of Underground station will be have two different names (or more). Instead they should get the name from only one connect stations (and all platform belong to one station instead of two or more stations)

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2596
  • Languages: EN
Re: Bug: Undergound train stations
« Reply #1 on: July 14, 2018, 04:34:30 PM »
This is a Simutrans engine limitation. A player can own only 1 stop per map grid. Multiple players can own their own stop on the same map grid, but each player can only own at most 1 per map grid.

When an underground platform is built each tile of the platform will belong to whatever stop is directly above owned by the player. If no such stop exists then it will belong to a stop found in the 8 surrounding map grid squares owned by the player with a bias to some squares. Standard platform extension mechanics apply, preferring to belong to stops on the same level at edge squares over those on different levels or corner squares. If none of this can apply then a new stop is made with a new automatically generated name.

It is important to note that platform length is only counted within the same stop. Even if it might look like a platform is 4 tiles long if the destination stop owns only 2 tiles of the platform the platform is 2 tiles long with the other 2 tiles of platform being effectively no platform as they are owned by another stop.

It is important to take these limitations into account when planning underground circuits. You cannot place underground stations in such a way that they would be directly under 2 different stops you own. In such a case you can either place the underground station somewhere else such as next to but not under 1 of the stops and under the other, or merge the two stops together into 1 big stop at the cost of larger transfer time.