• Announcements

    • Ashal

      SITE MOVED - IN READ ONLY MODE   12/08/2015

      Please use http://www.loverslab.com moving forward. Site has been restored to a previous version, and this one placed into a read-only mode. This is available for a limited time so users may reference/copy content that has been lost in the transition. This will no longer be accessible by December 22nd, 2015.

Archived

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

arelim

question about how to have an NPC wear a specific outfit when they go 'nude'...

I'm working on a companion mod and I want her to wear specific outfit when I initiate sex, but still have her initiate sex through the standard 'loversadultplay' sex dialogue ... is this possible? Or does she need her own specific sex dialogue?

I was thinking of trying to modify the script that causes nakedness with an 'if' statement ... so 'if my npc, then wear this, otherwise do normal naked' ... but I'm having trouble finding the script that makes the NPC naked!

I also thought of maybe trying to do something like make it so her script checks to see if she's naked, and if she's naked to dress her in the outfit ... but that seems like it would be pron to bugginess.

Has anyone done this? Anyone know of mods or anything I can look at with code that would point me in the right direction?

Thanks

0

Share this post


Link to post

if the token xLoversPkrIdentifier is present in inventory, then she's having sex via Lovers PK system.

Just test on this, and equip the appropriate clothing if the test succeeds ?

0

Share this post


Link to post

Interesting thought ...

I'll see what I can do with it.

0

Share this post


Link to post

I'm running into a similar problem.

In the cs I used various body types as clothing such as feet, hands, upper body and bottom for having all NPC body shapes with variety and I set them all as non-playable items. I did so with the player as well. (Which is playable!) Normally, if a NPC undresses the fake body clothing are equipped and works with all the simple scripts I coded in my esp. (EX: If the NPC sleeps, it goes nude, if it swims it also goes nude.) Please note that my nude clothing parts aren't activated by tokens, it’s a non-playable piece of clothing they already have in their inventory and here is a small idea of the simple script I coded for this and as stated it works well for my normal uses...

Begin GameMode

If IsSwimming == 1

EquipItem FemaleTopHCup

EquipItem FemaleBottomLL

EndIf

But Lovers with PK which is fantastic doesn't recognize my nude body clothing parts and simply puts all the characters with the default model when they get sexually active.

Therefore I'd like to know what I can do to Lovers with PK to make sure it let's all NPCs to equip their non-playable nude clothing parts?

Note: I'm sure it's a simple fix, but I'm no pro with scripting and the cs and since I modify every single NPC in the game, I’d prefer if my esp doesn’t have to rely on any esm if possible!

Thanks!

"EDIT" Nevermind I found the solution to my problem! I used If GetUnconscious and it works! :)

@arelim, In the cs just put the outfit into your companion's inventory or code a simple script to add one to her/him and on the companion itself create and add a new script with my code and that should work for you too! My solution is rather rough but hey it works for me.

0

Share this post


Link to post

Thanks. I'm working on a different part of my project right now ... but when I come back to trying to solve that problem, I'm sure your code will be a big help.

0

Share this post


Link to post