.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 February 21st, 2007 12:54 PM

Re: MapGen alpha release!
 
hmmm... try lowering the sea level and zooming in. right now, zoom is not relative to map dimensions. try zoom: .75;

paradoxharbinger February 21st, 2007 01:03 PM

Re: MapGen alpha release!
 
btw, mapgen works differently than the dom3 map generator. dom3 looks like it creates terrain around provinces, ie the provinces are created first and then terrain is stuffed in and around them. mapgen does it in reverse order, terrain is created and then provinces are stuffed into the terrain. i did this because i thought it would lead to a more natural result. if you've ever seen a big map made with dom3, there are usually billions of small mountain ranges and forests, because they put these things along province borders. as a result it looks like chaos.

DrPraetorious February 21st, 2007 01:56 PM

Re: MapGen alpha release!
 
As a rule it produces nice output.

However, I think that the topography (that produces oceans and mountains) is a little off.

It never produces cliffs (so no coastal mountains) and it seldom produces large, unbroken blocks of land. It looks like post-glacial terrain (lots of narrow lakes) even with the water-content set to the minimum.

It'd nice to make maps, for example, with one, roughly circular lake in them. Maybe just a few different fractal algorithms? The code that generates the land maps in Civ IV is freely available (as python code) if you want to take a look at some alternative fractal math.

This is something of a nitpick, obviously, and I'm not suggesting it should take priority over the other features you have planned. If you set the water content very low you get nicely balanced maps.

Keep up the good work!
--TNDP

DrPraetorious February 21st, 2007 03:47 PM

Re: MapGen alpha release!
 
Actually, that's an idea.

If the difference in the "height" of two adjacent province-centers is >X, you declare the border between those two provinces to be a mountain-border. It's impassable and both provinces get the mountain-bordered terrain. How would that work?

paradoxharbinger February 21st, 2007 05:15 PM

Re: MapGen alpha release!
 
that would be a good place to start for part of, but you have to ensure that it makes sense with how the map looks. at least one of the provinces would have to be mountain terrain. there might be more conditions that have to be satisfied for the image to make sense with what map file says.

btw, adding a new layer to the heightmap for lakes should not be too difficult, and may actually be able to replace one of the others. in that case, there would be little time cost for adding it, meaning maps would only take slightly longer to generate. this is on the back burner for now.

paradoxharbinger February 21st, 2007 05:58 PM

Re: MapGen alpha release!
 
that problem with the oceans is kinda bizarre, should not be acting that way.

DrPraetorious February 21st, 2007 06:42 PM

Re: MapGen alpha release!
 
1 Attachment(s)
Actually, I was wrong about the no coastal cliffs (or I just needed to move the mountain limit a bit.)

This is a map without about the right ratios of land:water, but the water is heavily fragmented.

It's still playable, but it'd be nice if all that water was in one or two seas.

Manuk February 22nd, 2007 05:50 PM

Re: MapGen alpha release!
 
there is something about changing switches. I made a map and played it including all nations of that era. some terrain are exactly what they are meant to be. Like theres provinces of two colors that are plains and forest at the same time or something like that.
But others are of some color and the terrain is nothing to do with that color.
Tried to make less water provinces and i think it worked but the map looked like there was a lot of water provinces that were in fact normal provinces (plains?), lots of capitols were in sea provinces (for what they looked in the rgb picture) but they were something else instead.

PS the wrap around and the province shapes look perfect. colors look fine.

paradoxharbinger February 22nd, 2007 08:14 PM

Re: MapGen alpha release!
 
yes, drP came across that bug, im fixing it for the next release, which will probably be this weekend

Ragnarok-X February 23rd, 2007 02:40 PM

Re: MapGen alpha release!
 
sorry but the initial post doesnt tell if this generator works for Dom3 as well. Does it ?


All times are GMT -4. The time now is 05:52 AM.

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