Jump to content

Working on better facial expressions for sex animations


Cema

7,834 views

Hey there ! How have you been doing? As I said in my previous blog entry I haven't been able to really spend ebnough time ingame to create galleries for months.  BUT ... I have recently started working on something that as been bothering me for a long time. Facial expressions during sex scenes !

 

(If you don't care about all this and just want boobs, skip all this and go for the pictures at the bottom !)

 

I'm sure you already noticed sexlab facial expressions are not really good. In short they are stiff. You can certainly look for other options, like 0SEX since 0SEX has better expressions but 0SEX is clunky and tend to be annoying to use. Sexlab has phonemes that repeat always after the same amount of time ... yeah. A few month ago I stumbled on the "Random Emotion Mod" on the nexus and the thing looked promising. It was ... ok in addition to sexlab (provided you disabled sexlab expressions beforehand). But despite its good points it had also several bad ones in a sex situation :

 

 

Blog03.jpg.c6a1860620748b864253854b326eecfd.jpg

(awesome powerpoint skill here ! )

 

I wasn't able to understand the code at the beginning, much less edit the script but it was the best starting point available to create something interesting so ... I learnt. I learnt how to manipulate psc files in notepad++ and how to edit pex files. The second step was learning the code and I knew nothing about that so I learnt Python. After that I was able to break the code.

 

Now to the interesting point and what I'm trying to achieve !

 

The random emotion mod has some core functions built in that allow soft transitions for phonemes / expressions / blink / wink / brows ... and that's the cool part  that can be used to create something better.

 

 

 

My (reasonable) plan :

 

I want the player to have only to set expression and overall eye direction. And then let the script do its magic.

 

I want to keep the expression set by the player through mfg console but have its strength vary randomly over time. I want blink / wink / brow movement to be a bit random but consistent with it. So to each expression a template will be associated.

 

In the same manner I want mouth opening to be random in duration and periodicity but consistent with expression.

 

 

blog01.jpg.37a7b46c820f83ad4bcd2fa1e3b43ad9.jpg

 

I want eye direction to stay consistent with the direction chosen by the player. If you set the eye to look right through mfg console the eye will move but your char will look to the right whatever happens.

 

 

Blog02.jpg.01933c40ff5d1ee9add429c9a11daf25.jpg

 

 

So here are a few template ideas :

 

 

Blog04.jpg.700f0140846edb955002dfcfb9c8ff9d.jpg

 

 

 

 

My not reasonable plan that I won't be able to do because I never have time :

 

Make a mod that detect the sex animation and role of the player and set the proper eye direction and expression before triggering the other script.

 

Example : Anal doggystyle as a female character. Expression chosen automatically : pain. Eye direction : right (or left) depending on face direction. then trigger the random emotion script to create the small variations

 

 

My even less reasonable plan that will never ever happen :

 

Make sound files matching any phoneme duration. Duh ...

 

 

 

Where am I right now?

 

Well let's say I ahve one template  working fine but it needs some good cleaning to make the code a bit more consistent. It's working best as a pleasure or shy template. Expression stays the same but varies in intensity, eye keep same overall direction and phonemes and blinking are totally random. I think I can achieve my reasonable goal, that is having 6 or 7 templates working at the end. I just need a couple of month.

 

Screenshots below as I am testing all this in a not so roleplay manner with an alternate version of my character (Shandar is helping) :

 

 

 

 

01.thumb.jpg.9e555263a4b1e5fd5b6a4225fe308975.jpg

 

02.jpg.d361d683d49e3d78afed551cc5cd57b0.jpg

 

03.jpg.4d558058644f30a50d99b1df795e5a0d.jpg

 

04.jpg.40a6c6621c20bb6da1a1632ab5f14b53.jpg

 

05.jpg.35c067253525a36b4ef1a25f2d03cb94.jpg

 

 

Cheers and wish me luck and patience !

 

 

 

 

 

 

22 Comments


Recommended Comments

Good job, this is very much needed.

I stopped using Sexlab altogether for story purposes and instead pose sexlab animations because of the facial animation problem during the automated sexlab animations.

Link to comment

Nice! ;):thumbsup: In one of my past blog posts I was told that sexlab facial animations are no good. So it's good to see someone working on that. Great work. And God speed :)

Link to comment

By the way did anyone manage to disable the shout expression when doing a Blowjob with sexlab ? There is probably a line to delete in the sexlab code somewhere.

Link to comment

