How to fix reporting "moves offboard -> offboard *"

Hi Don,

Since the grid-numbering is oblique, you may want to consider to use a custom grid numbering, for example ObliqueHexNumbering (compiled class file, built against VASSAL 3.6.7). See also this issue and this thread.

Right click your Hex grid and say something like Add custom class and select the .class file.

This custom element has a number of benefits over calculating the coordinates elsewhere

  • All places that uses the hex grid numbering will use the same oblique grid numbering
  • That means that you do not have to copy complex BeanShell expression all over the module
  • BeanShell expression are relatively slow, since an interpreter has to parse the code and execute it. The Java class does that in byte-compiled code.

Note, since the source code is available one can always rebuild or update the .class file for newer VASSAL core library, so that you don’t get deprecation warnings

Yours,
Christian

Christian,

Many thanks for the .class file!

Don