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

[Script] AoE Template Generator for Pathfinder Playtest

1533980165

Edited 1534030747
Bast L.
API Scripter
Hello. Here's a thing. It lets players create AoE templates on their tokens, which auto-assign to them so they can move them around. The shapes in the imgur link are the same as in the PF Playtest rulebook. When you run the script, it will create a rollable table for you called TemplateShapes. Put the correct shape as the avatar on each table item. Then make a macro called "ShapeMaker" or whatever you like, with the body !ShapemakerMacro Share that macro with the players.&nbsp; Note: the templates are generated on the page with the player flag, and the player token needs to be selected before clicking the image in chat. Imgur Link:&nbsp; <a href="https://imgur.com/a/EimYRXn" rel="nofollow">https://imgur.com/a/EimYRXn</a> Gist:&nbsp; <a href="https://gist.github.com/Bastlifa/b856a4c48bc2a4f4bf1a1d05f5f6681f" rel="nofollow">https://gist.github.com/Bastlifa/b856a4c48bc2a4f4bf1a1d05f5f6681f</a> Here's an image (if roll20 lets me upload it): Edit: gist updated with controls for flipping vertically and horizontally, as well as rotating. Here are the extra images for the control buttons: <a href="https://imgur.com/a/5vspxdU" rel="nofollow">https://imgur.com/a/5vspxdU</a> and a picture:
1534013166
vÍnce
Pro
Sheet Author
Very nice Bast.&nbsp; Thanks. Assuming there hasn't been a change in AOE dimensions(I haven't checked actually...) Will this script also work with PF 1e?
Thanks. There's one change that I know of: 30-ft Line Angle 2 (goes over 3, up 5). Also, the script calls a template:generic &nbsp;on line 117, which may or may not be in the PF 1 sheet, so a slight tweak may be needed there.&nbsp; Here's the PF1 version of 30-ft Line Angle 2, and I have to say, uploading images to forum posts since the update is a real pain (I save them to in-game handouts, and then copy/paste, because otherwise my post is likely to freeze up):
1534035859
vÍnce
Pro
Sheet Author
Very close then.&nbsp; The PF Community sheet could probably use template:pf_generic. &nbsp; I'll "experiment".
1534047780

Edited 1534048476
vÍnce
Pro
Sheet Author
Handy tool.&nbsp; I used the Straight Line image from the imgur link for both 30ftLineFlat and 60ftLineFlat on the rollable table.&nbsp; Should there be images for the controls(flipv, fliph, rotccw, and rotcw) as well?&nbsp; I used some creative commons icons for my table's controls.&nbsp; Feel free to use them. ;-) &nbsp;lol never-mind, see my update below. flipv fliph rotccw rotcw EDIT/UPDATE: Sorry, I just realized there are images in your screen shots at the top of the post. lol&nbsp; That said, I still don't see them in the imgur link...
Aye, there's a second imgur link at the bottom of the top post. I wasn't sure how to edit the original, since I don't have an imgur account. However, using unicode icons or whatnot is probably the better way of doing it.
1534049182

Edited 1534049218
Bast L.
API Scripter
Oh, but it seems there's a missing \n after the last 60 ft line. Will update in a sec. Actually, I'll leave it. Save on scrolling.