this post was submitted on 01 Sep 2023
382 points (94.0% liked)

Games

32507 readers
1548 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 1 year ago
MODERATORS
 

For those who have pre-ordered it is already here, the rest have to wait a little longer. Starfield is finally here! Have you bought it, why or why not? If you've already played it, what do you think of it? We are very curious!

Discuss all things Starfield below!

you are viewing a single comment's thread
view the rest of the comments
[–] dylanTheDeveloper@lemmy.world 5 points 1 year ago

I think the hardest thing to do is having complex facial expressions overlapping when characters talk. You could do face capture for every dialog option but that would be a massive task.

In alot of engines characters mouths are controlled by a lip sync system that uses, pitch, tone or text fed dialog to 'mimic' words being formed in the mouth. It's far easier to have that and then having facial expressions as a separate animation layer that's blended together and triggered based on a enum that's selected by a script (say a players dialog option says "Your a mean man" and the player selects it, the NPC knows what you selected and in that dialogue option theirs a little enum (it makes more sense if you treat a dialogue option as an object) that contains the facial expression or expressions that are appropriate to use in response).

Full facial animations are used mostly for cutscenes because actors cost money while in game is just the engine trying to move the mouth using code (I know Farcry 5 had this where only the important characters had full facial animations and the rest just flapped their mouths up and down).