.com.unity Forums

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

paradoxharbinger August 21st, 2006 11:39 PM

Re: new map generator
 
right now, all of the colors are just placeholders for debugging and will be chosen with more care according to the sprites that are going to be placed in each respective area. the final colors will probably look similar to the ones in that older map i put up that already had the sprites.

paradoxharbinger August 29th, 2006 12:36 AM

Re: new map generator
 
been pretty busy lately, just started a new job and was out of town for a while. will have some updates this weekend, hopefully province borders will be in.

paradoxharbinger August 30th, 2006 10:14 PM

Re: new map generator
 
1 Attachment(s)
it's half way there, here's some provinces for ya. hope to make it so that water provinces can be made to be a different size than land ones, maybe another screen later. also expect boundaries to be smoothed out like the terrain type boundaries were.

paradoxharbinger August 31st, 2006 12:45 AM

Re: new map generator
 
1 Attachment(s)
here's one with water provinces larger than land ones. and i'm outta here for the night

Agrajag August 31st, 2006 03:46 AM

Re: new map generator
 
Looks pretty cool, keep up the good work.

Gandalf Parker August 31st, 2006 01:17 PM

Re: new map generator
 
A) Did you look at DomMap? Thats the generator that was mostly used in creating random maps for Dom2. The source code is available and a number of people worked on improvments. It is very configurable with tons of switches for how much of any terrain and color choices and amount of blur etc. But I did have a long list of wants that never got put in. I run daily maps off of it here....
http://www.dom2minions.com/~dominion...andomMaps.html
All 3 color schemes are done by the same program

B) your options are very needed. Especially the surrounded by water, islands, and wrapping.

C) will this be raw code? or something that can run on linux?

D) Would you like the new terrain math? For the terrain settings to put in the map?

E) will the output image be tga or rgb?

F) GIMP does generate really nice random maps, its free, scriptable, and works on all of the same operating systems that Dom3 does. But Im not sure how easy it would be to write a read/interpret program to create a .map file to go with it.

I have some programs for doing things like assigning reasonable names to provinces (forest names, ocean names, etc). And some for going into scenario work such as special provinces with magic sites, natives, monsters, terrain that all match. Also some for scattering castles, monsters, assiging random AIs that are allied against you, giving AIs special gods, etc. You can check out alot of that at www.dom3minions.com

Nice project. Good luck with it.

Gandalf Parker

paradoxharbinger August 31st, 2006 08:46 PM

Re: new map generator
 
gandalf,

a) i have seen dommap, and it was actually the reason i decided to embark on this project. i was looking for something to help me learn the c++ language, and it has done just that, as well as expand my knowledge of win32 programming. the color scheme i am using is not final, and eventually will be user defined.

b) these will be implemented eventually, but right now i am concentrating on regular maps, as the algorithms for the others are just more complex versions of the others. sprites are next up on the list, after i tweak the province algorithm a bit. in the distant future there is hope for a random name generator of my own design. it has already seen the light of day, it just isn't in the mapgen now, there are more imprtant things to implement.

c) as far as porting this to another OS, right now i have a windows pc, and that is what the gui for the mapgen is programmed for. it would not be too difficult to generalize the code to run from the console, so that anyone could compile the code (i think). i want as many people to be able to use the mapgen as possible, but i'm limited to the tools i have at hand.

d) the math used for generating the terrain is already finalized, i have only to tweak a couple of constants here and there. rivers aren't just painted on the way they are in other maps, mine are part of the heightmap algorithm.

e) the image output is currently tga, soon to be RLE tga.

f) i tanlged with gimp when i first started this project to get some sprites. it is not an experience i wish to repeat.

NTJedi September 1st, 2006 02:15 PM

Re: new map generator
 
Great Work paradoxharbinger !!

paradoxharbinger September 4th, 2006 06:26 PM

Re: new map generator
 
i found and resolved a massive memory leak today. apparently you cannot use commas to chain delete commands.

paradoxharbinger September 6th, 2006 10:09 PM

Re: new map generator
 
hey everybody. since i started this thread, i've been using it as the main means of dispensing information to the community adn have completely neglected the website i had set up for the mapgen. i finally made an update to the site and you can find some new screens there. the link's in my sig, enjoy.


All times are GMT -4. The time now is 01:04 AM.

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