A mod which will allow for consistent expressions during a sexlab scene and smooth transitions between MFGs ? That would be a screenarcher's (wet)dream ! That being said, if it already could maintain the expressions set while still having the lips synced with the voices, it'd already be great. ?

 

Malicia : « I don't know about all those things, but Gwen looks like she's very liking it. :classic_blush: »

Link to comment

Now were talki'n!!

Kudos to you for fixing this! It has annoyed me forever!!

14 hours ago, Cema said:

By the way did anyone manage to disable the shout expression when doing a Blowjob with sexlab ?

OMG, the "bite the dick mouth"!! Don't even get me started!! 

 

(Seriously tho you modders are amazing and I'm not at all trying to belittle Sexlab. Me fix cars!! Me no understand computer!!)

 

I look forward to your polishing of this fine mod!! But I also "get" the "time" thing ?

Link to comment
18 hours ago, WANOBI12 said:

OMG, the "bite the dick mouth"!! Don't even get me started!!  ?

The funniest part is that it's probably just 1 line to delete in one of the sexlab pex files.

 

I will try to give it a go tonight.

Link to comment
16 minutes ago, Cema said:

The funniest part is that it's probably just 1 line to delete in one of the sexlab pex files.

 

I will try to give it a go tonight.

That would be a big help. I turn off the regular expressions for screenshots and set my own so that doesn't really matter to me but the constant reset on the combat shout face is a pain. Generally I just set the game time super slow so I have a decent span of time to take some shots before it resets back to angry face.

 

maybe this mod has some info that might be helpful in the quest to delete the expression altogether? I just know nifs and dds, scripts are above my pay grade

 

Link to comment
20 minutes ago, SpyVsPie said:

That would be a big help. I turn off the regular expressions for screenshots and set my own so that doesn't really matter to me but the constant reset on the combat shout face is a pain. Generally I just set the game time super slow so I have a decent span of time to take some shots before it resets back to angry face.

 

maybe this mod has some info that might be helpful in the quest to delete the expression altogether? I just know nifs and dds, scripts are above my pay grade

 

 

Nice one. only 1 pex file in there. that's potentially narrowing the research a lot.

 

Link to comment

ok I think that's the lines :

 

 

function OpenMouth(Actor ActorRef) global
    ClearPhoneme(ActorRef)
    ActorRef.SetExpressionOverride(16, 80)
    MfgConsoleFunc.SetPhonemeModifier(ActorRef, 0, 1, 60)

    Utility.WaitMenuMode(0.1)
endFunction

 

 

I'll simply delete them and regen the pex file

 

edit 1 : attempt 1 at compiling pex file failed. some other psc involved have bad values. this will be trickier than I thought but I'm confident those 3 lines are the bad ones

Link to comment
On 9/18/2020 at 1:44 AM, Alter Native said:

something

 

On 9/18/2020 at 3:34 AM, Jayomms said:

something

 

23 hours ago, Tirloque said:

something

 

 

23 hours ago, WANOBI12 said:

something

 

4 hours ago, SpyVsPie said:

something something

 

Could some of you try to put those files in your skyrim folder and attempt blowjob in their game? This should completely disable the combat shout thing when doing blowjobs. Your character will stay pokerface and ready to accept any mfg you want for screenshot sake. I just tried it it works but I need to know if it does break your game or not.

 

pex files goes into Data/scripts (make a save of the original pex file before in case something breaks ...)

 

psc file is just there for consistency, you don't really need it.

 

sslBaseExpression.psc

 

sslBaseExpression.pex

Link to comment
58 minutes ago, Cema said:

 

 

 

 

 

Could some of you try to put those files in your skyrim folder and attempt blowjob in their game? This should completely disable the combat shout thing when doing blowjobs. Your character will stay pokerface and ready to accept any mfg you want for screenshot sake. I just tried it it works but I need to know if it does break your game or not.

 

pex files goes into Data/scripts (make a save of the original pex file before in case something breaks ...)

 

psc file is just there for consistency, you don't really need it.

 

sslBaseExpression.psc 15.69 kB · 2 downloads

 

sslBaseExpression.pex 16.8 kB · 3 downloads

Works perfectly, good job

Link to comment
3 hours ago, Cema said:

Could some of you try to put those files in your skyrim folder and attempt blowjob in their game? This should completely disable the combat shout thing when doing blowjobs. Your character will stay pokerface and ready to accept any mfg you want for screenshot sake. I just tried it it works but I need to know if it does break your game or not.

 

pex files goes into Data/scripts (make a save of the original pex file before in case something breaks ...)

 

psc file is just there for consistency, you don't really need it.

 

sslBaseExpression.psc 15.69 kB · 3 downloads

 

sslBaseExpression.pex 16.8 kB · 4 downloads

Sorry, ?I don't have sexlab installed as I'm not using for my stories anymore.

 

 

Link to comment

Now we just need to default all the bodyslot strip checkboxes to off so I don't have to do it manually every time I make a new game and SL will be good to go ?

Link to comment
16 minutes ago, SpyVsPie said:

Now we just need to default all the bodyslot strip checkboxes to off so I don't have to do it manually every time I make a new game and SL will be good to go ?

 

By the way, out of curiosity I tried the mod you linked above, just to see if it did look better than original.

 

MY GOD ! Talk about dismantling the jaw ! The atrocity ! :D

Link to comment
On 9/19/2020 at 11:27 PM, Cema said:

Could some of you try to put those files in your skyrim folder and attempt blowjob in their game? This should completely disable the combat shout thing when doing blowjobs. Your character will stay pokerface and ready to accept any mfg you want for screenshot sake. I just tried it it works but I need to know if it does break your game or not.

 

pex files goes into Data/scripts (make a save of the original pex file before in case something breaks ...)

 

psc file is just there for consistency, you don't really need it.

 

sslBaseExpression.psc 15.69 kB · 5 downloads

 

sslBaseExpression.pex 16.8 kB · 6 downloads

I placed them into MO's overwrite folder (overwrite/scripts/) instead by precaution. It seemed to get rid of the combat shout expression, with the previous one (happy 50 in that case) remaining. It did also get rid of the mouth opening though, so this one has to be manually set.

 

Link to comment
1 hour ago, Tirloque said:

I placed them into MO's overwrite folder (overwrite/scripts/) instead by precaution. It seemed to get rid of the combat shout expression, with the previous one (happy 50 in that case) remaining. It did also get rid of the mouth opening though, so this one has to be manually set.

 

 

The thing is it's a loop calling a function again and again. So if there is anything inside the function it will be re applied again and again. That's why when you put something else than the combat shout expression, the game puts the combat shout back few seconds later. That would be the same for any phoneme or modifier. So if I did leave any phoneme modifier in there you wouldn't be able to disable it. ?

 

This is just a quick fix for the ones who prefer to set everything by themselves for screenshot purpose. I suppose most people don't really bother about the angry shouting face.

Link to comment
7 hours ago, Cema said:

 

The thing is it's a loop calling a function again and again. So if there is anything inside the function it will be re applied again and again. That's why when you put something else than the combat shout expression, the game puts the combat shout back few seconds later. That would be the same for any phoneme or modifier. So if I did leave any phoneme modifier in there you wouldn't be able to disable it. ?

 

This is just a quick fix for the ones who prefer to set everything by themselves for screenshot purpose. I suppose most people don't really bother about the angry shouting face.

Yep, this is clearly a mod for screenshooting rather than players.  :classic_smile:

Link to comment
On 9/20/2020 at 11:11 AM, Cema said:

 

By the way, out of curiosity I tried the mod you linked above, just to see if it did look better than original.

 

MY GOD ! Talk about dismantling the jaw ! The atrocity ! :D

That's unfortunate. I never tried it out (since I wanted NO expression the way you've done here, not a different expression), just saw when it was posted and thought the pex file might be useful in your quest. 

Link to comment
15 hours ago, SpyVsPie said:

That's unfortunate. I never tried it out (since I wanted NO expression the way you've done here, not a different expression), just saw when it was posted and thought the pex file might be useful in your quest. 

 

So did you manage to make a combination of phoneme you like for Cassidey BJ for screenshot purpose ? ?

Link to comment
6 hours ago, Cema said:

 

So did you manage to make a combination of phoneme you like for Cassidey BJ for screenshot purpose ? ?

Well like I said I've been setting my own expressions anyway it's just now I don't have to reset them constantly whenever SL engages cock biting mode?. More of a huge time saver than anything.

 

The exact settings generally come down to matching the... ahem... endowment of whoever else happens to be in the scene ?

Link to comment

Wow this is awesome. I was hoping for an expression overhaul for a very long time now but since i have no experience with modding I never looked into it further. It's looking promising, best of luck with it!

Link to comment
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use