• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Custom Ability Arrays

I just had a quick thought/question to see if there was an easier way to do the particular task I'm doing. I tried searching it, but I couldn't think of what exactly I should be searching for lol. To the details:

I'm building pretty much a port of Artificer over to pathfinder. Not perfect and making some modifications, but as close as I can get it. Most of its pretty easy, bonus feats and abilities that dont have counts or need to be involved with herolab at all. However, I decided to have hero lab show how much experiance the artificers reserve should have per level, and if possible make it so you can adjust that in the in play section for when you broke down magical items. (i'm actually using 'scrap' which is pretty much a portion of the broke down items value, as pathfinder no longer uses exp for the item creation process). At each level it increases by a value that is not static, 20 for the first five, then 50 for four, then 100 for one, then 200 for three, and so on.

My question is, is the best way to just make an ability for each level with the listed amount, or is there some relatively simple (for someone with minor amounts of experience) to make a single ability that shows and modulates it in tracked resources?

Edit: I think I could do the scripting part, as it would be referencing the hero's level and adjusting the tracked resources to a value based on that and I could just do multiple lines based on that, if I'm not mistaken, but I guess the real problem is I don't know what anything is called or where to put this script. At very least I could experiment somewhat then, but I don't know where to start ><
 
Last edited:
Not to derail your port of the Artificer, but there is a 3PP book, Tome of Secrets by Adamant Entertainment that has done a fair job of creating the Artificer as well.

Hate for you to have to reinvent the wheel completely.:)

As for the scripting thing... I personally have no idea... sorry :confused:
 
To be honest, I didn't care for the feel of that artificer lol I mean, yes its similar, but it didn't feel quite like the old one in flavor lol.

However, in writing this and looking more closely at the editor, I think I may have at least found what Id's I need to use in the coding, which are trkMin,trkMax,trkUser. I think I can set the max to high enough, and then just have it add to the user amount whenever they level up, as unlike in the original artificer I want the bonus amount to stack with what they already have. That seems reasonable anyways. Now I just have to find where I put it lol

Edit: Well, I think the theory is good, but I'm still not quite sure how to actually modify the id's above, as I don't know the 'path' to get to them. I assume it must be something like in "Location, Location, Location" like hero.child[skClimb].field[Bonus].value, but I dont know what it is or how to get to it. I'll keep looking, though if anyone just knows off the top of their head, I'd be grateful, or better yet how to find that out in the program?

Edit 2: Annnnd figured it out >< I guess next time I'll fiddle more than 3 hours before posting. I also feel the need to be honest about my idiocy. I opened the help file from the editor and did all the tutorials. I didn't notice that there was more to scroll down to, particularly the very very useful reference information. >.<'

Edit 3: Well, it seems you cant edit trkuser with a script :( so I guess manual it is.
 
Last edited:
trkUser is a user field, so it can't be set by scripts. trkMax controls the maximum that the tracker can be set to and is probably what you want to be manipulating.

How to get to something often depends on where you start. If your eval script is on the same ability that you want to serve as the tracker, you don't need to navigate anywhere other than to the field. For example:

PostLevel 10000
Code:
if (field[xAllLevel].value >= 4) then
  field[trkMax].value += 80

elseif (field[xAllLevel].value >= 3) then
  field[trkMax].value += 60

elseif (field[xAllLevel].value >= 2) then
  field[trkMax].value += 40

else
  field[trkMax].value += 20
  endif
 
You may want to search this forum. I remember a discussion of an artificer class that had a pool of something that could be spent on items several years ago, so there may be a completed version of this class already out there.
 
You may want to search this forum. I remember a discussion of an artificer class that had a pool of something that could be spent on items several years ago, so there may be a completed version of this class already out there.
The Eberron Artificer class was done/finished and included in the "Pathfinder Campaign Pack". In the conversion to Pathfinder I changed the XP to be gp instead.

The "Tome of Secret" Artificer one is also done and in the "Pathfinder 3PP Pack".
 
Last edited:
Back
Top