• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Using Pathfinder Data

nuku

Well-known member
When making your own data file, how do you avoid dependencies on licenses for non core files if you use non core options in your book?
 
I'm sorry, but I'm not sure what question you're trying to ask. Could you please clarify it?
 
If you refer a feat from, say, advanced race guide, does that mean you have to require the user have the advanced race guide data file, or is there a better way to do it?
 
If your code is referring to a feat by its Id, and the user does not own the package with that feat, the Id will not exist in their copy of Hero Lab, so the code will not know what it is you're trying to accomplish.
 
To test whether your creation depends on another package, in the Develop menu, use the "Choose Supplement Packages" option to turn off the ones you want to test for dependancies. Then, use the Compile Data Files option at the top of the Develop menu to compile the Pathfinder files, and see if there are any error messages (and then remember to turn back on the supplement packages before you go back to using your copy).
 
Right. I know that I am using a feat that is in another book. Is it legit to copy that feat? Do I have to just remove reference to that feat and there no particular workaround and you just have to live with 'requires these data packages: List here'?
 
No, I'm sorry, unless you have access to the structural files, if you've written code that depends on content from a package, there's no way a user can set things up so that someone else can use that material without owning that package.
 
The structural files for the Paizo book in question, or the custom file that refers to the Paizo book?
 
You would need access to the files that define how the Pathfinder game system functions in Hero Lab. Those are not things we expose to the users.

If you're creating a package that will be sold through our Powered by Hero Lab program, then these are problems that we will handle once it's time to put your package on sale.
 
Ah? Is there an approval process? I have failed to get a reply regarding that through my support ticket on the matter.
 
I see your case in the support inbox. Please give us time to respond, we've got quite a lot on our plates right now.
 
If this is just for house rules you can use the tagcountstr option to check it.

Code:
hero.tagcountstr["HasFeat.???"] <> 0

I believe that's what the Community Player Pack uses as to not require the players to have every single package.
 
Excellent! I will pass that along to my hero lab programmer and see if we can't put that to work for a better file. Thank you very much.
 
If this is just for house rules you can use the tagcountstr option to check it.

Code:
hero.tagcountstr["HasFeat.???"] <> 0

I believe that's what the Community Player Pack uses as to not require the players to have every single package.
Correct I use a combination of methods but using tagcount "String" and Assign String functions allows me to get around exactly what Mathias was talking about.

The only issue to keep in mind is that anything using a "soft" coded string search is going to take up more CPU usage. But often its worth the pay off.
 
Back
Top