Jump to content
IGNORED

Sexlab Approach


Recommended Posts

View File

Sexlab Approach is my second framework mod (Sexlab Attraction is the first).

 

At first I just wanted to create a few loose quests, that would make NPCs approach my PC from time to time. Once I did it, I noticed that many elements could be simplified and used only once, which would not only lead to simpler writing of content, but also lower the script load at the same time - thus Sexlab Approach was born.

 

Spoiler below holds Info for interested modders, regular users can just skip it:

 

 

What the mod does:

This mod is actually pretty simple:

  • Firstly it attaches a cloak to the player that pulses once every 10 seconds (at default settings)
  • Secondly it contains a list of registered approach quests
  • Every time the cloak hits a valid actor it checks, whether the PC is either in actors LOS, or simply very close (the actor is aware of PC)
  • It checks whether PC is in combat, is sneaking, the actor is valid for sexlab, the PC is sexlab active (those will be different for other types of approaches - more on that later)
  • If all those checks are passed, it iterates through registered approach quests and checks whether they are eligible for start - first, whether they are running, and second whether the actor passes quests internal "condition function".

In order to simplify the process of making new approach quests, the framework includes a base quest script containing all the necessary methods. They only need to be overridden.

 

Okay, I know it might not sound too good to you, so allow me to demonstrate it on an example:

Let's assume, you want to make it, so that if the PC is a Dunmer, from time to time Nord NPCs would approach the PC and boo him / her.

Nothing simpler:

  • Create a new quest
  • Add quest stages where 10 is the first functional stage (Approach sets stage to 10 when starting a quest)
  • Create a quest script extending SLApproachBaseQuestScript
  • Create booing functionality (ie. a scene)
  • Override function register
  • Override function startApproach so that it starts the booing functionality
  • Override function endApproach so that it ends the booing functionality
  • Override function chanceRoll so that it returns true when PC is a Dunmer and NPC is a Nord
  • Create a quest alias that will register the quest to SexLab Approach on init

And that's it!

No need to scan the surroundings, add magic effects, cloaks and the like. What's more:

  • if you want to allow more actors to participate - you can. Override a function addActor in the script quest. It is called every time an actor would be chosen by Sexlab Approach for the quest, by the quest is running already.
  • You can easily randomize approaches, by adding some random mechanism to the chanceRoll function.
  • Sexlab Approach contains a built in timeout mechanism with a default of 60 seconds. You can set it to whatever you wish though (it's a property)
  • Sexlab Approach keeps track of actors that are aware of the PC. A function getAwareActors will return an array of aware actors. If you want to for example check whether a guard would witness a rape - simply call the function and check the actors.

 

 

Features:

 

NPCs will approach your character from time to time based on their characteristics (Confidence, Morality, Aggression, Relationship with PC, Arousal) and their attraction towards your PC. So far they can:

- Make a quick remark indicating that the NPC finds you attractive.

- Propose sex

 

It contains MCM with basic technical controls. Ill describe them later.

The mod indirectly provides dangerously nude functionality.

 

Spoiler regarding what can happen and why below:

  • If you accept, the sex proposal there is a chance of improving you relationship with NPC. The opposite is also true.
  • Some people don't like to be denied something they want, and they might take it by force!
  • You're safer with other people around

 

Planned features:

 

For mod users:

  • more and better approaches :) Not much I can say here.

For modders:

  • more possible types of approaches: approach while PC has consensual sex, approach while PC is being raped, and possibly others
  • A function that will return all actors seen by an actor

Requires: SexLab, SexLab Aroused, SexLab Attraction


  • Submitter
  • Submitted
    04/26/2014
  • Category
  • Requires
    SexLab, SexLab Aroused, SexLab Attraction
  • Special Edition Compatible

 

Link to comment

 

The files for both Approach and Attraction in the download sections have the same name ? (SexLab Attraction 26-4-2014.7z) 

 

Damn, sorry!

 

The correct one has been uploaded now.  :blush:

 

 

You'll have this on opening day!  thank you   Skyrim guard quote; "Whoa whoa whoa! Watch the magic!"

Link to comment

I just discovered that "Approach" is not working without attraction. Too bad. Thou "attraction" is a good mod, I don't need him. I have arousal. So, sorry to say, I have to give up from "Approach". Wish you great success with this mod. :)

 

What?

Attraction and aroused mods do different things and the author is actually planning on integrating arousal mod effects with "attractiveness" values...

Link to comment

Not sure if this is just me, but installing this and the sexlab attraction mod just brings my system to a complete halt, literally everything drops to around 1fps!

 

I do run with a lot of Mods active (249) so I can't say for definite if it's a conflict or a fault on one these two mods, but unfortunately they don't work for me.

Link to comment

 

I just discovered that "Approach" is not working without attraction. Too bad. Thou "attraction" is a good mod, I don't need him. I have arousal. So, sorry to say, I have to give up from "Approach". Wish you great success with this mod. :)

 

What?

Attraction and aroused mods do different things and the author is actually planning on integrating arousal mod effects with "attractiveness" values...

 

 

Sorry, I didn't explain myself well. Attraction mod has things about relationships that I don't like. As, I said, it is a very good mod, but at the moment I don't want to have a mod that will put at risk my relationships with NPC's causing jealousy and degrading built relationships.

