Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old May 6th, 2022, 07:33 AM
I know how to build a character sheet with Authoring Kit files. And I've seen people list improved Pathfinder files. Are those fine using game system files? XSLT transforms on the XML output? And is there any way to avoid having to write a new one from scratch?

I'm actually looking at a reported bug for Mutants and Masterminds, and this is the community with the most knowledge for extending the current system.
Duggan is offline   #1 Reply With Quote
ploturo
Member
 
Join Date: May 2021
Posts: 84

Old May 6th, 2022, 02:39 PM
I don't think there is a way to access the built-in sheet to make changes to it, so you would probably be better off temporarily making changes to the Hero during printing from a script.

(Theoretically, you might be able to make your own output dossier that just adds additional sheets/content to the built-in version if you can find out or guess the unique ids for the sheets or layouts used in the built-in version. But you would still be very limited in terms of changes you could make to the original content.)

Assuming that you are trying to fix the Grab output bug, it looks like the built-in MM3E sheet won't output certain picks in the Offense section if they have a Defense.? tag.

You can find out if the script is running during the output process (dossiers, text stat blocks, etc) by checking the value of state.isoutput, and maybe then remove the Defense.? tags after everything else has already been calculated?

Something like the following in an adjustment maybe, either targeting Grab specifically or iterating through all added weapons with a Defense.? tag?

Code:
perform hero.childfound[wpGrab].setfocus
done if (state.isfocus = 0)

if (state.isoutput <> 0) then
   ~ make whatever changes
   perform focus.delete[Defense.?]
   focus.field[atkSpecial].text = "vs Spec"
endif
ploturo is offline   #2 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:24 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.