# oblique hex numbering

**URL:** <https://forum.vassalengine.org/t/oblique-hex-numbering/4011>\
**Category:** General Discussion\
**Created:** [June 19, 2011, 11:05pm UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011 "2011-06-19T23:05:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hagar](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/hagar/32/50_2.png) [@Hagar](https://forum.vassalengine.org/u/Hagar)\
**Post date:** [June 19, 2011, 11:05pm UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/1 "2011-06-19T23:05:05Z")

</div>

I need oblique hex numbering for an old AH module. I’ve seen the various development discussions regarding this issue, but the discussions that I have been able to find all seem to be from a developers viewpoint.

Are there any instructions on how a module developer can incorporate this capability into Vassal?

---

<div class="post-metadata">

**Author:** ![pgeerkens](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/pgeerkens/32/117_2.png) [@pgeerkens](https://forum.vassalengine.org/u/pgeerkens)\
**Post date:** [August 4, 2011, 7:21pm UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/2 "2011-08-04T19:21:15Z")

</div>

Here is a thread from January where I uploaded an implementation of Oblique hex numbering  
[url][https://forum.vassalengine.org/t/oblique-hex-grid/3600/13](https://forum.vassalengine.org/t/oblique-hex-grid/3600/13)]

Instructions are included

---

<div class="post-metadata">

**Author:** ![pgeerkens](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/pgeerkens/32/117_2.png) [@pgeerkens](https://forum.vassalengine.org/u/pgeerkens)\
**Post date:** [August 4, 2011, 7:22pm UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/3 "2011-08-04T19:22:13Z")

</div>

I have made some exhancements of this functionality over the past fortnight. Hopefully all of this will get included in V3.16.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [August 4, 2011, 8:38pm UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/4 "2011-08-04T20:38:58Z")

</div>

Thus spake pgeerkens:

> I have made some exhancements of this functionality over the past  
> fortnight. Hopefully all of this will get included in V3.16.

No new features in the 3.1 line, only bug fixes. This will go into 3.2.

–  
J.

---

<div class="post-metadata">

**Author:** ![Hagar](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/hagar/32/50_2.png) [@Hagar](https://forum.vassalengine.org/u/Hagar)\
**Post date:** [August 6, 2011, 4:39am UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/5 "2011-08-06T04:39:25Z")

</div>

I got the numbering to work. (I was mistakenly adding a semicolon at the end of the class name when attempting to import it.)

The pieces, however, were no longer centered in the hexes. I turned on Vertices are valid locations, which then allowed me to place the pieces in the center of the hexes, though they now, obviously, could also be placed on vertices. However, for vertex placements, they are actually being placed, not on the vertex, but in the center of the hexside. I used both the HexGridX and HexGridNumberingX.

The grid lined up OK.

---

<div class="post-metadata">

**Author:** ![Hagar](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/hagar/32/50_2.png) [@Hagar](https://forum.vassalengine.org/u/Hagar)\
**Post date:** [August 6, 2011, 4:54am UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/6 "2011-08-06T04:54:28Z")

</div>

Partial false alarm. I accidentally had hexside as a legal location turned on.

However, even after correcting that, with no additional legal locations turned on, I still could not place pieces in the center of the hex. Turning on “Vertices are legal locations?” again allowed me to place pieces in the center of the hex, except that this time, the alternate placement WAS on the vertex, corresponding to the checkbox. (The map is 1776.)

---

<div class="post-metadata">

**Author:** ![pgeerkens](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/pgeerkens/32/117_2.png) [@pgeerkens](https://forum.vassalengine.org/u/pgeerkens)\
**Post date:** [August 6, 2011, 7:57am UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/7 "2011-08-06T07:57:01Z")

</div>

I will check it out and get back to you.

---

<div class="post-metadata">

**Author:** ![pgeerkens](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/pgeerkens/32/117_2.png) [@pgeerkens](https://forum.vassalengine.org/u/pgeerkens)\
**Post date:** [August 9, 2011, 7:24pm UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/8 "2011-08-09T19:24:12Z")

</div>

I have found and corrected an inconsistency between the old Snap-To routines and the new HexGridNumbering. I should have a new package available in another day or two.

---

<div class="post-metadata">

**Author:** ![Hagar](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/hagar/32/50_2.png) [@Hagar](https://forum.vassalengine.org/u/Hagar)\
**Post date:** [October 2, 2011, 1:13am UTC](https://forum.vassalengine.org/t/oblique-hex-numbering/4011/9 "2011-10-02T01:13:46Z")

</div>

Sent you an example. Let me know if it is sufficient or not.
