dialogic icon indicating copy to clipboard operation
dialogic copied to clipboard

Make possible to animate characters when talking (or/also extend custom portrait abilities)

Open APAmk2 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Yes, tried to make custom character portrait with lips animation, but find out there's no possibility in plugin for it. Also custom portaits abilities is very compressed, you can not make something more complex than different emotes in one scene.

Describe the solution you'd like Please, implement possibilities for it, like signals, or functions for character portraits that can be overriden.

APAmk2 avatar Nov 29 '23 18:11 APAmk2

You can make your custom portraits listen to signals, others have done it before.

Here are some signals you can use:

  • speaker_updated
  • text_finished
  • started_revealing_text
  • continued_revealing_text
  • finished_revealing_text

I'm not sure what you mean by different emotes in one scene, though.

CakeVR avatar Nov 29 '23 19:11 CakeVR

"Here are some signals you can use"

The problem is i can't use this signals from custom portraits, maybe i'm doing something wrong? I created scene for character, configured it, make _ready func connect signals %dialog_text.started_revealing_text.connect(start_talking) %dialog_text.finished_revealing_text.connect(stop_talking) And make dialog_text node in main scene use unique name access, but that doesn't works, game crashes when trying to show character with error that says i'm trying get index 'started_revealing_text' from null instance. I'm not import char scene into main by myself, i'm only placed portrait containers and calling character from dialog.

APAmk2 avatar Dec 09 '23 10:12 APAmk2