Wodo Posted October 14, 2020 Posted October 14, 2020 This is just a report. I don't need assistance because I already solved the issue locally in my WIP mod that uses SL(v163) and SLA Redux(v29). I noticed that Leito's kissing animation reset the orgasm timer in SLA for male NPC's. Further investigation revealed that Leito's kissing animation triggers the OrgasmEnd event. Since I solved the problem locally in my script, it doesn't matter to me if SL is changed or not. Just reporting in case this is a surprise to the author(s). BTW -- I noticed because my WIP mod decides dialog paths based on PC/NPC relationship rank and NPC arousal. Thus an NPC might be willing to go to "first base" (kiss) but not further. However, after the kiss, the NPC might (or might not) be excited enough for "second base." That's how I found that kissing causes orgasms. (After kissing, a male NPC wasn't interested in much of anything but a female NPC wanted more.)
dnoah Posted October 15, 2020 Posted October 15, 2020 1 hour ago, Wodo said: Since I solved the problem locally in my script, it doesn't matter to me if SL is changed or not. Just reporting in case this is a surprise to the author(s). May I ask how did you solve it? Trying to track down a problem in my own WIP that seems related to this.
Wodo Posted October 15, 2020 Author Posted October 15, 2020 5 hours ago, dnoah said: May I ask how did you solve it? Trying to track down a problem in my own WIP that seems related to this. My solution is based on how my mod is designed -- the PC may have to get the NPC aroused. This is done by giving food, drink, kissing, making out ... Kissing might not work right away so a few drinks might be needed. Then getting some clothes off might not happen immediately but kissing leads to that. In that context, I get the initial arousal from SLA. Perhaps the PC buys the NPC a drink. I add 5 to a local variable which I add to the original value. Then I got back to check what SLA says and I use whatever value is greater. (For a male NPC, my value will be higher and "who knows" for a female NPC.) I realize this solution won't work in all situations but it works for me. Another approach, that I think is possible but didn't try, is getting the time of the last orgasm before sex from SLA. Then when the kissing is done, write it back to SLA. I don't know if SLA's author has a setter or not. If he does, it should work. Yet another approach would be to ask Ashal to either change the SL framework or accept a patch from you. Then you'd have to write a patch. Looking at some of the SL source code, it appears to be expertly written. It should be easy to follow if you wanted to spend the time. (I don't partly because I'm just learning Papyrus and Ashal clearly is an expert. The code is very "pretty.")
dnoah Posted October 15, 2020 Posted October 15, 2020 8 hours ago, Wodo said: Another approach, that I think is possible but didn't try, is getting the time of the last orgasm before sex from SLA. Then when the kissing is done, write it back to SLA. I don't know if SLA's author has a setter or not. If he does, it should work. Yeah, I think you're right about that. SLA stores this in PapyrusUtil variables, and while there's no setter per se, one should be able to access it directly by something like StorageUtil.SetFloatValue(actorRef, "SLAroused.LastOrgasmDate", someFloat). Although i've yet to get around to testing it. Anyway, thanks for the info.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.