private_johny Posted February 6, 2021 Posted February 6, 2021 This system will alternate and extends existent Sexlab Statistics, add sexual roles and preferences. Main idea - give possibilty for flexible statistic tracking and mechanics for selecting correct, reliable animations. Base functions: Custom gender detecting (Futa, Shemale, FTM) and provide its correct behaviour in SexLab animations Track sexual role (top/bottom/versatile), based on actor's position in animation Track statistics for sexual activity types (oral/vaginal/anal/foreplay/solo/group/bestiality) and most common variations Track other gender/sex reliable statistics Provide mechanic for setup default preferences and randomize it Provide mechanic for easy API access for custom statistics for other mod developers Provide methods to manipulate actor sexual preferences, in game, or in custom mods (new followers/npcs overhauls) "Magic" method for starting animations, based on current sexual preferences Actually, i already start realize this system, and glad to see any suggestions and advices. Some technical notes: Custom gender support will be detected by SOS Addon list and body/skin ARMO analyzing. Actor role in animation (top/bottom) will be detected as combine of thread actor's positions, animation properties and some code tricks. Custom sexual activities types (blowjob/handjob/toys/footjob/boobjob and other) will be detected by tags applied to animations. Each basic skill (Foreplay/Oral/Vaginal/Anal) would record custom stats (Top/Bottom), for each actor. Some common stats will be accessible as FactionRank, other throw mod's API. Sexual Preferences of each actor can be assigned random by system of rules, configured at MCM, or by applying special KYWD/FACT values on CK to actor.
DayTri Posted February 26, 2021 Posted February 26, 2021 Just so you know in case you missed it, Sexlab has a rarely used feature where you can add custom statistics directly to the sexlab MCM page. Radiant Prostitution does this. Maybe this could make your job any easier, you can use those utility functions already inside sexlab.
private_johny Posted February 27, 2021 Author Posted February 27, 2021 16 hours ago, DayTri said: Just so you know in case you missed it, Sexlab has a rarely used feature where you can add custom statistics directly to the sexlab MCM page. Radiant Prostitution does this. Maybe this could make your job any easier, you can use those utility functions already inside sexlab. I know it, i'm working on adding new statistics, that calculated on animation tags, actor positions and other. I use same method as used in Radiant Prostitution. SexLab doesn't track active/passive role, and some stats not correct. I realize mechanic for other variants/skills - top/bottom role, types and subtypes of activities (as example oral i can separate to blowjob, cunnilingus, rimjob, 69), custom gender supporting (futa, shemale, ftm). I use existent SexLab Stats API to save stats data. But i add new stats, and write custom animation analizator. Based on this stats will be calculated sexual preferences of NPC/PC. And you of course can setup preferences by MCM or by some metadata during follower creation. As example, you can setup "Delphina = Lesbian, love be licked, love fuck other by strapon". And when you start sex with she by dialogue - script select correct animations for her preferences. Or decline sex if you male. Actually, i'm so deep on coding, that have no time for writing full description of my work. And it part of other mod i'm working on.
hompie Posted March 8, 2021 Posted March 8, 2021 Any word on progress? I think this is very interesting and would love to know how far you are into it. Personally I'd like to see the stats between different actors as well. I know sexlab tracks this since you can already see with whom you've had the most sl interactions with, including victim/agressor etc. I just don't know how to look beyond that yet. . As for ideas, based on the above, I'd like the stats to track the different relations between actors as well. For example, with a certain actor you could be the top most of the time, and with another you could be the bottom. Kind of like irl where you can feel and act very different depending on the person you are with. Maybe that's too much workload though. A version without this would certainly already be useful and appreciated!
private_johny Posted March 10, 2021 Author Posted March 10, 2021 On 3/8/2021 at 11:55 PM, hompie said: Any word on progress? I think this is very interesting and would love to know how far you are into it. Personally I'd like to see the stats between different actors as well. I know sexlab tracks this since you can already see with whom you've had the most sl interactions with, including victim/agressor etc. I just don't know how to look beyond that yet. . As for ideas, based on the above, I'd like the stats to track the different relations between actors as well. For example, with a certain actor you could be the top most of the time, and with another you could be the bottom. Kind of like irl where you can feel and act very different depending on the person you are with. Maybe that's too much workload though. A version without this would certainly already be useful and appreciated! Stats between certain pair of actors sound good. I make some researches for variants of realization. As for progress, i temporarily stop development, i busy on my irl work. I already realize custom gender detection (futa,shemale, ftm), and basic stats top/bottom mechanics for 2some (oral/vaginal/anal). But i start do this stats system initially as a part of other mod. I start made Incubus follower mod, with sex essence collecting, alchemy, transformation abilities. And i needed method for detect what kind of essences i should append to inventory in different cases. So now i need separate it to different mods.
private_johny Posted March 10, 2021 Author Posted March 10, 2021 On 3/8/2021 at 11:55 PM, hompie said: Any word on progress? I think this is very interesting and would love to know how far you are into it. Personally I'd like to see the stats between different actors as well. I know sexlab tracks this since you can already see with whom you've had the most sl interactions with, including victim/agressor etc. I just don't know how to look beyond that yet. . As for ideas, based on the above, I'd like the stats to track the different relations between actors as well. For example, with a certain actor you could be the top most of the time, and with another you could be the bottom. Kind of like irl where you can feel and act very different depending on the person you are with. Maybe that's too much workload though. A version without this would certainly already be useful and appreciated! I check some code of SexLab Framework, such as methods HasHadSexTogether, LastAggressor, LastVictim... it uses StorageUtil function FormListHas(Form ObjKey, string KeyName, Form value)... so it should work between any NPCs, not only for PC+NPC. And StorageUtil has some functions for add/remove/count/get paired (actor+actor) values. So actually, i can do this tracking, thx for suggestion...
private_johny Posted March 11, 2021 Author Posted March 11, 2021 And also, i found note about stats between 2 NPCs in my dev documents. I already think about stats such as Victim/Agressor at SL Stats, but specific for my mod - top/bottom, preferred sexual interaction - oral/vaginal/oral. And even about monogamy/polyamory rank. Main question is about code efficiently. Yes it be hard coded functions, with many tracking handlers, a lot of stored data. But actually, it isn't problem on modern PCs. Technically, it's very complex project. SexLab allow you to start any animation on any actors. But not so much male-on-male, or futa-on-male specific animations. And some mods allow start "vaginal" animations for MM actors. So actually - it's not "vaginal", it's "anal", even if it has no "anal" tag. So first step - correct detect gender of actors. Male NPC can be in passive role, but who is top partner - Futa, Shemale, Male or Female with strapon? In each case it would store different stats for active/passive partner. Sexlab stats has no this differents. If it track "anal" - it apply same exp for all actors. Next problem - classifying animations. Yes, we have animation tags, but actually, all tags recomendative. Some animations as i see has 'oral' stage, but has no 'oral' tag in SLAL definition. And as for 2some/solo animation, we know that actor_0 - bottom, actor_1 - top. But what about 3some and other group animations? Classic Spitroast animation - Actor1 fucks Actor2, Actor2 sucks Actor3. So correct stats applying - Actor1 = +"Vaginal/Anal Top", Actor2 =+"Vaginal/Anal Bottom","Oral_Bottom", Actor3 = + "Oral_Top". Yes, we have no so much moresome animations, and we can create predefined stats modification list. But predifened lists is not good way. Because we have so many animation creators, and them frequently updates it's packs. Monitor each pack and monthly updating mod database - it's not for me. Next question - preference randomization, follower's author preference setup, and in-game player preference customization. So it would apply preferences based on gender, race, factions for NPC without stats (as Seed NPC Stats SL option). It must provide some methods what can be used by mod authors, to apply preferences to created NPCs in their mods. And of course, in game preferences setup - by MCM, different temporarily/permanent magic effects (as example, some MindBreak Potions - for short time change your sexual orientation). And main problem with this - count of custom stats, types of sexual behaviour. It's not only Oral/Vaginal/Anal with T/B role. It's about 10 main and 50+ additional stats. It's specific stats for any type of sexual activity (blowjob, handjob, rimjob, toys masturbation, mutual masturbation), different stats for each creature race (do you like cats or dogs?), stats for humanoid races, stats for count of actors. And actually, list of stats can be endless. So behaviour of actor can be any. You can mark actor as "totally straight", or "gay, anal top, oral bottom", or "love cats, hate dogs", or "fucks only with Nords". And it can be used on dialogues, animation selecting and other cases. Easiest way to override collected stats by custom preferences - use Factions or FormLists. But it's work incorrect with known NPCs (so you can't in your mod override preferences of vanilla NPCs). But it's too much stats to use all of them as factions. Yes, we can combine similar stats and use byte masks for values - but we have limit for FactionRank value. Another way - use Keywords. But it only for mod creators. Because KYWDs - readonly by Papyrus script. Yes, we can create SKSE plugin for manipulating with KYWDs, as in SL Arousal Redux for outfit KYWDs applying. But main question - how it will be stable. And we can do all storage internal, invisible for CK, using JsonUtil, StorageUtil. But we must provide access methods. By themselves, custom stats - it's nothing. Main task - generate behaviour related to this stats. Of course, for dialogues, i'll do API script, which can provide access for preferences. And developers can use this preferences as conditional variables. And as example, we can do "magic" method for starting prefered animations, such as "as you wish" in dialogue. Or display different topics and answers, how it does SLEN. Or as addon for Prostitution mod - it can help select partner by preferences. Or you can apply custom effects on NPC, based on them sexual activity, regularity. Someone can say - take one function, and create mod only for this function, take next and make separate mod. But my curse and blessing - developing complex systems. I have about 30 documentation pages with different notes for this projects in my wiki - ideas of stats, code snippets, logic description, various researched info. But i can't share it - it can't be in public access for technical reasons of wiki platform, and all notes on my native language (russian).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.