Jump to content

[Kit Pack] Deities of Faerûn (BGEE, BG2EE, IWDEE and EET)


Recommended Posts

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

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 by Raduziel
Link to comment
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 Installed
UB/SETUP-UB.TP2  0  0 Installed
UB/SETUP-UB.TP2  0  1 Installed
UB/SETUP-UB.TP2  0  2 Installed
UB/SETUP-UB.TP2  0  4 Installed
UB/SETUP-UB.TP2  0  5 Installed
UB/SETUP-UB.TP2  0  6 Installed
UB/SETUP-UB.TP2  0  7 Installed
UB/SETUP-UB.TP2  0  8 Installed
UB/SETUP-UB.TP2  0  9 Installed
UB/SETUP-UB.TP2  0 10 Installed
UB/SETUP-UB.TP2  0 12 Installed
UB/SETUP-UB.TP2  0 15 Installed
UB/SETUP-UB.TP2  0 17 Installed
UB/SETUP-UB.TP2  0 18 Installed
UB/SETUP-UB.TP2  0 20 Installed
UB/SETUP-UB.TP2  0 21 Installed
UB/SETUP-UB.TP2  0 24 Installed
UB/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 bytes
Appending to files ...
[./override/CLASWEAP.2DA] loaded, 9628 bytes
override/CLASWEAP.2DA copied to DeitiesOfFaerun/Backup/3/CLASWEAP.2DA, 9628 bytes
Appended text to [CLASWEAP.2DA]
Appending to files column-wise ...
[./override/WEAPPROF.2DA] loaded, 88540 bytes
override/WEAPPROF.2DA copied to DeitiesOfFaerun/Backup/3/WEAPPROF.2DA, 88540 bytes
Appended text to [WEAPPROF.2DA] column-wise
Appending to files ...
[./override/ABCLASRQ.2DA] loaded, 7739 bytes
override/ABCLASRQ.2DA copied to DeitiesOfFaerun/Backup/3/ABCLASRQ.2DA, 7739 bytes
Appended text to [ABCLASRQ.2DA]
Appending to files ...
[./override/ABDCDSRQ.2DA] loaded, 5200 bytes
override/ABDCDSRQ.2DA copied to DeitiesOfFaerun/Backup/3/ABDCDSRQ.2DA, 5200 bytes
Appended text to [ABDCDSRQ.2DA]
Appending to files ...
[./override/ABDCSCRQ.2DA] loaded, 5195 bytes
override/ABDCSCRQ.2DA copied to DeitiesOfFaerun/Backup/3/ABDCSCRQ.2DA, 5195 bytes
Appended text to [ABDCSCRQ.2DA]
Appending to files ...
[./override/ALIGNMNT.2DA] loaded, 11477 bytes
override/ALIGNMNT.2DA copied to DeitiesOfFaerun/Backup/3/ALIGNMNT.2DA, 11477 bytes
Appended text to [ALIGNMNT.2DA]
Copying 1 file ...
[DeitiesOfFaerun/Tables/RASune.2da] loaded, 4011 bytes
Copied [DeitiesOfFaerun/Tables/RASune.2da] to [override/RASUNE.2DA]
Appending to files ...
[./override/KITLIST.2DA] loaded, 7883 bytes
override/KITLIST.2DA copied to DeitiesOfFaerun/Backup/3/KITLIST.2DA, 7883 bytes
Appended text to [KITLIST.2DA]
Appending to files ...
[./override/LUABBR.2DA] loaded, 1944 bytes
override/LUABBR.2DA copied to DeitiesOfFaerun/Backup/3/LUABBR.2DA, 1944 bytes
Appended text to [LUABBR.2DA]
[./override/25STWEAP.2DA] loaded, 29055 bytes
override/25STWEAP.2DA copied to DeitiesOfFaerun/Backup/3/25STWEAP.2DA, 29055 bytes
Set text in [25STWEAP.2DA] column-wise
Appending to files ...
[./override/KIT.IDS] loaded, 954 bytes
override/KIT.IDS copied to DeitiesOfFaerun/Backup/3/KIT.IDS, 954 bytes
Appended text to [KIT.IDS]
Appending to files ...
[./override/ABCLSMOD.2DA] loaded, 7587 bytes
override/ABCLSMOD.2DA copied to DeitiesOfFaerun/Backup/3/ABCLSMOD.2DA, 7587 bytes
Appended text to [ABCLSMOD.2DA]
Appending to files ...
[./override/DUALCLAS.2DA] loaded, 7262 bytes
override/DUALCLAS.2DA copied to DeitiesOfFaerun/Backup/3/DUALCLAS.2DA, 7262 bytes
Appended text to [DUALCLAS.2DA]
Copying and patching 2 files ...
[./override/weapprof.2da] loaded, 88705 bytes
Copied [weapprof.2da] to [override/weapprof.2da]
[./override/25stweap.2da] loaded, 29946 bytes
Copied [25stweap.2da] to [override/25stweap.2da]
Copying and patching 1 file ...
[./override/kitlist.2da] loaded, 7989 bytes
Copied [kitlist.2da] to [override/kitlist.2da]
Appending to files ...
[./override/K_C_H.2DA] loaded, 59 bytes
override/K_C_H.2DA copied to DeitiesOfFaerun/Backup/3/K_C_H.2DA, 59 bytes
Appended text to [K_C_H.2DA]
Appending to files ...
[./override/K_C_HE.2DA] loaded, 59 bytes
override/K_C_HE.2DA copied to DeitiesOfFaerun/Backup/3/K_C_HE.2DA, 59 bytes
Appended text to [K_C_HE.2DA]
Appending to files ...
[./override/K_C_E.2DA] loaded, 59 bytes
override/K_C_E.2DA copied to DeitiesOfFaerun/Backup/3/K_C_E.2DA, 59 bytes
Appended text to [K_C_E.2DA]
Copying and patching 2 files ...
[./override/weapprof.2da] loaded, 89841 bytes
Copied [weapprof.2da] to [override/weapprof.2da]
[./override/25stweap.2da] loaded, 29475 bytes
Copied [25stweap.2da] to [override/25stweap.2da]
Copying and patching 1 file ...
[./override/kitlist.2da] loaded, 8021 bytes
Copied [kitlist.2da] to [override/kitlist.2da]
Added RASune Kit

