tsdobbi Posted June 9, 2020 Share Posted June 9, 2020 Basically I am working on a mod based on Highlander the movie and TV series. Already got a good chunk of it done (most things that didn't involve having to dig into scripts). So right now I am working on the quickening when you kill another immortal NPC. So my obvious first stage of this, was to apply the effect that happens when you kill a dragon, to when you kill an immortal NPC. I've been analyzing the dragonactorSCRIPT that is attached to dragons, and it looks like I will need to get a lot of un-needed junk there for my new script (or maybe could bypass looking at that script completely). I know the grey beards also produce a similar effect when teaching the dragonborn a shout but havent been able to hunt down the script for that (I assume it may be easier to create a script off that rather than the dragonactorScript). Link to comment Share on other sites More sharing options...
maxarturo Posted June 10, 2020 Share Posted June 10, 2020 (edited) I don't remember the name of the "Soul Release VisualEffect", so you will need to do a little search on your own. The script should extend 'Actor'. VisualEffect Property SoulAbsorbVFX Auto {Plays the Exchange Dragon Souls Visual FX from the dead NPC to the PLAYER} Sound property SoulAbsorbSFX auto {Sound FX to play when Soul is absorb} Event OnDeath(Actor akKiller) if ( akKiller == Game.GetPlayer() ) CamAbsorbVFX.Play(Self, afTime = 10.0, akFacingObject = Game.GetPlayer()) SoulAbsorbSFX.play(self) EndIf EndEvent Have a happy modding. Edited June 10, 2020 by maxarturo Link to comment Share on other sites More sharing options...
tsdobbi Posted June 13, 2020 Author Share Posted June 13, 2020 I don't remember the name of the "Soul Release VisualEffect", so you will need to do a little search on your own. The script should extend 'Actor'. VisualEffect Property SoulAbsorbVFX Auto {Plays the Exchange Dragon Souls Visual FX from the dead NPC to the PLAYER} Sound property SoulAbsorbSFX auto {Sound FX to play when Soul is absorb} Event OnDeath(Actor akKiller) if ( akKiller == Game.GetPlayer() ) CamAbsorbVFX.Play(Self, afTime = 10.0, akFacingObject = Game.GetPlayer()) SoulAbsorbSFX.play(self) EndIf EndEvent Have a happy modding. Thankyou, I figured it out and got a script working. Link to comment Share on other sites More sharing options...
maxarturo Posted June 13, 2020 Share Posted June 13, 2020 One little correction that i saw while reading your respond, change this line: SoulAbsorbSFX.play(self) to SoulAbsorbSFX.play(Game.GetPlayer()) Nothing serious, but the sound FX should play on the actor that is absorbing the soul, so the player. Have a nice weekend. Link to comment Share on other sites More sharing options...
tsdobbi Posted June 13, 2020 Author Share Posted June 13, 2020 One little correction that i saw while reading your respond, change this line:SoulAbsorbSFX.play(self)toSoulAbsorbSFX.play(Game.GetPlayer()) Nothing serious, but the sound FX should play on the actor that is absorbing the soul, so the player. Have a nice weekend. Yep, I deduced what the MQDragonKillScript was doing and was able to pull what I needed out of it. Link to comment Share on other sites More sharing options...
Recommended Posts