[D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r05

Discussion concerning lmarkus' campaign framework for D&D3.x and Pathfinder.

Moderators: dorpond, trevor, Azhrei, giliath, Gamerdude, jay, Mr.Ice, lmarkus001

Forum rules
Discussion regarding lmarkus001's framework only. Other posts deleted without notice! :)
Locked
TheDux
Kobold
Posts: 4
Joined: Mon Feb 08, 2010 1:12 pm

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by TheDux »

Thank you. I do have to admit that the more I look and play with this framework the more I am enjoying it.

Now to sit back and wait while someone approves this message. lol.

EDIT: Umm...I guess I reached the threshold where I don't have to wait anymore.

User avatar
Rumble
Deity
Posts: 6235
Joined: Tue Jul 01, 2008 7:48 pm

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by Rumble »

TheDux wrote:Thank you. I do have to admit that the more I look and play with this framework the more I am enjoying it.

Now to sit back and wait while someone approves this message. lol.

EDIT: Umm...I guess I reached the threshold where I don't have to wait anymore.

Two posts is the threshold. It could probably be one post, just so we can make sure it's not spam (these boards get hit hard every so often - the other day, in...the DiceTool or maybe it was the InitTool subforum, I noticed there were something like 20 brand-new spam threads awaiting approval - which, obviously, they won't get).

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by lmarkus001 »

Azhrei wrote:Found a bug. At least on the Mac platform. :roll:

When the framework creates a tooltip, it builds an entire HTML "document" with a leading <html> element and a trailing </html> element. Inside that document are double-quoted values for attributes.

However, since the contents of the variable are later stored into the chat log, and the chat log puts double-quotes around the title attribute in the <span> element, the nesting of quotes is wrong. The end result is that I lose some of the information that would normally be displayed. Here's the offending HTML for the example I found:

Code: Select all

<div>
  <table cellpadding="0">
    <tr>
      <td style="padding-right: 5px" valign="top" width="40">
	<img src="asset://625d1372caff9a2f655523d42a7d3ed8-40">
      </td>
      <td style="margin-right: 5px" valign="top">Sir Argran:</td>
      <td valign="top">
	<font color="#000000"><span title="<html>
<table border="0" cellspacing="0" cellpadding="0">
...
</table>
</html>"><b>Sir Argran</b> -- <i><a href="macro://dispSkillDesc@Lib:libDnD35Pathfinder/none/Impersonated?%7B%22name%22%3A%22Sense+Motive%22%2C%22dispname%22%3A%22Sense+Motive%22%7D">Sense 
	Motive</a> Check</i>: 19</span></font>
      </td>
    </tr>
  </table>
</div>
I have been rather occupied with other stuff, but finally got around to looking into this and it does seem to be how the Mac is rendering the HTML. My line of code that generates the SPAN uses single quotes that are being converted into double quotes on the Mac.

Code: Select all

[H: output = "<span title='<html>" + sTip + "</html>'>" + output + "</span>"]
I am only using quotes in the HTML to be well formed, so I will just drop all of the quotes in the tip so it renders correctly on Mac and PC. (So things like align="left" will be align=left.)

User avatar
Paradox
Dragon
Posts: 724
Joined: Fri Feb 27, 2009 4:01 pm

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by Paradox »

I love this framework.

I'm using Rumble's right now, for a brief 4E break.. but I plan on returning to my Pathfinder game soon. In fact, I'll be preparing new campaign files shortly, so I hope I hop Lindsay won't abandon this. :)

I'd still love to see that Pathfinder polymorph macro, complicated as it is.. I tend to avoid polymorph just because it would be a pain in the backside.
I no longer believe that MapTools is usuable or intended just for programmers. MapTools is for everyone.

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by lmarkus001 »

Paradox wrote: I'd still love to see that Pathfinder polymorph macro, complicated as it is.. I tend to avoid polymorph just because it would be a pain in the backside.
I have been thinking about making the PF Polymorph just a bunch of Mod-sets that might also prompt for image selection from a table. And they would have limited smarts (like you would be prompted to tell if the creature you change to has a swim move speed, rather than keeping all that data in a table). I think this solution would be reasonable to setup and be functional.

