Designing New Attack Macro

If you have searched the other User Creations subforums and an answer to your question has not been found, please post here!

Moderators: dorpond, trevor, Azhrei, Gamerdude

Post Reply
User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Designing New Attack Macro

Post by aliasmask »

I'm looking for some input on the design of a new attack macro for Pathfinder. Here are the things I want to accomplish. The idea is that I'll be able to use this for other D&D systems as well.

* Attack Frame for specific Token - This frame will remain open. This is mostly for PC players and not the GM since he'll control many tokens and having 1 for each would be a pain. But there should be an option to refresh to select or current initiative for GM use.
* Compact Design - Main frame will have just the basics of the weapon but needs access to more detailed info about attack.
* Easily applied actions like sneak, smite, flurry and maneuvers - I'm thinking of having relevant options (ie you have the class ability or feat)
* auto-calc - flanking, range increment, higher ground (I already have these functions)
* easily adjust weapons - applying spells like enlarge to weapon damage, adjusting your grip for 2 hands or TWF.
* track ammo used - easily reload, add or remove ammo

Here are my notes:
Spoiler

Code: Select all

 --------          --------
| Source | -----> | Target |
| Image  | -----> | Image  |
 --------          --------         (ranged target)
 * sneak          * cover           * point blank
 * smite          * concealment     * Range Inc
 * power attack   * Prone           * 
 * flurry/rapid   * Flanked         *
 * lunge          * favored enemy   *
 * rage           * Higher Ground
 * vital strike   (use icons for abilities, looks nicers and can fit more)
 * hidden
-----------------------------------------------
   Weapon Summary Menu
   Primary # (add)
      (links on +11/+6 for single attack at that mod; 1d8 to change weapon size. Clicking weapon name will do full attack.)
   #  +1 adamantine flaming longsword +11/+6 (1d8+7/19x2) plus 1d6 fire[+/-]
      Grip: O 1h O 2h O TWF O Thrown
      (1h - penalty for 2h weapon, 2h bonus damage with 1h (no check for light), TWF - penalty for fight with 2 weapons, Thrown - penalty for non thrown weapon)
      +1 Longbow
      Ammo (arrow): O wood (20) [+/-] O cold iron (10) (yep, lets use icons)
   Secondary # (add)
   Natural # (add)
   Maneuver # (add)
-----------------------------------------------
   Weapon Details (tooltip or popup - most of this is pregen from base weapon selection)
      Full Name: +1 adamantine flaming longsword
      Name: Longsword
      AltName: (Replaces Full Name in attack frame)
      Base: 1d8
      Threat: 19+
      Multiplier: x2
      Size: Medium
      Grip: 1 handed,light (light,1 handed, 2 handed)
      Group: Martial Melee (Simple,Martial,Exotic and Ranged,Melee,Thrown - melee with range increment)
      Type: Slashing (Bludgeoning,Piercing,Slashing,Bludgeoning/Piercing,Bludgeoning/Slashing,Piercing/Slashing)
      Range: 5
      Reach: 0 (No 0, Yes 1, Whip 2)
      Lethal: 1 (No 0, Yes 1)
      Material: Adamantine (Various Materials and Natural. Multiples types allowed)
      Hardness: 22
      Hitpoints: 20
      Qualities: finesse
      Magic: (have toggles to turn on/off specific enchantment for weapon)
         Enchantment: +1/+1 (added to base damage)
         Effortless Lace: Qualties(+finesse),Grip(+light)
         Optional:
            Flaming: +0/+1d6 (extra damage)
-----------------------------------------------
   Other Weapon Actions
      * Drop (free)
      * Pick up (free,move,standard) Grab a weapon
      * Swap Hands (free) Primary <--> Secondary
      * Swap Equip (free,move,full) Equip another item in same hand.
      * Coup De Grace (standard,full) Auto-attack, auto-crit
      * Toggle Magic (calc totals with no magic effects)


Other suggestions and thoughts are welcomed.

bobifle
Giant
Posts: 219
Joined: Thu Oct 19, 2017 12:36 pm

Re: Designing New Attack Macro

Post by bobifle »

I would just say two words: "good luck" :mrgreen:
Last edited by bobifle on Sat Dec 22, 2018 3:14 pm, edited 1 time in total.

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Designing New Attack Macro

Post by aliasmask »

Working on design in excel. Goes faster than just using html. I plan on making image buttons for all the abilities.
Attachments
New Attack Frame Mockup 2.jpg
New Attack Frame Mockup 2.jpg (119.16 KiB) Viewed 5114 times

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Designing New Attack Macro

Post by aliasmask »

Worked on some button design. Thanks to https://game-icons.net/
Attachments
Full Attack 100px.png
Full Attack 100px.png (7.04 KiB) Viewed 5108 times
Coup De Grace 100px.png
Coup De Grace 100px.png (4.96 KiB) Viewed 5108 times
Attack 100px.png
Attack 100px.png (4.63 KiB) Viewed 5108 times

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Designing New Attack Macro

Post by Phergus »

Hooray for game-icons.net!

I use them all the time for states and library tokens.

bobifle
Giant
Posts: 219
Joined: Thu Oct 19, 2017 12:36 pm

Re: Designing New Attack Macro

Post by bobifle »

Is the frame updated everytime the player select a different hostile token ?

By the way, Grace is spelled Grâce.

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Designing New Attack Macro

Post by aliasmask »

bobifle wrote:
Sat Dec 22, 2018 3:13 pm
Is the frame updated everytime the player select a different hostile token ?

By the way, Grace is spelled Grâce.
Yes, it will be using the onTokenSelect to set the target when the frame is open. But I think I'll start with a button to target selected until everything gets worked out.

Post Reply

Return to “Requests for HELLLLP!”