Actor name localization

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
vire7777
Posts: 6
Joined: Thu Dec 15, 2022 4:51 am

Actor name localization

Post by vire7777 »

Hello

Little new problem
In TEMPLATES, i created under ACTOR a new field called "Name hu" and put the type to Localization (for having a name in hungarian for example)
Then in menu, i update, synchronize, apply, whatever...

Sadly, when i go to actor and click on my line, i still can t see the field for the name in hungarian
it works fine for description for example, but not for name.

Any idea ?
Thanks a lot for your time. I tried to look for other thread on this but couldn t really see one
Vivi
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor name localization

Post by Tony Li »

Hi,

I recommend having only Name, not also “Name hu”.

Instead, tick Use Display Name. Set the Display Name field. Then add a field “Display Name hu” and set its type to Localization. You can use the Dialogue Editor’s Templates tab to add the field to all actors.

At runtime, make sure to tell the Dialogue System to use the “hu” language.
vire7777
Posts: 6
Joined: Thu Dec 15, 2022 4:51 am

Re: Actor name localization

Post by vire7777 »

Same with the Display Name

I went to TEMPLATES
i added a field "Display Name hu" on localization under Display Name TEXT
Then i make MENU update, apply, sync

Then i go back to ACTOR
i click on one
i tick the box USE DISPLAY NAME
but i can see only one field Display name, not the second one
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor name localization

Post by Tony Li »

If you expand All Fields, it will be in there. To make it appear in the main section, on the Templates tab tick the field's Main checkbox.
vire7777
Posts: 6
Joined: Thu Dec 15, 2022 4:51 am

Re: Actor name localization

Post by vire7777 »

Wow you are amazing :p
It s like you created it and knew all about it :)
Thanks a lot
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor name localization

Post by Tony Li »

Happy to help!
Post Reply