Future plans for import from Celtx

Announcements, support questions, and discussion for the Dialogue System.
cbrito
Posts: 25
Joined: Wed Oct 26, 2022 11:45 am

Re: Future plans for import from Celtx

Post by cbrito »

Hi Tony!

Thanks for the patch, it works perfectly!

I would like to request a little change. At the moment,, only one breakdown item of each type is imported for each node. Would it be possible to import all item of the same type by adding a numeric number to the custom type to form a key?

For instance, in the example attached, it would be imported like this:

DsuItemParameter - StolenGems
DsuItemParameter1 - HealthPotion
DsuItemParameter2 - BeastClaw

This change would make things simpler for us, but it's not an important change to do. We can work around it.
Attachments
Script DsuImportTest(24).zip
(20.65 KiB) Downloaded 45 times
multiple_same_type_breakdown_item.PNG
multiple_same_type_breakdown_item.PNG (29.9 KiB) Viewed 293 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,

How would you want them ordered? In the order they appear in the JSON file?

Or would you prefer to add them all to the same field, separated by semicolons, such as:

DsuItemParameter: StolenGems; HealthPotion; BeastClaw
cbrito
Posts: 25
Joined: Wed Oct 26, 2022 11:45 am

Re: Future plans for import from Celtx

Post by cbrito »

Hi,

I don't care too much about the order, so the order they appear in the JSON file is ok.

Grouping the items seems like a better idea than mine, you can go for it.
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 concatenate multiple breakdowns of the same type in a dialogue entry into a single field separated by ';'.

DS_Celtx3Patch_2023-01-18.unitypackage
cbrito
Posts: 25
Joined: Wed Oct 26, 2022 11:45 am

Re: Future plans for import from Celtx

Post by cbrito »

Works perfectly, thanks a bunch for all the help!
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 »

Glad to help! Thanks for the feedbacks and feature suggestions.
Post Reply