Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
evilash
Member
 
Join Date: Sep 2009
Posts: 55

Old September 6th, 2009, 11:25 PM
I hope this is the correct forum for this post. I've been entering the campaign traits for Second Darkness into Hero Lab via the Editor. When it comes to scripting the traits I have a problem with some of them, and would like some help. Specifically it's the traits where you make a selection that I can't figure out how to script. There's the Looking for Work trait, where you select a skill from a list, and you then get a +1 trait bonus on that skill and it's a class skill for you. Then there's the Into Enemy Territory, there you select a saving throw to receive a +1 trait bonus on.

Can anyone enlighten me how to script these traits?
evilash is offline   #1 Reply With Quote
Micco
Member
 
Join Date: Aug 2009
Posts: 55

Old September 7th, 2009, 08:49 AM
I could tell you how, but it's better to tell you how to find it so you can do it for all of them.

The way I figured it out was to open a second HeroLab application, load the d20 (even the demo version works) files. Then open the editor and tell it to open a file. Navigate to the "source" directory and find the pth_second_darkness.dat file. Load it, go to the Traits tab, select "New (Copy)" and find the trait you want to copy. Open the Eval window, copy, paste across into your Pathfinder version of HL. Presto!

EDIT: Oh, HL Pathfinder skills start wit "sk", not "k" like in the d20 files.

EDIT 2: Oh, and a very important little thing that isn't very clear that will help a LOT. On the Editor when you click on "Help" you actually get some! Seriously, I rarely click "Help" on a program because it usually only provides legal verbiage or other marginally helpful info. But with HeroLab it takes you to the files that actually tell you how to edit stuff, add feats, etc. So be sure to check it out if you haven't.

Last edited by Micco; September 7th, 2009 at 09:00 AM.
Micco is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 7th, 2009, 10:35 AM
Some of the other scripting language changes that will be important to the feats you want to add are that all saves and save-related fields are now prefixed with "sv" instead of "v", and if you see a line that includes "field[fChosen].chosen", that's now "field[usrChosen1].chosen"
Mathias is online now   #3 Reply With Quote
evilash
Member
 
Join Date: Sep 2009
Posts: 55

Old September 7th, 2009, 10:53 PM
Thanks for the assistance. I found the traits and have converted them to PRPG.
evilash is offline   #4 Reply With Quote
Reply


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 09:52 AM.


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