Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > Hero Lab Discussion
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 23rd, 2016, 05:12 PM
I'm trying to address two problems I'm working on in the 4e files, one of which will help me fix the other.

The first is that the the various Implement Expertise feats (which are supposed to add a bonus to those powers that use a given implement) don't actually work. I suspect that's because they don't actually apply the value they've derived to anything.

A parallel sort of thing is an ability that adds to powers that use various weapons. That seems to work. However in trying to use it as a model, I have the problem that I can't tell what sort of, well, component a reference in it might be (and thus what the parallel to implements might be.) For reference here's a chunk of code applying to weapons:

Code:
 
foreach pick in hero from WeaponBase where "WepGroup.wgStaff"
        perform eachpick.field[wpAtkFeat].modify[+,bonus,""]
What I can't figure out is what "WeaponBase" might be here. Anyone care to speculate? I'm guessing it might be the program category the weapons are all stored in, but don't know, if true, how I'd find the equivalent might be for the implements.
Paragon is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 23rd, 2016, 06:23 PM
WeaponBase would be the component that is used to build all weapons. In Pathfinder its BaseWep.

You can see components that make something up by looking at the tags on the Pick. At the bottom will be all the components that make up the Pick. (ie component.WeaponBase)

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   #2 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 24th, 2016, 06:38 AM
Thanks. I'll give it a look later today and see if I can work it out, then.
Paragon is offline   #3 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 24th, 2016, 04:10 PM
Okay, I'm looking at samples of the longsword, and it does not seem to actually list anything called "WeaponBase" amidst its tags. It distinctly is a component because I can find it in the TimingReport in the data directory for 4e (as component.WeaponBase), but the individual weapons entries don't actually seem to have any reference to it...and thus any way to find the implement's parallel.

As an example, here's the longsword entry:

Code:
<thing id="wpLongswor" name="Longsword" compset="Melee">
    <fieldval field="grCost" value="15"/>
    <fieldval field="gearWeight" value="4"/>
    <fieldval field="wpProf" value="3"/>
    <tag group="WepDamage" tag="1d8"/>
    <tag group="WepCat" tag="wcMilitary"/>
    <tag group="WepProp" tag="Versatile"/>
    <tag group="WepGroup" tag="wgHeavyBl"/>
    </thing>
Paragon is offline   #4 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 24th, 2016, 04:32 PM
The confusion here is words. I mentioned look on the "Pick" actually not the "Thing". The XML above is considered a 'Thing' because its in the HL database but its not live on the hero yet. Once you add a longsword to your character (ie you picked it) it becomes live and is a 'Pick'.

Add a longsword to your character. Go to "Develop->Enable Data File Debugging" and make sure this is on. Then RIGHT click on the little "?" next to your weapon to see new options display. Click on "Show Debug Tags for Longsword" which opens a new window displaying all the tags that exist on that weapon when its "live" and on the character. At the bottom of that list are the components. In addition you can type in to the text box to "search" if you wish for specific tags.

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   #5 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 24th, 2016, 06:28 PM
Ah, yes. My lack of proper terminology confused me. I suspect it's component.Equipment from looking at that. I'll give it a try.
Paragon is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 24th, 2016, 09:36 PM
Quote:
Originally Posted by Paragon View Post
Ah, yes. My lack of proper terminology confused me. I suspect it's component.Equipment from looking at that. I'll give it a try.
In the Pathfinder forum I have a Glossary of Terms for the Editor I did. I try and cover often used editor terms that can be very confusing at first.

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   #7 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 26th, 2016, 07:02 AM
Thanks for all your help. It ended up opening up a deeper and more complicated problem, but it might be useful to know farther down.
Paragon is offline   #8 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 10:02 PM.


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