Tuesday, August 31, 2010

Creating Hex Grids

I've received a few emails asking how I generate my grids I use for my wargame maps, so I figured I'd show you. I use a small program I wrote in VBA (for Visio).
The parameters
I made a 1" hex shape in Visio and saved it as my base shape. It is this shape, along with the hexdot and label that is the basis for all the grids.

All I have to do is scale the hex based on what size I need (1 = 1 inch, 1.5 = 1.5 inch etc) and the math takes care of itself as it generates the grid.

I can input a page size and it will automatically calculate how many hexes will fit completely on that page at that page size.

The hexes themselves can be with or without label, hex dot, or hex outline as desired.

The grid itself can oriented normally or 90 degrees and I can make the odd (1st row) higher than the 2nd or vice versa. It also centers the whole grid on the page and automatically generates the proper layers for the shapes (layers help when adding things later, like terrain, etc and allows a quick change to all items on that layer).

All in all, it is a simple and decently fast program (although it will take awhile to make a grid of 1/2" hexes on a 40" x 40" sheet though) and allows me to create grids of any size I need, along with their labels.

7 comments:

Akshayxpear said...

naice..:) :) keep uploadin d cool stuff


check out all creative stuff at my blog

Lazarus Lupin said...

very well thought out. Good stuff!!

Lazarus Lupin
http://strangespanner.blogspot.com/
art and review

dsrgamer said...

Thanks all.

I'm working on some rubbled house at the moment... hope to have some pics soon....

Arthur said...

Hi
I have followed your blog for a while and envy you the Stalingrad fun; it's been on my to-do list for yonks but sadly no time!

I always intended to use 6mm and refight the whole battle on 1.5" hexes - it will fit a wiiide table.

I use Cyberboard to prep my hexes with map scans underlaid. It works well.

Regards
Arthur

dsrgamer said...

That's pretty cool. I used to do micro-armor scale stuff (and 6mm ancients) but I've reached the age where my eyes don't see them as well as I used to :D

Many years ago, I once calculated how many Squad Leader size boards (40 meters per hex) to portray most of the city and I stopped when I wised up and realized how many it would take.....

Arthur said...

At 40 m per hex, yep, that will be big.

Should have mentioned I use a scale where 1 hex = 500m. Rules are somewhat modified DivTac using combat values from Panzer General PC game(PG2) and sequence from Squad Leader also slightly modded.

And, my buildings are double sided printouts glued along hex sides so hexes are clear - only play historical battles so terrain remains permanent.

dsrgamer said...

I would like to see a pic or two of your setup (I'm always interested in other folk's ways of doing things).