rydin Posted August 19, 2023 Posted August 19, 2023 Is it possible to apply a keyword to a player after a certain event has happened that will remain with them throughout the rest of the game, and becomes a variable that can be used in conditions to produce different outcomes? For example, let's say a player is a virgin, and so when talking to someone, they have the option to lie and say they are NOT a virgin. But after they've had sex (and no longer a virgin), the option would display as lie to say you ARE a virgin? The keyword would be applied during a SexLab scene where sex happens, and that would stick through out the game completely. Is it also possible to use spell effects for similar outputs? Such something akin to a curse or sickness that can be removed over time, wither through an event or just drops of after a number of days? Let's say for example, if you have sex, you become experienced and the effect is applied? The affect is renewed each time sex is performed but after so many days of not doing it, you lose that experience and the effect drops off? If there are mods that do this, happy to be pointed to where so I can break them down and examine them to learn. I hope I'm making sense. Thanks!
Monoman1 Posted August 19, 2023 Posted August 19, 2023 (edited) Factions would seem to be a better choice for this kind of mechanic. Anything with a range however would be limited to -128 to 128. Which may not be enough "granularity" for some use cases. I'm sure SL tracks virginity somehow but I think its just a storageutil variable which isn't directly usable for CK condition checks Edited August 19, 2023 by Monoman1
wareware Posted August 19, 2023 Posted August 19, 2023 (edited) Any reason why you wouldn't just use global variables for this? Quote For example, let's say a player is a virgin, and so when talking to someone, they have the option to lie and say they are NOT a virgin. But after they've had sex (and no longer a virgin), the option would display as lie to say you ARE a virgin? The keyword would be applied during a SexLab scene where sex happens, and that would stick through out the game completely. You have multiple options to do this. You can just call in the stats from Sexlab into a variable and use that add dialogue condition. You can hook into Sexlab player animation end event and set a global variable to 1(then terminate that quest if you don't want any more updates) and use that global variable for dialogue conditions. Edited August 19, 2023 by wareware
belegost Posted August 19, 2023 Posted August 19, 2023 (edited) 2 hours ago, Monoman1 said: I'm sure SL tracks virginity somehow It does? So far the only mod I encountered that had any sort of "virgin" mechanic was Dripping When Aroused. Even it displayed it just as mere statistic. It'd be interesting to have mods that actually make use of this in a gameplay. While I imagine most of the people that use adult mods play their characters as either utter sluts (myself included) or insatiable rapists, having a mod that would provide some sort of significant bonus for keeping purity would be an interesting change of pace. Edited August 19, 2023 by belegost
Monoman1 Posted August 19, 2023 Posted August 19, 2023 28 minutes ago, wareware said: Any reason why you wouldn't just use global variables for this Oh yea. Globals probably a better choice for a single actor. Factions for multiple actors. 13 minutes ago, belegost said: It does? So far the only mod I encountered that had any sort of "virgin" mechanic was Dripping When Aroused. Even it displayed it just as mere statistic. It'd be interesting to have mods that actually make use of this in a gameplay. While I imagine most of the people that use adult mods play their characters as either utter sluts (myself included) or insatiable rapists, having a mod that would provide some sort of significant bonus for keeping purity would be an interesting change of pace. IIRC SL counts the number of times actors have had vaginally sex so <= 0 should be virgin but I've not extensively tested this with for example DD device animation filtering etc.
rydin Posted August 19, 2023 Author Posted August 19, 2023 5 hours ago, wareware said: Any reason why you wouldn't just use global variables for this? You have multiple options to do this. You can just call in the stats from Sexlab into a variable and use that add dialogue condition. You can hook into Sexlab player animation end event and set a global variable to 1(then terminate that quest if you don't want any more updates) and use that global variable for dialogue conditions. Global variables seems a good choice. I'll have to look into how to set up my own which is why I asked what does it well. I'm not looking to hook into SL as I'll need an entirely new variable, but just looking for something that handles it well in a simple manner so I can dissect and see how to add something like it to mine. Thanks!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now