Page 1 of 1

How to set up multiple DataBases?

Posted: Wed Jan 31, 2024 6:43 pm
by Hereder
In my game, I have LOADS of dialogue. Is it possible to load a different DataBase based on what NPC i talk too?
In that case, how? Since I assign the "Default" language DataBase to my Dialogue Manager, and all dialogues goes through the Dialogue Manager, how can I "swap it out" ?
Or do I need to have multiple Dialogue Managers and attach them to each NPC?

Re: How to set up multiple DataBases?

Posted: Wed Jan 31, 2024 8:24 pm
by Tony Li
Hi,

Use one Dialogue Manager.

Assign your "global" database to the Dialogue Manager's Initial Database field.

Create additional databases and add them to an Extra Databases component on the Dialogue Manager.

Set the Base ID of each additional database to help prevent ID conflicts. For example, set them to 1000, 2000, 3000, etc.

More important info: Working With Multiple Databases

When you're setting up an NPC's Dialogue System Trigger, assign the database containing the NPC's conversation(s) to the Dialogue System Trigger's Reference Database. The Reference Database field is only used to populate the Conversation dropdown in the editor. The database must still be assigned to the Dialogue Manager's Initial Database field or Extra Databases component.

Re: How to set up multiple DataBases?

Posted: Wed Jan 31, 2024 11:36 pm
by Hereder
Fantastic! Works great. thank you soo much. Really needed this to work ^^ Such a nice Diualuge System!

Re: How to set up multiple DataBases?

Posted: Thu Feb 01, 2024 7:53 am
by Tony Li
Thanks! Glad to help.