Page 1 of 1

Problem with conditional node ordering on articy imports

Posted: Tue Dec 08, 2020 8:23 pm
by gewl
Hi,

I'm importing dialogues from articy using Dialogue System. I've been using what's basically a switch/case format in ordering: I set up (what articy calls) a Dialogue containing all of a given NPC's conversations, each of which are themselves articy Dialogues, arranged vertically and with conditionals so that Dialogue System will fall to either whichever Dialogue conditional evaluates to try, or to the default case. So the hierarchy goes parent Dialogue -> conditional children Dialogues -> lots of Dialogue Nodes.

So for example, here's the 'parent' dialogue that gets passed to Dialogue System:
day1.PNG
day1.PNG (39.31 KiB) Viewed 616 times
And here are that dialogue's contents:
insideday1.PNG
insideday1.PNG (132.86 KiB) Viewed 616 times
However, after importing articy's xml into Dialogue System, those children dialogues are not being ordered as they are in articy, but in the order in which I created them in articy:
indialoguesystem.PNG
indialoguesystem.PNG (19.59 KiB) Viewed 616 times
The page on importing from articy:draft says:
In articy:draft 2.4+, the Dialogue System will import the correct order of response nodes as indicated by the vertical position of the nodes on articy's canvas. Earlier versions of articy:draft (pre-2.4) do not export this information, so it's not possible to import it into the Dialogue System; instead, nodes will generally be ordered in the order they were created in articy.
I'm on articy v3.1.28 and the most recent Dialogue System on the asset store. I can manually reorder the nodes in Dialogue System, but they get ordered by time of creation again if I reimport articy xml. Am I misusing a tool? Do I have some import setting bungled?

Thank you!

Re: Problem with conditional node ordering on articy imports

Posted: Tue Dec 08, 2020 9:35 pm
by Tony Li
Hi,

I'll investigate that and reply back with a clearer answer by tomorrow. The importer observes the vertical position of dialogue fragments, but it may need to be updated to also observe the vertical position of linked dialogues.

Re: Problem with conditional node ordering on articy imports

Posted: Wed Dec 09, 2020 10:00 am
by Tony Li
Hi,

This patch adds support for sorting sub-dialogues by vertical position:

DS_ArticyPatch_2020-12-09.unitypackage

Re: Problem with conditional node ordering on articy imports

Posted: Wed Dec 09, 2020 5:28 pm
by gewl
Great, thank you!

Re: Problem with conditional node ordering on articy imports

Posted: Wed Dec 09, 2020 7:03 pm
by Tony Li
Happy to help!