Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 (edited) Sorry for the late replay - crazy days. Apparently it is an issue with IWDifications - my code checks if WIZARD_EMOTION_FEAR exists and if it doesn't installs a project that will be later used by Emotion Hopelessness ACTION_IF !FILE_CONTAINS_EVALUATED (~SPELL.IDS~ ~[ %TAB%]WIZARD_EMOTION_FEAR[ %TAB%%WNL%%LNL%%MNL%$]~) BEGIN ADD_PROJECTILE ~DeitiesofFaerun/Lib/Spheres/Import/Common/IDPRO255.PRO~ LAF RES_NUM_OF_SPELL_NAME STR_VAR spell_name = ~WIZARD_EMOTION_HOPELESSNESS~ RET spell_res END COPY_EXISTING ~%spell_res%.spl~ override SAY NAME1 @9999119 SAY NAME2 @9999119 SAY UNIDENTIFIED_DESC @9999120 SAY DESC @9999120 LPF ALTER_SPELL_HEADER INT_VAR projectile = %IDPRO255% END I think IWDifications adds WIZARD_EMOTION_FEAR but not using IDPRO255. I'm working on a solution right now. As for the NPC: as I can get in touch with the mod's author at Beamdog's forum, I need someone to reach her out and ask for permission on my behalf. Cheers. Edited March 20, 2022 by Raduziel Quote Link to comment
Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 On 3/12/2022 at 6:09 AM, Trouveur80 said: Hi, I installed DoF for a new BG2 playthrough and encounter two problems. Here is the mods installed before DoF : Reveal hidden contents DRAGONSPEAR_UI++/DRAGONSPEAR_UI++.TP2 0 2 Installed DRAGONSPEAR_UI++/DRAGONSPEAR_UI++.TP2 0 3 Installed DRAGONSPEAR_UI++/DRAGONSPEAR_UI++.TP2 0 9 Installed DRAGONSPEAR_UI++/DRAGONSPEAR_UI++.TP2 0 10 Installed DRAGONSPEAR_UI++/DRAGONSPEAR_UI++.TP2 0 11 Installed CANDLELIGHT-FOR-UIPP/CANDLELIGHT-FOR-UIPP.TP2 0 0 Installed EEEX/EEEX.TP2 0 0 Installed BUBB_SPELL_MENU_EXTENDED/SETUP-BUBB_SPELL_MENU_EXTENDED.TP2 0 0 Installed ASCENSION/ASCENSION.TP2 0 0 Installed ASCENSION/ASCENSION.TP2 0 10 Installed ASCENSION/ASCENSION.TP2 0 20 Installed ASCENSION/ASCENSION.TP2 0 30 Installed ASCENSION/ASCENSION.TP2 0 40 Installed ASCENSION/ASCENSION.TP2 0 50 Installed ASCENSION/ASCENSION.TP2 0 60 Installed ASCENSION/ASCENSION.TP2 0 1000 Installed ASCENSION/ASCENSION.TP2 0 1100 Installed ASCENSION/ASCENSION.TP2 0 1200 Installed ASCENSION/ASCENSION.TP2 0 1300 Installed ASCENSION/ASCENSION.TP2 0 1400 Installed ASCENSION/ASCENSION.TP2 0 1500 Installed ASCENSION/ASCENSION.TP2 0 2200 Installed ASCENSION/ASCENSION.TP2 0 2300 Installed ASCENSION/ASCENSION.TP2 0 2400 Installed WHEELS/SETUP-WHEELS.TP2 0 0 Installed ALTERNATIVES/SETUP-ALTERNATIVES.TP2 0 0 Installed JANQUEST/SETUP-JANQUEST.TP2 1 0 Installed MAGESTRONGHOLD_EET/SETUP-MAGESTRONGHOLD_EET.TP2 0 0 InstalledUB/SETUP-UB.TP2 0 0 InstalledUB/SETUP-UB.TP2 0 1 InstalledUB/SETUP-UB.TP2 0 2 InstalledUB/SETUP-UB.TP2 0 4 InstalledUB/SETUP-UB.TP2 0 5 InstalledUB/SETUP-UB.TP2 0 6 InstalledUB/SETUP-UB.TP2 0 7 InstalledUB/SETUP-UB.TP2 0 8 InstalledUB/SETUP-UB.TP2 0 9 InstalledUB/SETUP-UB.TP2 0 10 InstalledUB/SETUP-UB.TP2 0 12 InstalledUB/SETUP-UB.TP2 0 15 InstalledUB/SETUP-UB.TP2 0 17 InstalledUB/SETUP-UB.TP2 0 18 InstalledUB/SETUP-UB.TP2 0 20 InstalledUB/SETUP-UB.TP2 0 21 InstalledUB/SETUP-UB.TP2 0 24 InstalledUB/SETUP-UB.TP2 0 25 Installed OOZE/OOZE.TP2 0 0 Installed TANGLEDISLE/TANGLEDISLE.TP2 0 0 Installed SOUTHERNEDGE/SOUTHERNEDGE.TP2 0 0 Installed BRIDGESBLOCK/BRIDGESBLOCK.TP2 0 0 Installed SKIECOST/SKIECOST.TP2 0 0 Installed SKIECOST/SKIECOST.TP2 0 2 Installed ACBRE/ACBRE.TP2 1 0 Installed ACBRE/ACBRE.TP2 1 2 Installed SKITIANPCS/SETUP-SKITIANPCS.TP2 0 0 Installed SKITIANPCS/SETUP-SKITIANPCS.TP2 0 3 Installed IWDIFICATION/SETUP-IWDIFICATION.TP2 0 20 Installed IWDIFICATION/SETUP-IWDIFICATION.TP2 0 90 Installed IWDIFICATION/SETUP-IWDIFICATION.TP2 0 140 Installed IWDIFICATION/SETUP-IWDIFICATION.TP2 0 150 Installed IWDIFICATION/SETUP-IWDIFICATION.TP2 0 120 Installed IWDIFICATION/SETUP-IWDIFICATION.TP2 0 30 Installed IWDIFICATION/SETUP-IWDIFICATION.TP2 0 40 Installed First, I can't install the Heartwarder of Sune kit : Reveal hidden contents Install Component [Install kit: Heartwarder of Sune]?nstall, or [N]ot Install or [Q]uit?Installing [Install kit: Heartwarder of Sune] [1.9.7.7]Copying and patching 1 file ...Adding RASune Kit ...[./override/kitlist.2da] loaded, 7883 bytes[./override/KITLIST.2DA] loaded, 7883 bytes[./override/WEAPPROF.2DA] loaded, 88540 bytes[./override/K_C_H.2DA] loaded, 59 bytes[./override/K_C_HE.2DA] loaded, 59 bytes[./override/K_C_E.2DA] loaded, 59 bytesAppending to files ...[./override/CLASWEAP.2DA] loaded, 9628 bytesoverride/CLASWEAP.2DA copied to DeitiesOfFaerun/Backup/3/CLASWEAP.2DA, 9628 bytesAppended text to [CLASWEAP.2DA]Appending to files column-wise ...[./override/WEAPPROF.2DA] loaded, 88540 bytesoverride/WEAPPROF.2DA copied to DeitiesOfFaerun/Backup/3/WEAPPROF.2DA, 88540 bytesAppended text to [WEAPPROF.2DA] column-wiseAppending to files ...[./override/ABCLASRQ.2DA] loaded, 7739 bytesoverride/ABCLASRQ.2DA copied to DeitiesOfFaerun/Backup/3/ABCLASRQ.2DA, 7739 bytesAppended text to [ABCLASRQ.2DA]Appending to files ...[./override/ABDCDSRQ.2DA] loaded, 5200 bytesoverride/ABDCDSRQ.2DA copied to DeitiesOfFaerun/Backup/3/ABDCDSRQ.2DA, 5200 bytesAppended text to [ABDCDSRQ.2DA]Appending to files ...[./override/ABDCSCRQ.2DA] loaded, 5195 bytesoverride/ABDCSCRQ.2DA copied to DeitiesOfFaerun/Backup/3/ABDCSCRQ.2DA, 5195 bytesAppended text to [ABDCSCRQ.2DA]Appending to files ...[./override/ALIGNMNT.2DA] loaded, 11477 bytesoverride/ALIGNMNT.2DA copied to DeitiesOfFaerun/Backup/3/ALIGNMNT.2DA, 11477 bytesAppended text to [ALIGNMNT.2DA]Copying 1 file ...[DeitiesOfFaerun/Tables/RASune.2da] loaded, 4011 bytesCopied [DeitiesOfFaerun/Tables/RASune.2da] to [override/RASUNE.2DA]Appending to files ...[./override/KITLIST.2DA] loaded, 7883 bytesoverride/KITLIST.2DA copied to DeitiesOfFaerun/Backup/3/KITLIST.2DA, 7883 bytesAppended text to [KITLIST.2DA]Appending to files ...[./override/LUABBR.2DA] loaded, 1944 bytesoverride/LUABBR.2DA copied to DeitiesOfFaerun/Backup/3/LUABBR.2DA, 1944 bytesAppended text to [LUABBR.2DA][./override/25STWEAP.2DA] loaded, 29055 bytesoverride/25STWEAP.2DA copied to DeitiesOfFaerun/Backup/3/25STWEAP.2DA, 29055 bytesSet text in [25STWEAP.2DA] column-wiseAppending to files ...[./override/KIT.IDS] loaded, 954 bytesoverride/KIT.IDS copied to DeitiesOfFaerun/Backup/3/KIT.IDS, 954 bytesAppended text to [KIT.IDS]Appending to files ...[./override/ABCLSMOD.2DA] loaded, 7587 bytesoverride/ABCLSMOD.2DA copied to DeitiesOfFaerun/Backup/3/ABCLSMOD.2DA, 7587 bytesAppended text to [ABCLSMOD.2DA]Appending to files ...[./override/DUALCLAS.2DA] loaded, 7262 bytesoverride/DUALCLAS.2DA copied to DeitiesOfFaerun/Backup/3/DUALCLAS.2DA, 7262 bytesAppended text to [DUALCLAS.2DA]Copying and patching 2 files ...[./override/weapprof.2da] loaded, 88705 bytesCopied [weapprof.2da] to [override/weapprof.2da][./override/25stweap.2da] loaded, 29946 bytesCopied [25stweap.2da] to [override/25stweap.2da]Copying and patching 1 file ...[./override/kitlist.2da] loaded, 7989 bytesCopied [kitlist.2da] to [override/kitlist.2da]Appending to files ...[./override/K_C_H.2DA] loaded, 59 bytesoverride/K_C_H.2DA copied to DeitiesOfFaerun/Backup/3/K_C_H.2DA, 59 bytesAppended text to [K_C_H.2DA]Appending to files ...[./override/K_C_HE.2DA] loaded, 59 bytesoverride/K_C_HE.2DA copied to DeitiesOfFaerun/Backup/3/K_C_HE.2DA, 59 bytesAppended text to [K_C_HE.2DA]Appending to files ...[./override/K_C_E.2DA] loaded, 59 bytesoverride/K_C_E.2DA copied to DeitiesOfFaerun/Backup/3/K_C_E.2DA, 59 bytesAppended text to [K_C_E.2DA]Copying and patching 2 files ...[./override/weapprof.2da] loaded, 89841 bytesCopied [weapprof.2da] to [override/weapprof.2da][./override/25stweap.2da] loaded, 29475 bytesCopied [25stweap.2da] to [override/25stweap.2da]Copying and patching 1 file ...[./override/kitlist.2da] loaded, 8021 bytesCopied [kitlist.2da] to [override/kitlist.2da]Added RASune Kit Doing EE-type kit extensions for kit RASuneCopying and patching 1 file ...[./override/kitlist.2da] loaded, 8021 bytesCopying and patching 1 file ...[./override/kitlist.2da] loaded, 8021 bytesCopying and patching 1 file ...[./override/kit.ids] loaded, 969 bytesCopied [kitlist.2da] to [override/kitlist.2da]Copying and patching 1 file ...[./override/clastext.2da] loaded, 15196 bytes[./override/clastext.2da] loaded, 15196 bytes[./override/clastext.2da] loaded, 15196 bytes[./override/clastext.2da] loaded, 15196 bytesCopying and patching 1 file ...[./override/clastext.2da] loaded, 15196 bytesAppending to files ...[./override/CLASTEXT.2DA] loaded, 15196 bytesAppending [ RASune 3 47 129399 129401 129400 -1 0 102495 -1...] to [clastext.2da] because it does NOT contain [[ ]+RASune[ ]+]override/clastext.2da copied to DeitiesOfFaerun/Backup/3/clastext.2da, 15196 bytesAppended text to [clastext.2da][./override/backstab.2da] loaded, 4054 bytes[./override/clsrcreq.2da] loaded, 9547 bytesAppending to files ...[./override/CLSRCREQ.2DA] loaded, 9547 bytesAppending [RASune 1 1 1 0 0 0 0...] to [clsrcreq.2da] because it does NOT contain [[ ]+RASune[ ]+]override/clsrcreq.2da copied to DeitiesOfFaerun/Backup/3/clsrcreq.2da, 9547 bytesAppended text to [clsrcreq.2da][./override/clswpbon.2da] loaded, 4196 bytesCopying and patching 1 file ...[./override/clswpbon.2da] loaded, 4196 bytesAppending to files ...[./override/CLSWPBON.2DA] loaded, 4196 bytesAppending [RASune 0 0 3...] to [clswpbon.2da] because it does NOT contain [[ ]+RASune[ ]+]override/clswpbon.2da copied to DeitiesOfFaerun/Backup/3/clswpbon.2da, 4196 bytesAppended text to [clswpbon.2da][./override/hpclass.2da] loaded, 1742 bytesCopying and patching 1 file ...[./override/hpclass.2da] loaded, 1742 bytesAppending to files ...[./override/HPCLASS.2DA] loaded, 1742 bytesAppending [RASune HPPRS...] to [hpclass.2da] because it does NOT contain [[ ]+RASune[ ]+]override/hpclass.2da copied to DeitiesOfFaerun/Backup/3/hpclass.2da, 1742 bytesAppended text to [hpclass.2da][./override/numwslot.2da] loaded, 1483 bytesCopying and patching 1 file ...[./override/numwslot.2da] loaded, 1483 bytesAppending to files ...[./override/NUMWSLOT.2DA] loaded, 1483 bytesAppending [ RASune 2...] to [numwslot.2da] because it does NOT contain [[ ]+RASune[ ]+]override/numwslot.2da copied to DeitiesOfFaerun/Backup/3/numwslot.2da, 1483 bytesAppended text to [numwslot.2da][./override/thiefskl.2da] loaded, 610 bytes[./override/traplimt.2da] loaded, 366 bytesAppending to files column-wise ...[./override/CLASCOLR.2DA] loaded, 7849 bytesAppending cols to [clascolr.2da] because it does NOT contain [[ ]+RASune[ ]+]override/clascolr.2da copied to DeitiesOfFaerun/Backup/3/clascolr.2da, 7849 bytesAppended text to [clascolr.2da] column-wiseCopying and patching 1 file ...[./override/clasiskl.2da] loaded, 10287 bytesAppending to files column-wise ...[./override/CLASISKL.2DA] loaded, 10287 bytesAppending cols to [clasiskl.2da] because it does NOT contain [[ ]+RASune[ ]+]override/clasiskl.2da copied to DeitiesOfFaerun/Backup/3/clasiskl.2da, 10287 bytesAppended text to [clasiskl.2da] column-wiseCopying and patching 1 file ...[./override/clasthac.2da] loaded, 2635 bytesAppending to files column-wise ...[./override/CLASTHAC.2DA] loaded, 2635 bytesAppending cols to [clasthac.2da] because it does NOT contain [[ ]+RASune[ ]+]override/clasthac.2da copied to DeitiesOfFaerun/Backup/3/clasthac.2da, 2635 bytesAppended text to [clasthac.2da] column-wiseCopying and patching 1 file ...[./override/thiefscl.2da] loaded, 11581 bytesAppending to files column-wise ...[./override/THIEFSCL.2DA] loaded, 11581 bytesAppending cols to [thiefscl.2da] because it does NOT contain [[ ]+RASune[ ]+]override/thiefscl.2da copied to DeitiesOfFaerun/Backup/3/thiefscl.2da, 11581 bytesAppended text to [thiefscl.2da] column-wiseCopying and patching 1 file ...[./override/kitlist.2da] loaded, 8032 bytesCopied [kitlist.2da] to [override/kitlist.2da]Copying and patching 1 file ...[./override/clastext.2da] loaded, 15327 bytesCopied [clastext.2da] to [override/clastext.2da]Copying and patching 1 file ...[./override/backstab.2da] loaded, 4054 bytesCopying and patching 1 file ...[./override/clsrcreq.2da] loaded, 9638 bytesCopied [clsrcreq.2da] to [override/clsrcreq.2da]Copying and patching 1 file ...[./override/clswpbon.2da] loaded, 4280 bytesCopied [clswpbon.2da] to [override/clswpbon.2da]Copying and patching 1 file ...[./override/hpclass.2da] loaded, 1825 bytesCopied [hpclass.2da] to [override/hpclass.2da]Copying and patching 1 file ...[./override/numwslot.2da] loaded, 1562 bytesCopied [numwslot.2da] to [override/numwslot.2da]Copying and patching 1 file ...[./override/thiefskl.2da] loaded, 610 bytesCopying and patching 1 file ...[./override/traplimt.2da] loaded, 366 bytesCopying and patching 1 file ...Copying and patching 1 file ...Copying and patching 1 file ...[./override/clascolr.2da] loaded, 7881 bytesCopied [clascolr.2da] to [override/clascolr.2da]Copying and patching 1 file ...[./override/clasiskl.2da] loaded, 10320 bytesCopied [clasiskl.2da] to [override/clasiskl.2da]Copying and patching 1 file ...[./override/clasthac.2da] loaded, 2650 bytesCopied [clasthac.2da] to [override/clasthac.2da]Copying and patching 1 file ...[./override/thiefscl.2da] loaded, 11617 bytesCopied [thiefscl.2da] to [override/thiefscl.2da]Copying and patching 1 file ...[DeitiesOfFaerun/Itm/HolySymbols/RAHS.spl] loaded, 298 bytesCopied [DeitiesOfFaerun/Itm/HolySymbols/RAHS.spl] to [override/RAHSSUNE.spl]Copying and patching 1 file ...[DeitiesOfFaerun/Itm/HolySymbols/RAHS.itm] loaded, 642 bytesCopied [DeitiesOfFaerun/Itm/HolySymbols/RAHS.itm] to [override/RAHSSUNE.itm]Copying 1 file ...[DeitiesOfFaerun/Spl/RASUNEF.spl] loaded, 250 bytesCopied [DeitiesOfFaerun/Spl/RASUNEF.spl] to [override/RASUNEF.spl][./override/SPELL.IDS] loaded, 29091 bytes[./override/SPELL.IDS] loaded, 29091 bytesCopying and patching 1 file ...BIFF may be in hard-drive CD-path [.\lang\en_us\DATA\SPELLS.BIF]BIFF may be in hard-drive CD-path [.\cache\DATA\SPELLS.BIF][.\DATA\SPELLS.BIF] 1462368 bytes, 1058 files, 0 tilesetsCopied [SPWI316.spl] to [override/RASUNE1.spl]Copying and patching 1 file ...Copied [SPWI316.spl] to [override/SPWI316.spl]Copying and patching 1 file ...[DeitiesOfFaerun/Spl/RASUNE2.spl] loaded, 250 bytesCopied [DeitiesOfFaerun/Spl/RASUNE2.spl] to [override/RASUNE2.spl]Copying and patching 1 file ...[DeitiesOfFaerun/Spl/RASUNEA.spl] loaded, 1258 bytesCopied [DeitiesOfFaerun/Spl/RASUNEA.spl] to [override/RASUNEA.spl]Copying and patching 1 file ...[DeitiesOfFaerun/Spl/RASUNEE.spl] loaded, 394 bytesCopied [DeitiesOfFaerun/Spl/RASUNEE.spl] to [override/RASUNEE.spl][./override/SPELL.IDS] loaded, 29091 bytesCopying and patching 1 file ...[./override/SPPR503.spl] loaded, 3474 bytesCopied [SPPR503.spl] to [override/RASUNE3.spl][./override/SPELL.IDS] loaded, 29091 bytes[./override/SPELL.IDS] loaded, 29091 bytesCopying and patching 1 file ...[./override/SPWI411.spl] loaded, 538 bytesERROR: cannot convert IDPRO255 or %IDPRO255% to an integerERROR: [SPWI411.spl] -> [override/SPWI411.spl] Patching Failed (COPY) (Not_found)Stopping installation because of error.Stopping installation because of error.Stopping installation because of error. ERROR Installing [Install kit: Heartwarder of Sune], rolling back to previous state Second, DoF didn't detect Helga from Skitia's NPC : Reveal hidden contents SKIPPING: [Helga, the Luckmaiden of Haela] The kit or creature file wasn't found, the component will be ignored On my BG1 install, DoF detected Helga without a problem. Sune-Kit.tpaDrop this file inside DeitiesofFaerun/Components, replacing the old one. Should do the trick. As for the NPC, as I said, I'll need Skitia's permission. Quote Link to comment
CamDawg Posted March 20, 2022 Share Posted March 20, 2022 8 minutes ago, Raduziel said: I think IWDifications adds WIZARD_EMOTION_FEAR but not using IDPRO255. It does install Emotion, Fear, and it does use IDPRO255. SCS does the same. Quote Link to comment
Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 (edited) 2 minutes ago, CamDawg said: It does install Emotion, Fear, and it does use IDPRO255. SCS does the same. Thanks for the feedback. Well, then IDK why it didn't recognize the projectile during the install. Edited March 20, 2022 by Raduziel Quote Link to comment
CamDawg Posted March 20, 2022 Share Posted March 20, 2022 Tracking back and looking at the DEBUG, the problem isn't the lack of IDPRO255, it's that you're not setting the variable. ADD_PROJECTILE is what sets the %idpro255% variable, so when you detect Emotion, Fear and skip the ADD_PROJECTILE this variable never gets set and the install fails. I'd do a more direct check like ACTION_IF !FILE_CONTAINS_EVALUATED (~projectl.IDS~ ~[ %TAB%]idpro255[ %TAB%%WNL%%LNL%%MNL%$]~) BEGIN ADD_PROJECTILE ~DeitiesofFaerun/Lib/Spheres/Import/Common/IDPRO255.PRO~ END ELSE BEGIN OUTER_SET idpro255 = (IDS_OF_SYMBOL (~projectl~ ~IDPRO255~) + 1) END This way the variable will always be set either through ADD_PROJECTILE or (if the file is already present in the game) by a manual lookup in projectl.ids. Quote Link to comment
Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 1 minute ago, CamDawg said: Tracking back and looking at the DEBUG, the problem isn't the lack of IDPRO255, it's that you're not setting the variable. ADD_PROJECTILE is what sets the %idpro255% variable, so when you detect Emotion, Fear and skip the ADD_PROJECTILE this variable never gets set and the install fails. I'd do a more direct check like ACTION_IF !FILE_CONTAINS_EVALUATED (~projectl.IDS~ ~[ %TAB%]idpro255[ %TAB%%WNL%%LNL%%MNL%$]~) BEGIN ADD_PROJECTILE ~DeitiesofFaerun/Lib/Spheres/Import/Common/IDPRO255.PRO~ END ELSE BEGIN OUTER_SET idpro255 = (IDS_OF_SYMBOL (~projectl~ ~IDPRO255~) + 1) END This way the variable will always be set either through ADD_PROJECTILE or (if the file is already present in the game) by a manual lookup in projectl.ids. That's why you're CamDawg and I'm Raduziel lol. I'll change to your methor right away Quote Link to comment
Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 @Trouveur80 Use Sune-Kit.tpathis one, instead. I've altered using CamDawgs advise (that was previously given by Kjeron but I've totally forgot as well). Quote Link to comment
Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 (edited) Can somebody please explain why Weidu's log is saying that nothing has changes for the following spell: //Iron Skin Changes ACTION_IF FILE_CONTAINS_EVALUATED (~SPELL.IDS~ ~[ %TAB%]CLERIC_IRONSKIN[ %TAB%%WNL%%LNL%%MNL%$]~) BEGIN LAF RES_NUM_OF_SPELL_NAME STR_VAR spell_name = ~CLERIC_IRONSKIN~ RET spell_res END COPY_EXISTING ~%spell_res%.spl~ override SAY UNIDENTIFIED_DESC @9999227 SAY DESC @9999227 LPF ALTER_SPELL_HEADER INT_VAR target = 1 END LPF ALTER_EFFECT INT_VAR match_opcode = 218 target = 2 END LPF ALTER_EFFECT INT_VAR match_opcode = 215 target = 2 END LPF ALTER_EFFECT INT_VAR match_opcode = 174 target = 2 END LPF ALTER_EFFECT INT_VAR match_opcode = 50 target = 2 END END My goal here is to Ironskin have a Touch-range instead of being Caster-Only. @kjeron? @subtledoctor? @CamDawg? The original value for the abilities is 5 (Caster) and for the effects is 1 (Self) Thanks! Edited March 20, 2022 by Raduziel Quote Link to comment
DavidW Posted March 20, 2022 Share Posted March 20, 2022 Vanilla BG2 uses opcode 50 for cosmetic effects but BG2EE uses opcode 61. Since you want all the effects to be patched to target=2 (unless you've added something else yourself?) you may as well leave out the match_opcode. If you don't say anything, ALTER_EFFECT matches everything. It's also a bit easier to use IDS_OF_SYMBOL to check if an entry is in spell.ids rather than using a regexp, like so: PATCH_IF IDS_OF_SYMBOL (spell CLERIC_IRONSKIN)>=0 BEGIN ... END Quote Link to comment
Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 31 minutes ago, DavidW said: Vanilla BG2 uses opcode 50 for cosmetic effects but BG2EE uses opcode 61. Since you want all the effects to be patched to target=2 (unless you've added something else yourself?) you may as well leave out the match_opcode. If you don't say anything, ALTER_EFFECT matches everything. It's also a bit easier to use IDS_OF_SYMBOL to check if an entry is in spell.ids rather than using a regexp, like so: PATCH_IF IDS_OF_SYMBOL (spell CLERIC_IRONSKIN)>=0 BEGIN ... END Thanks! No more Warnings Quote Link to comment
Trouveur80 Posted March 20, 2022 Share Posted March 20, 2022 11 hours ago, Raduziel said: @Trouveur80 Use Sune-Kit.tpathis one, instead. I've altered using CamDawgs advise (that was previously given by Kjeron but I've totally forgot as well). Thank you, I will try it. I will also ask Skitia about Helga in BG2. Quote Link to comment
Raduziel Posted March 20, 2022 Author Share Posted March 20, 2022 (edited) 25 minutes ago, Trouveur80 said: Thank you, I will try it. I will also ask Skitia about Helga in BG2. Cheers, mate. Let me know if she grants permission. If she does, I'll upload a new version adding this component. Edited March 20, 2022 by Raduziel Quote Link to comment
Trouveur80 Posted March 20, 2022 Share Posted March 20, 2022 6 hours ago, Raduziel said: Cheers, mate. Let me know if she grants permission. If she does, I'll upload a new version adding this component. She agreed. Quote Link to comment
ZerioctheTank Posted April 24, 2022 Share Posted April 24, 2022 Is there anyway to play as a Deathstalker of Bhaal through BG1? Quote Link to comment
Raduziel Posted April 24, 2022 Author Share Posted April 24, 2022 4 hours ago, ZerioctheTank said: Is there anyway to play as a Deathstalker of Bhaal through BG1? You can remove line 422 from DeitiesOfFaerun.tp2 before instaling - should do the trick. On 3/20/2022 at 5:24 PM, Trouveur80 said: She agreed. Sorry for taking this long to answer, I'll work on it and provide a compatible version ASAP. 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.