The International Simutrans Forum

 

Author Topic: Older city buildings on map creation  (Read 3467 times)

0 Members and 1 Guest are viewing this topic.

Offline The Hood

  • Devotee
  • *
  • Posts: 2889
  • pak128.Britain developer
Older city buildings on map creation
« on: July 06, 2009, 06:11:30 PM »
Quite a simple one really - at the moment when a new map is created, cities are entirely built from buildings that are available in the starting year.  What I propose is on map creation (NOT founding a new city after map creation) that all city buildings that are of the starting year OR OLDER can be used - this would mean more varied cities that give the impression of age (e.g. if you started in 1950 you would then be able to see 1800s buildings).

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18688
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Older city buildings on map creation
« Reply #1 on: July 06, 2009, 08:31:11 PM »
This is a jolly good idea :-)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9512
  • Languages: De,EN,JP
Re: Older city buildings on map creation
« Reply #2 on: July 06, 2009, 08:43:37 PM »
Yes, it is considered; but it would need additional pak set parameter. Maybe in cityrules.tab, like earliest starting year for growth and so on.

Offline The Hood

  • Devotee
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Older city buildings on map creation
« Reply #3 on: July 06, 2009, 09:53:42 PM »
@prissi, I'm afraid I don't understand what additional parameter is necessary?  Could you explain more please?  I was thinking that for map creation in year x, all buildings with retire year <=x can be built.  For growth in game, or cities built by the player in game, at year y only buildings with start year >= y and retire year  <= y should be built.  In my idea, all the parameters are currently in the pak, unless I'm missing something?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9512
  • Languages: De,EN,JP
Re: Older city buildings on map creation
« Reply #4 on: July 07, 2009, 02:15:24 PM »
Normally pak's highest level changest with time. As a result the center will be usually always with the newest buildings, even though though older are still there. This effect would be lessen when, for instance, growthd start at 1471 and is done each year according to the final number.