The International Simutrans Forum

 

Author Topic: Tram lengths  (Read 176 times)

0 Members and 1 Guest are viewing this topic.

Offline Freahk

  • *
  • Posts: 577
  • Languages: DE, EN
Tram lengths
« on: February 07, 2020, 04:41:40 PM »
Most UK trams have a length of slightly (1-3m) more than the graphics scale of 30m.
Due to the tile nature of simutrans these will require two full tiles.
I have shortened the last car of any tram up to 33m to fit into a single tile.
Otherwise there are only exactly two trams in the whole pakset that fit into a single tile. Now any, except for CAF edingburgh(42.8m), siemens-duewag supertram(34.8m) and sheffield Vossloh Tram-Train(37.2m) should fit into a single tile.

However, for some reason they still display as 2 tiles in the depot although their summed-up length is exactly 16=1tile and observating track reservations, they can fit into a single tile. When assigning a single tile station, they will however complain.

The changes can be found there: https://github.com/irgend42/simutrans-pak128.britain/commits/tramLength

Offline Ranran jp

  • *
  • Posts: 659
  • Languages: ja
Re: Tram lengths
« Reply #1 on: February 11, 2020, 11:53:24 AM »
Quote
However, for some reason they still display as 2 tiles in the depot although their summed-up length is exactly 16=1tile and observating track reservations, they can fit into a single tile.
The tiles display is always correct but the length and tiles may not match.
5+5+5 is not 15 but 18. 16 + 0 is not 16 but 24.
So this fix is meaningless.
See below for details.
https://forum.simutrans.com/index.php/topic,18496.0.html
https://forum.simutrans.com/index.php/topic,3376.0.html

Offline Freahk

  • *
  • Posts: 577
  • Languages: DE, EN
Re: Tram lengths
« Reply #2 on: February 11, 2020, 12:11:47 PM »
I have noticed and pointed out that it is currently useless.

That far from intuitive length calculation needs to be fixed and once it's fixed it will work.
« Last Edit: February 11, 2020, 12:49:55 PM by Freahk »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19273
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Tram lengths
« Reply #3 on: February 14, 2020, 10:28:20 AM »
I have noticed and pointed out that it is currently useless.

That far from intuitive length calculation needs to be fixed and once it's fixed it will work.

The length calculation system is unchanged from Standard so far as I am aware.