The International Simutrans Forum

 

Author Topic: Missing slopes/ramps for half height paksets  (Read 1210 times)

0 Members and 1 Guest are viewing this topic.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Missing slopes/ramps for half height paksets
« on: October 11, 2013, 09:10:24 AM »
Some paksets (new Pak128 for one) could/will choose not to provide full slope for certain way types (or for certain ways, anyway).
For old savegame conversion purpose, if would be useful if missing images would be fetched in the nearest speed way/bridge providing it.

Example 1
Pak128 roads will have both heights, excepting expressways (i.e. roads faster than 90km/h).
Savegames with a 130km/h expressway climbing a full slope would use 90km/h images limited to those slopes.

Example 2
No Pak128 tracks will have full height support.
A hidden 80km/h railtrack could provide full slope support for older savegames.

This should work with both missing (Front)ImageUp2
  • and (Back/Front)Ramp2.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5564
  • Languages: EN, NO
Re: Missing slopes/ramps for half height paksets
« Reply #1 on: October 11, 2013, 09:55:23 AM »
There should be a warning if such conversions happen. The fact that something that exists in one savegame (a converted game) is impossible in another game (a new game) will confuse some players.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Missing slopes/ramps for half height paksets
« Reply #2 on: October 11, 2013, 03:09:19 PM »
Hello Fabio & Ters
Here in Germany gives three expressways they go nearly a full slope up.
And three railwaylines they go up a full slope gives it too.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9595
  • Languages: De,EN,JP
Re: Missing slopes/ramps for half height paksets
« Reply #3 on: October 12, 2013, 08:07:09 PM »
Aboit Fabios first post. Just include exactly the same way twice, once with all images but not icon under the old name and once with only half height and icon for the new one. The ways will be correctly replaced, but cannot be built any more. Since Simutrans merges identical images on load, it will only cost four images ...