Ooh! This is the first suggestion topic I've actually seen go anywhereZephyris wrote:http://hg.openttd.org/openttd/trunk.hg/rev/c3959fffa40a
I am looking forward to the nightly!
[Idea and Method] Improved heightmap generation
Moderator: OpenTTD Developers
Re: [Idea and Method] Improved heightmap generation
- cmoiromain
- Chief Executive
- Posts: 655
- Joined: 15 Jan 2007 21:45
- Location: FRANCE
- Contact:
Re: [Idea and Method] Improved heightmap generation
Then maybe you should have a better look.
I am little, ugly, and nasty. How do you do?
- Firestryke31
- Engineer
- Posts: 17
- Joined: 22 Aug 2009 02:53
- Location: Throw a dart at central Texas
- Contact:
Re: [Idea and Method] Improved heightmap generation
Could this be extended to provide some kind of "archipelago" map? I've been wanting to play games where there are a bunch of medium-sized islands instead of one big continent and the current map generator is, well, not too good at specifying that. I've gotten close, but it's always taken "generate map, check it out, find no suitable islands, quit, rinse, repeat." I think more options for the map generator is always a good thing as long as they're kept at sane default values.
"Why were you late?"
"There was a train."
-- Conversation between 2 New Braunfelians
"There was a train."
-- Conversation between 2 New Braunfelians
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: [Idea and Method] Improved heightmap generation
There are water level definitions somewhere in the tgp.cpp assigning water percentages to each water level setting. IIRC I also made a patch for this adding one or two water level setings some (long) time ago. But it is really easy to change yourself.Firestryke31 wrote:Could this be extended to provide some kind of "archipelago" map? I've been wanting to play games where there are a bunch of medium-sized islands instead of one big continent and the current map generator is, well, not too good at specifying that. I've gotten close, but it's always taken "generate map, check it out, find no suitable islands, quit, rinse, repeat." I think more options for the map generator is always a good thing as long as they're kept at sane default values.
Re: [Idea and Method] Improved heightmap generation
Congrats on the inclusion! That's really a great feature
Re: [Idea and Method] Improved heightmap generation
I use a slightly modified version of CommanderZ's patch to allow selecting the percentage of water you want from 2%, 10%, 25%, 33%, 50%, 66%, 75% and 90%. Of course you won't get that exact percentage of water after map generation but only an approximation. The resulting islands weren't grouped together; I haven't tested this new feature along with islands but I think their placement will be improved too.
- Attachments
-
- more_map_settings_r18582.diff
- (5.42 KiB) Downloaded 87 times
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Who is online
Users browsing this forum: No registered users and 12 guests