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
Valdacil
Senior Member
 
Join Date: Feb 2017
Posts: 119

Old May 8th, 2017, 08:35 PM
I spend so much time on the In-Play tab and view it as combat central (along with Adjust and Condition and Spells). The Tracked Resources & Abilities bothers me a little bit because it is so cluttered. I really only want to see things like limited use abilities, charges for items with charges (ie Wands) and ammo. Everything else like attunement 1/day, or the occult skill unlocks, or consumable items (torches, trail rations, etc) just clutter up the screen when I'm trying to manage resources in combat.

I already had a mechanic override for ABP, so I added a couple of lines to remove the trackers from armor and weapon attunement. I just created a new mechanic to remove trackers from all of the occult skill unlocks.

But the script for gear is a little bit different. Looking at an item that shows up that I don't want to (Magnetized Paper), I don't see the usual User.Tracker that shows up on feats and abilities. I thought maybe ShowInTabl.ipTracker might have been it, but my script doesn't seem to be working to remove that.

Without having to edit every piece of gear, any suggestions on how to quickly do that programmatically?
Valdacil is offline   #1 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old May 9th, 2017, 08:04 AM
Also try removing component.Tracker
Minous is offline   #2 Reply With Quote
Valdacil
Senior Member
 
Join Date: Feb 2017
Posts: 119

Old May 9th, 2017, 09:00 AM
I ended up figuring it out. I believe I've accounted for most exceptions and for things that have charges. I'll post the script later when I have time.

I removed Helper.UsesQty to get rid of the tracker, but first did a check to see if stackQty = trkMax (meaning the thing doesn't have charges and is single use item).
Valdacil is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old May 9th, 2017, 10:34 AM
I would recommend looking at my adjustments for example. In this case "Equipment, Remove Tracker" would have given you all the info you needed.

Thats a link to the adjustment source on github. But yes two different tags have to be removed.

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   #4 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old May 9th, 2017, 10:35 AM
Quote:
Originally Posted by Minous View Post
Also try removing component.Tracker
Scripts can't remove a component. Just FYI.

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
Valdacil
Senior Member
 
Join Date: Feb 2017
Posts: 119

Old May 9th, 2017, 11:51 AM
Lol, I've even used that adjustment to remove the tracker from daggers. Sometimes I get tied up in what I'm doing and forget to use ALL of my resources.
Valdacil 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 May 9th, 2017, 01:01 PM
Quote:
Originally Posted by Valdacil View Post
Lol, I've even used that adjustment to remove the tracker from daggers. Sometimes I get tied up in what I'm doing and forget to use ALL of my resources.
LOL Yeah I have done that also....

Just wanted to mention as adjustments are a good way to get script examples.

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
Valdacil
Senior Member
 
Join Date: Feb 2017
Posts: 119

Old May 9th, 2017, 02:01 PM
Here's what I have. This is a mechanic that runs at Render/10000:

Code:
      ~ Find all equipment that doesn't have charges except armor and weapons
      foreach pick in hero from BaseEquip where "!component.BaseArmor & !component.BaseWep & !gType.Wand & !gType.Rod & GearVlSort.LimitedUse & Helper.UsesQty"
        If (eachpick.field[trkMax].value = eachpick.field[stackQty].value) Then
          perform eachpick.delete[Helper.UsesQty]
        EndIf
      nexteach
Valdacil is offline   #8 Reply With Quote
Krothos
Senior Member
 
Join Date: Jan 2015
Posts: 463

Old May 10th, 2017, 08:25 AM
It would be awesome if this was added as a checkbox in the "Configure Hero" options.
Krothos is offline   #9 Reply With Quote
Valdacil
Senior Member
 
Join Date: Feb 2017
Posts: 119

Old May 10th, 2017, 09:00 AM
I did that for my group's homebrew files, but agreed that it would be great if this was a native option.
Valdacil is offline   #10 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 01:30 PM.


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