Labeling hexes with leading characters

Greetings,

I would like to request a way to label hexes with a leading alphanumeric character, similar to the way you can add a separator. This would come in handy when several maps are abutted and you wanted to differentiate the hex IDs between the maps. For example, if you had 3 maps, a north map, center map, and a south map, you could define a hexgrid for each and VASSAL would label the north map hexes as “Nxxx” (vice the “xxNxx” format currently available), the center map hexes as “Cxxx”, and the south map hexes as “Sxxx”.

Maybe there is a way to do this already by modifying the build file or adding a class, neither of which I know how to do.

Thanks for your consideration.

Allan

[attachment=0]GridNumbering.jpg[/attachment]

If each map is a board component, you can simply edit the board label to be “WhateverIWantToPutInFront”$GridLocation$. Works perfectly for what you are describing

From: messages [mailto:messages-bounces@vassalengine.org] On Behalf Of BigAl737
Sent: Sunday, July 06, 2014 4:05 PM
To: messages@vassalengine.org
Subject: [messages] [Feature Requests] Labeling hexes with leading characters

Greetings,

I would like to request a way to label hexes with a leading alphanumeric
character, similar to the way you can add a separator. This would come
in handy when several maps are abutted and you wanted to differentiate
the hex IDs between the maps. For example, if you had 3 maps, a north
map, center map, and a south map, you could define a hexgrid for each
and VASSAL would label the north map hexes as “Nxxx” (vice the “xxNxx”
format currently available), the center map hexes as “Cxxx”, and the
south map hexes as “Sxxx”.

Maybe there is a way to do this already by modifying the build file or
adding a class, neither of which I know how to do.

Thanks for your consideration.

Allan

GridNumbering.jpg

__________ Information from ESET Smart Security, version of virus signature database 10054 (20140706) __________

The message was checked by ESET Smart Security.

eset.com

__________ Information from ESET Smart Security, version of virus signature database 10054 (20140706) __________

The message was checked by ESET Smart Security.

eset.com

Thanks for the reply Tim.

What you suggest works perfectly for prefixing grid locations in the chat window.

Unless I’m misunderstanding you, I don’t see a way to have VASSAL actually prefix the hex numbering on the map itself. Hex 0101 In my jpg example is labelled 01N01. I’d like a way to label it N0101.

Allan

Same thing but in the grid numbering dialog, change the location format
label to read $row$N$column$ or $column$N$row$ whatever way is correct

From: messages [mailto:messages-bounces@vassalengine.org] On Behalf Of
BigAl737
Sent: Monday, July 07, 2014 1:07 AM
To: messages@vassalengine.org
Subject: Re: [messages] [Feature Requests] Labeling hexes with leading
characters

Thanks for the reply Tim.

What you suggest works perfectly for prefixing grid locations in the
chat window.

Unless I’m misunderstanding you, I don’t see a way to have VASSAL
actually prefix the hex numbering on the map itself. Hex 0101 In my jpg
example is labelled 01N01. I’d like a way to label it N0101.

Allan


Read this topic online here:
https://forum.vassalengine.org/t/labeling-hexes-with-leading-characters/6983/3

I’m just getting back to this project.

Thanks Tim. I’ll try this out.

Much appreciated.

Allan

I just asked and had solved the same Q:

https://forum.vassalengine.org/t/map-grids-prefix/7266/1