This is an action function. On EE-type games, it complements ADD_KIT by patching the new 2DA files with information provided by the modder. It does nothing on game types other than BG: EE, BGII: EE and IWD: EE. For a usage example, refer to the "example" directory. This function requires WeiDU 237 or more recent.
This function will serve as a prototype for an eventual
extension of ADD_KIT
. You are welcome to
use this
forum to report bugs or submit requests for additions and
changes.
Copy the file fl#add_kit_ee.tpa into your mod folder.
INCLUDE
the file in your TP2 file.
Use ADD_KIT
as you normally would.
Launch
the action function fl#add_kit_ee
after ADD_KIT
.
Integer variables:
biography
: optional : string referencefallen
: optional : 0 or 1briefdesc
: optional : string referencefallen_notice
: optional : string referenceString variables:
kit_name
: required : the internal name of your kitbackstab
: optional : 2DA stringclsrcreq
: optional : 2DA stringclswpbon
: optional : 2DA stringhpclass
: optional : 2DA stringnumwslot
: optional : 2DA stringthiefskl
: optional : 2DA stringtraplimt
: optional : 2DA stringclascolr
: optional : 2DA stringclasiskl
: optional : 2DA stringclasthac
: optional : 2DA stringthiefscl
: optional : 2DA stringsneakatt
: optional : 2DA stringcrippstr
: optional : 2DA stringIf no value is provided for one or more of the optional variables, the corresponding value of the parent class is copied and used for this kit.
None of the 2DA strings should include the kit name. It will be included automatically as appropriate.
The variables biography
, fallen
,
briefdesc
and fallen_notice
are
used in the file clastext.2da.
If hpclass
references a custom 2DA file, it
needs to be copied into the game separately.
The
variables backstab
, thiefskl
,
traplimt
, sneakatt
and crippstr
should only be provided for
thief kits and will be ignored for other classes.
v1.1.3:
v1.1.2:
v1.1.1:
v1.1.0:
v1.0.5:
v1.0.4:
v1.0.3:
v1.0.2:
fallen
variable.v1.0.1:
v1.0.0: Initial release