Member
Join Date: Feb 2011
Posts: 37
|
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 |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
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. |
#2 |
|
|