Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   A question of structure in HL (http://forums.wolflair.com/showthread.php?t=15580)

royalfa January 7th, 2012 09:50 PM

A question of structure in HL
 
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

Mathias January 7th, 2012 11:02 PM

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.


All times are GMT -8. The time now is 08:37 AM.

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