Page 3 of 4

Re: Future plans for import from Celtx

Posted: Mon Jan 09, 2023 10:09 pm
by Tony Li
The Celtx website is having an issue. I'm following up with Celtx.

[Edit: Got the issue resolved.]

Re: Future plans for import from Celtx

Posted: Tue Jan 10, 2023 3:35 pm
by Tony Li
This patch will add Gameplay elements as separate group nodes in the dialogue database. The group node's Title will be set to the text of the Gameplay element.

DS_Celtx3Patch_2023-01-09.unitypackage

Re: Future plans for import from Celtx

Posted: Wed Jan 11, 2023 12:12 pm
by cbrito
Hey Tony!

Thanks for the patch, looks good!

There's only one tiny issue, the breakdown items that are supposed to be in the new gameplay nodes are in the following dialogue node instead.

Let me know if you can fix this soon.

Re: Future plans for import from Celtx

Posted: Wed Jan 11, 2023 2:17 pm
by Tony Li
Yes, I'll fix that by tomorrow.

Re: Future plans for import from Celtx

Posted: Thu Jan 12, 2023 9:00 pm
by Tony Li
This should handle gameplay elements the way you want:

DS_Celtx3Patch_2023-01-12.unitypackage

Thanks for your patience. I'm moderating different Celtx users' needs to make sure the importer handles everyone's data the way they want, so it takes a little time.

Re: Future plans for import from Celtx

Posted: Fri Jan 13, 2023 8:03 am
by cbrito
Hey Tony

No worries, that's completely understandable. You're helping us a bunch, thank you!

There's still a minor issue with the latest patch unfortunately. It seems the first dialogue gets imported as a group in any circustance and if it is preceeded by gameplay, both gets fused. I don't know if it's relevant, but the actor may differ from the one in celtx. I'll attach some a test json.

Re: Future plans for import from Celtx

Posted: Fri Jan 13, 2023 10:12 am
by Tony Li
Hi,

Would it be possible for you to post or PM a screenshot of what that sequence (dialogue) looks like in the Celtx browser window? It's a little hard to understand the structure from just the JSON file -- although the JSON file is very helpful to test the import code.

Re: Future plans for import from Celtx

Posted: Fri Jan 13, 2023 10:23 am
by cbrito
Of course! I'll send two test sequences. The first one starts with a gameplay node with breakdown items followed by a dialogue which are imported as a single grouped node. The second starts with a dialogue instead which is imported as a grouped node with the wrong actor.

I think you can also import the JSON to Celtx, not sure though.

Re: Future plans for import from Celtx

Posted: Fri Jan 13, 2023 11:08 am
by Tony Li
Thank you! Last time I checked, there were some issues with importing JSON to Celtx (primarily dealing with the catalog), but those issues may be resolved by now.

Re: Future plans for import from Celtx

Posted: Sat Jan 14, 2023 3:32 pm
by Tony Li
Thank you for the screenshots. This patch should address that final issue:

DS_Celtx3Patch_2023-01-14.unitypackage

I also tested importing JSON back into Celtx, and it works nicely now.