articy:draft document import bug / multiple portaits question

Announcements, support questions, and discussion for the Dialogue System.
TobyM
Posts: 14
Joined: Wed Dec 26, 2018 5:03 pm

articy:draft document import bug / multiple portaits question

Post by TobyM »

Hello again!
There appears to be a bug with importing document dialogs. After importing the articy:draft project to Unity, every node is linked double to the next one:
Nodes.PNG
Nodes.PNG (75.08 KiB) Viewed 1254 times
Also for some reason the <start> node is linked to <input> and the first real dialog node. This only happens when a dialog is within an articy:draft document, as soon as it is moved to the flow view, the nodes are connected as intended. Seems to happen in articy:draft 2 and 3.
Last edited by TobyM on Fri Dec 28, 2018 7:48 am, edited 1 time in total.
TobyM
Posts: 14
Joined: Wed Dec 26, 2018 5:03 pm

Re: articy:draft document import bug

Post by TobyM »

Ah, and one more question: Is there a way to add multiple portraits to an actor within articy:draft? My current solution is to add all the additional portraits via c# script (DialogueManager.MasterDatabase.GetActor("ActorName").alternatePortraits.Add(portraitFile);) but if there is already a way to do that directly in articy:draft, that would be of course more convenient.
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: articy:draft document import bug / multiple portaits question

Post by Tony Li »

Hi,

I will try to get a patch out by Sunday night to fix the document import issue. I'll look into multiple portraits at the same time; I'm pretty sure there's a way to do it.
TobyM
Posts: 14
Joined: Wed Dec 26, 2018 5:03 pm

Re: articy:draft document import bug / multiple portaits question

Post by TobyM »

Okay, thank you very much!
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: articy:draft document import bug / multiple portaits question

Post by Tony Li »

I just made the patch available on the Pixel Crushers customer download site. It fixes the linking issues with documents, and you can now set alternate portraits in articy. To do this, add a strip [edit: fixed. incorrectly said 'slot' before] named AlternatePortraits (exact capitalization and no space) to your template. Then assign images to it.
TobyM
Posts: 14
Joined: Wed Dec 26, 2018 5:03 pm

Re: articy:draft document import bug / multiple portaits question

Post by TobyM »

Tried out the patch and everything seems to work! Documents are now imported correctly and the new way of adding portraits in articy:draft works perfectly for our workflow! The only problem is that the importer throws a Null Reference exception if one of the imported actors has an empty strip: https://gyazo.com/a8152bf1e646bbd09870ff2d6de4ba41
Not a big deal in our case, because every actor will have an alternate portrait but I thought I just mention it.
Again, thank you very much for your help and wish you a happy new year!
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: articy:draft document import bug / multiple portaits question

Post by Tony Li »

Hi,

Thanks for letting me know. That was addressed for articy 3.x, but I hadn't applied the same check to articy 2.x. The fix will be in the next update.

Happy New Year!
twobytwogames
Posts: 6
Joined: Tue Jan 22, 2019 5:20 pm

Re: articy:draft document import bug / multiple portaits question

Post by twobytwogames »

Hey Tony - been a while since this thread was opened, but I'd also love to be able to get this functionality...much easier than adding a bunch of portraits directly to the database in Unity! Is this customer download still available? I tried searching for "pixel crushers customer download", but all I got was a restricted page that required a password.

Thanks!
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: articy:draft document import bug / multiple portaits question

Post by Tony Li »

Hi,

It's built into versions 2.1.1 and above. Just add a strip [edit: fixed. incorrectly wrote 'slot' before] named AlternatePortraits (exact capitalization and no space) to your entity's template. Then assign images to it.
twobytwogames
Posts: 6
Joined: Tue Jan 22, 2019 5:20 pm

Re: articy:draft document import bug / multiple portaits question

Post by twobytwogames »

Hey Tony, thanks for the reply. I'd already tried doing it after seeing this thread, hence why I posted (I figured I must be missing something.) I would assume then that I'm probably just setting it up wrong. What I did can be explained in the series of pictures I uploaded to Imgur:

https://imgur.com/a/xLdXYej

The only way I knew how to "add a slot" was by adding a bunch of slots to the template under "AlternatePortraits", assigning the template to the character, and then dragging the images onto the slots in the character template.

Apologies if I'm setting things up wrong, that's just how I took what you said to mean, hopefully my pictures'll make things a bit clearer.
Post Reply