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
Broven
Junior Member
 
Join Date: Jul 2011
Posts: 12

Old March 3rd, 2013, 05:25 PM
I'm very new to using the editor. I was wondering if someone would be willing to walk me through the steps to create the Agile weapon special quality.

I'd really appreciate it.

Thanks in advance.
Broven is offline   #1 Reply With Quote
ValaraukarU
Senior Member
 
Join Date: Aug 2010
Location: Dayton, Ohio
Posts: 165

Old March 3rd, 2013, 06:33 PM
for me I added an item power. Just use one of the existing weapon powers as a base for creating the item power. Then I edited it to agile for all descriptions. I was too lazy to figure out the script to take the highest bonus of strength or dexterity, so instead I just added a Weapon Attack Bonus and Weapon Damage Adjustment on the character for the selected agile weapon. Set the adjustment for the poper difference between dex and str and was done.
ValaraukarU is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 3rd, 2013, 09:28 PM
With the new tags that where recently added this is really easy to script actually.

So go to the "Item Power" tab in the Editor and just do a new (blank). Then Price (equivalent bonus) is "1". Requirements is set to "Melee weapons".

Then the script looks like this (Pre-Attributes/10000):
Code:
~ No Weapon Finesse feat then get out now!
doneif (hero.tagis[Hero.Finesse] <> 1)
~ Assign Damage uses Dex or Str tag to weapons parent
perform parent.assign[DamageOpt.aDEX]
DamageOpt - if you want to use the higher of Str or the new attribute for damage.

We use Parent here as the Parent is the Gizmo which is where the Weapon is actually stored. So we simply assign to are parent the tag that says use Dex for damage.

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   #3 Reply With Quote
ValaraukarU
Senior Member
 
Join Date: Aug 2010
Location: Dayton, Ohio
Posts: 165

Old March 4th, 2013, 05:34 AM
Thanks Shadow, works great.
ValaraukarU is offline   #4 Reply With Quote
Broven
Junior Member
 
Join Date: Jul 2011
Posts: 12

Old March 4th, 2013, 04:16 PM
Yep, that works great. Thank Shadow. And thanks for the explanation as well. Very helpful!
Broven is offline   #5 Reply With Quote
raptortamer
Junior Member
 
Join Date: Jan 2014
Location: Florida
Posts: 2

Old January 19th, 2014, 08:50 PM
Iv been trying to do this at the moment, and i dont really understand i have never scripted before and im not really looking to learn much but i want to do this, to simpilfy things can some one elabrate on shadows discription for me :c im lost
raptortamer is offline   #6 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old January 20th, 2014, 07:37 AM
What part is confusing you?
Aaron is offline   #7 Reply With Quote
raptortamer
Junior Member
 
Join Date: Jan 2014
Location: Florida
Posts: 2

Old January 20th, 2014, 11:26 PM
when it says (Pre-Attributes/10000) not sure what that means or where the script he posted actually goes also i have no idea how to tag gizmo as a parent im really sorry >.<
raptortamer is offline   #8 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 29th, 2014, 11:11 AM
Quote:
Originally Posted by raptortamer View Post
when it says (Pre-Attributes/10000) not sure what that means or where the script he posted actually goes also i have no idea how to tag gizmo as a parent im really sorry >.<
Sorry I missed this question SO long ago but as I recently got questions about this thread I figure I may as well complete the info for others.

The above info assumes you have created a .user file and by going to "Tools->Show Editor". Then gone to "Equipment->Item Power" in the editor.

Then do a new (blank). Then Price (equivalent bonus) is "1". Requirements is set to "Melee weapons".

You have to add the "script" that is the most important. In the top Right corner click on "Eval Scripts" and add a new eval script.

Set the Phase to Pre-Attributes and Priority to 10000. Then copy the "Code" that follows into the "Script:" section.
Code:
~ No Weapon Finesse feat then get out now!
doneif (hero.tagis[Hero.Finesse] <> 1)
~ Assign Damage uses Dex or Str tag to weapons parent
perform parent.assign[DamageOpt.aDEX]
Press "OK" and save. Then click on "Test Now!" on the top left corner to get it to compile.

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   #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 11:04 PM.


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