NewGRF Idea: Decaying City

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Post Reply
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

NewGRF Idea: Decaying City

Post by kamnet »

Just a quick thought that went through my head, that I don't think I've seen proposed before.

A NewGRF which replaces the base house and office buildings with decayed, crumbling buildings if a town isn't regularly serviced.
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: NewGRF Idea: Decaying City

Post by Kogut »

AFAIK it is impossible (newgrf is unable to check whatever a town is regularly serviced.).
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: NewGRF Idea: Decaying City

Post by Yexo »

A house NewGRF can check the percent passengers/mail transport this month/last month. So it could show crumbled houses when there are no passengers transported last month nor this month.
Terkhen
OpenTTD Developer
OpenTTD Developer
Posts: 1034
Joined: 11 Sep 2008 07:32
Location: Spain

Re: NewGRF Idea: Decaying City

Post by Terkhen »

You can also use town persistent storage to store more stats and information. Houses can then check it to decide their state.
User avatar
lawton27
Tycoon
Tycoon
Posts: 1418
Joined: 03 Aug 2009 14:29
Location: Manchester

Re: NewGRF Idea: Decaying City

Post by lawton27 »

I think this could be well implemented in existing newGRFs :) Personally I think run down / derelict wouldn't look too great if it was constantly changing.

It would be nice to see at the start of the game all towns only have small houses and will only build small houses unless the town is provided with transportation. The town can then choose to build progressively bigger buildings as more and more passengers are transported. This would require no new graphics and would be nice as a parameter option in certain sets, Hint* Hint*... :)

Along the derelict line perhaps if a town revives no service in a year or so the 'large' buildings (ie those that only could be built if transport was provided at some point) could become derelict :)
Michi_cc
OpenTTD Developer
OpenTTD Developer
Posts: 619
Joined: 14 Jun 2004 23:27
Location: Berlin, Germany
Contact:

Re: NewGRF Idea: Decaying City

Post by Michi_cc »

Terkhen wrote:You can also use town persistent storage to store more stats and information. Houses can then check it to decide their state.
Yeah, combined with callback 0x148 there's a lot you could do.
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: NewGRF Idea: Decaying City

Post by Kogut »

Michi_cc wrote:
Terkhen wrote:You can also use town persistent storage to store more stats and information. Houses can then check it to decide their state.
Yeah, combined with callback 0x148 there's a lot you could do.
Is it possible to check delivery of food/goods/etc?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: NewGRF Idea: Decaying City

Post by planetmaker »

Kogut wrote:
Michi_cc wrote:
Terkhen wrote:You can also use town persistent storage to store more stats and information. Houses can then check it to decide their state.
Yeah, combined with callback 0x148 there's a lot you could do.
Is it possible to check delivery of food/goods/etc?
You can in principle check for any cargo being delivered: http://newgrf-specs.tt-wiki.net/wiki/Va ... s_.2864.29
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: NewGRF Idea: Decaying City

Post by Hyronymus »

Do cities actually decrease in size when they had a good service and lose that service?
Eddi
Tycoon
Tycoon
Posts: 8267
Joined: 17 Jan 2007 00:14

Re: NewGRF Idea: Decaying City

Post by Eddi »

towns have a growth rate based on number of active stations, and a decay rate based on number of houses (and their lifetime).

towns will shrink if the latter is larger than the former.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google Adsense [Bot], Owen-Alexander and 32 guests