StuffedNinga Posted Friday at 05:12 AM Posted Friday at 05:12 AM I'm looking at the script for Succubus Heart's Enrage power and I'd like to modify it to count as nonconsensual, to fit it's description, and also to trigger Sexist Guard Rape comments. It's a pretty small script but I wouldn't know what to do with it and AI can't help me because of sex filters =( Scriptname SuH_spellES_sexualenrage extends activemagiceffect ; Sexual Enrage script SuH_Fun Property _f auto SuH_Status property _s auto Event OnInit() _f = Game.GetFormFromFile(0x814, "Succubus Heart.esp") as SuH_Fun _s = Game.GetFormFromFile(0x16E496, "Succubus Heart.esp") as SuH_Status endEvent Event OnEffectStart(actor akTarget, actor akCaster) if akTarget != akCaster if akCaster == _s.PlayerRef && _s.Sexlab.ValidateActor(akCaster) > 0 if _s.Sexlab.ValidateActor(akTarget) > 0 if akTarget.IsInFaction(_s.SuH_petfaction) actor[] animActor = new actor[2] ; Create Array of actors animActor[0] = akCaster ; Set Caster animActor[1] = akTarget ; Set Target if _f.Scene_StartThread(animActor, akCaster) < 0 debug.notification("Sexual Enrage - Scene failed to start!") endIf elseif _s.PlayerRef.getactorvalue("Health") > (45 - (_s.SuH_rank_sexualenrage * 5)) int x = (45 - (_s.SuH_rank_sexualenrage * 5)) ; Get cost value int rand = Utility.RandomInt(1,100) if rand <= (5 + (_s.SuH_rank_sexualenrage * 15) + (_s.SuH_rank_seducer * 10)) ; 20% base success rate + 10% per seducer rank / 15% per enrage tier debug.notification("Sexual Enrage - Seduction Succeeded!") actor[] animActor = new actor[2] ; Create Array of actors animActor[0] = akCaster ; Set Caster animActor[1] = akTarget ; Set Target if _f.Scene_StartThread(animActor, akCaster) < 0 ; if animation failed debug.notification("Sexual Enrage - Scene failed to start!") else ; if started _s.PlayerRef.damageactorvalue("Health", x) _f.PCE_stattrack("Seduced") endIf else _s.PlayerRef.damageactorvalue("Health", x) debug.notification("Sexual Enrage - Seduction Chance Failed!") endIf else debug.notification("Sexual Enrage - Not Enough Health to Cast Seduction!") endIf else debug.notification("Sexual Enrage - Target Invalid!") endIf else if _s.Sexlab.ValidateActor(akTarget) > 0 && _s.Sexlab.ValidateActor(akCaster) > 0 actor[] animActor = new actor[2] ; Create Array of actors animActor[0] = akCaster ; Set Caster animActor[1] = akTarget ; Set Target _f.Scene_StartThread(animActor, akCaster) ; Send aggressive act to SuH_Fun endIf endIf endIf endEvent
Ashal Posted Friday at 07:45 AM Posted Friday at 07:45 AM By defining a VictimRef in the scene setup thread. Check the script for _f.Scene_StartThread and have it set either of the actors as the victim in its SexLab API call. 2
StuffedNinga Posted Friday at 12:34 PM Author Posted Friday at 12:34 PM 4 hours ago, Ashal said: By defining a VictimRef in the scene setup thread. Check the script for _f.Scene_StartThread and have it set either of the actors as the victim in its SexLab API call. Oh, it's write there as the very last thing in the script. _f.Scene_StartThread(animActor, akCaster) ; Send aggressive act to SuH_Fun Do you know what I might add to this exactly to make the caster the victim? I barely know anything about scripts at all and it's my hope that after adjusting things that it's pretty straight forward to compile it.
NymphoElf Posted Friday at 02:52 PM Posted Friday at 02:52 PM (edited) 2 hours ago, StuffedNinga said: Oh, it's write there as the very last thing in the script. _f.Scene_StartThread(animActor, akCaster) ; Send aggressive act to SuH_Fun Do you know what I might add to this exactly to make the caster the victim? I barely know anything about scripts at all and it's my hope that after adjusting things that it's pretty straight forward to compile it. oof... Perhaps I'm wrong, but you're probably in for a rude awakening. Compiling Papyrus is anything but "straightforward". You need ALL source scripts for EVERY requirement/dependency. You can absolutely do it, but I have a feeling you might have bitten off more than you can chew at the moment. Again, maybe I'm wrong. Just trying to give you an honest heads-up Edited Friday at 02:52 PM by NymphoElf
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now