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
This post has been closed. You can still view previous posts, but you can't post any new replies.

[Pathfinder] Condensed Token Bar

1463553826

Edited 1463589426
So, first off... this is for free and Plus users (Pros are welcome to use it as well, but I'm sure there's an API for this). What I've come up with (with some help from Silvyre, who pointed out some things I missed) is a way of keeping Token Action bars from becoming crazy long, and minimizing going into the character sheet for skills and the like (only thing I can't think of is being able to toggle buffs on/off, due to that probably being an API required thing) so that games run a little smoother, easier, and look a little nicer. The down side to this is that it blows up your macro page... The way it works is by having multiple macros set up with the calls and everything in them. Then you have a master macro which pulls up a query which then asks you for what you'd like to do. You simply make your choice from the drop-down provided, then click the okay button (or whatever it has on it that is NOT cancel). Very simple, and it can be set up so that it eliminates the need to remake new abilities for every new character. All you do is fill out the stat sheet, and... BAM! You're good to go. It can take a very long time to set up, but I feel it may be worth it in the long run.  Just a quick overview of the pros/cons Pros Cuts down on the big Token Action bars Speeds up character creations by eliminating the need to put stuff into the Abilities section Makes a nifty and simple "All-In-One" master macro Makes your game a little different than others You don't even have to work on trying to figure something like this out! It's already done for you! Provides something similar to an API effect (I'm sure no where near as nice, and spiffy as one API version could get) Since it's not an API, you don't have to worry about any API server crashes and what not. Cons Blows Up your (GM) macro section (players won't need to worry about this because the GM can limit the macros the players see) May take a long time to set up (or maybe not since the hard work is already done) Pain to fix the non-master macros if you don't have the necessary form saved in a document or something so you can copy/paste After some testing of the drop-down query, it seems like the limit is at 9 items. I'll see if I can find a workaround to this issue.  Fixed the issue. Was due to an error on my part. I'm tired, so I'll leave this post as it is for now. I'll quickly post the weapon and skill macros in the post below before going to sleep. If you have any questions on it or want to see how it works before you dive into it, leave a message and I'll get back to you within 12 hours of this post.
1463554421

Edited 1463612608
Here's the basic query format: ?{Question or prompt? | Option 1,#Macro name | Option 2,#Macro name | etc. } Weapon Macro Guts: @{selected|PC-whisper} &{template:pf_attack& #125; & #123;& #123;character_name= @{selected|character_name} & #125;& #125; & #123;& #123;name= @{selected|repeating_weapon_$X_name} & #125;& #125; & #123;& #123;attack= [[ 1d20cs>@{selected|repeating_weapon_$X_crit-target} + @{selected|repeating_weapon_$X_total-attack} ]] & #125;& #125; & #123;& #123;damage= [[ [[@{selected|repeating_weapon_$X_damage-dice-num}d@{selected|repeating_weapon_$X_damage-die} ]] + [[@{selected|repeating_weapon_$X_total-damage}]] ]] & #125;& #125; & #123;& #123;crit_confirm= [[ 1d20 + [[ @{selected|repeating_weapon_$X_total-attack} ]] ]] & #125;& #125; & #123;& #123;crit_damage= [[ [[@{selected|repeating_weapon_$X_damage-dice-num} * (@{selected|repeating_weapon_$X_crit-multiplier} - 1 ) ]]d@{selected|repeating_weapon_$X_damage-die} + [[ ( @{selected|repeating_weapon_$X_total-damage} * (@{selected|repeating_weapon_$X_crit-multiplier} - 1)) ]] ]] & #125;& #125; & #123;& #123;type= @{selected|repeating_weapon_$X_type} & #125;& #125; & #123;& #123; Weapon Notes = @{selected|repeating_weapon_$X_notes} & #125;& #125; & #123;& #123; Melee Notes = @{selected|melee-attack-notes} & #125;& #125; & #123;& #123; Ranged Notes = @{selected|ranged-attack-notes} & #125;& #125; & #123;& #123; CMB Notes = @{selected|CMB-notes} & #125;& #125; Skill Macro Guts: @{selected|PC-whisper} &{template:pf_generic& #125; & #123;& #123;character_name= @{selected|character_name} & #125;& #125; & #123;& #123;name= Skill Name & #125;& #125; & #123;& #123;check= [[ 1d20cs>20 + @{selected|Skill Name} ]] & #125;& #125; Remove the spaces from between &'s and #'s. And to find the name of a craft skill, it's either Craft-name, Craft2-name, or Craft3-name. I'll answer questions and such to the best of my abilities when I wake up Edit: Fixed an incorrect for of the Skill Macro Guts
1463602911

