Re: random map topography, was: AlpineClimate version 0.2 released

Michael Blunck <[email protected]> Tue, 16 May 2006 13:35:09 +0200
Newsgroups gmane.games.ttdpatch.general
Message-ID <[email protected]>
Uwe Domaratius wrote:

>> [...] the 'random' map generator [does] generate
>> the same map every time (for artic or in this case alpine) :(.

> Is there a way to get a map with a smoother transition from flat to 
> mountainous, [...] And it would also be nice to replace the 
> temperate lonely mountains by the massive mountainous areas of the 
> arctic climate if mountainous terrain is selected. Is that possible to 
> do in some way?

I don´t know if that could be achieved by some new clever TTDPatch
enhancement. :)

All I know (by a notification of Marcin Grzegorczyk) is that a special
function ("GenerateRandomGame") uses sprites [52 ... 88] from
"trgi.grf". These sprites are height maps and used to generate landscape
shapes when overlaid (or mirrored?) at random locations.

Here´s an old screenshot which shoes the result of exchanging one of
those height maps with a "crater" map:

http://www.ttdpatch.de/craters.png

In conclusion, it´s simply possible to exchange any of the existing
height maps with newly created ones. However, it´d be much more clever
to check out the mode of operation of that said "GenerateRandomGame"
function (i.e. its random placement of tiles).

regards
Michael

--
TTDPatch mailing list.  To unsubscribe from the list, send an email to
[email protected] with the body (not the subject) of the
email containing only the word "unsubscribe" (without the quotes).
For more info please see http://www.ttdpatch.net/maillist.html