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
zeepee
Junior Member
 
Join Date: Jun 2012
Posts: 23

Old December 16th, 2013, 03:54 PM
Hi all,

I am desperately trying to recreate some feats/items from some old D&D 3.5 splat books.

I have added a items through the editor before (primary copy/pasting scripts from similar items) but I just can't figure out how to recreate these 3 things..

I know some of the effects could be emulated through ShadowChemosh's Adjustments, which are fantastic..!

However, I would really love to have the things recreated the "right" way into Hero Lab. So if any of you hardcore editor folks out there would be willing to help out. I would be forever grateful..


First item is a Armor modification you add to one of the existing armors, when you buy it, which will raise the chosen armor's (Half-Plate or Full Plate) total Armor AC by +1 (but otherwise function as the normal counterpart)

The description is as follows:

Besagues
These circular plates are tied to the elbow joint and in front of the shoulders of full and half plate armour for additional protection.

Besagues:
+50 gp, AC +1, Max Dex -, Check -, SF +5%, Spd - ft./- ft., +2 lb.

I have tried to add it into the Special Abilites section under Armors, but besides the cost and weight, I just can't get the bonuses/penalties to work properly.


The second one is a feat called: Improved Sneak Attack

The description is as follows:
You can make exceptionally precise and lethal sneak attacks.

Prerequisites:
Base attack bonus +2 or higher, ability to sneak attack.

Benefit:
Your bonus damage for sneak attacks is 1d8 at 1st level and an additional 1d8every two levels thereafter. This extra damage is not multiplied if you score a critical hit with a sneak attack.

Normal:
Rogues without this feat receive 1d6 bonus damage for sneak attacks at 1st level and an additional 1d6 every two levels thereafter.

Again can't get the bonus to work (don't know how to change the damage die on sneak attack).


The third one is Elven Masterwork

The description is as follows:
Elven masterworks follow the normal rules for creating masterwork items. An elven masterwork component is much harder to craft, costing 500 gp and with DC 25 in the Craft check. The time and expense are worth it, as an elven masterwork weapon grants a +2 bonus to attack rolls, while armour check penalties are reduced by -2. Other elven masterwork items grant an additional +2 bonus to activities performed with them. The cost of elven masterworks is triple that of their normal counterparts, plus the cost of the masterwork component.

I would love to have this option under "Base Item" or besides the normal "Masterwork" option under custom Weapons and Armor, but since I can't even find the original "Masterwork" rule in the editor, I don't know if that is even possible.


Again, any help would really be appreciated..

Last edited by zeepee; December 17th, 2013 at 04:10 PM.
zeepee is offline   #1 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old December 16th, 2013, 04:44 PM
For the Besagues, have you looked at the Kilt? I don't know if that will help you but it might.

I don't know how to increase the damage die for the sneak attack but you could look at Improved Natural Attack for an idea. I don't know if that will help or not.

