Jump to content

How do i adjust non-sexlab undress scripts to exclude wigs?


Recommended Posts

Posted

Several spa-mods and certain non-sexlab undress scripts seem to undress wigs of certain follower wigs that is crucial to her looks.

 

and im here to get advice about disabling those specific armor slots (slot 31 and slot 41, primarily physics hair and wigs slot).

 

with Creation Kit ready, should I just rig scripts by myself, or should i install-or-make independent method that blocks hair items from being stripped?

 

I need your help, i will provide specific esp collections if you need a sample to investigate.

Posted
7 minutes ago, 4nchorage Pingas said:

Several spa-mods and certain non-sexlab undress scripts seem to undress wigs of certain follower wigs that is crucial to her looks.

 

and im here to get advice about disabling those specific armor slots (slot 31 and slot 41, primarily physics hair and wigs slot).

 

with Creation Kit ready, should I just rig scripts by myself, or should i install-or-make independent method that blocks hair items from being stripped?

 

I need your help, i will provide specific esp collections if you need a sample to investigate.

Be easier if you just said what these mods are.

 

I suspect the undressing is done via a script so if the mod includes source files it might not be too hard to modify.

Posted
1 hour ago, Mez558 said:

Be easier if you just said what these mods are.

 

I suspect the undressing is done via a script so if the mod includes source files it might not be too hard to modify.

Silverpeak Lodge, ported into SE. will post its esp.

 

Elysium Homestead https://www.nexusmods.com/skyrimspecialedition/mods/4119

 

MME milking dungeon,

 

and The Milk Maid script that forces female to be stripped through outfit list.

 

 

 

these fours are the one that i recently find some conflicts and they are sexlab-independent if i remember correctly.

 

Silverpeak Lodge.esp

here's the specified esp of silverpeak, be aware that this esp is korean translated and probably not gonna work with your local PC. Also i used 1.5.30 version of CK cuz i downgraded my SKSE64 for sake of compatibility of previous mods.

 

 

Should i post further esps? lemme know.

Posted
58 minutes ago, myuhinny said:

Pretty sure sexlab had a option when you get close to someone and open sexlab you can select what gets removed and what stays on.

just realized i must press default N key to adjust their undress options. But will it override every non-sexlab mods too?

Posted
6 hours ago, 4nchorage Pingas said:

just realized i must press default N key to adjust their undress options. But will it override every non-sexlab mods too?

Looking at the source files (from very uneducated eyes, when it comes to scripting) the first two you posted, Elysium and The Dungeon use an unequipall command

 

Event OnEffectStart(Actor akTarget, Actor akCaster)
;debug.notification("effect script: adding effect")
akTarget.unequipall()
endEvent

 

and

 

function OnEffectStart(Actor Target, Actor Caster)

    if(Target != Game.getPlayer())
        Target.UnequipAll()
    endif

endFunction

 

Rather than identifying which slots to unequip from. That would require a bit more work to change them.

 

No, I can't imagine MME overriding any other mods undressing scripts.

Posted

As for me, it happen with defeat menu, (strip), when I order victim.

Then at least about defeat option, the sexlab stripping option not work..  

 

To sove the issue temporally, I use out-fit manager, then modify, everytime.. but after all, defeat will return hair  as non equip accessory.

when I order so..  even though the victim still have the hair in euipments. 

 

Posted
On 3/15/2020 at 8:13 PM, Mez558 said:

Looking at the source files (from very uneducated eyes, when it comes to scripting) the first two you posted, Elysium and The Dungeon use an unequipall command

 

Event OnEffectStart(Actor akTarget, Actor akCaster)
;debug.notification("effect script: adding effect")
akTarget.unequipall()
endEvent

 

and

 

function OnEffectStart(Actor Target, Actor Caster)

    if(Target != Game.getPlayer())
        Target.UnequipAll()
    endif

endFunction

 

Rather than identifying which slots to unequip from. That would require a bit more work to change them.

 

No, I can't imagine MME overriding any other mods undressing scripts.

so how do i modify those unequipall into unequipeverythingbuthairslot?

 

and specific MME addon is the one called The Milk Maid, It uses blank nothing outfit to make NPCs be naked cuz that specific outfit category has no clothes. and i doubt i have any skills to adjust things as i please without completely render entire MO into scorching mess.

 

everything else than TMM will be easy if i hijack unequipall and make em exclude slot 31 and 41.

 

thanks for your help. you helped me to narrow down my investigation about whole wig problem. Will ask my local language community about possible improvises.

Posted
On 3/17/2020 at 6:16 AM, 4nchorage Pingas said:

so how do i modify those unequipall into unequipeverythingbuthairslot?

 

Add Sexlab as a dependency, then add SexlabFramework as a property to the script (you must edit the script properties in the CK too) and use StripActor which also returns an array of the stripped items.

 

Based on your examples:

 

SexlabFramework Property SexLab Auto

Form[] fStripped

 

Event OnEffectStart(Actor akTarget, Actor akCaster)

      fStripped = SexLab.StripActor(akTarget, none, false, false)
endEvent

 

and

 

function OnEffectStart(Actor Target, Actor Caster)

    if(Target != Game.getPlayer())
        fStripped = SexLab.StripActor(Target, none, false, false)
    endif

endFunction

 

;/* StripActor
* * Strips an actor using SexLab's strip settings as chosen by the user from the SexLab MCM
* * 
* * @param: Actor ActorRef - The actor whose equipment shall be unequipped.
* * @param: Actor VictimRef [OPTIONAL] - If ActorRef matches VictimRef victim strip settings are used. If VictimRef is set but doesn't match, aggressor settings are used.
* * @param: bool DoAnimate - Whether or not to play the actor stripping animation during the strip
* * @param: bool LeadIn - If TRUE and VictimRef == none, Foreplay strip settings will be used.
* * @return: Form[] - An array of all equipment stripped from ActorRef
*/;
Form[] function StripActor(Actor ActorRef, Actor VictimRef = none, bool DoAnimate = true, bool LeadIn = false)
	return ActorLib.StripActor(ActorRef, VictimRef, DoAnimate, LeadIn)
endFunction

 

 

Archived

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

  • Recently Browsing   0 members

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