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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old June 14th, 2007, 01:34 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 Oh how I love hexes.

Oh, how I love hexagons.

Mediafire link since attachments are still busted:
http://www.mediafire.com/?1zioy2hufv1

Here's a map with a hexgrid laid over it. Maps like this are pretty easy to make because the auto-border parser has no trouble finding adjacency on a hex-grid.

Here's how to make one in GIMP.

0) Copy my hexgrid into your patterns folder for GIMP. On my machine this is: F:\Program Files\GIMP-2.0\share\gimp\2.0\patterns

1) Draw your map (no borders or province dots obviously.) This is set up for wrap-around maps, you'll have to manually delete province dots at the edge if it's not wrap around. This one is easy wrap-around, I just took an existing map and reflected it over the central axis twice.
2) Scale the map (Image->Scale Image) to be an exact multiple of 206x177. Alternatively, you can scale the hexes in hex_extended.pat (it opens in Gimp) but make sure that the white dots are still in the right place. Also, these hexes really are the right size for dominions to look good.
3) Select the entire map (Ctrl-A on a windows machine.)
4) Select the paint bucket tool. Set the Opacity slidebar to 100%, set Mode to Normal, set Fill Type to Pattern Fill. Click on the pattern and select the hex_extended pattern. Set the affected area to "Fill whole selection" and click.
Anchor the new layer, save the .tga file (with a new name) and tada! you've got a hex-grid laid over your map.
__________________
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
  #2  
Old June 14th, 2007, 02:05 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: Oh how I love hexes.

I havent looked at GIMP since about midway thru Dom2 but I remember it had some great features for generating random maps. Here are some leftover images from the Dom2 discussions which are probably still in the Dom2 forums.
http://www.dom3minions.com/RandomMaps/projects/GIMP/

I remember that some people also came up with step-by-step to generate some pretty cool random maps in other programs such as photoshop.

These would work great with the hex-map overlay.
__________________
-- 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
  #3  
Old June 14th, 2007, 09:25 PM
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: Oh how I love hexes.

GP, my faculties are <100% at the moment, but do you have links to the dom2 forum posts? I'd love to be able to generate random maps from inside GIMP, and given the power of the scripting language I'm sure it's possible, but I don't see the threads to which you refer.

I'll look again in the morning when I'm sober.
__________________
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
  #4  
Old June 14th, 2007, 10:25 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: Oh how I love hexes.

Wow quite a wealth of info I managed to collect into one of the threads I found.
GIMP and Maps
Thats what I like to do. Spark the conversation, ask the right questions, get the right answers from the experts. I wonder if anyone ever did anything with it?

That thread has info on:

The generation scripts

making wrappable maps

creating a template of the white dots so you can blur or run other affects on the map then put the dots back

Here is another thread of interest also: JAVA Programmer (and Win-DomMap, and some GIMP)
__________________
-- 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
  #5  
Old June 16th, 2007, 03:02 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: Oh how I love hexes.

I've got a modified version of the built-in map script that doesn't produce quite as much water.

I've attached the current output I can generate - once I've figured out how to fix the mesas, and maybe add some deserts, forests, swamps and tundra, I'll post the scripts.
__________________
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
  #6  
Old June 16th, 2007, 10:16 PM
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: Oh how I love hexes.

Okay, I can produce pretty handsome random maps now.

They come with mountains and seas - I have to add

* I really, really wish that I could delete individual province connections from inside dominions' own map-editor. Having to switch over to the text editor to delete an adjacency is a pain.

* Does anyone understand how thick-border detection *works*? I can't make anything red on the maps (such as the lower levels of the mountains, which are handsomely snow-capped at the tops) or I have to fix all the borders by hand, which is a major pain. What range of red/brown values is it finding? Maybe I can just fiddle them over a color level by hand.
__________________
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
  #7  
Old June 16th, 2007, 11:49 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: Oh how I love hexes.

You can delete a connection in the map editor.
Ctrl and left-click.
__________________
-- 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
  #8  
Old June 16th, 2007, 11:53 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: Oh how I love hexes.

Quote:
quoting Kristoffer
reddish borders are useful if you don't want to specify every neighbour of every province. The computer uses red colours to guess neighbours. You will probably have to check on all provinces to make sure that they work properly, but it will save you some clicking trouble. Bright red and symmetrical borders will give you a good map file. More brownish or very thin borders, strangely shaped provinces or sea areas will leave you with some provinces with too many neighbours.

__________________
-- 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
  #9  
Old June 16th, 2007, 11:57 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: Oh how I love hexes.

What you might do is use bright red borders. Then after you have a .map for it, swap the color on the image to something easier to look at.
__________________
-- 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
  #10  
Old June 17th, 2007, 03:01 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: Oh how I love hexes.

Oh, you're right, that's what I should have done. Would be easy since the red borders that I actually want are on a different layer!

However, I changed the bottoms of the mountains to an ochre color which looks fine for now.

I'm going to fiddle with this a bit more and then post the code.
__________________
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
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 05:28 PM.


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