Jump to content

Can someone make a Script for SexLabUtil1 Mod?


Recommended Posts

Posted

Hey,

 

I tried to enhance SexlabUtil1 to allow it to randomly unequip player equipment slots after sex. 
I did not find any mod that does this. It is either strip or no strip but not with a certain chance. Also partial striping after sex is not a thing...

It seems I cannot use SexlabUtil1 to make console commands work (player.unequipitemslot XX) does not work.

 

So it seems I need a script that gets added to the mod which is then "native" and can be chosen from the inbuilt drop down menu.

Sadly, I have no skill at all in scripting and also seem to lack the basic understanding (I tried to read the existing scripts and see where I can copy one, but.... meh,... chinese I understand better ? )

 

This is what I need:

A script that can be added to sexlabutil1 that allows unequipping a certain item slot (the classis ones for Torso, Feet, Hands would be awesome for a start).

Hopefully with such a script at hand I could just change them to allow even more slots to be changed.

 

 

Posted

I am not familiar with sexlabutils1.

But for what you what to do you need:

* to be extremely clear on when the random strip will happen

* the proportion of the randomness (50% on all items in all slots? Probably not)

 

Then I can create a test script, but I have no clues how to integrate it in sexlabutils1.

Posted
9 minutes ago, CPU said:

I am not familiar with sexlabutils1.

But for what you what to do you need:

* to be extremely clear on when the random strip will happen

* the proportion of the randomness (50% on all items in all slots? Probably not)

 

Then I can create a test script, but I have no clues how to integrate it in sexlabutils1.

I just read a ton of stuff but I am not any wiser :P

But there is the following:

 

1. Native solution for SexlabUtil1:

There is something in SexlabUtil1 built in that is like this:

 

send                send script event

                       E.q.: Cmd=send:EventName:StrArg:1.0

                       This will send event with name EventName,

                       first parameter will be StrArg, second parameter will be 1.0

 

I dont get the full meaning of it. But would it be possible to make a line with "game.getplayer.unequipitemslot" (<- this is all I found regarding the scripts for something like that)?

So if this would work, I just need to know what the line has to look like and if I forgot something (what is StrArg and 1.0?!). In this case I just need the guidance and then I implement it myself in SexlabUtil1 and test it.

 

2. Integrating a new script into SexLabUtil1:

 

The Mod works like this:
There are in built scripts that can be selected form an in game menue. They can be applied AFTER SEX for example and then you can choose all the parameters IN THE MOD, including WHEN and also the Chance of the event to happen.

 

For example there is this integrated in the mod:

 

"Calm on Hit"

 

This calms the attacker when he hits the player. The event is "unspecified" so the mod menu can be used to specify when it will fire (during sex) (what type of actor) (at what random chance it will fire -> 50% for exampel) and so on.

 

This is the script Source:

 

Scriptname SexlabUtil1CalmHit extends ActiveMagicEffect

Spell   Property zSL_SelfPacifyMass Auto

Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
    If !akAggressor || !Self
        Return
    EndIf
    
    Actor hunter = akAggressor as Actor
    
    If hunter && !hunter.isDead() 
        zSL_SelfPacifyMass.RemoteCast(hunter, hunter, hunter)
    EndIf
    
EndEvent

 

 

I understand as much as that it should be possible to make a similar script that then just unequips the target item slot, period. Nothing else is required. The chance is set in the ingame MCM Menu.

 

Damn, so much text. Sorry :(
 

 

 

 

 

Posted

I think I have to study sexlabutils to be able to help you.

Not before this week end.

Posted
2 minutes ago, CPU said:

I think I have to study sexlabutils to be able to help you.

Not before this week end.

I appreciate every help :D
And it is not urgent. I m away at the weekend anyway.

 

Posted
4 hours ago, Nymra said:

Hey,

 

I tried to enhance SexlabUtil1 to allow it to randomly unequip player equipment slots after sex. 
I did not find any mod that does this. It is either strip or no strip but not with a certain chance. Also partial striping after sex is not a thing...

It seems I cannot use SexlabUtil1 to make console commands work (player.unequipitemslot XX) does not work.

 

So it seems I need a script that gets added to the mod which is then "native" and can be chosen from the inbuilt drop down menu.

Sadly, I have no skill at all in scripting and also seem to lack the basic understanding (I tried to read the existing scripts and see where I can copy one, but.... meh,... chinese I understand better ? )

 

This is what I need:

A script that can be added to sexlabutil1 that allows unequipping a certain item slot (the classis ones for Torso, Feet, Hands would be awesome for a start).

Hopefully with such a script at hand I could just change them to allow even more slots to be changed.

 

 

 

I don't think sexlabutil naively allows you to unequip a slot, you generally specify an item/armor to equip/unequip, and sexlabutil can do that.  In Sexlab util's directory, there's more info in the readme file.  An extremely janky way that would work for what you are trying to do (but not really recommended since there should be better solutions) would be to just equip an item, then remove it with sexlabutil.

 

meaning, you create a new effect, and apply it on sex end.  Example .ini file you would create and place in data\INI\SexlabUtil1.esp\JankyUnequip.ini

Content:

[Main]
Name=JankUnequip
Page=0
Type=cmd
Id=1001
Cmd=item:skyrim.esm:0003619E+equip:skyrim.esm:03619E+remitem:skyrim.esm:03619E

The above would add a leather armor, equip it, then remove it.  Unfortunately sexlab util only supports doing up to two at random, so it would probably be better to create an effect for each slot you care about, or find a better way to do it.

Posted
24 minutes ago, zzyyxx said:

 

I don't think sexlabutil naively allows you to unequip a slot, you generally specify an item/armor to equip/unequip, and sexlabutil can do that.  In Sexlab util's directory, there's more info in the readme file.  An extremely janky way that would work for what you are trying to do (but not really recommended since there should be better solutions) would be to just equip an item, then remove it with sexlabutil.

 

meaning, you create a new effect, and apply it on sex end.  Example .ini file you would create and place in data\INI\SexlabUtil1.esp\JankyUnequip.ini

Content:


[Main]
Name=JankUnequip
Page=0
Type=cmd
Id=1001
Cmd=item:skyrim.esm:0003619E+equip:skyrim.esm:03619E+remitem:skyrim.esm:03619E

The above would add a leather armor, equip it, then remove it.  Unfortunately sexlab util only supports doing up to two at random, so it would probably be better to create an effect for each slot you care about, or find a better way to do it.

Well, I explored that option in depth already. I used the equip und unequip item feature a lot in the past. 

Its just when you do not use the same items all the time, it will not work any more, since every command is tied to an item. And already the Util1 seems to slow down sexlab alot with just that :P
So I thought it would be faster and also less messy to just unequip slots in general.

 

From what I found out to this point is that this is most likely not possible with the existing features of SexlabUtil, hence why I ask for someone who could make a new script for the Mod to add such a functionality.

 

Since no other mod exists that can do so (there are not really any good stripping mods at all out there), this would maybe also find some more fans out there.

 

 

On the other hand, if someone could make a mod that just adds "random" to the Sexlab Strip Item Function (NEVER REMOVE, ALWAYS REMOVE, REMOVE XX% CHANCE)... that would be even better I guess...

Archived

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

  • Recently Browsing   0 members

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