Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Possible to increase token marker relative size for custom markers?

I have a mapping portion of my game that involves space battle with ships--I have ship tokens scaled--and making custom token markers for ship status as well as markers used to describe a 3rd Z-Axis position relative to the gaming field.  Is it possible to increase the size of the token markers to 2 or even 4 times their relative size now, so it is easier to see? I am looking at the TokenMarker API and I don't see anything that cross-references size in there, unless it is something else embedded. Is there a means to change such?
1662239999
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Only in a roundabout way. It's a fixed size of the interface, but the token control interface does not scale with the grid scale. If you set your grid scale width to 0.5:   And scale your tokens to the new width (dropped default tokens should already come in matching the scale) the token interface (including token markers) will appear twice as large in relation to the tokens.
@keithcurtis    I am using floating positioning in my game (aka no grid).  Also, I did play with it, but does this work ONLY for Square? I use hexes in my game, but then again, everything I do is floating.
1662263044
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
It works for hexes as well. In fact that was a hex map I took my screen shot from. (If possible, I try to test solutions before I post them, so I verified the behavior first). Changing the grid Cell Width doesn't automatically change tokens already on the board, and working without a grid doesn't give the VTT something to scale newly dropped tokens from (IIRC, not at real computer ATM). Set up your default tokens on a page with a cell width of 1. Then if you drop them onto a page with a cell width of 0.5, they will drop appropriately scaled, and the interface will be "twice as large" in relation to them. I'll try to drop some screen shots when I get the chance.
Actaully yes it would be great to keep the size of a marker to a 1/4 of the size of the token, whatever is the size of the token, dependiong on the grid size.
Thank you folks...I will try this and let you know.
1662869711
Victor B.
Pro
Sheet Author
API Scripter
Also look at tokencondition.  It brings in tokens based on what you define