Page 1 of 1

2 START nodes when importing Chat Mapper XML

Posted: Mon Feb 20, 2017 6:23 pm
by nrvllrgrs
When I import a Chat Mapper XML, I get 2 start nodes for each conversation. One that matches the Chat Mapper project; and another new node labeled <START>. Is there a way to prevent the 2nd start node from being created? Do I need to setup the XML differently?

Re: 2 START nodes when importing Chat Mapper XML

Posted: Mon Feb 20, 2017 8:52 pm
by Tony Li
Hi,

How are you generating the Chat Mapper XML? From Chat Mapper, or are you creating it manually?

When Chat Mapper exports conversations, the first dialogue entry should have ID = 0 and Title = "START", such as this excerpt from a Chat Mapper export:

Code: Select all

<DialogEntries>
   <DialogEntry ID="0" IsRoot="true" IsGroup="false" NodeColor="White" DelaySimStatus="false" FalseCondtionAction="Block" 
      ConditionPriority="Normal">
      <Fields>
         <Field Hint="The title of this dialogue." Type="Text">
            <Title>Title</Title>
            <Value>START</Value>
         </Field>
The Dialogue System makes those two assumptions (ID=0, Title="START"). If that's not the case in your XML file, would you please email a copy to tony (at) pixelcrushers.com? If that's not possible, can you describe how you generated the file? If you exported it from Chat Mapper, I'll make it a priority to publish a patch tomorrow to address it.

Re: 2 START nodes when importing Chat Mapper XML

Posted: Mon Feb 20, 2017 9:18 pm
by nrvllrgrs
That was it. I was generating the XML from another program and the exporting start node's title was not START. Thanks.

Re: 2 START nodes when importing Chat Mapper XML

Posted: Mon Feb 20, 2017 9:50 pm
by Tony Li
Great! I'm glad that was it.