Source Filmmaker

Source Filmmaker

437 ratings
Facial Flex Unlocker
3
3
5
2
2
   
Award
Favorite
Favorited
Unfavorite
Script
Tags: SFM
File Size
Posted
Updated
4.203 KB
8 Oct, 2022 @ 7:39pm
6 Mar, 2023 @ 7:10am
5 Change Notes ( view )

Subscribe to download
Facial Flex Unlocker

Description
This script removes default flex limitations [0.0, 1.0] from Source Filmmaker and allows you to make GMod-like ugly faces.

Credits:
- Me for investigating rendering limitations and making the patcher
- Unknown Soldier aka @0TheSpy for investigating interface limitations and two-way flexes

Github: https://github.com/kumfc/sfm-tools/tree/master/flex-unlocker (report any issues there)


Important
- You should run this script from embedded python interpreter!
- Not compatible with Source 2 Filmmaker.
- Works with all models that have facial flexes.

Installation
Just subscribe to this item!
Additionally, if you're familiar with Python - invoke main() from sfm_init.py so it will be executed automatically on startup.

Usage
Execute this script from the Scripts menu (navbar) every time you restart SFM.

Then, you can move flex sliders in a range of 1.0 for each direction per 1 click. Release the slider and hold it again to escape the limits.
or
Double-click on the flex slider and set any value you want.

Known issues
- Sometimes SFM stops viewport rendering few frames before fully applying new coefficients if you set exact values by double-clicking the slider. Just move a camera or something else for a second to force rendering.
- Render preview differs from the viewport, but rendered file will look as you expect.
- Flex animations may weirdly flicker in 60fps when the values are too high. This bug is related to frame interpolation and is presented in stock SFM, with bigger flex values it just becomes more noticeable. As reported by the users, it's not happening on some session/animation setups, but exact steps hadn't been found yet.

Includes:
sfm\mainmenu\umfc\SFM_Flex_Unlocker.py
Popular Discussions View All (2)
1
9 Mar @ 9:27am
Ears
Ectoplazm
3
25 Mar, 2024 @ 3:48pm
UX Survey
LLIoKoJIad
147 Comments
rawinwannawichit 11 May @ 9:46am 
skibidi toilet
eye so dead man!
gl1tchgreml1n 24 Mar @ 4:13pm 
It's not showing up in my scripts menu, what do I do
drunk driver 17 Mar @ 6:33pm 
Tim_KILLER that isnt a tutorial its a skibidi toilet thing
Tim_KILLER 3 Mar @ 4:22am 
There is already a tutorial on YouTube


https://youtu.be/xT-gzUJpUSc?si=8kH3kttERO4NpGqa
drunk driver 15 Jan @ 3:00pm 
pls make a tutorial on how to get it
LLIoKoJIad  [author] 17 Dec, 2024 @ 4:07pm 
@☯ Alien From Nostromo 阳 ☯

SFM loses precision in 60 fps and poorly interpolates values especially when they are really high (this is a general problem and unrelated to this script). Obvious solution is to not render in 60 fps, but I've heard that some trickery with start params and settings order may fix the issue (not confirmed though).
☯ Alien From Nostromo 阳 ☯ 16 Dec, 2024 @ 11:21pm 
guys, why when i try to render my animation with this script, faces starts.. deformation, and looks cursed?
faces looks creepy.. How i can solve this?
The Brock 5 Dec, 2024 @ 7:52pm 
No one cares about facials, make it work on every other body part
Strong_DK 5 Dec, 2024 @ 3:47pm 
also for some reason it resets my configurations whenever I try to configure one part of the face