[OPEN SOURCE] Not Yet: Dialogue System

Depends on your game/audio system.
I guess getting the wave in player controller just after the dialogue was started/updated and playing from there is the good way to go.

If anyone is looking for a video tutorial on how to use this plugin, I’m making a series on how to make a visual novel using this plugin here.

https://forums.unrealengine.com/community/community-content-tools-and-tutorials/1520039-visual-novel-and-rich-text-block-tutorial

The first couple videos specifically deal with using the plugin and adding widgets to screen, and we also make a Codex system using this plugin.

Normally I wouldn’t promote my own stuff in other people’s post but I was asked to post it in the forums so I did.

thanks for this plugin

Handling the timer itself is actually something you are supposed to do on game side - the plugin has the interface you can use to proceed in the dialogue and you can do that the way you want.

If you want to setup a float value for the nodes with the exact timing there are two way I can think of doing that:

1.) The easy one: use a float class variable inside your player character. Then you can just use the set float class variable event to set it’s value for each node. (Easy, because you don’t have to modify the plugin, but bad, because it won’t be that comfortable to work with).

2.) Modify the plugin and add a float variable to the nodes - it’s pretty easy to do, you can follow some other node variables and copy paste code to generate the same result.

If you wish to go with the second option I can give you a more detailed description about it - or just join our discord, and ask for help there - we had at least two different people who already did something similar.

I’m using your first idea right now and notice that it’s all getting more and more confusing.

Could you give me some more details? I’ve looked into the source code longer now and understand it as well as I did before.
Almost nothing, because I never used c++ before :rolleyes:

Wow this looks excellent.

So am I right in thinking it is a dialogue system back-end, and could be used in a lot of different front-end situations?

For example, a first person game with dialogue choices that happen in real-time?

Savagee25:

You don’t need to use C++ for that solution. Just add a float variable to your player character, and modify that from the nodes. Then you can get that value in your player controller, or from whatever location you control the dialogue (where you call the ChooseChild) and call a function with a timer.

GreylockDev:

Yes. We tried to make it as generic as possible. Controlling the dialogue and any kind of user input and visual representation is up to you.

Hi guys, first of all excuse my English. I am new to this world and I use unreal engine 4.20 from 1 month. I want to thank the author of this fantastic free plugin. But I’m here to ask you a great help.
Practically I can not even create a simple dialogue like: actor 1) hello how are you? - actor 2), all good thanks!

Thanks for the answer, I already use this ā€œworkaroundā€.

Sorry, but I tried the tutorial, but nothing … Surely the tutorial is good, but for you that you already have experience. Is there any good man to show me how to create a simple dialogue between two people? Then little by little I will understand everything else. Sorry if I disturb you first. Thank you.

Which tutorial did you start? Ispheria made a pretty cool video series:
https://forums.unrealengine.com/community/community-content-tools-and-tutorials/1520039-visual-novel-and-rich-text-block-tutorial

If neither the tutorial in our wiki nor this one works for you, you should try to follow some basic unreal tutorials first.

I also followed what I did a little while ago, but it gives me error, plus there are not two characters, but it has created a dialogue only through log text. But surely I am not able … I tried several times but nothing

Please help me to make a simple dialogue between two people (two meshes) Example : Mesh 1) hello my name is dude, how are you? Mesh 2) hello guy, my name is Caius, I’m fine, you? I’m looking ridiculous, but after that, I’ll be able to understand everything else. Thank you so much

The tutorial I wrote to our wiki does exactly that.
It is not the nicest tutorial ever, and people not experienced with the engine usually have some trouble following it, but with some help they always managed to figure it out at the end.

Unfortunately I do not have the time to create an easier to follow tutorial covering all the basics.
The only thing I can do is to repeat my advice: do not to make a game using our dialogue system if you lack basic understanding of working with Blueprints.
Try to follow some basic tutorial series and make some smaller game first.

In two weeks I managed to do many things, I’m also trying with the tutorial that you sent me the link … I follow it step by step and this is the result of the Log output: Blueprint Runtime Error: Access none trying to read property DLG Context In event graph node: choose child and print text

Check if the ouput log has any warning/error coming from the dialogue system.

Nobody, the only mistake (written in red) is what I wrote. The error comes out when I click on button 1 or 2 or 3

Gonna have to check this one out for sure.

Hello,

In order to include modifications to the plugin I’m needing to tweak with the source code. Do you know any way to update the plugin whilst doing this?

Thanks

Sorry, I don’t understand what you mean by ā€œDo you know any way to update the plugin whilst doing this?ā€