The International Simutrans Forum


Author Topic: Building cost of diagonal way  (Read 308 times)

0 Members and 1 Guest are viewing this topic.

Offline Phystam

  • Devotee
  • *
  • Posts: 497
  • Pak256.Ex developer
    • Pak256 wiki page
  • Languages: JP, EN, EO
Building cost of diagonal way
« on: August 03, 2020, 09:53:05 AM »
Probably it is a traditional behavior from Standard, but it has an economical issue. See the following picture:

Diagonal ways cost as much as straight ways, although they have only 1/sqrt(2) length. I think that the way building costs (including the forge costs) must be proportional to the length.

Offline Freahk

  • Devotee
  • *
  • Posts: 1423
  • Languages: DE, EN
Re: Building cost of diagonal way
« Reply #1 on: August 03, 2020, 10:42:15 AM »
I suspect the current behavior is the best we can get, at least without redesigning costs of junctions and crossings.

Very bored people that want to save some money could then abuse this by buildind very many short diagonal tracks in parallel, then connecting the straight direction and getting rid of the junctions in between those parallel tracks.
Thus, they had built a double tracked straight line at the cost of diagonal ways.
« Last Edit: August 03, 2020, 04:43:03 PM by Freahk »

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20700
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Building cost of diagonal way
« Reply #2 on: August 03, 2020, 11:13:06 AM »
This is unfortunate. However, it is difficult to see any solution without a fundamental redesign of the code, since any given tile that is on a diagonal can be changed at a later time to be straight and vice versa without any rebuilding of the tile itself, so there is no reliable way of distinguishing which tiles are and are not diagonal at build time.