Smart Cast

Skyrim Mods |

Smart Cast

Use SkyUI to get new alternatives to cast magic spells. Smart Spells are the main feature, you can automatically cast any spell if a set of customizable rules met. Spell Rings and Spell Combos can assist you to be an efficient caster. Give it a try if you are looking to improve your magic casting gameplay, it is compatible with SkyRe.

DISCLAIMER
All the following pictures use the Enhanced Lights and FX and the New Animation for Magic Casting mods.

Many thanks to Brodual for featuring my mod in his youtube channel,
he explains in great detail each feature of this mod.
You can follow him on facebook or twitter.

Thanks to novajam for making another illustrative video, and to Gruntlock for making a video going nuts with my mod.

Skyrim follows this magic casting mechanic

Magic casting mechanics
In a fight this mechanic makes the caster a human loop, repeating all the steps over and over, switching spells back and forth. I feel that some spells should have different mechanics, for example, it would be nice that protective spells could be cast just by selecting them on the menu, instead of been equipped, charge and release.

This mod gives you the possibility to improve your magic casting gameplay with the following three alternatives:

You can assign a set of rules to a spell to be cast automatically

You can customize these special rings to cast spells when you wear them. You don’t have to worry about your gear, the biped slot was not assigned to these rings, meaning that no item will be unequipped from your character

Cast more spells with just one hand, you can select up to 3 spells to be cast at the same time

You don’t have to be a magic caster to benefit from this mod, if you are a warrior or a thief, you can create Smart Spells or Spell Rings to cast minor spells like Oakflesh or Fast Healing without switching your weapons, now you can use your magicka pool more often, even if it is very small.

Before installing this mod, make sure you have SkyUI 4.1 and SKSE 1.6.16 installed, you can try using a lower version, but I programmed the scripts using those versions.

I recommend installing this mod with Nexus Mod Manager, but if you are installing it manually, just extract into your skyrim/data folder.

After a successful installation, wait around 20 seconds for the initialization message to appear and the MCM to announce the registration of 2 mod configuration pages, after that, you will be ready to go.

Location of the mod configuration pages
The mod revolves around the weapons and spell cache menus to help you customize your spell casting options. It is a little odd to use them, but the limitations of Papyrus gave me no other choice, here is the explication:

1. To get some spells or weapons up and running with the mod you have to equip them to your character first, powers are supported but shouts are not.
2. Once you enter either of the mod configuration pages those weapons or spells will be registered to their corresponding cache menu.
3. The first spells or weapons in the cache menus will be the ones your character currently has equipped. The limit of either cache menu is 30 slots.

Spells cache menu
Weapons cache menu
The main purpose of the cache menus is to minimize all the switching of spells and weapons to configure the mod, but keeping it as compatible as possible.

You can use any spell to be part of the mod, even the ones that need a target, but I highly recommend using only cast-on-oneself spells and avoid concentration spells, for example, use Fast Healing instead of Healing. You have to keep in mind that some spells have a casting range, if the required range is not met, the spell cast will fail and the magicka needed for the spell will be consumed, Conjure Familiar spell is a good example of a spell with a casting range that will fail if you target an area too far away.

Example of failing and succeeding the Conjure Familiar spell cast, notice that both screenshots have consumed the magicka for the spell

Here you can set up rules for the auto casting system, if all the rules you assign to a spell met and you have enough magicka, the spell will be cast without any intervention from the user and the magicka needed for the spell will be consumed. The order for casting spells is from top to bottom (spell 0 to spell 10), this means if you have a spell that consumes a lot of magicka at the top, other spells will not be cast even if the rules met, keep that in mind. I recommend putting Fast Healing at the very top, you don’t want to die because you cast a big spell instead of a lifesaving Fast Healing spell.

These are the available options for Smart Spells
Smart Spells can be auto dispel too, for a spell to qualify for auto dispelling the duration of its magic effects should be more than 25 seconds. If the character is still in combat or just got out of combat, the dispel option will return some magicka back depending of the time the spell was active, for example, a spell will return more magicka if it is dispelled with 40 seconds than 20 seconds left.

I guess all the other features of this mod configuration page are self-explanatory, besides the page has Option Highlight Text to help you through. The default key for the mod configuration pages has the role of clear/reset, if you use it at the select spell option it will remove the Smart Spell, if you use it at the numeric options it will reset it at 50%, any other option will reset it to ignore.

Smart Cast use a 5 second loop to enquire your character status, this means that the auto cast will take from 0 to 5 seconds to detect changes in your character status and cast a spell, please keep that in mind. I programed this loop to be as fast as possible, I use a computer with an Intel i5 processor and an AMD Radeon HD 7750 graphic card to play the game, and the loop takes from 0.08 to 0.2 seconds, I think it is good enough.

This mod configuration page helps you to customize your Spell Rings, Spell Combos and to manage your Smart Spells.

Spell Ring menu, up to 24 customizable rings

When you create a new Spell Ring, that ring will be added to your character’s inventory and will be renamed after the spell you assign to it. These rings will help you cast spells instantaneously, avoiding completely the typical magic cast mechanic, for example, do you want to cast Oakflesh but you don’t want to switch your sword or shield for a spell?, well, if you have a Spell Ring with Oakflesh spell assign to it, you only have to equip it and you will be ready to continue your fight. These rings will be unequipped automatically, they are just a way to trigger an event for the mod to cast spells. You can favorite and assign a hot key to any ring if you want a quick access to a spell, and you can spam these rings for instant cast as long as you have enough magicka for the spell.