Link to comment

Not sure if this is just me, but installing this and the sexlab attraction mod just brings my system to a complete halt, literally everything drops to around 1fps!

 

I do run with a lot of Mods active (249) so I can't say for definite if it's a conflict or a fault on one these two mods, but unfortunately they don't work for me.

 

@spaceman i had this problem myself then i deleted the papyrus settings from skyrim.ini 

this ones:
fUpdateBudgetMS
fExtraTaskletBudgetMS
 
umm i've got another problem that the attraction mcm shows up but not the approach mcm
it stays black and when i exit it i cannot acces other menus until i "re-escape"
therefor i don't even know if it works and after bout 1 hour of active playtime i haven't been approached even once so could you tell me what chance is to being approached with the weight of 15 and attractiveness lvl of 66 as a female :)
 
awesome mods by the way probably you should add a brawl to the rape option like in lovers victim if you had'nt already :)
Link to comment

umm i've got another problem that the attraction mcm shows up but not the approach mcm
it stays black and when i exit it i cannot acces other menus until i "re-escape"
therefor i don't even know if it works and after bout 1 hour of active playtime i haven't been approached even once so could you tell me what chance is to being approached with the weight of 15 and attractiveness lvl of 66 as a female :)

 

I've got the exact same problem. Approach MCM is black without any options, can't access other menus until I re-enter the MCM, never been approached once so far.

Link to comment

Testing the mod

Like with ipred up there, even after setting the multiplier to 10.0, the PC wasn't approached in a few minutes of gameplay with real attractiveness rating 99. I can see the MCM menu though.

I tested the previous version of approach and it was working as expected, with NPC's initiating the conversation and also the "whistles"

So it must be a minor issue, I guess

 

Anyway, this is a great idea for a mod and I hope other mods also take advantage of the attractiveness ratings to generate different reactions from NPC's. 

Link to comment

 

@spaceman i had this problem myself then i deleted the papyrus settings from skyrim.ini 

this ones:
fUpdateBudgetMS
fExtraTaskletBudgetMS

Will give it a try and see what the result is.

 

Worked like a charm, thanks ipred - Now to get to the bottom of the blank MCM problem.

Link to comment

This sounds interesting.

 

As a suggestion, what about a request to go to the local inn for a drink? The more drinks that have been had, the more likely you will loose control of your character (a script takes over, maybe a scene with some dancing around, maybe on counters or tables), from there the player character could then be at the mercy of the NPC you went to the inn with, where depending on how many drinks the NPC has had there could be a percentage chance of a sexual act occurring between the player character and the NPC (screen fades to black from the dancing/progressive dialog scene, to being at the NPC's house or in a rented room in bed together). There could even be a morning after effect where you can either choose to keep seeing said NPC, or to be jaded towards that NPC, or vice verse. You could even have some kind of measured alcohol tolerance depending on how much your character drinks in general, or participates in fore mentioned requests..

 

Anyway that's just a suggestion. Might be just a tad difficult to implement programing wise though..

 

Kinda went longer than intended on that sorry..

Link to comment

Just did a bit of testing and, while I do get approaches there are only the usual dialog options nothing that looks new.

 

EDIT: I am using SL 1.39b atm.

 

Glad to see this idea come to fruition, thanks for sharing.

 

You need to save, quit, load before the new dialogue options appear, as with most mods that add dialogue.

Link to comment

Running this a bit and enjoying it, however we need to be able to disable followers. My follower keeps bugging me nonstop, or at least the follower should accept when we say no.

 

I see approach having some odd conflict with other mods, first ive noticed is prison overhaul, where npcs approach you when your in the pillory.

Link to comment

Thanks Aleric, that did the trick, at least partly. More testing:

 

someone asked about prostitution mods, I am using WorkingGirl newest version and noticed this:

 

-when approached if I choose the option to go somewhere more private when I try to re-initiate dialog I get vanilla and other mod options (Romance and WG). This is the case whether I have passive mode started or not. The other two work fine, though I've yet to be assaulted for refusals.

 

-with passive mode started in WG I didn't get any attraction approaches, whether this is intended or not I can't say though.

 

 

-tried with cloak frequency at both default 10, and 1 (player attractiveness set to 100 for testing). At 1 I would sometimes get a flurry of approaches in a very short span of time, but then none for 10-15 rl minutes. Not entirely sure how this is set up to work with npc AIs and whatnot, so I don't know if I am just being too impatient or something... so, maybe not a bug report.

Hope some portion of this is helpful.

Link to comment

 

umm i've got another problem that the attraction mcm shows up but not the approach mcm
it stays black and when i exit it i cannot acces other menus until i "re-escape"
therefor i don't even know if it works and after bout 1 hour of active playtime i haven't been approached even once so could you tell me what chance is to being approached with the weight of 15 and attractiveness lvl of 66 as a female :)

 

I've got the exact same problem. Approach MCM is black without any options, can't access other menus until I re-enter the MCM, never been approached once so far.

 

Ditto for me, even tried starting a brand new game but still no luck. Shame as this should be an excellent edition to the sex lab mods.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...