The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Any way to disable core component for deflection/turning?
Ithildur
post Sep 21 2013, 02:31 PM
Post #1





Forum Member
Posts: 7
Joined: 21-September 13




From the Readme:

'... changing the Spell Deflection, Turning, and Trap spells so their visual effects do not turn off when they have absorbed or turned their spell levels. You will still know when they are expended by looking at your PC's state icons. The spells listed will still function the exact same way; they are simply patched to use a different animation.The reason for this change is due to a hardcoded feature of the engine to play those animations if creatures carry certain effects that SpellPack patches to items and spells'

I'm quite interested in installing just a few of the spells (mainly Otiluke's sphere, the fact that casting on a friendly bypasses save/MR is a terrific feature), but really would rather not change spell deflection/turning the way it's described above. I'm considering comment out the relevant lines in the core.tph file, but wanted to confirm that would not cause serious problems as long as I don't install components that have these animations.

Or perhaps it would be better to simply copy your version of Otiluke's (with all the accompanying spl, 2da, bam, vcc, eff files copied as well) over to my install? Would simply copying these files into the override folder work or would I need to copy them to different folders, or are there scripts that need to be run/compiled for the spell to work properly?


Again, would really prefer to install a handful of spells and just not have the spell deflection/turning change be forced on me, but if that's not possible I'll settle for the option of 'manually' installing a couple of spells.

thanks

[edit] It seems being under the effect of the new Otilukes allows the PC to physically attack certain types of targets; I observed this behavior specifically when dealing with Ascension Illesara, PC was able to attack her (with difficulty, she is hasted with boots of speed after all) while under the effects of the new Otilukes.

This post has been edited by Ithildur: Sep 21 2013, 03:18 PM
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Galactygon
post Sep 25 2013, 09:09 PM
Post #2



Group Icon

Mod Developer
Posts: 1158
Joined: 22-July 04
From: Sweden




Hello Ithildur! I am at a difficult point in my life, but I do check these forums from time to time! I have no plans to leave the modding scene permanently, and am hopeful that future versions of BG(II):EE and/or ToBEx will allow me to deprecate this constraint feature. In subsequent versions I will deprecate as much as possible from the core component.

I make liberal use of hardcoded opcodes that carry these animations, so disabling this would mean you would excessively see the turning mirror or the whiffle ball. That's the tradeoff if you decide to disable this part of the core component.

You will need to comment out the relevant block of code as well in the core component, because the core component modifies those .spl files to keep playing the animation (was it LCTURNI2 or LCTURNI I can't remember). I don't have access to that right now to help in greater detail, but IIRC I've been liberal in commenting everything, so I hope you find it. It's in one of the tph files under the macros, so you might have to do a search for the text "CORE" and look under that macro, but once you find it, everything is in one place.

Otiluke's Resilient Sphere is meant to completely disable but permit the character to so to speak "roll the sphere" at a snail's pace (note the spell description!). I've set the number of attacks to zero, so if you were able to attack, that is a bug. I cannot promise to test this right now, but will add to the list of things to do. Are you able to attach a savegame, or better yet the .cre file of your character? I think it could be done with DLTCEP.

Hope you enjoy the mod!

Galactygon


--------------------
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 19th October 2025 - 04:49 AM