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

Token sizing issue (Noob questions, I suppose).

April 02 (7 years ago)
So I've been running games on here for a while, and just fixing this on the fly, but finally decided to ask if there's a better way.
I have character tokens saved to my player's sheets. They have all their sight, their lighting, all of that just fine. BUT. Sizing on drop is SUPER inconsistent.
On map 1, player drops token, its a single unit size. Period. Switch to another map, no changes, they drop it, it covers 4+ units. Still a third, its about a unit and a half. Any idea why?
Also, the noobish question on this - many of my maps use different unit scaling. Some 1 unit=5 (default) - others its 1=20, or 1=0.5. Is there any way to make token drop respect this unit sizing, or do I have to just manually adjust my players down in every instance for these?
Sorry if I sound clueless, I probably am, and thanks for any help!
April 02 (7 years ago)
The Aaron
Pro
API Scripter
It would probably help to see the page settings for each of these maps, to know specifically which scaling you're using.

That said, it is the difference in scaling of the map that makes the difference in the size of the token.  I tried just now to come up with a good rule of thumb, but it seems to be slightly bizarre. For the most part, if you drop in a token that was scaled on a 1.0 grid (70x70), it will upscale to a grid that is larger to take up a 1x1 unit size.  Similarly it will downscale to a grid that is a smaller size.

If you set a token that is scaled on a larger grid (say 140x140, a 2.0 grid), then things get a bit strange.  Probably the best bet is to have a page where you setup tokens that are 70x70 and always use those for the default token.  Additionally, you might turn off the grid if you want to always drag in tokens at the same size (or possibly turn it off while dragging in tokens and back on for play).
April 03 (7 years ago)
So, I hope this explains it a bit better?
I set the scaling for the map, but the token only reflects the pixel size. Its not a tragedy, just remarkably inconvenient to have to resize large groups of players when going from an 8-scale map to a 20-scale map, but retain the same size on drop.
To note: I disable grid on basically all my maps (the caverns one should show why LOL); I don't change any sizing other than what is shown, the only other changes are FoW and lighting.
Am I missing another scaling option?
(Also thank you for the reply and the willingness to help, I really appreciate it!)
April 03 (7 years ago)
GiGs
Pro
Sheet Author
API Scripter
It's probably because you have grid disabled. Roll20 tokens use grid size, not map scaling. So if you have a token set to 1x1 squares, or 2x2 squares, I think they'll come down at that size even on maps with different scaling. 
April 03 (7 years ago)
The Aaron
Pro
API Scripter
Ok, so just so I’m clear on what’s going on, are all of these statements true?
  • You always set up tokens at 35x35 pixels
  • You always have the grid turned off. 
  • You want a token that is 5ft across on map with a 10ft scale to appear half as big when placed on a map with a 20ft scale
April 03 (7 years ago)
In order:
  • For PC tokens, that is currently true.
  • For the maps I currently have set up, that is true. (I have, however, noticed the same issue on maps with grid, and when enabling grid on these same maps.)
  • That, if possible, is what I'm after, yes.
(Thanks again for the help.)
April 03 (7 years ago)
The Aaron
Pro
API Scripter
Ok. Token sizes are stored in pixels.  70 pixels to the grid unit.  When you change the scale (10ft to 20ft) you're really only changing a multiplier that is applied to the measured distance.  When you change the grid size (1.0 to 2.0 units per grid), you are changing where the lines for the grid get drawn.  Neither of the options has any direct effect on the stored token.  When the stored token is dragged out onto a map with an active grid, it causes a behavior to resize the token.  Nothing causes the token to change size regarding the measurement scale.

The options you have as I see it:
1) an API script (Pro Subscriber Perk) could detect the creation of a new token, assume it's size was for a 5ft scale (or whatever) and resize the token based on the map's configured scale.

2) Never adjust the scale of the map, just adjust the size of the map images to be correct for the tokens you're using (I prefer this option, personally, as the small tokens start to look weird with stubby bars and no space for status markers or names).

3) Continue as you have been, manually resizing tokens as needed.

Wish I could be more help.
April 04 (7 years ago)
Actually, that was exactly the right amount of help! It answered my question LOL
1) I don't know enough about scripting to likely make use of API properly, so that one seems a bit out of my league.
2) That may well be the route I go later - the only thing barring that is some maps are already in the "may not load properly or at all" size with the scaling difference, but its my standing line of thought when that isn't the case.
3) That's my fall back when the above can't work out.

The Aaron, thank you so much for taking the time to answer this for me, and lay it out. I really appreciate it. :)
April 04 (7 years ago)
The Aaron
Pro
API Scripter
No problem. :)