The International Simutrans Forum

Development => Extension Requests => Topic started by: Fabio on January 01, 2010, 02:15:53 pm

Title: Preserving old buildings
Post by: Fabio on January 01, 2010, 02:15:53 pm
I was thinking that building with level higher than, say, 10 shouldn't be upgraded/replaced AFTER their retirement date. This would preserve, in long games, nice historical centres.
Also, their removal cost should be 3 times the current one for building of the same level.
Title: Re: Preserving old buildings
Post by: prissi on January 01, 2010, 02:35:03 pm
Isn't this also very eurocentristic, thinking of china (or old japan or korea or europa before 50 years) where historical building common were scrapped if there was enough money? Imho so stuff should be rather gained by tourist attractions.
Title: Re: Preserving old buildings
Post by: Dwachs on January 01, 2010, 02:42:33 pm
and you can also buy this building yourself ;)
Title: Re: Preserving old buildings
Post by: prissi on January 01, 2010, 03:21:42 pm
One could think of an additional flag for such buildings to preserve. But this makes only sense, if the city growth will be poerformed with timeline, which is not (yet?) done this way.
Title: Re: Preserving old buildings
Post by: skreyola on January 01, 2010, 07:04:43 pm
I think a historic center (add an option in simuconf.tab for those who don't want this feature) would be a great addition to the game.
Title: Re: Preserving old buildings
Post by: jonasbb on January 01, 2010, 08:20:32 pm
Maybe you could do this optionlike this:

#if this is 0 the function is deactivated
#elseit gives the number of years ...
years_for_replace_building=0
Title: Re: Preserving old buildings
Post by: skreyola on January 02, 2010, 01:38:31 am
How about this:

#if this is 0, buildings over a certain age will not be replaced, leading to a 'historic district'
#second option is what the game will consider historic (in years)
allow_replace_historic=0
historic_building_age=50.0
Title: Re: Preserving old buildings
Post by: MHD on January 03, 2010, 07:43:59 am
In German forum they told me, that this flag already exists.

Translated answer was:

Quote
"Flag exists starting from Rev. 2540. It is necessary to put the setting into menuconf.tab:

general_tool[35]=7,7,,

toolbar
  • [y]=general_tool[35]

x and y are numbers, which have to make sense, depending on the respective pakset."


Edit: In pak128 it is not included in the menus, but it is available by pressing "K" (no artwork for cursor and button so far)
Title: Re: Preserving old buildings
Post by: skreyola on January 04, 2010, 08:45:23 pm
Forgive me. I do not see the connection between that and the previous posts. Please explain.
Title: Re: Preserving old buildings
Post by: MHD on January 04, 2010, 10:41:53 pm
If you buy the building, you can preserve your city centre, because the AI will not change the buildings anymore. That's actually, what you wanted, isn't it?
Title: Re: Preserving old buildings
Post by: skreyola on January 05, 2010, 09:43:27 pm
No. What we've been discussing would happen automatically, and produce something like the historical centers (old town/stare miasto) you find in many of the older European cities.
The AI would replace like normal, but if a city got to the moment where it would replace a certain building, and that building was over a certain age, it would consider it a historic building and look for another tile to place a new building. So, if the historic cutoff were 50 years, and the city wanted to upgrade a building, it would replace it if it were 49 years old, but not if it were 50 years old.
My suggestion was to have two flags, one to determine if the city would replace 'historic' buildings, the other to determine (either in whole years or in years.months or in years.1/10years) how old a building needed to be to be considered 'historic'. Nothing like this exists in the game, AFAIK, and I have not personally seen a buy building option in the game ever (I use pak64, in case that makes a difference).
Title: Re: Preserving old buildings
Post by: MHD on January 09, 2010, 10:35:17 am
The 'buy building' option is a more or less hidden flag so far. It is accessible via pressing the 'K'-key.

More or less this is a manual function of something similar, you talk about. For this, you edit the historical city centre on your own. By buying the houses, the AI will never replace these buildings, unless you sell them back.
I think one of the non-easy aspects of your automatic function is, that you need proper dates of introduction and expiration dates of buildings. If you look, which different kinds of buildings can be built at a certain time in the game, the city centre would look really weird. (In fact, the buildings are alright, but the dates in the dat-file are sometimes strange).

But try out the key-option. I made good experience with it, leading to a similar result as you wanted.
Title: Re: Preserving old buildings
Post by: jamespetts on January 09, 2010, 11:41:07 am
Pak128.Britain, and, I think, the latest nightlies of Pak128 have a tool button for "buy building", but they are in a submenu, not the main menu.
Title: Re: Preserving old buildings
Post by: Amelek on January 09, 2010, 12:07:17 pm
wouldn't it be better to include buy button in object information window? Current implementation is pretty unintuitive.
Title: Re: Preserving old buildings
Post by: The Hood on January 09, 2010, 12:37:23 pm
wouldn't it be better to include buy button in object information window? Current implementation is pretty unintuitive.

That's a good idea.
Title: Re: Preserving old buildings
Post by: Fabio on January 09, 2010, 03:35:59 pm
wouldn't it be better to include buy button in object information window? Current implementation is pretty unintuitive.

i agree, too
Title: Re: Preserving old buildings
Post by: prissi on January 09, 2010, 03:54:46 pm
Then do not use it. Buying/preserving buildings is against a *transport* simulator. Doing so at your own fun. (And it is pretty easy to add a button for this.)
Title: Re: Preserving old buildings
Post by: skreyola on January 09, 2010, 04:40:30 pm
But buying up buildings is not the suggested extension.
I understand that this is a transport game, but I think the proposed extension would be a good flavor enhancement. Maybe it's not important enough for the core programmers to do it, but I think someone ought to take the idea and build a solution for it, because it would add flavor to the game.
Title: Re: Preserving old buildings
Post by: MHD on January 11, 2010, 04:30:51 pm
Just to point out, that in fact both requests do make sense in a transport game:

I use the idea of city centres/historical buildings for editing a scenario. When I spend much, much time to construct a nice city, then I also want to preserve that. This is the same as with AI road building, which you can, thanks god, switch off by the cityrules.tab.
More or less, Simutrans is for me not only a transport game, it is also a modeling game. :-)