How to make I2 keys have context sensitive names?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

How to make I2 keys have context sensitive names?

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

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

Post 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.
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

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

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

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

Post 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 282 times

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

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


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

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

Then the term would be:

i2None.png
i2None.png (2.78 KiB) Viewed 282 times
Post Reply