Hello,
I'm trying to transfer my bard kit to EE engine with the help of the function fl#add_kit_ee.
My game is BGEE with SoD and BG2:EE v2.3.67, WeiDU version is 242, fl#add_kit_ee.tpa version is 1.1.3.
And my codes:
INCLUDE ~%MOD_FOLDER%/lib/fl#add_kit_ee.tpa~
LAF fl#add_kit_ee
INT_VAR
briefdesc= RESOLVE_STR_REF(@2)
STR_VAR
kit_name= ~c4CelticBard~
clsrcreq = ~1 1 1 0 0 1 0~
END
Mod can be successfully installed, but when creating a character using new kit, I find the restrictions like weapon proficiencies are gone, clab file is not loaded, just like a true-class bard without any kit.
Compared with another EE-supported kit mods (a fighter kit and a ranger one), the only difference is in kitlist.2da, the KITIDS column is set to "*" in my kit. Manually edit it according to KIT.IDS, then problem solved.
The codes of the function are somehow beyond my knowlage, I cannot find what goes wrong. Adding some codes to fix the kitlist.2da after called the function is a way, but it could be better I think.
Could someone please help me that? Thank you.