temnix Posted March 19, 2022 Posted March 19, 2022 What are the CLAB files for mages (wizards without specialization) and traditional bards? If there are no such files for them, how does one go about giving them new abilities? Quote
subtledoctor Posted March 19, 2022 Posted March 19, 2022 clabma01.2da and clabba01.2da Note, clabma01.2da is shared with the unkitted sorcerer and the Wild Mage. Dealing with it can get complicated. Quote
temnix Posted March 19, 2022 Author Posted March 19, 2022 (edited) Thanks for the info. The straight bard file is not listed in the guide's kit section at all, by the way. And I have no CLABMA* files at all on my unmodded BGEE, for any of the wizards. I'm patching them blindly, going by the names they are all supposed to have. Edited March 19, 2022 by temnix Quote
jmerry Posted March 19, 2022 Posted March 19, 2022 If there's no CLAB there at all where the game looks for one (based on the values in KITLIST.2DA), the game treats it as an empty list - no abilities granted. So a COPY_EXISTING might not work, but you can create a new CLABMA**.2DA file and it'll do what you expect. Quote
temnix Posted March 20, 2022 Author Posted March 20, 2022 No, this is the problem. If I create my own CLABMA01, it's going to overwrite any other there. And this particular file is not connected to wizards other than the wild mage in KITLIST, the sorcerer is not on any of the lines, plus CLABBA01, as I said, is not mentioned. The engine must look somewhere else if it relates those file names to those "kits". As long as I can APPEND by name using a GLOB mask, there will be no missing-file problems, however. Or just with IF_EXISTS. Quote
subtledoctor Posted March 20, 2022 Posted March 20, 2022 Unkitted classes always use clabxx01.2da - it is never listed in kitlist (you don't see clabfi01.2da or clabth01.2da there either). The unkitted sorcerer thing is just a hardcoded weirdness from when they shoehorned that class into the engine. As far as overwriting, just have a conditional check: if file doesn't exist, copy in my blank version, then patch it if the file does exist, patch it Quote
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.