| The Black Wyrm's Lair Terms of Use |
Help
Search
Members
Calendar
|
Jun 20 2006, 11:38 AM
Post
#1
|
|
|
The Tactician ![]() Distinguished Developer Posts: 7794 Joined: 1-December 05 |
In the "bg2actions" document of iesdp (at least in the version I have), it is said:
QUOTE SpellNoDec(O:Target*,I:Spell*Spell) If I were to lengthen the name of this action, it would be called SpellNoDecrease. In short, it works the same way as Spell does--it will only cast a spell if it's in memory... I checked it and noticed that the spells are cast even if they are not memorized or even known by the spellcasters. Not that it is a bad thing. On the contrary, It's much better in this way, because unlike "ForceSpell", "SpellNoDec" respects the usual delay needed for the aura being cleansed (between successive spells) and again unlike "Forcespell" the spells cast by "SpellNoDec" are interruptable (both of which are great and useful features). However, I wonder if the iesdp document is incorrect or rather I have missed some essential point in my tests. As I tested it, SpellNoDec doesn't seem to require that the spell is memorized or even known. I wrote a simple script (for testing purposes) as follows: CODE IF Detect([PC]) THEN RESPONSE #100 SpellNoDec(Myself,WIZARD_MINOR_GLOBE_OF_INVULNERABILITY) END And the mage began to cast the spell infinitely once he saw the PC, despite the fact that he neither had the spell memorized nor even known in his spellbook. Any idea? This post has been edited by Sikret: Jun 20 2006, 11:40 AM -------------------- Improved Anvil
![]() Cheating is not confined to using external software or the console commands. Abusing the flaws and limitations of the game engine to do something that a human Dungeon Master would not accept or allow is cheating. |
|
|
|
![]() |
Jun 20 2006, 02:14 PM
Post
#2
|
|
|
The Tactician ![]() Distinguished Developer Posts: 7794 Joined: 1-December 05 |
Yes, my test was performed on a clean installation of the game. I also think that if more people try the test and confirm the result, it would be a very useful tool to cast spells through scripts, especially because spells cast by "SpellNoDec" are interruptable (unlike spells cast by "ForceSpell") and also because they respect the needed delay between seccessive spells (again unlike "ForceSpell").
Some modders use SetTimerGlobal variables in conjunction with "ForceSpell" to make the needed delay between spells; and most of them wrongly think that the delay between successive spells should always set to "6", becuase they think that it is the regular delay between spells in the game for the aura to be cleansed (which is a myth, of course.) If others' tests approve what I have found, we can use SpellNoDec in BG2 scripting even for when the spell is not memorized by the caster and can have the "correct" needed delay between successive spells. -------------------- Improved Anvil
![]() Cheating is not confined to using external software or the console commands. Abusing the flaws and limitations of the game engine to do something that a human Dungeon Master would not accept or allow is cheating. |
|
|
|
Sikret SpellNoDec! Jun 20 2006, 11:38 AM
Baronius Then it seems that it works in a different way in ... Jun 20 2006, 01:26 PM
CamDawg Mistakes/research in the IESDP are generally bette... Jun 20 2006, 02:57 PM
devSin I noted this here. igi just hasn't updated the... Jun 20 2006, 03:50 PM
Sikret Thank you, devSin!
SpellNoDec seems to be ex... Jun 20 2006, 04:23 PM
Baronius Mistakes/research in the IESDP are generally bette... Jun 20 2006, 05:00 PM
igi
And the fact that it's now int he archive fo... Jun 20 2006, 05:29 PM
Baronius Do you plan to add the BG1 TotSC action updates as... Jun 20 2006, 05:31 PM
Sikret
And the fact that it's now int he archive fo... Jun 21 2006, 06:09 AM
igi
I thought I'd already added that? Jun 21 2006, 12:19 PM
Baronius With some old descriptions, it seems. The most imp... Jun 21 2006, 04:39 PM
Sikret
And the fact that it's now int he archive fo... Jun 21 2006, 05:09 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 11th March 2026 - 08:17 PM |