Jump to content

About This 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


What's New in Version 27-8-2014

Released

  • 27-8-2014 - Some bugfixes. A lot of changes to the structure of Approach in order to allow for NPC-NPC approaches (not finished yet). Expanded AskForSex possibilites - ask for money, rudely reject and resist rape.
  • 28-4-2014 v.3 - Once again - a lot of bugfixes. 3 potentialy volatile multithreading bugs. I also added a condition to check whether the last cloak pulse was finished processing before starting a new one which should stop the mod from overflowing papyrus. Instead you should be able to see messages in your log telling you by how much was your system too slow for your set cloak frequency. I also laxed the limits of some options in the MCM - added 0 base chance multiplier and allowed lowering the frequency of the cloak to as much as once per 120 seconds.
  • I believe it is incompatibile with the previous version.
  • 28-4-2014 v.2 - Disabled debug messages left by mistake
  • 28-4-2014 - A lot of bugfixes. Hopefully it will resolve the issues most of you have.
  • 26-4-2014 - First version


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use