Jump to content

SexlabSexualFame , fame whore don't work? Solved


Recommended Posts

Posted

First of all, a huge thank you to @Gristle for this solution

 

The first thing to do is, create a new PSC (I recommend Notepad++ as editor)

Open Notepad++\New and insert this compilation 

 

Scriptname MYMOD_Access_SLSF Hidden
    
    SLSF_CompatibilityScript Function GetSLSFAPI() Global
        Return Game.GetFormFromFile(0x0001E157, "SexLab - Sexual Fame [SLSF].esm") As SLSF_CompatibilityScript
    EndFunction
    
    Bool Function IsSLSFLoaded() Global
        Int Check = Game.GetModByName("SexLab - Sexual Fame [SLSF].esm")
        If Check != 255
            Return Check as Bool
        Else
            Return False
        EndIf
    EndFunction

    Function IncreaseWhoreFame(int nAmount) Global
        SLSF_CompatibilityScript SLSF = GetSLSFAPI()
        If SLSF != None
            SLSF.RequestModFameValueByCurrent(1, 19, nAmount)
        EndIf                
    EndFunction

 

Spoiler

Immagine.jpg.bf4c7239aedcb2cc31cc32c63ef998e8.jpg

 

 

Save with name\normal text file and name him MYMOD_Access_SLSF.psc 

 

Explore your prostitution mod, in the script\source folder, search for the PSC containing the Function StartSex , 

and enter the string  

 If MYMOD_Access_SLSF.IsSLSFLoaded()
                MYMOD_Access_SLSF.IncreaseWhoreFame(2)
            EndIf

 

Spoiler

Immagine1.jpg.e9dd2b3cc235fce51c9a39cef43907b9.jpg

 

 

Save by overwriting the file 

 

Take the script you have previously created  ( MYMOD_Access_SLSF.psc ) , and paste it into Skyrim data\script\source

 

At this point, your mod will activate on SexlabSexualFame

 

Without Script

 

Spoiler

ScreenShot254.jpg.3356af6819a5b4cf6100a9317e47f04a.jpg

 

 

With Script

 

Spoiler

ScreenShot262.jpg.17b4842aeb5c3f25629cc35d33acfee3.jpg

 

 

For this, I am using the mod The Ancient profession ( Dibella's Garden Quest) 

Other mods will have the script named differently, but the execution process will remain the same. 

 

This change will almost certainly require SexlabSexualFame to become a mandatory requirement because of the script .

To remove the restriction, simply proceed in reverse, i.e., delete the string from your mod's prostitution script , and remove the script you created

 

PS.:

If, you notice that the increase in fame is excessive/slow, edit from the string

If MYMOD_Access_SLSF.IsSLSFLoaded()
                MYMOD_Access_SLSF.IncreaseWhoreFame(2)
            EndIf

the number 2 with 1 if too fast, or above 2 if too slow . Since, SLSF , allows the increase in fame to be established, this modification will probably be superfluous

 

Good work......Whores ?

 

Thanks again to @Gristle

  • 9 months later...
  • 2 years later...
Posted
On 2/16/2024 at 7:05 PM, 43deadwood said:

Any chance that you could post the compiled script for Dibella's Garden? I can't seem to get it compiled 😞

Since it's a Bordello (I assume it's from TAP), it should work in any case

  • Recently Browsing   0 members

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