User avatar
Paradox
Dragon
Posts: 724
Joined: Fri Feb 27, 2009 4:01 pm

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by Paradox »

lmarkus001 wrote: I have been thinking about making the PF Polymorph just a bunch of Mod-sets that might also prompt for image selection from a table. And they would have limited smarts (like you would be prompted to tell if the creature you change to has a swim move speed, rather than keeping all that data in a table). I think this solution would be reasonable to setup and be functional.
Well you know me, it's the final result with me. I leave the implementation to you, because you're the qualified expert. It's also gratitude and respect since you're doing the wok.
I no longer believe that MapTools is usuable or intended just for programmers. MapTools is for everyone.

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by Azhrei »

lmarkus001 wrote:I have been rather occupied with other stuff, but finally got around to looking into this and it does seem to be how the Mac is rendering the HTML.
Blasted Apple and their Java policy (or lack of policy)! :(
I am only using quotes in the HTML to be well formed, so I will just drop all of the quotes in the tip so it renders correctly on Mac and PC. (So things like align="left" will be align=left.)
That type of thing could be corrected if we had global stylesheet support... It won't be in b64, but I'll add it to my ever-growing list. ;)

jsharen
Giant
Posts: 196
Joined: Tue Feb 05, 2008 3:39 pm

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by jsharen »

Quick usability request with the latest version:

Under Edit Character, how hard would it be to have each option from the edit character radio button list, reopen the edit character screen when closed.

So if I select Edit Core option, then close the core screen, have edit character screen reopen. If I don't want it at that point, I can click cancel on the edit character options.

In my experience, when I go into edit character I usually want to do more then one thing in there and always finding the button again, while minor, is a significant annoyance.

Thanks!

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

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by aliasmask »

Did you know you can edit most of the things from the character sheet main page? Edit Core is diamond next to Main Tab link. Edit speed is diamond next to Speed Tab, etc... I think the only things not on the main page is a link to open the spell managers.

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r04

Post by lmarkus001 »

UPDATE! This new campaign file is for Maptools 1.3.B63
http://www.4shared.com/file/N-NLkmO-/MT136305_DnD35_Pathfinder.html


Updates:
  • The download now has all the relevant framework parts as separate files as well as including the old Core.cmpgn so you can play with the stuff and see how it should work. Parts list (bold indicates has changed since previous release):
    [list][*]Lib-GlobalsSRDPF b63 01.rptok, [*]Lib-libDnD35Pathfinder b63 05.rptok, [*]Lib-UDFunctionsLGM b63 01.rptok, [*]MT1.3.63_DnD35PathfinderMacros05.mtmacset, [*]MT1.3.63_DnD35PathfinderProperties05.mtprops, [*]EBT b59 02.rptok, [*]image-InvisibleMarker.rptok, [*]TeleportPad b59 02.rptok, [*]Timer b56 02.rptok, [*]SRDVariantTokenMacros.rptok, [*]MT1.3.63_DnD35PathfinderCore05.cmpgn


[*] HP Dying -- Corrected an issue that would keep it from running.
[*] Saving Throws -- The SaveMisc free text now only displays to self & GM
[*] Tool-tips -- Saving throw and Skill Check tool tips should render better on Macs now (adjusted quotes)
[*] Attack Dialog -- Targets are now sorted by distance then alphabetically. Attack defaults to Full Round (was Single). The persistent modifiers are clearly delineated.
[*] New Feats/Attacks -- Improved & Greater Two Weapon Fighting
[*] Jump Speed Modifier -- Changes to your speed now update your speed modifier for Jump (this takes on the form of a Note for Pathfinder).
[*] New State Icons -- Blur, MirrorImage, FightDefensively, TotalDefense, Stoneskin, PowerAttack
[*] State Icon Visibility -- Changed a bunch of state icons to be visible on mouse-over (general rule of thumb, if the effect is visible like blur, then the icon will always be visible, but if it is subtle like mage armor,then it only shows on mouse over)
[*] New Property -- DRERMod (used to provide mod-set support for DRER-Damage Resistance/Energy Resistance)
[*] Updated Properties -- Updated the visibility of a few properties to expose them to the owners in the stat sheet. Updated the Plothos and Wrathgon manager properties.
[*] Updated PolymorphSRD -- D&D3.5 Polymorph macro now better supports the new mod-set mechanics so is good to use.

