Member
Join Date: Apr 2011
Posts: 36
|
I am creating a custom game which uses Wounds and Vigor. It isn't exactly how the rules are in Ultimate Combat are though.
First, Wounds need to equal Constitution, with no adjustment based on level. Second, Vigor needs to ignore the Con Modifier. I can't seem to find any sort of adjustment settings to even manually alter either stat to fit the target profile. How do I do this in Hero Lab? (edit) I figured out how to manually adjust Vigor, however Wounds is still a mystery! Last edited by Eklypse0; June 9th, 2014 at 09:37 PM. |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
hero.childfound[Wounds].field[wndTotal].value += WHATEVER
|
#2 |
Member
Join Date: Apr 2011
Posts: 36
|
|
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Either add it to an adjustment in an eval script, or create a mechanic with the same eval script. Also, make sure you alter "WHATEVER" into something specific to your aims.
|
#4 |
Member
Join Date: Apr 2011
Posts: 36
|
Quote:
If that is the case, being a newbie in HL scripting, though I have a decent understanding of programming, how/where would I create a new event that would: 1. Check to see if the player was using the Wounds/Vigor rules 2. If so, Make wounds equal to Constitution score. 3. Remove the Con modifier per level to Vigor? Part of my problem is that I can't peek into the code of the rest of the module to have a basis of how to alter old code or create new code. If you could point me to how to read the current Pathfinder code, I would have a huge step up on how to figure out how to do the rest. |
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Check out FAQ#2 on the editor. It covers all the places to learn about HL scripting including a four part intro videos. Video 2 or 3 covers how to look at existing scripts, fields, and tags. Also shows how to turn on some of the debugging features.
The big thing is you can do "new copy" against existing Things and see their scripts. Mechanics are a Thing that are attached to all characters and is a special tab in the editor. Its a good place to put global scripts as they will be attached and run for all characters. Check out the above it should help get you started. 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. |
#6 |
Member
Join Date: Apr 2011
Posts: 36
|
Thank you. Hopefully this will give me the understanding to make at least a simple change!
Still don't understand why Wounds couldn't have just shown up as an 'Adjust' modification. |
#7 |
Member
Join Date: Apr 2011
Posts: 36
|
Thank you. You guys helped immensely.
I didn't even have to get through half of the second video before I had enough information to find out where I could copy and alter an existing 'Adjustment'. Thank you, ShadowChemosh! Then the actual information that I needed to edit, I don't think I could have found without Aaron. I just didn't have the foundation to figure out how to utilize 'wndTotal' even after having found it buried in the Debug Tracker. My workable solutions came from editing the 'Hit Point (pHP)' Adjustment, with Vigor Modify being pretty much a copy, but now findable in the Adjustments under Vigor. Wounds took a little more, but I was able to copy/paste the information from Aaron. Vigor Modify : Eval Script Quote:
Quote:
|
||
#8 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Happy to help.
|
#9 |
|
|