Prof Errata Posted December 16, 2021 Share Posted December 16, 2021 Well, I've made recently a little mod (with the precious help of Gwendolyne) that allows Edwin and Nalia to remove now their personal items (the Nalia's signet ring and the Edwin's amulet). It works well, but someone have noted to me that anyone could by now use these 2 items, yet it seems logical indeed that only characters with the following features could use them : Nalia's ring : Human, INT 17+, mage (any) or thief/mage (dual class in this case) Edwin's amulet : Human, INT 18, mage conjurer I would be happy if a modder who knows well the IE coding could add the necessary lines for this in the mod. Thank you by advance. Mod Edwin_Nalia_v1.rar Quote Link to comment
CamDawg Posted December 16, 2021 Share Posted December 16, 2021 Well, this is a little awkward. I added a tweak that does exactly this (plus Alora's lucky charm) in the most recent Tweaks Anthology. The code starts around line 14560. On the EEs, it uses opcode 319 to restrict the items to their respective owners, and on the originals, it sets class/kit/stat minimums to match them instead. Quote Link to comment
Prof Errata Posted December 16, 2021 Author Share Posted December 16, 2021 Thank you for your quick response Cam, well is it possible that you could implement the new lines in the mod please, for BG2ToB-BG2EE ? Giving the fact that cdtweaks isn't definitive yet and I thin'k it'll be more practical for the players. Quote Link to comment
Jarno Mikkola Posted December 16, 2021 Share Posted December 16, 2021 1 hour ago, Prof Errata said: alia's ring : Human, INT 17+, mage (any) or thief/mage (dual class in this case) Edwin's amulet : Human, INT 18, mage conjurer And what happens when either one of them is mind striked by a flayer tentacle ? This alters the items effects significantly to worse on the original NPCs. 9 minutes ago, Prof Errata said: ponse Cam, well is it possible that you could implement the new lines in the mod please, for BG2ToB-BG2EE ? What are you asking here ? You can add the code to your mod, and the Tweaks can have it's own code, and the two will not interfere with each others ... so go ahead and add it to YOUR mod... instead of what ever you did before. BUT only if the game is a BG2EE, as it can crash the non-EE games. It might not, but I don't know that for sure. ! Quote Link to comment
Prof Errata Posted December 16, 2021 Author Share Posted December 16, 2021 As usual Jarno, you have the knack to tell the things…But I have to precise that I have BG2ToB in my head, because the French version of BG2EE v2.6 is unusable as it is… Quote Link to comment
jmerry Posted December 20, 2021 Share Posted December 20, 2021 For the EEs, you could also use item_use.2da; the items listed there can only be used by the listed characters, and not even UAI bypasses it. Both Edwin's amulet and Nalia's ring are listed there by default. Temporary Int penalties aren't a big deal here; item requirements are only checked when first equipping them or at level-up. If the item is on and the character gets drained below the use requirement, it won't fall off. 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.