Junior Member
Join Date: Jul 2011
Posts: 12
|
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. |
#1 |
Senior Member
Join Date: Aug 2010
Location: Dayton, Ohio
Posts: 165
|
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.
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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] 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. |
#3 |
Senior Member
Join Date: Aug 2010
Location: Dayton, Ohio
Posts: 165
|
Thanks Shadow, works great.
|
#4 |
Junior Member
Join Date: Jul 2011
Posts: 12
|
Yep, that works great. Thank Shadow. And thanks for the explanation as well. Very helpful!
|
#5 |
Junior Member
Join Date: Jan 2014
Location: Florida
Posts: 2
|
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
|
#6 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
What part is confusing you?
|
#7 |
Junior Member
Join Date: Jan 2014
Location: Florida
Posts: 2
|
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 >.<
|
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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] 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. |
|
#9 |
|
|