Hello!
Hope everyone is doing well.
I've been messing around with the Creative kit and been having a blast making stuff. So far I've made a small Island and home to retreat to after adventuring in Skyrim , I'd like to make a teleporting spell but thats a different story (and headache). Right now I'll like to make a transformation script to a monster I've made thanks to a Tutorial I found after searching on google on how to make these things, unfortunately the script seems alittle dated and although it allows me to transform, there's no way to revert back (without doing the companions quest) or use powers you can use only in your transformed state. (example Vampire lord)
I've tried messing around with the script but I'm no expert and needless to say my efforts failed. I've seen what I want done, and I've tried to look at the scripts of these mods but I didn't get very far. I can't post links but the name of the mods on youtubr are " Vasto Lorde Transformation Skyrim" and "Yamato Transformation and Summon" with the latter being pretty much exactly what I want with skeleton and all. Basically my Goal is to have a transformation spell that works like the Vampire lord but with a different skeleton
If someone can help me fix this script I would greatly appreciate it.
If you test the script, it works! but like mentioned before It's not like the vampire lord nor can I revert back. Once again many thanks for taking the time to read my post.
; PROPERTIES /
;=============/
Quest Property CompanionsTrackingQuest auto
Faction Property PlayerWerewolfFaction auto
Shout Property MonsterShout auto
Race Property PolymorphRace auto
Spell Property PolymorphSpell auto
Faction Property MonsterFaction auto
Weapon Property MonsterWeapon auto
;======================================================================================;
; EVENTS /
;=============/
Event OnEffectStart(Actor Target, Actor Caster)
if (Target.GetActorBase().GetRace() != PolymorphRace)
Target.SetRace(PolymorphRace)
Game.GetPlayer().SetHeadTracking(false)
Game.GetPlayer().UnequipAll()
Game.GetPlayer().AddSpell(SPELLCLEAR1)
Game.GetPlayer().EquipSpell(SPELLCLEAR1, 0)
Game.GetPlayer().AddSpell(SPELLCLEAR2)
Game.GetPlayer().EquipSpell(SPELLCLEAR2, 1)
Game.GetPlayer().AddItem(WEAPONCLEAR1)
Game.GetPlayer().EquipItem(WEAPONCLEAR1, 0)
Game.GetPlayer().AddItem(WEAPONCLEAR2)
Game.GetPlayer().EquipItem(WEAPONCLEAR2, 1)
Game.GetPlayer().EquipSpell(PolymorphSpell, 0)
Game.GetPlayer().AddSpell(PolymorphSpell)
Game.GetPlayer().EquipSpell(PolymorphSpell, 0)
Game.GetPlayer().AddToFaction(MonsterFaction)
Game.GetPlayer().AddItem(MonsterWeapon)
Game.GetPlayer().EquipItem(MonsterWeapon, 1)
Game.GetPlayer().AddItem(MonsterAmmo, 99)
Game.GetPlayer().EquipItem(MonsterAmmo)
Game.GetPlayer().AddItem(MonsterArmor)
Game.GetPlayer().EquipItem(MonsterArmor)
Game.DisablePlayerControls(false, false, false, false, false, true, false)
Game.SetPlayerReportCrime(false)
Game.GetPlayer().SetAttackActorOnSight(true)
Game.GetPlayer().AddToFaction(PlayerWerewolfFaction)
Game.GetPlayer().AddShout(MonsterShout)
Game.GetPlayer().EquipShout(MonsterShout)
endif
EndEvent
Event OnEffectFinish(Actor Target, Actor Caster)
; change back
Game.GetPlayer().RemoveSpell(PolymorphSpell)
Game.GetPlayer().UnEquipSpell(PolymorphSpell, 0)
Game.GetPlayer().RemoveFromFaction(MonsterFaction)
Game.GetPlayer().RemoveItem(MonsterWeapon)
Game.GetPlayer().UnEquipItem(MonsterWeapon, 1)
Game.GetPlayer().RemoveShout(MonsterShout)
Game.GetPlayer().UnEquipShout(MonsterShout)
Game.GetPlayer().RemoveItem(MonsterAmmo, 99)
Game.GetPlayer().UnEquipItem(MonsterAmmo)
Game.GetPlayer().RemoveItem(MonsterArmor)
Game.GetPlayer().UnEquipItem(MonsterArmor)
Game.GetPlayer().AddSpell(SPELLCLEAR1)
Game.GetPlayer().EquipSpell(SPELLCLEAR1, 0)
Game.GetPlayer().AddSpell(SPELLCLEAR2)
Game.GetPlayer().EquipSpell(SPELLCLEAR2, 1)
Game.GetPlayer().AddItem(WEAPONCLEAR1)
Game.GetPlayer().EquipItem(WEAPONCLEAR1, 0)
Game.GetPlayer().AddItem(WEAPONCLEAR2)
Game.GetPlayer().EquipItem(WEAPONCLEAR2, 1)
Game.EnablePlayerControls()
Game.SetPlayerReportCrime(true)
Game.GetPlayer().SetAttackActorOnSight(false)
Game.GetPlayer().RemoveFromFaction(PlayerWerewolfFaction)
Debug.Trace("WEREWOLF: Setting race " + (CompanionsTrackingQuest as CompanionsHousekeepingScript).PlayerOriginalRace + " on " + Game.GetPlayer())
Game.GetPlayer().SetRace((CompanionsTrackingQuest as CompanionsHousekeepingScript).PlayerOriginalRace)
endEvent
Ammo Property MonsterAmmo Auto
Armor Property MonsterArmor Auto
SPELL Property SPELLCLEAR1 Auto
SPELL Property SPELLCLEAR2 Auto
WEAPON Property WEAPONCLEAR1 Auto
WEAPON Property WEAPONCLEAR2 Auto