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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old March 4th, 2007, 02:43 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: new map generator

On my maps I consider any province with one entrance (surrounded by castles) to be a cave. It just makes sure that there are caves someplace on the map.

Or squeeze a tiny province in-between the mountainous edges of two meeting provinces and declare that a cave.

The other possibility is to create small provinces at the side of the map in the border of it. Make those "caves". It gives you another level to the map. A neighbor arrow would run off to the side of the map connecting to one of the caves. It also allows for tunnel systems and underworlds.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #2  
Old March 5th, 2007, 04:02 AM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

@ drP
this is one of the features that i want to put in, but, rather than looking simply at altitude, terrain types will be placed by proximity to water, which really just ends up going a step beyond looking at altitude. the thing i've been struggling with is how to implement it in a way that users can modify. i was playing with the idea of using cubic splines to describe the probabilities of terrains being placed with respect to water proximity, but i've been coming to realize, that it would probably net little gain, and would be quite difficult to implement and also would slow things down quite alot, not to mention that it would be fairly complicated for the user who had no idea what the hell i was talking about with splines.

anyway, i like your idea with the three groups of terrain, close-, mid-, and far-proximity could work out pretty well and i think would be a good compromise to the exactness that splines offer. the only extension would be to define how close each of the thresholds are.

so, here are some thoughts on how this might work out:

farm close:high chance, mid:medium chance, far:low chance
waste close:low chance, mid:medium chance, far:high chance
forest close: medium chance, mid:high chance, far:medium low chance
plain close, mid, far:high chance
swamp close:high chance, mid:medium chance, far:very low chance

@gandalf

im not sure what you mean by surrounded by castles, but i see your meaning with the one entrance (neighbor?). this might work once i get impassable borders going with small mountain ranges (not large enough to contain a province) and rivers.

i think that i would like to keep caves in the map, ie not putting them off to the side, maybe cave provinces could be borderless, and just have an icon on the map representing the entrance and possibly closer cavern provinces could be considered neighbours. this could mean that caverns are not dependent on a special case of mountainous terrain, which would present it's own special difficulties in determining where they occurred and forcing them to occur so that there are caves. this might be worked so that based on how close the cave entrance is to normal province borders will determine which provinces may be entered from the cave. so that if a cave entrance sits right on a junction of three borders, an army within the cave may enter any of the three provinces. on the other hand if it is to far within the borders of some province, an army in the cave may only enter that one province. going this route could present problems with caves that do not have exits to above ground, though. perhaps, it might be necessary to have an entire second layer to the map for the underdark.
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #3  
Old March 5th, 2007, 04:04 AM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

completely forgot what i was originally going to post. new map command to turn province borders on/off completely. saw a discussion of this over in ballbarians thread and stuck it in since it wasnt going to be a painful process to implement.
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #4  
Old March 5th, 2007, 11:13 AM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: new map generator

The immediate problem is that if you set the water-content very low it never comes out convex.

If you could seed the water - instead of using altitude at all - you could set the water frequency low and have a few lakes.

For maps with more water the altitude works fine, but for maps with no water it'd be nice to have a similar effect with farmlands going into mountains, or forests going into wasteland, stuff like that.
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #5  
Old March 5th, 2007, 01:15 PM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

the problem there is that you will never be able to get realistic looking coastlines. i am working on the lake issue though.
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
  #6  
Old March 5th, 2007, 01:34 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: new map generator

Im sorry. I meant surrounded by mountains. If I have a small province on one of my generated maps that has only one way in and surrounded by mountains then I make it a cave. On my larger maps that tends to give me 3-5 cave provinces.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #7  
Old March 6th, 2007, 04:45 AM
paradoxharbinger's Avatar

paradoxharbinger paradoxharbinger is offline
Sergeant
 
Join Date: May 2004
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
paradoxharbinger is on a distinguished road
Default Re: new map generator

sprites are nearly finished, there are just a few tweaks that i have to make to finish it up, so look for version 0.52 in the next day or two. right now i'm testing with some sprites that ballbarian posted, which are looking pretty good right now.
__________________
ParadoxHarbinger's MapGen New Site!

Get The MapGen Alpha

Get The Dom3 Unit Maker

I'm shoulder high in crap, and my water-wings are flat!
Reply With Quote
Reply

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 10:17 AM.


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