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 Auras: Is a "half" aura possible?

So one of the things I'm wanting to do is have a token in my Pathfinder campaign act as having a specific angle of weakness. To show this I was thinking the circular aura aspect of a token would do nicely... if I could designate a percentage like you would with angled lighting. Is that a possible thing to do?
1426695787
Ziechael
Forum Champion
Sheet Author
API Scripter
Not currently, it would also be nice to have aura's blocked by DL lines if required too but thats just me dreaming ;) <placeholder for an API solution... enter TheAaron>...
1426702125
The Aaron
Pro
API Scripter
Ha! You could do that with an API, with some heavy constraints. Probably the easiest thing to do would be to flag a token to have a partial aura that mimic's it's light setting (because they you wouldn't have to try and figure out how to communicate what you wanted to the API). You'd have to construct a vector based partial circle with it's center kept at the center of the token. On change, you'd need to move it. On rotation, you'd need to rotate it, which would be slightly complicated as the aura center would not be the mathematical center. All doable, just complicated. Unless you were talking about having DL block the Auras, which is also possible, but an order of magnitude more complicated. =D
Thanks for the idea, Aaron! The usability of making such an API script seems more than what would be viable. Front loading the coding isn't an issue, but if you have to o separate rotation from the token itself during gameplay that would sort of defeat the functionality since most mobs move around during encounters. I'm thinking a more viable option to do this within the constraints of roll20 would be to just make the effort on the token creation side of things. For example: I have circular tokens in my campaign like the one in my profile picture (replace the book with a monster face and you got what I use for everything). It seems more usable to just add a colored bumper to the wooden circle png when I generate images in photoshop. That way they can rotate with the direction of the character without having to rely on the API being up. That said, it would be super cool if the default settings allowed directional like with the lighting by default, but it sounds like taking a few days in CSS won't pay off in effort over a few minutes per token in photoshop.
1426710529
The Aaron
Pro
API Scripter
Sorry to confuse, you can catch the rotation of the token and rotate the vector graphics the same way you move it when it moves.
Oho, hmmm. Then that might be worth looking into