Started looking through spells...where are the scripts?

Post » Sun Jun 17, 2012 6:19 pm

I thought I'd try to fix the problem that most annoyed me...http://www.gamesas.com/topic/1342654-cloak-spell-dispels-my-atronoch/

But looking through the information in the CK, I can't find the scripts that define the spells' behaviors, and without finding those scripts, I can't figure out why the atronoch is getting cancelled, let alone stop it from happening with a non-conjuration spell.

I thought it would be a simple case of removing a trigger effect from cloak spells that must be cancelling the pet spells, but I can't check the scripts to find out if I can't locate them.
User avatar
john palmer
 
Posts: 3410
Joined: Fri Jun 22, 2007 8:07 pm

Post » Mon Jun 18, 2012 4:32 am

So I guess nobody else has been able to find the spell behavior scripts either? I figure there has to be a 'Kill player pets" event that the pet making spells trigger and, for some reason, the cloak spells also trigger.

It can't be intentional, because summoning a pet doesn't turn off the cloak spells, which would no doubt have been included if cloaks and pets were supposed to be mutually exclusive.
User avatar
Dragonz Dancer
 
Posts: 3441
Joined: Sat Jun 24, 2006 11:01 am

Post » Sun Jun 17, 2012 10:57 pm

Is it to do with this:

http://www.creationkit.com/Magic_Effect

Keywords

A list of Keywords associated with the spell. These Keywords are not applied directly to the target, but can be checked by scripts or used in other ways.

The checkbox is all-or-nothing. If any other spell effect on the target has a keyword that matches one of the keywords in this list, it will be dispelled.

Check to see if one spell has keywords that match the other, but not the other way around (if you see what I mean! ;))
User avatar
stevie critchley
 
Posts: 3404
Joined: Sat Oct 28, 2006 4:36 pm

Post » Mon Jun 18, 2012 3:44 am

Aha! It shares WISpellDangerous with the summon Atronoch spells...now the question is, where is the script that makes Atronochs counter themselves if there are too many (it has to be a special script, because it needs to check for the twin souls perk...) simply removing the WISpellDangerous keyword from atronochs might make them spammable, which is a problem.
User avatar
Hearts
 
Posts: 3306
Joined: Sat Oct 20, 2007 1:26 am

Post » Mon Jun 18, 2012 6:52 am

I checked the twin souls perk code yesterday and I remember it was setting a variable/property from 1 to 2 as ability. But I cannot check it right now.

I don't know if it makes sense, but you could check the name of the variable in the Twin souls perk and look for it...

Hope it helps.
User avatar
Eire Charlotta
 
Posts: 3394
Joined: Thu Nov 09, 2006 6:00 pm

Post » Mon Jun 18, 2012 7:05 am

Unfortunately not...I tried searching for "WISpellDangerous" In the text search function, but all it came back with was that it was a keyword form...well duh! It didn't come up with any scripts that use it, so evidently, it's not something that a script anywhere uses.

Maybe all it is is something that NPCs look at when they decide whether to say "That spell looks dangerous, keep your distance!" or not. If so, maybe removing it from Atronochs won't be so bad...unfortunately, my game computer at work is busted so I can't test it here, I'll have to try it when I get home tonight.
User avatar
Chantel Hopkin
 
Posts: 3533
Joined: Sun Dec 03, 2006 9:41 am

Post » Sun Jun 17, 2012 4:45 pm

Of course the search doesn't list the spell effects that we alreday KNOW use the keyword "WISpellDangerous" (Cloak spells and Atronoch summons) so obviously the search function is subpar.

We need a search function that can return a list of all references to a given string, regardless of where they are...Keywords, scripts, actor names, place names, etc...
User avatar
Heather beauchamp
 
Posts: 3456
Joined: Mon Aug 13, 2007 6:05 pm

Post » Mon Jun 18, 2012 6:22 am

In Object Window>Keyword, you can right click on WISpellDangerous, and select Use Info, listing everything that references it.
User avatar
James Rhead
 
Posts: 3474
Joined: Sat Jul 14, 2007 7:32 am

Post » Sun Jun 17, 2012 8:17 pm

Of course the search doesn't list the spell effects that we alreday KNOW use the keyword "WISpellDangerous" (Cloak spells and Atronoch summons) so obviously the search function is subpar.

We need a search function that can return a list of all references to a given string, regardless of where they are...Keywords, scripts, actor names, place names, etc...
WISpellDangerous is probably a keyword to trigger NPC dialog "That spell looks dangerous!" and similar when you meet them with the spell equipped or active.
User avatar
ShOrty
 
Posts: 3392
Joined: Sun Jul 02, 2006 8:15 pm

Post » Sun Jun 17, 2012 6:06 pm

WISpellDangerous is probably a keyword to trigger NPC dialog "That spell looks dangerous!" and similar when you meet them with the spell equipped or active.

Unfortunately, it's also used by the cloak spells to kill other cloak spells that might already be on the player to prevent stacking, and Atronochs have the misfortune of sharing that keyword. But simply removing the keyword from atronochs could cause unforseen problems if some script out there is using it (for example, what if it has something to do with enemies properly agroing on atronochs? AI scripts besides random dialog may be affected. )

If only some Dev could upgrade the text search function so it was more thorough, I could check and see what's using that keyword to create a new keyword (for example KeywordConjurationSummonPet) that could be used in those scripts for atronoch spells and zombies, thus allowing me to remove WISpellDangerous from Atronochs and other summons without causing a cascade bug effect.
User avatar
Heather M
 
Posts: 3487
Joined: Mon Aug 27, 2007 5:40 am

Post » Sun Jun 17, 2012 8:04 pm

Unfortunately, it's also used by the cloak spells to kill other cloak spells that might already be on the player to prevent stacking, and Atronochs have the misfortune of sharing that keyword. But simply removing the keyword from atronochs could cause unforseen problems if some script out there is using it (for example, what if it has something to do with enemies properly agroing on atronochs? AI scripts besides random dialog may be affected. )

If only some Dev could upgrade the text search function so it was more thorough, I could check and see what's using that keyword to create a new keyword (for example KeywordConjurationSummonPet) that could be used in those scripts for atronoch spells and zombies, thus allowing me to remove WISpellDangerous from Atronochs and other summons without causing a cascade bug effect.

Cloak spells also have a dispel effects with "Magic Cloak" keyword, so you shouldn't be able to stack them. As for being used anywhere else, I did what throttlekitty suggested ( which i didn't know :P) and it only seems to be used in magic effects and in a couple of quests. One only seems to be for dialogue, and the other, WICastMagic02... I have no idea what it does :D
User avatar
OnlyDumazzapplyhere
 
Posts: 3445
Joined: Wed Jan 24, 2007 12:43 am


Return to V - Skyrim