Page 1 of 1

How to make I2 keys have context sensitive names?

Posted: Wed Nov 10, 2021 10:32 am
by etsapekis
Right now, in I2, keys look like this:
Actor/1/Name
Actor/10/Name
and:
Conversation/1/Entry/1/Dialogue Text
Conversation/1/Entry/2/Dialogue Text
Conversation/2/Entry/2/Dialogue Text

However, I'd like it to look more like:
Actor/Bob/Name
and
Conversation/Level4Introduction/Entry/1/Dialogue Text
or perhaps even
Conversation/Level4Introduction/Entry/1
because the "/DialogueText" suffix is redundant

Is there any way I can achieve this or something similar?

Re: How to make I2 keys have context sensitive names?

Posted: Wed Nov 10, 2021 10:49 am
by Tony Li
Hi,

You can change the Assets Use dropdown to "Name" to use names (e.g., Bob) instead of IDs (e.g., 2).

You can also set Extra Entry Info if you want to include more descriptive info in each term.

The "Dialogue Text" part isn't redundant because it's possible to localize more than the Dialogue Text field. You might want to localize Menu Text, or Sequence, or even custom fields.

Re: How to make I2 keys have context sensitive names?

Posted: Thu Nov 11, 2021 12:19 am
by etsapekis
Where is this? I can't find it, however I found an option "Export Conversation Title Instead Of ID" in "Dialogue Database/Localization Export/Import". Will this work for I2?

Re: How to make I2 keys have context sensitive names?

Posted: Thu Nov 11, 2021 7:46 am
by Tony Li
Hi,

No, the Dialogue Editor's Localization Export/Import section is for the Dialogue System's built-in localization export/import feature, not for the i2 Localization integration.

Here's an example of setting Assets Use to "Name" and Extra Entry Info to "Actor":

DSToI2Name.png
DSToI2Name.png (30.31 KiB) Viewed 245 times

These settings use the conversation's title and the speaker's name in the term:

i2Name.png
i2Name.png (2.94 KiB) Viewed 245 times


If you were to instead set them to ID and None:

DSToI2None.png
DSToI2None.png (30.08 KiB) Viewed 245 times

Then the term would be:

i2None.png
i2None.png (2.78 KiB) Viewed 245 times