Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Adam.Ormond
Senior Member
 
Join Date: May 2010
Location: Maryland
Posts: 164

Old June 29th, 2011, 10:03 AM
I want to implement a house rule that grants Weapon Finesse to all characters, but only if they actually qualify for the feat. I know I can add a data file to bootstrap it, like so:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<document signature="Hero Lab Structure">
	<bootstrap index="278" thing="fWepFin"/>
</document>
But this ignores the pre-reqs. Is there a more elegant solution?
Adam.Ormond is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,855

Old June 29th, 2011, 10:44 AM
You can use the Mechanics tab instead of hacking it into the program. All mechanics are added to all characters, so you can bootstrap the feat from the mechanic. That also allows you to add a source to the mechanic, so that this only applies to someone who wants to make use of this house rule.

I'm afraid you'll need to use a script to figure out whether the character qualifies for that feat. If they don't qualify, then find the feat you bootstrapped, and assign the following tags:

Helper.FtHide
Helper.FtDisable
thing.skipprereq

That will hide the feat and disable its effects, so it will act as if it were never added. There's currently a bug in weapon finesse, so the disabling will not currently do anything (it'll act as if its still there), but once I get a chance to fix that, this will allow you to grant Weapon Finesse only under certain circumstances.

In the meantime, you can use the source you added to the Mechanic to manually decide whether that specific character qualifies - if they don't, turn off the source.
Mathias is offline   #2 Reply With Quote
Adam.Ormond
Senior Member
 
Join Date: May 2010
Location: Maryland
Posts: 164

Old July 21st, 2011, 04:37 PM
I created a source ("adamHRules") and a Mechanic ("mechHRules") which bootstraps the fWepFin thing. That part works fine, and when I select it in the Configure Character dialog, characters are granted the feat.

However, regardless of whether the source is selected in the Configure Character dialog, I receive the following error when loading a portfolio:
Code:
Attempt to access non-live source pick 'mechHRules' from script
Location: 'eval' script for Component 'BaseRace' (Eval Script '#16') near line 23
Attempt to access non-live source pick 'mechHRules' from script
Location: 'eval' script for Component 'BaseRace' (Eval Script '#16') near line 6
What am I doing wrong?

Last edited by Adam.Ormond; July 21st, 2011 at 04:39 PM.
Adam.Ormond is offline   #3 Reply With Quote
Adam.Ormond
Senior Member
 
Join Date: May 2010
Location: Maryland
Posts: 164

Old July 22nd, 2011, 01:48 PM
Anyone? I can't figure out why 'BaseRace' is interacting with my mechanic, or how to stop it/fix it.
Adam.Ormond is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,855

Old July 22nd, 2011, 05:31 PM
Would you mind bumping this after Gen Con, please? I don't have enough time to study this right now.

A quick glance tells me the interaction is in the script that figures out whether a feat on the hero is one of those that will be suppressed when you click the "Customize?" checkbox for a race, but I can't see at a glance why it's a problem.
Mathias is offline   #5 Reply With Quote
Adam.Ormond
Senior Member
 
Join Date: May 2010
Location: Maryland
Posts: 164

Old August 10th, 2011, 07:04 AM
Any time to look into this now?
Adam.Ormond is offline   #6 Reply With Quote
Adam.Ormond
Senior Member
 
Join Date: May 2010
Location: Maryland
Posts: 164

Old August 12th, 2011, 10:32 AM
Still hoping for a fix or work-around that isn't 'hacking' the program
Adam.Ormond is offline   #7 Reply With Quote
Charender
Junior Member
 
Join Date: Aug 2011
Posts: 21

Old August 31st, 2011, 01:51 PM
I was attempting to do something similar(add a mechanic that grats certain feats for free), and I ran into a similar error.

When I open the portfolio, I get a bunch of errors:
Attempt to access non-live pick via script fails for pick 'mHouseRu' from script
Location: 'eval' script for Component 'BaseRace' (Eval Script '#16') near line 23

mHouseRu is the name of my house rule mechanic.

The problem appears when I add my summoner to the portfolio. After that, I have to create a new portfolio and import all of my other characters to make it go away.

Last edited by Charender; August 31st, 2011 at 02:02 PM.
Charender is offline   #8 Reply With Quote
Charender
Junior Member
 
Join Date: Aug 2011
Posts: 21

Old August 31st, 2011, 01:57 PM
Double Post

Last edited by Charender; August 31st, 2011 at 02:04 PM.
Charender is offline   #9 Reply With Quote
Adam.Ormond
Senior Member
 
Join Date: May 2010
Location: Maryland
Posts: 164

Old September 2nd, 2011, 10:37 AM
Yeah, I gave up hope on getting a fix. I'm back to 'hacking' the program -- the only way to do this that actually works without producing errors every time you open a portfolio.
Adam.Ormond is offline   #10 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 08:57 PM.


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