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
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old May 26th, 2010, 08:45 AM
Has anyone added the Knight from the Tome of Secrets? I'm trying to add it but I am so very confused. I tried reading the tutorial but I just am not understanding it at all. I am currently stuck trying to have the class grant +2 to two skills. I can see that I am going to run into more problems as I try to add more stuff. I can't even get the bonus feats to show up at the proper intervals.
blzbob is offline   #1 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old May 26th, 2010, 11:17 AM
What skill are you trying to add the +2 too?

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old May 26th, 2010, 01:16 PM
Is the +2 being applied to 2 specific skills, or is this something along the lines of skill focus - choose two skills and add +2 to each?

Can you think of any abilities that do something similar to what you're trying to accomplish?

For example, the Druid's Nature Sense ability adds +2 to the Knowledge (Nature) and Survival skills - make a copy of that in the Class Specials tab, and you can take a look at its script to figure out how it works.

For adding bonuses to a user-selected skill, perhaps the Gnome's Obessive ability (you'll find that in the Racial Specials) - that adds +2 to a skill the user chooses. There are many traits that offer a choice of skills, and then add a bonus to the chosen skill - by comparing how Obsessive and those traits restrict the list of skills to choose from, you may be able to create any restriction this class gives.

For the bonus feats, can you elaborate on what you've tried entering, and what result you're getting?
Mathias is offline   #3 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old May 26th, 2010, 08:54 PM
I think I got it. I couldn't find the druid ability script but I still was able to get it to work. For the bonus feats, you may want to mention in the tutorial that you need to put the number of bonus feats as a cumulative total at the appropriate level. It took me a few tries to figure that out. If it's in the tutorial, I couldn't find it.

This is the page I was using: file:///C:/herolab/Data/pathfinder/authoring/pathfinderedittut3.htm

Thank you for the help. I think I'm getting the hang of this slowly. Expect more questions from me. I'm a little slow with stuff like this. Once I've got it, I tend to have it for good. It's just the getting started part that's hard for me.
blzbob is offline   #4 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old May 28th, 2010, 06:49 AM
I have another question. Is it possible to set the class abilities up so that something where you get a bonus every 4 levels just shows what the bonus is on the character sheet?

For example, the knight's mounted combat ability:

Mounted Combat (Ex): At 4th level and every four levels thereafter, the knight receives a bonus to his melee attack and defense rolls while mounted. The amount of the bonus is indicated on the knight table.

Can I set this up so that at 4th level it prints out +1, at 8th level it prints +2, etc?
blzbob is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old May 28th, 2010, 07:05 AM
Can you think of any other class abilities that work like this, that you could study, to figure out how they work?

(I'm not talking about the effects - the bonus while mounted - can you think of other class abilities that increase by +1 every X levels? Or gain +1 use/X levels?)

Last edited by Mathias; May 28th, 2010 at 07:15 AM.
Mathias is offline   #6 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old May 28th, 2010, 08:36 AM
I'm trying to use the Fighter's Bravery as an example but I keep getting an error saying Syntax error in 'eval' script for Thing 'cMounCom' (Eval Script '#1') on line 1 -> Reference to undeclared variable: 'Mounted".

This is what Bravery says for the Eval Script:

field[listname].text = "Bravery +" & field[xIndex].value

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

field[abValue].value += field[xCount].value
field[abSumm].text = "+" & field[abValue].value & " Will save vs. Fear"
field[livename].text = "Bravery +" & field[abValue].value


This is what I did for the Mounted Combat:

field[listname].text = Mounted Combat+" & field[xIndex].value

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

field[abValue].value += field[xCount].value
field[abSumm].text = "+" & field[abValue].value & " +1 to attack/damage while mounted"
field[livename].text = Mounted Combat+" & field[abValue].value


I didn't change Phase, Priority, or Index.
blzbob is offline   #7 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old May 28th, 2010, 08:54 AM
Quote:
Originally Posted by blzbob View Post
field[livename].text = Mounted Combat+" & field[abValue].value
Your problem is in this line of code. You don't have a leading quote around the word Mounted Combat+. So its trying to use Mounted as a variable name instead of treating it as a string.

It should read as follows:
Code:
  field[livename].text = "Mounted Combat+" & field[abValue].value
Also looks like Copy & Paste was not your friend as you also have the same issue for the very first line
Quote:
Originally Posted by blzbob View Post
field[listname].text = Mounted Combat+" & field[xIndex].value
Fixed
Code:
field[listname].text = "Mounted Combat+" & field[xIndex].value

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.

Last edited by ShadowChemosh; May 28th, 2010 at 08:56 AM.
ShadowChemosh is offline   #8 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old May 28th, 2010, 08:54 AM
Your problem is in the first line - you need a quote before Mounted Combat:

Code:
 
field[listname].text = "Mounted Combat+" & field[xIndex].value
Without the quote, HL thinks Mounted is a variable you're trying to use without declaring it.
Mathias is offline   #9 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old May 28th, 2010, 06:42 PM
Thanks. I knew it had to be something simple.

Thank you for your patience. I will get the hang of this and ask fewer questions as I go on. I hope I'm not a pain in the butt.
blzbob is offline   #10 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 03:45 AM.


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