digital wargame engine test board

Miscellaneous Forums/Graphics Showcase/digital wargame engine test board

My original program idea was hexes, but at the moment, I've moved to squares. I'm thinking of making it an option in the editor, which type of grid to use for a campaign setting; hexes or squares, but I'm still trying to work out how I would handle movement, line of sight, etc, if it was on a hex grid. On a square grid, it's really easy to work out. I've scaled everything so that 1" = 1 blitz game unit. The board is placed so the bottom left corner of the board is at 1,1, being the a square in the first row, and first column. So, simply checking the 3D coordinates of the mouse cursor at any time tells me exactly which square it is pointing at. Ie, if my mouse cursor is at the 3D coordinates 5,6 then I know it is 5 squares across on the board, and 6 squares up on the board.

I need to give some more thought as to how to determine what hex the cursor would be pointing at, if I went with hexes.

Here's an update picture. I did a little work on the test environment around the board this morning. Coffee mug, can of soda, an open DWE Handbook, and some dice. Threw a door in one of the walls too so the players don't feel locked in :)