Jump to content

How does sexlab apply cum textures?


Recommended Posts

Posted

how does sexlab detect the tag of an animation and apply the appropriate texture? I am trying to add a new texture but i'm not sure which script to edit/add

I have already made a spell and spell effect, i just need a script

Posted

Inside the TreadModel and ThreadController there is all logic.

The actual application of the cum is done inside the ActorAlias.

Quite difficult to add an extra effect to the ones already existing.

Ā 

You risk to make SexLab incompatible with other mods.

Posted

Sexlab uses effect shader, that apply a texture to the actor. But only ever one effect shader can be active at the same time.Ā 

You can either replace the existing texture or add your own effect shaders with new textures. In that case you have to take care applying them to the actor yourself, which can be compicated andĀ is what CPU meant.Ā 

Posted

Cum isn't applied by tags, it's a separate field stored in the animation, and is usually set when the animation is defined, via the AddPosition() function. Currently, only 7 types are supported (check sslAnimationFactory.psc for the list), so if you're trying to add cum effects for a new body part, you'd not only have have to do extensive editing to the framework, but also edit all animations that you want to use the new cum effect instead of whatever they currently have. If this is a mod you want to release to the public, modifying the framework is a definite no, so what you might want to do is have your mod register for OrgasmStart events then apply the texture if the animation matches your criteria.

Archived

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

  • Recently Browsing   0 members

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