.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #34  
Old January 11th, 2004, 02:07 AM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: Maps available

I had a look at the code for the dommap generator. It isn't too hard to read, and changing the way it works would be fairly easy - in fact, I'm seriously thinking of adapting it so it at least works with dom2.

Still - it's mainly building a random elevation/richness map, and cutting it up into small provinces. I'm not sure I like the way it handles province capital placement, but it seems to work fine, so let's not mess too much with that...

But, the maps it produces don't have the nice feel that the original dom2 maps have: pixel color in dom1 is supposed to indicate terrain, while in dom2 it's totally irrelevant (except the white dots), so I'm not sure what to do about it. In fact, I believe the right thing to do would be to have Gimp do the final touches, but if Gimp can be batch-programmed, I don't know how, and I'm NOT rewriting dommap in scheme as a Gimp plugin from scratch (which, anyway, wouldn't be as portable as C).

I'll try to add my pet feature, which would be to make it able to produce the same map at various resolutions. It should be reasonably easy (as it is now, if you make two maps with different sizes, but the same width/height ratio and the same random seed, you get two different maps, but the coastlines (and, in fact, elevations) are essentially the same).
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.