Problem With Oblivon Style Spellcasting

Post » Sat Oct 09, 2010 1:39 pm

Is Oblivion Style spellcasting incompatible with GCD? I'm having a couple problems with it.

1. My spell chances don't seem to match up with the actual spell chances, I sometimes fail spells that I have a 100 percent chance of casting.
2. I have an on Touch frost spell thats 80-130 damage and it instant kills everything regardless of the Health of the target. I've noticed this with other spells as well.

Any help would greatly be appreciated.
User avatar
Emily Jeffs
 
Posts: 3335
Joined: Thu Nov 02, 2006 10:27 pm

Post » Sat Oct 09, 2010 11:22 am

Is Oblivion Style spellcasting incompatible with GCD? I'm having a couple problems with it.

1. My spell chances don't seem to match up with the actual spell chances, I sometimes fail spells that I have a 100 percent chance of casting.

I've had it do this with the Khajiit Eye of Night spell. I don't use GCD, so it's not from a conflict.
User avatar
Hazel Sian ogden
 
Posts: 3425
Joined: Tue Jul 04, 2006 7:10 am

Post » Sat Oct 09, 2010 2:17 pm

Due to scripting limitations, I had to manually recalculate spell chances. Not having access to game settings via script, I had to do the best I could using just player statistics. As such, the chances are going to be somewhat different than reported, but as close as I could possibly get them with hours upon hours of testing and tweaking.

The spells are not entirely controlled by the aspect of the engine that normally controls such things; there were a lot of hacks and such necessary to get this working at all. For example, the duration of spells actually has no meaning to the engine as they are; the spells cast by this mod are technically of infinite duration. I have a script that runs and attempts to remove them after the duration is up. The problem though is that if there are a lot of NPCs in the cell or you have mods with a lot of other running scripts, my script may slow down. So instead of doing 80-130 damage once, it may end up doing it 5 or 6 times. Unfortunately, I have no work-around for that.
User avatar
Alex Vincent
 
Posts: 3514
Joined: Thu Jun 28, 2007 9:31 pm

Post » Sat Oct 09, 2010 1:31 pm

An answer straight from the man himself. :) Thanks for the insight Fliggerty, I thought it was a problem on my end. :laugh: Its a shame about my damage spells, but the mod is so good I certainly can look past it. :thumbsup:
User avatar
El Goose
 
Posts: 3368
Joined: Sun Dec 02, 2007 12:02 am


Return to III - Morrowind