.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   new map generator (http://forum.shrapnelgames.com/showthread.php?t=30337)

paradoxharbinger October 24th, 2006 05:58 PM

Re: new map generator
 
here's how the sprites work now:
  • black is transparent
  • no pure white
  • all other colors 'pasted' to the map
  • the overall dimensions of the image are used for distance calculations, nothing fancy like looking at the actual image data. this helps for the clumping effect i was discussing earlier
  • 24-bit uncompressed tga
  • sprites are blurred after they are placed on the map with a pass of the gaussian blur

not sure how specific i need to be, i think that covers all of the major stuff without getting too technical. if you have a set of colors to use for the background you'd like to see used with them, send those along too. i'm sure your sprites will be better than the crap ones i put together in a few spare seconds.

btw, i think i may have found a compiler to handle mac/linux apps, havent looked at it yet though.

Agrajag October 25th, 2006 11:27 AM

Re: new map generator
 
Well, I tried, but I cam up with really lousy sprites, so I'll spare you the horror :\

paradoxharbinger October 25th, 2006 01:59 PM

Re: new map generator
 
oh well, i guess that my crppy ones will have to do for now. perhaps i will start another thread to request sprites from some enterprising artists.

paradoxharbinger October 25th, 2006 05:56 PM

Re: new map generator
 
ok i did start a seperate thread for the sprites here

paradoxharbinger October 26th, 2006 06:14 PM

Re: new map generator
 
i think that i may have come up with an algorithm for the 'clumping' effect i was discussing earlier, so that you can just set a flag for it, much like telling the mapgen to create a wrap-around map, instead of having to muck about with the sprites

paradoxharbinger October 27th, 2006 01:05 AM

Re: new map generator
 
also, i may have an algorithm for blending terrain types together along the borders. once i get the non-windows build of this running, i will try and implement these algorithms.

paradoxharbinger October 27th, 2006 01:17 PM

Re: new map generator
 
the blending algorithm will be able to blend together more than 2 terrain types, i believe, so if you have an intersection of swamp, farms, plains and forests, any sprites associated with those terrain types might show up there. i think that this sort of behaviour will have to be restricted from occurring with water though, and possibly mountains.

paradoxharbinger November 1st, 2006 09:18 PM

Re: new map generator
 
fyi, started to put in the dom3 terrain types

paradoxharbinger January 12th, 2007 06:31 PM

Re: new map generator
 
fyi, i put a new site together, wiki format. in my oppinion much easier to maintain and develop, which means it is updated pretty often. plus forums, much more storage and no bandwidth limitations. so the old one has been pretty much abandoned, link to the new one in my sig.

paradoxharbinger January 28th, 2007 12:01 AM

Re: new map generator
 
1 Attachment(s)
i am getting very close to releasing an alpha windows version of mapgen. but in the meantime, i'm going to post a few maps for all of you to play around with. right now there are no sprites, but the maps are playable.

this first is a 1600x1200, 294 provinces (176 land, 118 sea), wrap around.

as always, any comments are deeply appreciated.


All times are GMT -4. The time now is 08:34 AM.

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