Warn if Map Generation settings will break anything

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 6663
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Warn if Map Generation settings will break anything

Post by Redirect Left »

This is a follow on from this thread, where I helped someone fix an industry issue.

It'd be nice if the map generation screen had a red box present somewhere if your current settings would, or would likely break something. IE: in the issue above, the settings were so that a farm was incredinbly unlikely to spawn in the given settings, breaking that industry chain. Other potential issues are if your map is configured to generate no water, you could display "These settings will render boats unusable".

Would be a cool addition, and stop people getting into pickles like in the original thread I linked to. It was kinda lucky i had time to play about with settings and try to identify why farms were acting odd for them.

I understand this will be based upon guess work, as there's no way for it to know what the end generation will be, but there are 'cues' so to speak that may trigger issues with certain industries or game aspects either way.
Image
Worst Behaved IRC Member of 2008, 2009 & 2010 - Go Me!

User avatar
jfs
Tycoon
Tycoon
Posts: 1200
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Warn if Map Generation settings will break anything

Post by jfs »

This could be doable for default industries, but if you have any NewGRF industries it's impossible to do anything sensible. (Apart from actually trying to generate the entire map, actually build towns, and actually place industries.)

Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4762
Joined: 09 Sep 2007 05:03
Location: home

Re: Warn if Map Generation settings will break anything

Post by Alberth »

First steps here would be to extend NewGRF so it can provide information what it needs. Currently many of the interfaces are "try using the service, and if it fails, it doesn't work" without providing any computer-readable information how or why.
Being a retired OpenTTD developer does not mean I know what I am doing.

Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 3 guests