• 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

A question of structure in HL

royalfa

Active member
First at all this game has a mechanic that the rolls can be an error or a critical one.

Each attack roll (melee/ranged) and skill roll (magic/psionics are based on skill rolls) has an "error range" and a "threat range".

I was thinking in add this values to my "skill component" but they are defined in HL as traits, if the traits have this as "fields" then the skill component inherit those fields Correct??

But this is the same for attacks?? I don't know nothing about this rolls yet.

I'm trying to improve my scripting / structure skills on HL

Thanks
 
In the skeleton files, attacks do not include the Traits component (this is something you could change, but it probably brings in other trait behaviors you don't want on your weapons).

The components.core file is generally used for components that are used by things in Traits.str, things in Equipment.str, and Miscellaneous.str. Creating a component that adds error range and threat range fields is a good idea - rather than making it part of Traits, I'd recommend making a new component for just those fields, and placing it in components.core.
 
Back
Top