Marshylands Posted June 18, 2020 Posted June 18, 2020 Hey! I know this isn't the normal question that gets asked but I can't find any documentation on this and I need some help. I'm making a NSFW Skyrim mod (obviously) and want a sex animation play if the player makes a specific dialogue choice with an NPC. I want it to be a random animation, and not a pre-fixed one so it seems more natural, and have that animation be drawn from something like ZaZAnimations or Billy's animations. For example: NPC A: You wanna spend some time alone? Player: Let's find somewhere private... *Random sex animation plays* *Player can then interact with the NPC to resume the next stage of the quest/dialogue* And in a similar vein, how do I go about having that animation play with a different actor. So for example, the same dialogue as above would happen, except NPC A would tell me to go have sex with NPC B instead. And if the player agrees, the sex animation would instead take place between the player and NPC B. For reference, I'm using the Creation Kit and launching through MO2, so I have access to all the different animations I need. I'm also decently comfortable with CK, so you don't have to worry about getting too wordy or technical with me. If you guys can help guide me in how to do this or send me over to documentation that says what to do, I'd really appreciate it!
Seijin8 Posted June 18, 2020 Posted June 18, 2020 23 minutes ago, Marshylands said: Look at mods like Sexlab Romance, Relationship DIalogue System, etc to see how they make this work. Essentially, you will need the "OnEnd" portion of the dialogue to trigger a script to start the sex scene. This is mainly done through Sexlab's "StartSex" function, though there are other ways. (Personally, I've never seen a need to use anything other than StartSex -- it does everything and works pretty fast). You can look at those mods for how they set it up, and then look into the psc for SexlabFramework for how to use StartSex.
Marshylands Posted June 18, 2020 Author Posted June 18, 2020 Thanks so much! I saw SexLab had that function but didn't know that it was as simple as attaching it to beginning/end of a quest stage. I'll def take a look into those mods and see how they work stuff out on the animations end.
Seijin8 Posted June 18, 2020 Posted June 18, 2020 33 minutes ago, Marshylands said: Thanks so much! I saw SexLab had that function but didn't know that it was as simple as attaching it to beginning/end of a quest stage. I'll def take a look into those mods and see how they work stuff out on the animations end. Doesn't even need an associated quest, beyond the dialogue. Literally, basic dialogue, attach script fragment to the OnEnd: (Sample below for consensual vaginal animation between player and speaker with player taking the female role): Spoiler Actor[] Sexactors = new Actor[2] sexactors[0] = PlayerRef sexactors[1] = akSpeaker sslBaseAnimation[] anims = Sexlab.GetAnimationsByTags(2, "Vaginal", TagSuppress = "Rough", RequireAll = true) Sexlab.StartSex(SexActors, anims, Victim = none, allowbed = true) Then outside of that, add properties for SexLab and PlayerRef. EDIT: Make sure the dialogue is marked as a "goodbye" to avoid issues.
Marshylands Posted June 18, 2020 Author Posted June 18, 2020 50 minutes ago, Seijin8 said: Doesn't even need an associated quest, beyond the dialogue. Literally, basic dialogue, attach script fragment to the OnEnd: (Sample below for consensual vaginal animation between player and speaker with player taking the female role): Hide contents Actor[] Sexactors = new Actor[2] sexactors[0] = PlayerRef sexactors[1] = akSpeaker sslBaseAnimation[] anims = Sexlab.GetAnimationsByTags(2, "Vaginal", TagSuppress = "Rough", RequireAll = true) Sexlab.StartSex(SexActors, anims, Victim = none, allowbed = true) Then outside of that, add properties for SexLab and PlayerRef. EDIT: Make sure the dialogue is marked as a "goodbye" to avoid issues. Damn, that is so much easier than I thought it was when I tried tinkering around this morning. Thanks so much for the help, I appreciate it!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.