Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
B0X315
Junior Member
 
Join Date: May 2010
Posts: 12

Old August 20th, 2010, 12:57 AM
I have the item all made. Slot, gold piece value, spell effect (constant), but I don't know how to make it actually adjust someones carrying capacity when it is equipped. Could anyone give me a hand?
B0X315 is offline   #1 Reply With Quote
Bishop37
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Location: Austin, TX
Posts: 267

Old August 20th, 2010, 03:43 AM
I don't think encumbrance range is an editable quality. Mathias will have to do some work on the back end before items like this or the masterwork backpack will be able to be implemented in the data files.
Bishop37 is offline   #2 Reply With Quote
B0X315
Junior Member
 
Join Date: May 2010
Posts: 12

Old August 20th, 2010, 09:23 AM
That is entirely frustrating seeing as how my character stats up as having a heavy load even though he doesn't do to the item thanks anyways.
B0X315 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 August 20th, 2010, 09:52 AM
Quote:
Originally Posted by Bishop37 View Post
I don't think encumbrance range is an editable quality. Mathias will have to do some work on the back end before items like this or the masterwork backpack will be able to be implemented in the data files.
This is true for the Backpack as it does a weird thing of changing Str. Ant Haul is a simple 3 times affect which can be done really easily in the Editor actually.

HERE is a thread where I asked a similar question last year for a custom race that increase their carrying capacity by 1.5 times. So just take the script Mathias did and change it to be times 3 instead of 1.5.

Just also as an FYI their is some GREAT information in the archives of these forums. I usually find 99% of my questions just by doing a search.

Hope this helps.

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
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old August 20th, 2010, 09:56 AM
The ant haul spell is something that can currently be implemented in HL.

The +X STR for the purpose of encumbrance that the masterwork backpack requires isn't do-able, yet.

In the develop menu, make sure that the top item "Enable Data File Debugging" is enabled.

Then at the bottom of the develop menu, select "Floating Info Windows", then "Show Hero Fields". Scan through the list of fields there, and you'll find a block of fields that all start with "tEncum". You're specifically interested in tEncumLgt, tEncumMed, and tEncumHvy.

What you'd probably have had trouble figuring out is the timing. tEncumLgt, Med, and Hvy are calculated at Post-Attributes/1000, and tEncumLev (which of those categories you're in) is calculated at Post-Attributes/2000, so that's a narrow window.

So, at Post-Attributes/1950 (you want to put this at the very end of the timing window in case something else wants to add a fixed amount to the carrying capacities earlier on):

Code:
 
~if we're equipped
if (field[gIsEquip].value <> 0) then
  ~multiply our carrying capacities by 3
  herofield[tEncumLgt].value *= 3 
  herofield[tEncumMed].value *= 3
  herofield[tEncumHvy].value *= 3
  endif
Or in an adjustment:

Code:
 
~if we're active
if (field[pIsOn].value <> 0) then
  ~multiply our carrying capacities by 3
  herofield[tEncumLgt].value *= 3 
  herofield[tEncumMed].value *= 3
  herofield[tEncumHvy].value *= 3
  endif
Hmmm... Ninja-ed by a reference to my own work.

Last edited by Mathias; August 20th, 2010 at 09:59 AM.
Mathias is offline   #5 Reply With Quote
B0X315
Junior Member
 
Join Date: May 2010
Posts: 12

Old August 20th, 2010, 10:01 AM
Thanks a bunch guys! Yeah, I was actually in the process of looking through old posts last night but had to get some sleep >.< Thanks again!
B0X315 is offline   #6 Reply With Quote
B0X315
Junior Member
 
Join Date: May 2010
Posts: 12

Old August 20th, 2010, 10:41 AM
Ok I have the code in the Eval Scripts but I guess I am confused as where to put the timing?
B0X315 is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old August 20th, 2010, 11:09 AM
Just above where you typed in the script is a drop-down for the phase and a box to fill in for the priority.
Mathias is offline   #8 Reply With Quote
B0X315
Junior Member
 
Join Date: May 2010
Posts: 12

Old August 20th, 2010, 01:36 PM
Perfect! Thank you very much!
B0X315 is offline   #9 Reply With Quote
bstern
Junior Member
 
Join Date: Nov 2011
Posts: 10

Old November 23rd, 2011, 02:27 PM
Thanks! This helped me make a Lifting Belt by altering herofield[tEncumSTR].value when it was equipped.
bstern is offline   #10 Reply With Quote
Reply

Thread Tools
Display Modes

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 04:55 AM.


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