This is a modder's resource - it contains scripting for turning any book into a spell tome which will trigger animations to make learning spells more immersive.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is not opted-in to receive Donation Points
I recently updated Champion of The Daedra's Tier Spell Tome concept by adding scripted vanilla animations. I built this in a separate project as opposed to working inside COTD, so that I could try a new workflow method. Before implementing this system into COTD I decided I would share this test mod as a modder's resource so that anyone can use it, because I love this community and many other modders have helped me learn how to do things I value.
You'll just need to modify the scripts a bit with your own spell & spell tome. If you have question on how to do this you can post them in the comments section and I'll try to help you out.
Actor Property PlayerRef auto Spell Property ABC_Spell_TomeFX_Fire auto Spell Property ABC_Spell_TomeFX_Frost auto Spell Property ABC_Spell_TomeFX_Shock auto Spell Property ABC_Spell_TomeFX auto
Idle Property idlebook_reading auto Idle Property idlecivilwarcheer auto
Sound Property MAGAlterationIronFleshFireSD auto
Auto State Fire Function ABC_SpellRotation() Game.DisablePlayerControls(false, false, false, false, false, true, false) ;disable menu PlayerRef.EquipSpell(ABC_Spell_TomeFX, 1) PlayerRef.PlayIdle(idlebook_reading) utility.wait(3) ABC_Spell_TomeFX_Fire.cast(playerRef, playerRef) Debug.Notification("Fire tome successfully studied.") int instanceID = MAGAlterationIronFleshFireSD.play(self) ; play mySFX sound from my self Sound.SetInstanceVolume(instanceID, 0.5) ; play at half volume PlayerRef.PlayIdle(idlecivilwarcheer) PlayerRef.UnequipSpell(ABC_Spell_TomeFX, 1) Game.EnablePlayerControls() GoToState("Frost") EndFunction EndState
State Frost Function ABC_SpellRotation() Game.DisablePlayerControls(false, false, false, false, false, true, false) ;disable menu PlayerRef.EquipSpell(ABC_Spell_TomeFX, 1) PlayerRef.PlayIdle(idlebook_reading) utility.wait(3) ABC_Spell_TomeFX_Frost.cast(playerRef, playerRef) Debug.Notification("Frost tome successfully studied.") int instanceID = MAGAlterationIronFleshFireSD.play(self) ; play mySFX sound from my self Sound.SetInstanceVolume(instanceID, 0.5) ; play at half volume PlayerRef.PlayIdle(idlecivilwarcheer) PlayerRef.UnequipSpell(ABC_Spell_TomeFX, 1) Game.EnablePlayerControls() GoToState("Shock") EndFunction EndState
State Shock Function ABC_SpellRotation() Game.DisablePlayerControls(false, false, false, false, false, true, false) ;disable menu PlayerRef.EquipSpell(ABC_Spell_TomeFX, 1) PlayerRef.PlayIdle(idlebook_reading) utility.wait(3) ABC_Spell_TomeFX_Shock.cast(playerRef, playerRef) Debug.Notification("Shock tome successfully studied.") int instanceID = MAGAlterationIronFleshFireSD.play(self) ; play mySFX sound from my self Sound.SetInstanceVolume(instanceID, 0.5) ; play at half volume PlayerRef.PlayIdle(idlecivilwarcheer) PlayerRef.UnequipSpell(ABC_Spell_TomeFX, 1) Game.EnablePlayerControls() GoToState("Fire") EndFunction EndState
Function ABC_SpellRotation() ; Empty function definition to allow Toggle to be defined inside states. EndFunction