[*] Mod Report -- Restored the Conditions table lookup and synopsis output for state icons that are not mod-set oriented (like Grappled, EnergyDrained, StableHP, etc.).
[*] edit Character -- Removed the Worn Items & Edit Items campaign macros. Moved their functionality into the "edit Character" selection macro (and don't forget the character Sheet provides links to this functionality as well).
[*] Clear All Mods -- New menu item under "edit Character". This will do a brute force clearing of all temporary modifiers, mod-sets, remove all equipped items, and turn off all state icons.
[*] subUnequipAllItems -- New macro that unequips items (this is different from the Clear All Mods as it toggles equipped items off).
[*] New Mod-sets -- Expeditious Retreat, Stoneskin (has state icon), Resist Energy (Acid,Cold,Electricity,Fire,Sonic)
[*] Fight Defensively/Full Defense -- If Tumble/Acrobatics have enough ranks (5/3), the defensive manuevers now give the correct bonuses. Both have associated state icons now.
[*] Righteous Might -- Changed to using the new built in DRER support (so deactivate it on any token that has it running before you update).[/list]

NOTE: If you are updating an existing campaign, after adding in all the various bits and pieces and saving and reloading, you should then run the setup macro: Populate/Update Global Mods. This will not touch your custom mods, but will update the core mods for the framework.

Short Term ToDo List
  • Polymorph for Pathfinder
  • Docs for the Mod-set stuff

User avatar
Paradox
Dragon
Posts: 724
Joined: Fri Feb 27, 2009 4:01 pm

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r05

Post by Paradox »

Awesome! Thank you!
I no longer believe that MapTools is usuable or intended just for programmers. MapTools is for everyone.

neofax
Great Wyrm
Posts: 1694
Joined: Tue May 26, 2009 8:51 pm
Location: Philadelphia, PA
Contact:

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r05

Post by neofax »

Lindsay,
Is there any way to add the capability of "Critical" feats and multi-attack/dmg feats into the mod-sets? This way if I use ManyShot, it allows a extra dmg roll. If I crit and have Critical Focus, it would automatically add +4 to my attack roll on the confirmation roll.

Elorebaen
Dragon
Posts: 365
Joined: Sat Dec 22, 2007 5:37 pm

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r05

Post by Elorebaen »

Awesome! thank you L!

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r05

Post by Azhrei »

neofax wrote:Lindsay,
Is there any way to add the capability of "Critical" feats and multi-attack/dmg feats into the mod-sets? This way if I use ManyShot, it allows a extra dmg roll. If I crit and have Critical Focus, it would automatically add +4 to my attack roll on the confirmation roll.
Actually, ManyShot might be handled using a ModSet. Just like Haste can provide an extra attack roll, ManyShot could provide extra damage. There would probably need to be a macro written for it. The way the modsets work is that they provide formulas for individual fields (you've seen them if you've ever looked at Edit Items), but for mods that are not so cut and dry you can also provide a macro name. That macro will be invoked during processing of the mod for an attack roll.

Beyond that I'm not sure of the details... Which params are passed to the macro? How does it modify multiple variables? And so on.

Since multiple types of damage could be added in, I've been thinking that the single field related to the weapon should just have weapon properties, and the attack dialog should allow for additional damage fields. Like it does now with favored enemy and sneak attack. But there should be a variable list of them. The question is how big should the list be? Perhaps there could be a property on the token that defines any abilities it has that does extra damage and those are added to the dialog? So ManyShot and Vital Strike could be on there, for example.

That still leaves things like Critical Focus (+4 to confirm crits). But I think that's best done as a modset.

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

Re: [D&D3.5 + Pathfinder] MT1.3b63 Campaign Macros r05

Post by aliasmask »

Lindsay, I've been looking at polymorph lately and I see that the creatures are in a table. Does that mean I can delete the monster tokens or are the monster token there for another reason?

Btw, welcome back. I haven't seen you around lately.

Locked

Return to “D&D 3.5/Pathfinder 1e Campaign Macros”