Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Godot Dialogue System 2

An advanced non-linear dialogue system for the free and open-source Godot engine. · By radmatt

Faces / Avatars

A topic by Radu Mitiu created May 24, 2020 Views: 363 Replies: 2
Viewing posts 1 to 3

Hi,

Thanks for your ongoing work on this project, it's coming along nicely and is very useful. I was wondering if showing  the avatars (Face texture) of the characters is still supported, and if so if there are any changes needed for them to be populated correctly; seems that after upgrading to the second version of the dialogue system they no longer show up (just default to the godot icon). 

Cheers

Developer (1 edit)

It is by design. Built in features like this one caused some trouble for people, and not everyone had much use for it, so I decided to make the system easier to use and add minimal built-in features so that anyone who needs a certain feature can easily extend the system without much code-reworking.

Basically, what you need to do is add a new node, with a function connected to a 'started new message' signal. In that function you will get the Dialogue.current_speaker_node and then its face texture value (you need to define it in the speaker script first, of course). And then just set the texture to the BoxMessage/TextBackground/_hbox/Face node.

Understood, thanks for the reply!

Cheers