Lightbringer Posted August 29 Share Posted August 29 On main player character creation, as well as when choosing mage(multi) as a class for an NPC via Improved NPC Customization, the character is granted 10 slots of each spell level (9 slots each for levels 8 and 9). For player character creation, I am also prompted to choose 10 spells for each level to have in my spellbook and 10 spells to have prepared for each level. It was a hoot to appear outside Puffgut's Inn with Meteor Swarm prepared, but not really intended for the long run. I was able to remove the slots in EEKeeper. However, for a fighter/mage multi, when I gained a FIGHTER level, the slots all came back! I removed them again in EEKeeper. Next, when I gained a mage level .... the slots stayed gone. Tarnesh didn't appear to have anomalous spells (he stuck to mirror image, horror, and m.missle, like normal), so I don't think it's affecting all NPCs. Of note, I have a very large modlist. It's entirely possible this occurrence is due to unfortunate interactions with another mod and is no fault of ToF. I did not, however, see this before, and the only new addition to my modlist is ToF. I'm pretty sure it's involved in some way. WeiDU.log Quote Link to comment
Trouveur80 Posted August 29 Share Posted August 29 Pretty sure it's an incompatibility between ToF and Tweaks Anthology alter spells tables components. I met the same problem with IWDification alter bard spells table progression. You could try installing those components after ToF. Quote Link to comment
Lightbringer Posted August 29 Author Share Posted August 29 15 minutes ago, Trouveur80 said: Pretty sure it's an incompatibility between ToF and Tweaks Anthology alter spells tables components. I met the same problem with IWDification alter bard spells table progression. You could try installing those components after ToF. I concur. I have installed the TA altered mage table component (PnP). I just looked it up and it appears I received the loadout for a 50th level wizard (+1 for each level, oddly -- not a specialist). Glad to know it's not just me. Also glad it seems to go away once I gain a level of mage! Quote Link to comment
Brogan Posted August 29 Share Posted August 29 (edited) So, if I'm installing Tweaks Anthology before ToF, I should NOT install Alter Mage Spell Progression Table (or at least use option #1 - which uses "Default ToB table")? Edited August 29 by Brogan Quote Link to comment
Lightbringer Posted August 29 Author Share Posted August 29 7 hours ago, Brogan said: So, if I'm installing Tweaks Anthology before ToF, I should NOT install Alter Mage Spell Progression Table (or at least use option #1 - which uses "Default ToB table")? You should split off the Alter Mage Spell Progression Table component and place it after ToF. If you're using Project Infinity, you can simply cut and paste the line in the install list. If you're installing manually, skip the component initially, then after a complete ToF install, go back and run the Tweaks Anthology installer again, skipping everything but the Mage Table. Quote Link to comment
Brogan Posted August 29 Share Posted August 29 3 minutes ago, Lightbringer said: You should split off the Alter Mage Spell Progression Table component and place it after ToF. If you're using Project Infinity, you can simply cut and paste the line in the install list. If you're installing manually, skip the component initially, then after a complete ToF install, go back and run the Tweaks Anthology installer again, skipping everything but the Mage Table. Got it. Easy enough. Thanks. Quote Link to comment
Lightbringer Posted September 1 Author Share Posted September 1 Interesting follow up. Removing the slots via EEKeeper may not be necessary if you use Improved NPC Customization. When I rescued Dynaheir, her first level up gave her the 10 slots per level, but after taking the rest of the levels (she ended up as a 5/5 F/M), she had the appropriate number of slots. Looks like the system is self-correcting -- at least with the NPC customization component. Quote Link to comment
DavidW Posted Wednesday at 02:36 AM Share Posted Wednesday at 02:36 AM Could you find the 'mxsplwiz.2da' file in your override and post it? EDIT: also BGSTARTA.2DA Quote Link to comment
Lightbringer Posted Friday at 06:08 AM Author Share Posted Friday at 06:08 AM On 9/3/2024 at 9:36 PM, DavidW said: Could you find the 'mxsplwiz.2da' file in your override and post it? EDIT: also BGSTARTA.2DA Here you go. Heh. Looks like mxsplwiz.2da has a rather odd line 1 -- producing exactly the anomalous spell slots. BGSTARTA.2DA mxsplwiz.2da Quote Link to comment
DavidW Posted Friday at 12:09 PM Share Posted Friday at 12:09 PM Yes, that's what I expected; *why* it's happening is another matter! Quote Link to comment
DavidW Posted Friday at 01:04 PM Share Posted Friday at 01:04 PM One more favor: can I have your 'xplevel.2da' file? Quote Link to comment
Lightbringer Posted yesterday at 06:09 AM Author Share Posted yesterday at 06:09 AM 17 hours ago, DavidW said: Yes, that's what I expected; *why* it's happening is another matter! I know, right?! 17 hours ago, DavidW said: One more favor: can I have your 'xplevel.2da' file? Here you go. As an aside, good instincts. I think I see the confluence of elements here in the -1 for lvl 40. XPLEVEL.2DA Quote Link to comment
DavidW Posted yesterday at 03:01 PM Share Posted yesterday at 03:01 PM ...and now I get it. This bug isn't anything to do with the Tweaks Anthology changes to spell tables. It's being triggered by whatever mod adds that row of -1s to the highest XP level. Here's what's going on: 1) The low-level abilities component forces your character to start at level one, and then gives you your starting XP by script. (It does that because the HLA menu isn't accessible in character generation, so you won't get your early HLAs if you start at a higher level.) 2) Wizards and bards would normally not get to select any spells above first level on this system. I work around that by setting first-level (and only first level) wizard and bard spells to match the number of spells you get at your 'correct' level. That means you get to select your known and memorized spells normally. Then when you level up past first level, you revert to the normal spell table. (This is a bit hacky; it's the least-worst solution I can come up with, and I think is better than (e.g.) the computer choosing your spells for you, or you just starting with no spells.) 3) To adjust the spell tables, I need to know what level a wizard or bard starts at. I do that by starting with your starting XP and then looking up what level you are in xplevel.2da. 4) The function I use to convert XP to level sets your level to the highest level at which the XP required is lower than your actual XP. 5) Since some mods apparently add a rightmost column to xplevel.2da that consists of all -1s, that function returns the rightmost column level as your level. So instead of getting the correct number of spells at 1st level, you get a ridiculously large number. (Note that this even happens on plain BG: your starting XP is 1, which is larger than -1.) This is really a fault on my side: my xp-to-level function ought to be a bit more sophisticated. Fix to follow. Thanks for the help diagnosing! Quote Link to comment
DavidW Posted yesterday at 03:08 PM Share Posted yesterday at 03:08 PM OK: fixed locally, will be in beta 14. Hotfix before installing by dropping the attached file into dw_talents/sfo. Hotfix after installing by editing mxsplbrd.2da and mxsplwiz.2da in a text editor to change the first-level row to something more sensible. lib_ietool.tph Quote Link to comment
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.