Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Possible to modify extant character sheet? (http://forums.wolflair.com/showthread.php?t=67014)

Duggan May 6th, 2022 07:33 AM

Possible to modify extant character sheet?
 
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.

ploturo 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



All times are GMT -8. The time now is 12:58 AM.

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