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 .
×
May your rolls be chill this holiday season!
Create a free account

How to make a small token snap to the center? Everything I've seen in the forums is super old, and I can see it can be done with the stirge token from the monster manual.

I noticed when I use the stirge token directly from the purchased monster manual that the smaller token snaps to the center, how can I make custom tokens do the same?  I have a player with a small familiar and would like to do the same for them as the stirge token.
In your token-making program of choice, just keep the canvas area the same size but make the image itself half as big. For example, I build my tokens to 280px by 280px (so they retain good, zoomable detail but still look nice at the default 70px size). For most tokens, that means that there's just a little bit of transparency at the corners, with the token itself being 280px in diameter. For small tokens, it's still a 280px graphic, but the actual token is 140px in diameter amid a sea of transparent pixels. I don't have the MM addon, but I'd imagine that's how they're accomplishing the stirge's snap-to-center-ness.
Which token-making program do you use?  I use RPTools and tried to do this, and it just wound up being the same size.
Danielle H. said: Which token-making program do you use?  I use RPTools and tried to do this, and it just wound up being the same size. I use Photoshop.
1506894440
vÍnce
Pro
Sheet Author
Taken from the suggestion  Centre-Aligned Small Tokens on the Square Grid Aaron posted a script to handle this.  Pro users only ;-( The Aaron said: It won't help everyone, but in the interim if you have a Pro Subscription, you can do this with the API pretty easily: on('ready', function(){ "use strict"; on('change:graphic',function(obj,prev){ if( ( _.contains(['gmlayer','objects'],obj.get('layer')) ) && ( !obj.get('isdrawing') ) && ( obj.get('left') !== prev.left || obj.get('top') !== prev.top) && ( obj.get('width') < 70 || obj.get('height') < 70) ){ obj.set( { left: obj.get('left')+35-(obj.get('width')/2), top: obj.get('top')+35-(obj.get('height')/2) }); } }); });
Vince said: Taken from the suggestion  Centre-Aligned Small Tokens on the Square Grid Aaron posted a script to handle this.  Pro users only ;-( Ooh, spiffy!