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

Allow players to resize tokens

Heya, I'm running a game with shapeshifting and I was wondering if there was a way to allow players to resize their tokens.  The player in question is using a token linked to a roll table and chatSetAttr api to handle switching forms, the problem is their various forms have different sizes.. ranging from a tiny cat to a large (long) battle-cat. Even if the resize was automated and had no interaction with the player, and did so automatically when the new form was/is selected.  That would be sufficient.
1635389085
The Aaron
Roll20 Production Team
API Scripter
You can do that with TokenMod: !token-mod --set scale|2g Check the help for more options. 
Oh, sweet.. didnt realize.  Thanks.
Toby said: Heya, I'm running a game with shapeshifting and I was wondering if there was a way to allow players to resize their tokens.  The player in question is using a token linked to a roll table and chatSetAttr api to handle switching forms, the problem is their various forms have different sizes.. ranging from a tiny cat to a large (long) battle-cat. Even if the resize was automated and had no interaction with the player, and did so automatically when the new form was/is selected.  That would be sufficient. I highly recommend Wildshape API.  It has its flaws but it handles all my polymorphs and wildshapes perfectly.  
1635431155
Gold
Forum Champion
The Aaron said: You can do that with TokenMod: !token-mod --set scale|2g Check the help for more options.  This will require the TokenMod GM to configure it to "allow Players to use ID's"... is that right? Been confused about that setting for years but I think it's for purposes like this.
1635431995
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Not if they control the token. Keeping players from using IDs is more to stop them from affecting tokens they don't control with a construct like: !token-mod --ids @{target|token_id}
1635433562
Gold
Forum Champion
Thank you for that reminder! Brilliant.  (Been meaning to implement something like this on Dark Sun campaign.... it's not even for Shapechangers, it's just for the initial Token setup so the Player can upsize their own Half-Giant / Goliath, or downsize their own Halfling, without needing a GM to tweak that for them... they've asked for this. We make a lot of Characters and Monsters with tokens in this AD&D 2e game.)
1635439387

Edited 1635439467
Gold said: This will require the TokenMod GM to configure it to "allow Players to use ID's"... is that right? Been confused about that setting for years but I think it's for purposes like this. The "Allow Players to use ID's" actually opens up a ton of cool things you can do with TokenMod - because you have more ways you can let players do stuff for themselves that the GM otherwise must do. For example, you can set a macro that allows the player to apply a status effect or aura directly to a targeted token object. I use this all the time for characters with abilities like Bless or Hunter's Mark. I've also used it during puzzles, where players need to toggle some lever or rotate puzzle pieces on the TT. You can design the setup so the players use TokenMod to turn or change the token using macro buttons - without having to give them control of the tokens. I just need to set the automation pattern. But you need "Allow Players to use IDs" to interact with the un-controlled tokens. Most of my games now involve setups where players apply most of the TT affects involving their spells or abilities. It's pretty cool, really.
1635965109
Gold
Forum Champion
Great explanation and use-cases Chris. I learned a lot from what you said about Allow Players to Use ID's in TokenMod API script use. Going to start trying to do that, and get used to it... I like the concept... I'm learning to control these API scripts over a timescale of YEARS on this site. Stuff with "Code" can appear intimidating.  I've found TokenMod macros make more sense to me, once I spend some time writing-testing the macro. I really want to do that puzzle one, where you give Players a Macro that can rotate/resize/aura a Puzzle Piece token. Brilliant. Gotta try it.