fl#add_kit_ee

This is an action function. On BG: EE or BGII: EE 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 and BGII: EE. For a usage example, refer to the "example" directory.

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.

Usage:

  1. Copy the file fl#add_kit_ee.tpa into your mod folder.

  2. INCLUDE the file in your TP2 file.

  3. Use ADD_KIT as you normally would.

  4. Launch the action function fl#add_kit_ee after ADD_KIT.

    Integer variables:

    • biography : optional : string reference
    • fallen : optional : 0 or 1
    • briefdesc : optional : string reference
    • fallen_notice : optional : string reference

    String variables:

    • kit_name : required : the internal name of your kit
    • backstab : optional : 2DA string
    • clsrcreq : optional : 2DA string
    • clswpbon : optional : 2DA string
    • hpclass : optional : 2DA string
    • numwslot : optional : 2DA string
    • thiefskl : optional : 2DA string
    • traplimt : optional : 2DA string
    • clascolr : optional : 2DA string
    • clasiskl : optional : 2DA string
    • clasthac : optional : 2DA string
    • thiefscl : optional : 2DA string
    • sneakatt : optional : 2DA string
    • crippstr : optional : 2DA string

    If 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.

Version history

v1.0.5::

v1.0.4:

v1.0.3:

v1.0.2:

v1.0.1:

v1.0.0: Initial release