Jump to content

SexLab NPC Actor Variables.... In over my head.


NHguy03276

Recommended Posts

Posted

First, I hope I'm in the correct forum, if not feel free to yell at me...

 

Anyways, I'm modding The SexLab STDs mod for personal use, Trying to add the Reward aspect to the Risk System it adds to ingame sex, as well as just tweak some functions. The Best Reward I can think of (as gold is mostly worthless) is XP. To this end I've opened up a custom skill tree that is only for sex based leveling, and plan some custom perks (Not a lot of ideas as yet). Part of the Reward system is that you might be able to  "talk" your partner into riskier sex for better XP, but if you catch a STD, you loose 3X the XP you would have gained. This is achieved through the addition of a XP debt system that prevents new XP from being added before the "Debt" is paid. (The Debt is the SexTree only, and doesn't affect nor is affected by any other skills)  I got this working tonight, so I'm happy so far.

 

However, I didn't get any time to look into the next part. I need to add a couple variables to the NPC for storage. I'd like to add a counter for the number of times the NPC/PC have sex (so as to better control the relationship rank), A counter for the number of times the PC has given the NPC a STD (Give a NPC a STD, he/she might start insisting on a condom or even refuse sex), as well as others, but my mind has gone blank at the moment.

 

I know SexLab keeps track of a bunch of stats, Is there a list of these stats someplace? and how do you call them from a mod script?

 

Also for new Vars.,  as in say "WasInfectedCount": To save:

 StorageUtil.SetIntValue(none, "WasInfectedCount", 1)   

To get info:

 int value = StorageUtil.GetIntValue(none, "WasInfectedCount")

Is it really that simple? or am I just overly  hopeful that something could be that simple in Skyrim modding?

 

 

 

Thanks for listening to my rambles at 4:00 am... hopefully you can translate this and understand  what I'm asking. 

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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