Jump to content

[?] make spell different when dual-weilded


corhen

Recommended Posts

hello all, quick question

 

i have a 5 minute magelight+candle light mod, but i would like to change how it works

 

Currently i have just increased the duration of the spells, but ideally when you single wield the spells, they cast the normal 60 second version, but when dual-wielded, it casts a 5 minute version.

 

i have poked around the Creation Kit, but been unable to figure out how to do this

 

Any advice is greatly apreciated!

 

Thanks

 

Corhen

Link to comment
Share on other sites

theres no real information on it in the wiki but...

 

if you look under Magic in the ck, you can find "Dual Cast Data"

 

if you sift down through the layers of the spell Ice Storm, you'll find that the Magic Effect associated with it has something other than "none" listed under Dual Cast

 

From using the spell in game, I know that the dual cast version uses a larger projectile (I'm guessing thats controlled by the Dual Casting - Art drop down list in the Magic Effect)

I'm not sure how the Dual Casting - Scale affects the spell

 

If you're experimenting with this, please post anything you learn as I'm interested to know how this works as well.

Link to comment
Share on other sites

Ok... You're in luck, because I have spent the past day working through this and have a solution just worked out about an hour ago. :P

 

 

 

 

1. Create a second Magic Effect form that is to be the Dual Cast Version (easiest way is to just duplicate your Magic Effect, then edit as appropriate)

 

2. In the Target Conditions of the Dual Cast version, add EffectWasDualCast == 1 (the Run On should be either Subject or Target depending on your spell's delivery)

 

3. In the Target Conditions of the Single Cast version, add EffectWasDualCast == 0

 

4. In the spell, add both of the Magic Effects.

Link to comment
Share on other sites

However - there is one annoying limitation that I haven't gotten around yet.

 

The Target Conditions only work on Actors..... Which is fine for most spells....

 

But yeah... if you want your spells to work on doors (like I want mine to) , the EffectWasDualCast condition doesn't work (because it only registers with Actors...)

Link to comment
Share on other sites

  On 2/16/2012 at 7:00 AM, cscottydont said:

theres no real information on it in the wiki but...

 

if you look under Magic in the ck, you can find "Dual Cast Data"

 

if you sift down through the layers of the spell Ice Storm, you'll find that the Magic Effect associated with it has something other than "none" listed under Dual Cast

 

From using the spell in game, I know that the dual cast version uses a larger projectile (I'm guessing thats controlled by the Dual Casting - Art drop down list in the Magic Effect)

I'm not sure how the Dual Casting - Scale affects the spell

 

If you're experimenting with this, please post anything you learn as I'm interested to know how this works as well.

 

well, after playing around with it, i decided to try to add a set of conditions, one !== effectwasdual cast, and one = effectwasdualcast... and this approach failed horribly!

 

Ill keep trying tomorrow

Link to comment
Share on other sites

  On 2/16/2012 at 7:56 AM, corhen said:

 

well, after playing around with it, i decided to try to add a set of conditions, one !== effectwasdual cast, and one = effectwasdualcast... and this approach failed horribly!

 

Ill keep trying tomorrow

 

 

Check over everything, because it works (I have done it successfully). You might have the conditions set up incorrectly.

 

Keep in mind for the "EffectWasDualCast" condition, has to have its Run On set to Target (for Aimed spells).

 

The two effects must be on the same spell.... and keep in mind they MUST have the same Casting Type and Delivery.

Edited by Perked
Link to comment
Share on other sites

  • 4 weeks later...

Resurrecting this thread. You can achieve dual casting just as described REGARDLESS of the spell target, etc,. Just use the following condition:

 

Single Cast Effect:

Reference: IsDualCasting == 0 (set reference to Player)

 

Dual Cast Effect

Reference: IsDualCasting == 1 (ref to player)

 

Hope that helps you out. This thread was EXACTLY what I needed to figure this out, and I just needed to get that last bit because my spells weren't targetted to an actor or aimed.

 

-MM

 

Edit: And consider, for those that couldn't get this to work. You DO have to have the perk that allows dual casting that school for your character to actually Dual Cast. Otherwise you're just casting one spell with one hand and the same spell with the other, which is NOT dual casting.

Edited by MofoMojo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...