Dialog XML Importer - An Easy Way to Import Dialogs from articy:draft

Hey,

We have been working for a while on our first extension to Unity that allows you to import dialogs from articy:draft to Unity. It has now been released in Asset Store as a version 1.0.

Dialog XML Importer is a powerful xml importer tool designed to import your dialogs from articy:draft to Unity. The tool is under constant development, and you can also customize it to meet your own specific needs.

It can be found here: Dialog XML Importer

Features:

  • Import your dialogs from articy:draft to Unity with just a few mouse clicks
  • Built-in dialog playback system - Integrating the dialogs to your project is trivial, and the dialog interface is highly customizable
  • Inspector Integration - Your dialogs can be inspected and modified directly through Unity’s inspector
  • Dialog Conditions - Characters can remember what the player has said using our condition checking and setting system
  • Dialog Effects - You can call external functions from your dialog fragments using our Dialog Effects system (among other things)
  • Multilanguage Support
  • No DLLs - Feel free to modify the scripts to fit your specific needs
  • Works automatically with both articy:draft 1.x and 2.x

For more in-depth information please refer to our full documentation.

Features that we are considering adding in the future:

  • Dynamic dialog bubble sizing
  • More customizable dialog playback system
  • Dialog effects extended
  • Automated portrait asset import
  • Support for HTML Markup (color coding, bolding, italics)

Version 2.0 Released!

  • ChatMapper support added
  • Condition evaluation now supports complex expressions. For example: var1==True(var2!=Mike||var3<=3.5)
  • Automatic speech bubble resizing based on text length
  • A new bubble type: inner monologue bubble
  • Improved condition auto-importing
  • Improved character auto-importing
  • Support for multiple player-characters
  • Some new Dialog Effects included (Instantiate, AreaTransition…)
  • System now works out-of-the-box in C# projects
  • Added ability to embed a random string from multiple ones among text
  • Ability to use random integers during condition evaluations
  • Supports Unity’s Rich Text Markup
  • Many bug fixes

Version 1.2 Changelog:

  • Added support for the articy:draft version 2.1

Version 1.1 Changelog:

  • Fixed one very random bug that prevented compiling conditions.js

Tutorial video for the asset:

If there are any problems or questions please feel free to ask them in this thread or email them straight to us.

  • Rival Games

Hi,
I do own ArticyDraft 2 (auto upgrade from version 1), but not doing any dialogs at this time.
If and when I do I will most likely buy this.

Great to hear that!
Be sure to check back regularly, as we continue to update the tool.

  • Rival Games

Updated version 1.1 is now live at the Asset Store!

  • Rival Games

This is great - now I can use this program not just for the backend stuff, but in unity too awesome!

This is pretty good stuff and I managed to get a test Articy project to export and show up in Unity rather easily!
I was wondering whether you could expand the documentation a little bit on calling the conversation system and integrating it into a larger project?

Thank you for your feedback Original Big Dan!
We just released a tutorial video for our asset so hopefully this will be helpful to you.

We have just submitted version 1.2 to the review process.

The update brings support for the articy:draft version 2.1.

We will inform more when it is out in the store.

  • Rival Games

UPDATE:
Version 1.2 is now live!

Hey, Dan! I hope you’ve found the importer useful. I can give you a quick overview of the most important classes you’ll want to look into if you wish to customize the system to fit your needs.

The most important functions to look into are:
DialogHandler.OnGUI()
DialogHandler.BeginDialog(dialogName : String)
DialogHandler.FollowLink(linksHolder : Transform)
DialogHandler.ApplyEffects()

OnGUI handles drawing of the graphical user interface used in the dialog playback
BeginDialog instantiates the DialogHandler that draws the GUI, instantiates the object containing the dialog data, and starts reading the dialog from the beginning.
FollowLink is called every time the dialog moves a step forward. It handles reading data from the dialog container for use by the OnGUI function.
ApplyEffects is used for things like sending messages to GameObjects when dialog lines are displayed.

If you wish to customize the xml import process, you’ll want to modify the DialogImporter class. The ImportDialogFragments() function is probably the most important part to look into.

You can contant me if you need any further assistance.

Brilliant! Thank you!

Version 2.0 is now out and can be found in the Asset Store!

Changelog can be found in the first post.

  • Rival Games