File Name: Random Sex Mod for SexLab - Now with Creatures!
File Submitter: Arizona_Steve
File Submitted: 13 Oct 2013
File Category: Misc Sex
This mod pairs random NPCs and Creatures together for sex using the SexLab framework.
Full credit goes to WaxenFigure for the concept and his implementation in his Sex Addicts mod. I have shamelessly pulled some of my code from his mod. He has also very graciously stated that he has no issue with me releasing this, despite the fact that my mod together with the SexiS defeated mod covers most of the functionality of his mod.
SkyUI MCM 4.1 or above
SexLab Framework 1.21 or above
FNIS 4.0 + creature addon
I set up an MCM screen for my options as, quite honestly, it's a little hard to cast a configuration menu spell when Lydia is grinding one out on the player's face. When my mod is first loaded, it is switched off. You will need to go into the MCM menu and switch the mod on before you will see any action.
Each time the code loops, one victim NPC and either a creature or one or two attacker NPCs are selected along with zero to four masturbating onlookers. Creature percentage is evaluated before threesome percentage. If the creature percentage check is passed and no creatures are available, processing continues with the threesome check. If the threesome percentage check is passed and no threesomes are available, twosomes are evaluated. Checks can fail because of a lack of animation selections in either the SexLab or the Random Sex menus (or simply because there are not enough available participants), so check settings in both menus if expected participant combinations are not showing up.
Upon selecting participants, the sequence of events is this:
(1) Each attacker runs towards the victim.
(2) If this is a threesome, the first attacker to reach the victim follows the victim until the second attacker reaches the victim.
(3) The sex act is started.
(4) Any assigned masturbators now make their way to the sex act in progress.
(5) Upon reaching the sex act, masturbators start masturbating.
The time between each loop is fully adjustable by specifying minimum and maximum intervals between iterations. Up to 90 minutes can be set up between iterations of the loop, so you can happily explore Skyrim with only the occasional surprise, or you can set up a 10 second loop and get a major orgy going in Whiterun or Solitude!
Note that since I have changed the initial selection to a Quest that fills ReferenceAlias entries, NPCs can be selected from within the entire loaded area and not just the player's cell. This sometimes means that things may be a little slow to start up if attackers have to run some distance to reach their victims.
Because I made some changes to the MCM menu script and associated quest in the esp file, please perform the following steps:
- Deactivate the mod through the hotkey or via the MCM menu.
- Wait for all activities to cease.
- Save your game.
- Uninstall Random Sex.
- Reload your game, run around for a few minutes, then save your game again.
- Install Random Sex version 20131018.
Note that this is a test mod
While I have added OnUnload() logic to the participants, attempting to leave an area could be problematic as there is no formal OnUnload() logic in SexLab (leaving an area will result in a slew of stack traces in the logs, although Ashal has stated that it should be safe). If you wish to move on from where you are I recommend setting the intervals to the maximum (90 minutes) and uncheck the activate toggle. Then wait for all humping to cease at which point you should be safe.
For those using the Aggressor/Victim setting
By default, SexLab only has a few sex acts tagged under the aggressive setting. If you are using threesomes or masturbators make sure that the appropriate animations have been set up in SexLab under the aggressive setting otherwise no sex acts of those types will occur.
For all of my testing I have BOSS'd my load order then placed Random Sex immediately under the FNIS Spells esp. Following reports from several people, it is highly recommended that Random Sex is placed above all other SexLab mods in the load order. Or use BOSS - this mod has finally found its way into the BOSS data files!
Many thanks to CGi, who PM'd me a useful little utility to generate dummy translation files (all in English, currently) for all languages that are currently supported by Skyrim. I have updated the current download. If you are a non-English user and have already renamed the English translation file to work with your localized version of Skyrim you do not need to re-download as nothing else has been changed.
Permission is automatically granted to translate this mod and create translation files. If they are PM'd to me I will include them in the next version of the mod.