Black-Wyrm-Lair / WTPFamiliars

Enhanced-edition-compatible version of Rabain/Salk's expanded familiar mod
1 stars 2 forks source link

FamiliarSummoner probably does not work (IWDEE) #2

Open flamewing opened 6 years ago

flamewing commented 6 years ago

The FamiliarSummoner token is used in FamiliartobaldurBDS.baf before a familiar is summoned. The new method of summoning the familiar may also cause it to not set it correctly/at all.

Also, the code in FamiliartobaldurBDS.baf does not allow anyone but Player1 to summon a familiar.

All of these have to be revised for IWDEE.

artifoxel commented 2 years ago

Hi @flamewing! Testing in IWDEE, I can confirm the modded script triggers do not fire at all if %famsummoner% is set to FamiliarSummoner. I got the same result in SOD, even though the global script references FamiliarSummoner in other parts.

So from what I gather, the FamiliarSummoner object seems to be engine-hardcoded to opcode #192 Spell Effect: Find Familiar (which the modded spell doesn't use).

For now, to enable compatibility on SOD and IWDEE installs, I set %famsummoner% to be Player1 for all installs, and created a new variable %oldfamsummoner% for oldfam.baf. The mod should now work correctly in the SOD campaign and IWDEE.

More adventures with your creature companion! 🦦 https://github.com/artyfox/WTPFamiliars/archive/refs/heads/master.zip