Doing EE-type kit extensions for kit RASune
Copying and patching 1 file ...
[./override/kitlist.2da] loaded, 8021 bytes
Copying and patching 1 file ...
[./override/kitlist.2da] loaded, 8021 bytes
Copying and patching 1 file ...
[./override/kit.ids] loaded, 969 bytes
Copied [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 bytes
Copying and patching 1 file ...
[./override/clastext.2da] loaded, 15196 bytes
Appending to files ...
[./override/CLASTEXT.2DA] loaded, 15196 bytes
Appending [ 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 bytes
Appended text to [clastext.2da]
[./override/backstab.2da] loaded, 4054 bytes
[./override/clsrcreq.2da] loaded, 9547 bytes
Appending to files ...
[./override/CLSRCREQ.2DA] loaded, 9547 bytes
Appending [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 bytes
Appended text to [clsrcreq.2da]
[./override/clswpbon.2da] loaded, 4196 bytes
Copying and patching 1 file ...
[./override/clswpbon.2da] loaded, 4196 bytes
Appending to files ...
[./override/CLSWPBON.2DA] loaded, 4196 bytes
Appending [RASune  0 0 3...] to [clswpbon.2da] because it does NOT contain [[     ]+RASune[     ]+]
override/clswpbon.2da copied to DeitiesOfFaerun/Backup/3/clswpbon.2da, 4196 bytes
Appended text to [clswpbon.2da]
[./override/hpclass.2da] loaded, 1742 bytes
Copying and patching 1 file ...
[./override/hpclass.2da] loaded, 1742 bytes
Appending to files ...
[./override/HPCLASS.2DA] loaded, 1742 bytes
Appending [RASune  HPPRS...] to [hpclass.2da] because it does NOT contain [[     ]+RASune[     ]+]
override/hpclass.2da copied to DeitiesOfFaerun/Backup/3/hpclass.2da, 1742 bytes
Appended text to [hpclass.2da]
[./override/numwslot.2da] loaded, 1483 bytes
Copying and patching 1 file ...
[./override/numwslot.2da] loaded, 1483 bytes
Appending to files ...
[./override/NUMWSLOT.2DA] loaded, 1483 bytes
Appending [ RASune  2...] to [numwslot.2da] because it does NOT contain [[     ]+RASune[     ]+]
override/numwslot.2da copied to DeitiesOfFaerun/Backup/3/numwslot.2da, 1483 bytes
Appended text to [numwslot.2da]
[./override/thiefskl.2da] loaded, 610 bytes
[./override/traplimt.2da] loaded, 366 bytes
Appending to files column-wise ...
[./override/CLASCOLR.2DA] loaded, 7849 bytes
Appending cols to [clascolr.2da] because it does NOT contain [[     
]+RASune[     
]+]
override/clascolr.2da copied to DeitiesOfFaerun/Backup/3/clascolr.2da, 7849 bytes
Appended text to [clascolr.2da] column-wise
Copying and patching 1 file ...
[./override/clasiskl.2da] loaded, 10287 bytes
Appending to files column-wise ...
[./override/CLASISKL.2DA] loaded, 10287 bytes
Appending cols to [clasiskl.2da] because it does NOT contain [[     
]+RASune[     
]+]
override/clasiskl.2da copied to DeitiesOfFaerun/Backup/3/clasiskl.2da, 10287 bytes
Appended text to [clasiskl.2da] column-wise
Copying and patching 1 file ...
[./override/clasthac.2da] loaded, 2635 bytes
Appending to files column-wise ...
[./override/CLASTHAC.2DA] loaded, 2635 bytes
Appending cols to [clasthac.2da] because it does NOT contain [[     
]+RASune[     
]+]
override/clasthac.2da copied to DeitiesOfFaerun/Backup/3/clasthac.2da, 2635 bytes
Appended text to [clasthac.2da] column-wise
Copying and patching 1 file ...
[./override/thiefscl.2da] loaded, 11581 bytes
Appending to files column-wise ...
[./override/THIEFSCL.2DA] loaded, 11581 bytes
Appending cols to [thiefscl.2da] because it does NOT contain [[     
]+RASune[     
]+]
override/thiefscl.2da copied to DeitiesOfFaerun/Backup/3/thiefscl.2da, 11581 bytes
Appended text to [thiefscl.2da] column-wise
Copying and patching 1 file ...
[./override/kitlist.2da] loaded, 8032 bytes
Copied [kitlist.2da] to [override/kitlist.2da]
Copying and patching 1 file ...
[./override/clastext.2da] loaded, 15327 bytes
Copied [clastext.2da] to [override/clastext.2da]
Copying and patching 1 file ...
[./override/backstab.2da] loaded, 4054 bytes
Copying and patching 1 file ...
[./override/clsrcreq.2da] loaded, 9638 bytes
Copied [clsrcreq.2da] to [override/clsrcreq.2da]
Copying and patching 1 file ...
[./override/clswpbon.2da] loaded, 4280 bytes
Copied [clswpbon.2da] to [override/clswpbon.2da]
Copying and patching 1 file ...
[./override/hpclass.2da] loaded, 1825 bytes
Copied [hpclass.2da] to [override/hpclass.2da]
Copying and patching 1 file ...
[./override/numwslot.2da] loaded, 1562 bytes
Copied [numwslot.2da] to [override/numwslot.2da]
Copying and patching 1 file ...
[./override/thiefskl.2da] loaded, 610 bytes
Copying and patching 1 file ...
[./override/traplimt.2da] loaded, 366 bytes
Copying and patching 1 file ...
Copying and patching 1 file ...
Copying and patching 1 file ...
[./override/clascolr.2da] loaded, 7881 bytes
Copied [clascolr.2da] to [override/clascolr.2da]
Copying and patching 1 file ...
[./override/clasiskl.2da] loaded, 10320 bytes
Copied [clasiskl.2da] to [override/clasiskl.2da]
Copying and patching 1 file ...
[./override/clasthac.2da] loaded, 2650 bytes
Copied [clasthac.2da] to [override/clasthac.2da]
Copying and patching 1 file ...
[./override/thiefscl.2da] loaded, 11617 bytes
Copied [thiefscl.2da] to [override/thiefscl.2da]
Copying and patching 1 file ...
[DeitiesOfFaerun/Itm/HolySymbols/RAHS.spl] loaded, 298 bytes
Copied [DeitiesOfFaerun/Itm/HolySymbols/RAHS.spl] to [override/RAHSSUNE.spl]
Copying and patching 1 file ...
[DeitiesOfFaerun/Itm/HolySymbols/RAHS.itm] loaded, 642 bytes
Copied [DeitiesOfFaerun/Itm/HolySymbols/RAHS.itm] to [override/RAHSSUNE.itm]
Copying 1 file ...
[DeitiesOfFaerun/Spl/RASUNEF.spl] loaded, 250 bytes
Copied [DeitiesOfFaerun/Spl/RASUNEF.spl] to [override/RASUNEF.spl]
[./override/SPELL.IDS] loaded, 29091 bytes
[./override/SPELL.IDS] loaded, 29091 bytes
Copying 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 tilesets
Copied [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 bytes
Copied [DeitiesOfFaerun/Spl/RASUNE2.spl] to [override/RASUNE2.spl]
Copying and patching 1 file ...
[DeitiesOfFaerun/Spl/RASUNEA.spl] loaded, 1258 bytes
Copied [DeitiesOfFaerun/Spl/RASUNEA.spl] to [override/RASUNEA.spl]
Copying and patching 1 file ...
[DeitiesOfFaerun/Spl/RASUNEE.spl] loaded, 394 bytes
Copied [DeitiesOfFaerun/Spl/RASUNEE.spl] to [override/RASUNEE.spl]
[./override/SPELL.IDS] loaded, 29091 bytes
Copying and patching 1 file ...
[./override/SPPR503.spl] loaded, 3474 bytes
Copied [SPPR503.spl] to [override/RASUNE3.spl]
[./override/SPELL.IDS] loaded, 29091 bytes
[./override/SPELL.IDS] loaded, 29091 bytes
Copying and patching 1 file ...
[./override/SPWI411.spl] loaded, 538 bytes
ERROR: cannot convert IDPRO255 or %IDPRO255% to an integer
ERROR: [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.

Link to comment
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 by Raduziel
Link to comment

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.

Link to comment
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

 

Link to comment

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 by Raduziel
Link to comment

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

 

Link to comment
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 :)

Link to comment
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 by Raduziel
Link to comment
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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...