Edited 1463604941
James W.
Sheet Author
API Scripter
Alternatively, there's the solution I use: API buttons.  You can use the format: [Label](~Character Name|Ability Name) That will put a button in the chat log that will fire off the appropriate ability when clicked by someone who can control that character.  I set up token actions for my characters that whisper a template full of these to myself.  For example, here's a macro I use for my warlock: /w "Lamont Cranston" &{template:pf_generic} {{character_name=@{selected|token_name}}} {{character_id=@{Lamont Cranston|character_id}}} {{name=Attacks}} {{header_image=@{header_image-pf_attack-melee}}} {{**Mystic Bolt, Ranged**}} {{[Full Attack](~Lamont Cranston|Mystic-bolt-FA) [Haste](~Lamont Cranston|Mystic-Bolt-Haste) [Rapid Shot](~Lamont Cranston|Mystic-Bolt-RS) [Single](~Lamont Cranston|Mystic-Bolt)}} {{**Mystic Bolt, Melee**}} {{[Full Attack](~Lamont Cranston|MB-Melee-FA) [Haste](~Lamont Cranston|MB-Melee-Haste) [Single](~Lamont Cranston|Mystic-Bolt-Melee)}} That will give me a selection of different macros for various uses of my Mystic Bolt ability.  You can literally trigger any ability on a character with these, including sheet rolls.
Drop-down queries are indeed a Godsend from on high.&nbsp; Without them I shudder to think of what my spell macros would look like. Instead, I have one button for each spell level that lets me select the spell I want.&nbsp; I do the same thing to clump all the Skill Checks in Pathfinder into one button. I wrote up a Pathfinder wiki article a while back to illustrate some uses for this and other techniques. You can find it over at <a href="https://wiki.roll20.net/Macros_-_Pathfinder_Exampl" rel="nofollow">https://wiki.roll20.net/Macros_-_Pathfinder_Exampl</a>...
I've never used the API buttons (I know that it's not really and API but is really something so similar to an API that it's just called that). I know what they can do, but I just don't feel that they might work how I'd like. Maybe there's a way to combine them with something like the roll templates to kind of make a chart. If I could get a chart like macro, that'd be killer as well. I'm nearly done with my whole single query system (was hoping to get a double query system to eliminate bulk on the master query), so as soon as I finish with that, I'll test out my chart API button concept. I want at least one working condenser so that I have SOMETHING to use in case I can't get another working. Or is what you posted what I was thinking? &gt;.&lt; And how do you do the code sections? I'd rather put something like that so as to shrink post sizes and not have a wall of text.
1463610430

Edited 1463610597
qwerty4132 said: I've never used the API buttons (I know that it's not really and API but is really something so similar to an API that it's just called that). What James W. showcased above are the (relatively new) Ability Command Buttons . The older API Command Buttons can be used outside of their intended purpose (via HTML entity tricks) to acquire a broader range of functionality than these newer Command Buttons (which does not require access to the API). qwerty4132 said: Maybe there's a way to combine them with something like the roll templates to kind of make a chart. If I could get a chart like macro, that'd be killer as well. What type of chart? Could you give an example? There's probably a way. qwerty4132 said: And how do you do the code sections? Leftmost button of the redactor toolbar:
I've got my Knowledge chart done. The chart does work well. I have the macro to spawn the chart as a whisper. I think this is what James was talking about. I just used a couple {{ = }} to organize it a little. This'll eliminate the clutter in my global macros from the skills. I'll have a couple of these set up and have a double query system (if I can get it to work) set up so that you can choose the type of action you want, the chart (if using a skill) or action&nbsp;you want, and it'll pop up in the chat area.&nbsp;
1463614252
James W.
Sheet Author
API Scripter
That's pretty much it; "charts", as you're calling them, are officially named "templates", if that helps to understand what I mean. This is what the macro I posted earlier results in: Also, as a super-secret preview, something I'm working on adding to the character sheet: To get this: This will update automatically as you change the attacks in the repeating section.&nbsp; The button probably isn't going to stay there, but where ever it ends up, you can drag-and-drop it onto the quick macro bar, or you can call it from a character ability, so you could set it as a token action, too. I'm also going to work on setting something similar up for skills, as well as the other repeating sections (especially spells).
1463616137
vÍnce
Pro
Sheet Author
It's no longer super secret James. &nbsp;;-)
1463619160

Edited 1463619210
[@{selected|weapon_repeating_$X_name}](~selected|repeating_weapon_$X_attack-roll) Something similar for skills.
1463800691
Sam
Pro
Sheet Author
Okay so my jaw hit my desk when I saw this. Way to go!
Is it really that impressive, Samuel?