Member
Join Date: Feb 2017
Location: Italy
Posts: 65
|
How can I enable an option even if I don't have activated the official source for it? I want to make so that my custom source "The Shackled City" enables the use of Traits without having to activate "Unrestricted Traits" in the "House Rules" section. Is it possible?
Thank you in advance for your help and time. |
#1 |
Member
Join Date: May 2021
Posts: 84
|
Assuming you just want the Traits section to show up on the Feats tab and don't actually need any of the rules changes from the Unrestricted Feats house rule source, there is a tag on the Hero which determines whether to show it.
Code:
perform hero.assign[Dependant.UseTraits] |
#2 |
Member
Join Date: Feb 2017
Location: Italy
Posts: 65
|
Quote:
|
|
#3 |
Member
Join Date: May 2021
Posts: 84
|
If you are making your own copy of the traits Mechanic in order to override the number of traits, you can just add a new script to that.
The timing doesn't seem to matter for adding that tag (as far as I know), so I would just set the timing on the script to First 100. The line of scripting code you need is what I posted in my other reply. |
#4 |
Member
Join Date: Feb 2017
Location: Italy
Posts: 65
|
Quote:
|
|
#5 |
Member
Join Date: May 2021
Posts: 84
|
Do you have any traits bootstrapped or automatically added?
|
#6 |
Member
Join Date: Feb 2017
Location: Italy
Posts: 65
|
|
#7 |
Member
Join Date: May 2021
Posts: 84
|
I can't duplicate the problem on an unlicensed copy of Hero Lab with just the core pathfinder data files, but I also don't need to manually add the Dependant.UseTraits tag because it looks like Ultimate Campaign has an active source that adds it even if Ultimate Campaign is not purchased.
Sometimes you may run into issues where you need to close the editor to save your work, and then choose Quick Reload Data Files from the Develop menu to fully reload everything. There are some changes that just don't work right using the quick test button. Could that be the issue? Last edited by ploturo; April 22nd, 2022 at 12:55 AM. |
#8 |
Member
Join Date: Feb 2017
Location: Italy
Posts: 65
|
Quote:
|
|
#9 |
Member
Join Date: Feb 2017
Location: Italy
Posts: 65
|
Ok, progress (but maybe not in the right direction):
HL now says that my choice of Trait is invalid, marks it as error and ignores it. What should I do? |
#10 |
Thread Tools | |
Display Modes | |
|
|