The Elven Masterwork would be rather easy to do. Go to the Materials Tab and create it that way. You can select to have it Force Masterwork then just write an Eval Script that uses the additional adjustments (don't forget to account for the already Masterwork portion in your math).
blzbob is offline   #2 Reply With Quote
zeepee
Junior Member
 
Join Date: Jun 2012
Posts: 23

Old December 17th, 2013, 04:06 PM
Hi blzbob,

Thanks for the suggestions..

I have tried to edit the Armor Kilt special ability Eval Script, but every time I take out all the other stuff like armor size changes and so on, I get different kind of errors.

I have also tried using other Eval Scripts suggestions (from the forums) on adjustments on other Armor Class types, but when I edit them to give a bonus to the Armor type Armor Class, it don't work.

I am not good with programming, I don't have a lot of experience with it, so I was hoping someone could show me a Eval Script that could do this.


If I put the Elven Masterwork under materials would that not prevent me making a Elven Masterwork Silver Longsword..?
Hero Lab prevents me from using multiple materials at once.

BTW, can you point out where I can find the original Masterwork Eval script, so I can modify it to give the +2 bonus instead..?


/Zeepee

Last edited by zeepee; December 17th, 2013 at 04:14 PM.
zeepee is offline   #3 Reply With Quote
blzbob
Senior Member
Volunteer Data File Contributor
 
Join Date: May 2010
Location: Mountlake Terrace, Washington
Posts: 407

Old December 17th, 2013, 04:33 PM
I'm not very good at the scripting either. I spend far more time trying to figure it out than several others. I didn't realize that you wanted the Elven Masterwork to be applied to any material. For that you may have to make it an Item Power.
blzbob is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old December 18th, 2013, 11:37 AM
For the sneak attack, someone else was just talking about doing something similar (increasing the size of sneak attack die to d8 rather than d6) a couple weeks ago. I recommend doing a forum search to find the thread where that was explained.

For the Besagues make it an item power and have 1 eval script at First 5000

Code:
        container.parent.field[arAC].value += 1
        container.parent.field[arArcFail].value += 5
and add an expr-req stating it can only be added to full plate/half plate.

For Elven Masterwork make it an item power and give it an eval script at Pre-Level 2500

Code:
      perform container.parent.assign[EquipType.Masterwork]

      if (container.parent.tagis[component.BaseArmor] <> 0) then
        ~ Only modify the armor check penalty by 1, because we force masterwork,
        ~ and that's adding another +1
        container.parent.field[arArmorChk].value += 1
      else
        perform container.parent.setfocus
        #applybonus[atmBonEnh, focus, 2]
        #applybonus[atrBonEnh, focus, 2]
        endif
Code is not tested, you may have to tweak it.
Aaron is offline   #5 Reply With Quote
zeepee
Junior Member
 
Join Date: Jun 2012
Posts: 23

Old December 18th, 2013, 04:52 PM
Hi Aaron,

Thank you very very much.

You are the Man..! the Eval Scripts you suggested worked like a charm...

I will look for the Sneak attack post you mentioned.


Thanks again, you really saved the day..


/Zeepee
zeepee is offline   #6 Reply With Quote
zeepee
Junior Member
 
Join Date: Jun 2012
Posts: 23

Old December 21st, 2013, 04:27 AM
Hi Aaron,

I found the thread you mentioned, and you were right it actually contained an Eval Script which should perform the same action as I was looking for.

However, when I copy/paste the script, they agree that works, into my Hero Lab, it gives me an error on the script. I have tried adding and modifying to the script in different ways, but I can't figure out what the problem is.

I wondered if you, or someone else, is able to see if something obvious is missing from this script:

Code:
foreach pick in hero where "thingid.cSneakAtt"
eachpick.field[listname].text = "Sneak Attack +" & eachpick.field[xIndex].value & "d8/+" & eachpick.field[xIndex].value & "d8"
nexteach

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

foreach pick in hero where "thingid.cSneakAtt"
eachpick.field[livename].text = "Sneak Attack +" & eachpick.field[abValue].value & "d8/+" & eachpick.field[abValue].value & "d6"

Every time I try to test it I get the following error:

Syntax error in 'eval' script for Thing *HER_FIMPSA' (Eval Script #1) on line 10 -> One or more 'if' statements is missing the closing 'endif statement.


Thanks in advance, and merry Christmas..


/Zeepee
zeepee 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 December 21st, 2013, 08:11 AM
Each foreach requires a nexteach to end it. Your last loop has a foreach but no nexteach to end the code block.

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.
ShadowChemosh is offline   #8 Reply With Quote
zeepee
Junior Member
 
Join Date: Jun 2012
Posts: 23

Old December 22nd, 2013, 10:49 AM
Thanks ShadowChemosh, that did it..

I thought the "nexteach" command was used for more instructions, not as "finish" command.

Well, I am getting wiser by the day.

Thanks again, and thanks for the Adjustments download, we use that often to solve things that are missing in Hero Lab for Pathfinder.


/Zeepee
zeepee is offline   #9 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 06:21 AM.


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