Future plans for import from Celtx

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Future plans for import from Celtx

Post by Tony Li »

The Celtx website is having an issue. I'm following up with Celtx.

[Edit: Got the issue resolved.]
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Future plans for import from Celtx

Post 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
cbrito
Posts: 25
Joined: Wed Oct 26, 2022 11:45 am

Re: Future plans for import from Celtx

Post 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.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Future plans for import from Celtx

Post by Tony Li »

Yes, I'll fix that by tomorrow.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Future plans for import from Celtx

Post 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.
cbrito
Posts: 25
Joined: Wed Oct 26, 2022 11:45 am

Re: Future plans for import from Celtx

Post 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.
Attachments
Script DsuImportTest(10).zip
(13.43 KiB) Downloaded 30 times
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Future plans for import from Celtx

Post 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.
cbrito
Posts: 25
Joined: Wed Oct 26, 2022 11:45 am

Re: Future plans for import from Celtx

Post 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.
Attachments
sequence2.PNG
sequence2.PNG (12.05 KiB) Viewed 277 times
sequence1.PNG
sequence1.PNG (62.87 KiB) Viewed 277 times
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Future plans for import from Celtx

Post 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.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Future plans for import from Celtx

Post 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.
Post Reply