Page 1 of 1

Articy Draft Import and Multiple Databases

Posted: Sat May 20, 2017 12:43 pm
by hellwalker
Hi,

I could not quite understand how to make this work.
From what I understood it is possible to have Characters and Global variables in one database and have child databases with select dialogue right? http://www.pixelcrushers.com/dialogue_s ... bases.html

Is it possible to do this with Articy Draft?

I tried importing one Articy Draft database with only actors but even though I disabled the dialogues it still imported them. (is this a bug?)
Then I tried importing second database with only dialogues and this worked, but without actors all dialogues were assigned to PC and NPC characters.

Afters this I tried to sync characters into dialogue database, and they got added but all the dialogue entries were still assigned to PC and NPC characters. http://www.pixelcrushers.com/dialogue_s ... SyncAssets

Next I tried importing two versions of full database, one[Global] with only actors and global variables and second one[Child] with actors and dialogues. I then changed characters name in Global database and when I clicked sync on Child database it synced the name there too. Is this how it's supposed to work?

But how will syncing work during gameplay? For example if I have variable "Disposition" assigned to actor in global database and I change it in one chapter, will the child database of another chapter recognize it when I load it during gameplay? For example with http://www.pixelcrushers.com/dialogue_s ... bases.html

I have 1.7.0 version of DS and I'm using latest version of Articy.

Thanks

Re: Articy Draft Import and Multiple Databases

Posted: Sat May 20, 2017 2:42 pm
by Tony Li
Hi,
hellwalker wrote:From what I understood it is possible to have Characters and Global variables in one database and have child databases with select dialogue right? http://www.pixelcrushers.com/dialogue_s ... bases.html

Is it possible to do this with Articy Draft?
It's a little more complicated with articy:draft, but it's still possible. In your global database, import the entities and variables. In your child databases, import the entities, variables, and dialogues.

At runtime, the Dialogue System maintains a "master database" in memory. When you add a database at runtime, the Dialogue System fills in the master database with any assets (e.g., actors, variables, conversation, etc.) that aren't already in the master database. When you delete a database at runtime, the Dialogue System removes any assets (e.g., conversations) that aren't also defined in other added databases such as the global database.
hellwalker wrote:I tried importing one Articy Draft database with only actors but even though I disabled the dialogues it still imported them. (is this a bug?)
Yes, it's a bug in version 1.7.0 that will be fixed in 1.7.1 (coming soon). Version 1.7.0 introduced support for recursive (nested) dialogues. Since technically everything is nested inside the project as a whole, it follows the nesting and adds the dialogue even when it shouldn't.
hellwalker wrote:But how will syncing work during gameplay? For example if I have variable "Disposition" assigned to actor in global database and I change it in one chapter, will the child database of another chapter recognize it when I load it during gameplay?
Yes.