Author Topic: Introduction after retirement?  (Read 1934 times)

0 Members and 1 Guest are viewing this topic.

Offline jameskuyper

Introduction after retirement?
« on: August 26, 2013, 12:09:20 PM »
I found the following in way/roads.dat:
Quote
Obj=bridge
name=ClassicRoad
waytype=road
copyright=Hajo
cost=20000
maintenance=2000
topspeed=80
max_lenght=7
intro_year=1920
retire_year=1919
What does it mean when the intro_year is after the retire_year? The effect seems to be that it is not available in any year. If so, why is it even there?

Also, I would assume that it's too late to correct the typo in max_lenght? I cannot imagine that it's remained unnoticed for all this time, so I assume that it's impractical to fix it, for reasons of backwards compatibility?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4861
  • Total likes: 201
  • Helpful: 108
  • Languages: EN, NO
Re: Introduction after retirement?
« Reply #1 on: August 26, 2013, 04:14:41 PM »
As I understand it, I might even have been told it when bringing up this earlier, this type of bridge is no longer officially part of pak64. It is just present so that old games using it still work.

It is possible to fix the typo. Makeobj reads both the right and the wrong spelling. I'm not so sure about other third-party tools operating directly on the dat files, though.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • Total likes: 7
  • Helpful: 91
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Introduction after retirement?
« Reply #2 on: August 26, 2013, 04:17:43 PM »
Wouldn't it be better to use compat.tab settings to make older saves load officially supported bridges of closely matching speed and design?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4861
  • Total likes: 201
  • Helpful: 108
  • Languages: EN, NO
Re: Introduction after retirement?
« Reply #3 on: August 26, 2013, 04:57:02 PM »
Maybe there was no compat.tab back then. Someone more knowledgable about Simutrans' history will have to answer that.

I think there are a few other strange things in pak64, like graphics without a dat file. There are also a couple of industries that will never appear in new games.

Offline kierongreen

Re: Introduction after retirement?
« Reply #4 on: August 26, 2013, 05:21:51 PM »
I think this was purely for compatibility. Another way this can be done is to have no icon graphics.