Jump to content

SLIF help with mixing mods that start at "node 1" and others "node 0"


Recommended Posts

Posted

In this example both estrus charus+ and sexlab parasites both work and chagne my body through SLIF but my body defaults at a node value of 0 while these default at 1 making it so that they always affect my character. How can I change this or is it actually another problem?

Posted

Back before I made my own SLIF to fix various issues, this one being one of them, there used to be an option called "Subtract 1". It was specifically made for 1-based mods like these. The issue with this mode is that if you have any 0-based mods, they will start at -1. Unless it has been changed in the past year or 2, SLIF does not have a calculation method that supports a mix of 0-based and 1-based mods.

 

The real fix to this issue is to normalize the mods you have. Make them all 0-based like they always should have been.

Posted
16 minutes ago, traison said:

Back before I made my own SLIF to fix various issues, this one being one of them, there used to be an option called "Subtract 1". It was specifically made for 1-based mods like these. The issue with this mode is that if you have any 0-based mods, they will start at -1. Unless it has been changed in the past year or 2, SLIF does not have a calculation method that supports a mix of 0-based and 1-based mods.

 

The real fix to this issue is to normalize the mods you have. Make them all 0-based like they always should have been.

Can I do this myself in SSedit. Not very good at it yet but trying to get a grip for it. If so what should I be looking for?

Posted (edited)
31 minutes ago, traison said:

Need to edit the Papyrus script that sends the inflation value to SLIF.

I guess thats not as easy as SSEdit. You know any resource for me to learn it. Also, I'd say I'm pretty experienced in python, how simillar is it to papyrus would you say.

Edited by gghhjj666
Posted (edited)
Spoiler

image.png.52c0b9bcc0b36c0dad85d275e670ac4b.png

Opened the source file zzestruscharusmcmscript.psc to take a look around and found this. Same for the other nodes. on the "event onDefaultST()" would changing the zzEstrusSwellingBreasts.SetValueInt( 1 ) to ...( 0 ) fix the issue? And if that's the case what do I do with the new script file?

Edited by gghhjj666
Posted
11 hours ago, gghhjj666 said:

I'm pretty experienced in python, how simillar is it to papyrus would you say.

 

Papyrus is like Python, except:

  • It has to be compiled.
  • Its not as losely typed.
  • It has no classes or other such "modern" code structures.
  • You can't just have code running on its own, it always has to be attached to something: A quest, a magic effect, an activator, ...
  • Thread synchronization *may* exist in Papyrus but it wont be what you expected, or wanted.
  • Errors are usually nonsensical, like complaints about a loop in code that doesn't have loops. Don't take them too seriously.
  • Performance is heavily gimped: 400 times slower in SE/AE than it was in LE; and even in LE it was probably several times slower than a 5Mhz 8086 from the 1970's. This can be fixed somewhat.
11 hours ago, gghhjj666 said:

would changing the zzEstrusSwellingBreasts.SetValueInt( 1 ) to ...( 0 ) fix the issue?

 

That looks like a GV, it most likely has nothing to do with SLIF. I have no exact code samples since I jumped off the SLIF train years ago, but I bet its still using mod events like it did back then. So you should be searching for this:

int something = ModEvent.Create(...)

 

And determine if the event name looks like it might be going to SLIF. It should be obvious, I don't recall this being weirdly named or otherwise obfuscated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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