To remove a Spell Ring you can use the default key from the mod configuration page, it will clear the spell from the ring and the ring will be removed from your character’s inventory as well.

There is a dispel ring, this ring will dispel all magic effects cast by a Spell Ring or Spell Combo from your character, and it does not return any magicka, you can use it just to dispel long duration effects that annoys you.

Spell Combos menu, up to 10 combos
If you feel Spell Rings can break your game immersion or it is some kind of cheat, Spell Combos are the alternative. Just like any other spell, you still need to equip a Spell Combo to your character to cast it, but you can cast up to 3 spells at the same time, you will consume the magicka needed for all the spells in one go, make sure your magicka pool is big enough to cast all the selected spells or the Spell Combo will fail. After you create a Spell Combo your character will have a new spell in the alteration section of the magic menu, and it will be named after the first spell of the combo. You can use the default key to clear spells from a combo, if you clear all the spells of a combo, it will be removed from your magic menu.

Smart Spell Manager menu
This section helps you change the priority of Smart Spells automatic casting by moving spells up or down from the list of spells. You can delete unwanted spells too, or disable the Smart Spell loop, this last option is particularly useful when you engage in a fist fight with someone and casting magic spells is consider cheating. The reset option is just in case you consider the loop have messed up the spell durations of the automatic casting.

I did my best to program this mod to be compatible with any other mod. I tested it with Apocalypse Spell Package, Balanced Magic and T3nd0s Skyrim Redone.

How can I clear/reset/remove X option?
You can use the default key from the mod configuration pages. Sorry I forgot to put that information in the description when I uploaded this mod the first time.

Where should I put this mod in the load order?
There is no need for a specific place, but I like to put it after the SkyUI mod.

How can I uninstall this mod?
You can simply delete the BSA and ESP files, it should be safe enough. But if you want to take the extra mile, you can stop the Smart Cast loop before uninstalling, by checking the option in “Smart Cast – Config > Smart Spells Manager > Stop Smart Spell Loop” or removing all the Smart Spells, either way will run the UnregisterForUpdate(). But I am not sure if that is necessary, I used RegisterForSingleUpdate(time) instead of RegisterForUpdate(time).

Is it safe to uninstall this mod?
As safe as any other mod with scripts, you will have to live with the following log messages:

Cannot open store for class “<script”, missing file?
warning: Unable to get type
warning: Could not find type <script in the type table in save
Uninstalling this mod will not break the game, if you don’t have logging enable, you wouldn’t even notice those messages.

Why are shouts not supported?
The game treats shouts and spells completely different, even if they use magic effects the exact same way. And there is no way to activate a shout by script. The only workaround that may work is to remake all the shouts into spells, but I am not sure is worthwhile, it might create too many problems. If SKSE supports shouts in the future, they will be added to this mod.

Does the mod supports concentration spells?
Yes, but there is no way to control them by script, they will have an erratic behavior. If you create a Smart Spell with these type of spells, it might burn all your magicka away, you can add a rule to prevent this, “if your magicka is greater than <percentage", this way you will always have enough magicka stored for other spells.

How can I know X spell is a concentration spell?
Do you need to keep holding the mouse buttons or your controller trigger buttons for the spell to remain active? If your answer is yes, it is a concentration spell. Examples are: Flames, Sparks, Frostbite, Healing, Healing Hands and ward spells from the restoration magic school.

Does the mod supports bound weapon spells?
Yes. but not at 100%, it looks like the game needs to know which hand cast the spell, and that information cannot be given by script. I can’t find a way to work around this problem. Right now, if you cast a bound weapon spell using a script, it will have some issues; the weapon will not be dispelled when you sheath it, but don’t worry, it will be dispelled after the magic effects of the spell are over; if you cast one handed bound weapons, the left hand will hold an invisible weapon.

Does the mod supports long duration spells or auras?
Yes, but there are some issues, sometimes you can cast these spells without any limitations. The main problem is that some spells have their duration scripted instead of using the normal spell duration in the Skyrim Creation Kit, the GetNthEffectDuration(int n) returns 0, there is no way to obtain the duration of these spells. For version 1.1, I am planning a way to handle this problem.

Can you support hotkeys for the next version?
You can use Spell Rings instead, just favorite and add a hotkey with the quick menu. I find this approach better than hotkeys, it maintains a high level of compatibility with other mods, and you can still have quick access to favorite items by using the quick menu, this is excellent for gamepad users that have limited number of hotkeys.

Can you support dual casting for the next version?
There is no way to dual cast any spell using scripts, if SKSE supports dual casting in the future, I will update this mod to include it. I have been thinking how to work around this problem, and the only way is to create single handed spells with the same features and power of a dual cast version, but it will break the compatibility of this mod. For example, Oakflesh works differently in the SkyRe version than in the vanilla version of the game.

When are you going to release version 1.1?
As soon as I can, I guess in a few days, meanwhile I want to thank everyone for supporting this mod.


Author: NeoRunek
This content was uploaded by website visitors. If you notice any mistake, please let us know.



Useful Information:

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *