Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Mutants & Masterminds

Notices

Reply
 
Thread Tools Display Modes
jmucchiello
Junior Member
 
Join Date: Mar 2018
Posts: 20

Old March 31st, 2018, 08:20 AM
I want to modify how power level is enforced. Normally these two rules are enforced:
Toughness + Dodge <= PL*2
Toughness + Parry <= PL*2

This usually results in Dodge = Parry or one of the active defenses is below the PL limit. So how do I implement

Toughness*2 + Dodge + Parry <= PL*4

Which would allow, for example, Tough 10, Dodge 13, Parry 7 at PL 10.

I'm guessing it has to be added as a procedure but how do I also disable the default checks?
jmucchiello is offline   #1 Reply With Quote
Darkkon278
Junior Member
 
Join Date: Dec 2015
Posts: 5

Old March 31st, 2018, 08:48 PM
what part of hero lab you are seeing this in.
Darkkon278 is offline   #2 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old March 31st, 2018, 09:32 PM
Oof... that's a pretty fundamental thing. Your best bet is to look at the ".hlz" file in the ProgramData folder when you have the 3E files loaded, but I'm not currently in the position to try to track down which procedure handles this.
Duggan is offline   #3 Reply With Quote
jmucchiello
Junior Member
 
Join Date: Mar 2018
Posts: 20

Old March 31st, 2018, 11:32 PM
Quote:
Originally Posted by Duggan View Post
Oof... that's a pretty fundamental thing. Your best bet is to look at the ".hlz" file in the ProgramData folder when you have the 3E files loaded, but I'm not currently in the position to try to track down which procedure handles this.
Nothing let's me open the .hlz files. How does one look at those files? If I could look at the XML this would be easy. But the compiled .hlz files don't seem to be reversible.
jmucchiello is offline   #4 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old April 1st, 2018, 12:07 PM
When HeroLab is open, it's basically a text file with XML of the various calculations and rules. It's not really something you can change, but you can sometimes look up what to replace.
Duggan is offline   #5 Reply With Quote
jmucchiello
Junior Member
 
Join Date: Mar 2018
Posts: 20

Old April 2nd, 2018, 08:56 PM
I've been a computer programmer for 30 years on Windows in C++. I have no idea what you mean but "it's basically a text file with XML of...." as it related to the running program. Where is this basic text file that one can look at?
jmucchiello is offline   #6 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old April 3rd, 2018, 06:56 AM
You can open it in any text editor. Go to your Game System data folder and open data.hlz. Some of it is not human-readable (I think it's binary data), but most of the scripts are visible. To find what to search for, use the HeroLab diagnostics to determine field names for things like PL.

I will try to remember to get you more detailed data tonight when I get home.
Duggan is offline   #7 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old April 3rd, 2018, 07:02 PM
It looks like 3E uses the linkages on the saves to do the calculations. You might be able to rig up the Tradeoff script to take items that have two tradeoffs, and instead do the calculation as planned, but I don't know if it would work with things like Validation.

I really can't tell for certain, but I have a sneaking suspicion that this is, indeed, too fundamental to the system.
Duggan is offline   #8 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 07: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.