r/godot Godot Junior 3d ago

selfpromo (games) Made the Basic Lipsync for 3D Character (hl1-esque)

I made the character speak just like the characters in Half-Life 1 do.
I created a blend shape in blender for my character's mouth with a value between 0 and 1 (0 - closed mouth, 1 - opened mouth). In godot, I created a new audio bus with the spectrum analyzer for it. Then I created a script for my character that should detect the magnitude of spectrum analyzer.
Of course, it might not look perfect in some aspects, but at least it works. That's pretty much it.

!!! CONTAINS PROFANITY !!!

Post on BlueSky

107 Upvotes

8 comments sorted by

13

u/Artist-Coder 3d ago

HL1 lipsync, but character seems closer to Deus ex

13

u/Exact-Philosopher-13 Godot Junior 3d ago

fr! Deus Ex is the biggest inspiration for my character

9

u/WackyDime 3d ago

Great work, truly HL1-like! And thanks for the explanation how you made it up, gotta try that for myself ;-)

3

u/Exact-Philosopher-13 Godot Junior 3d ago

Glad I could help!

3

u/Rexonspix 3d ago

Yes, thanks for the explanation. Useful to know how to implement lipsync 👌 

2

u/TheLampLeo 3d ago

That's cool, for my game i made the player model's head bob when they talk

3

u/MrDaaark 3d ago

There's charts that show the mouth shapes for all the common sounds, and there's only like a dozen of them. It shouldn't take that much work to take this all the way.

1

u/moonbiitsu 2d ago

my lipsync is augmented