Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
cidfr

Localized units name in lobby

Recommended Posts

Hello,

 

Considering the BIKI, I can localize any text fields in the editor :

 

Quote

In markers and other Eden Editor fields (e.g Mission Name), translation keys should be prefixed with @, without any quotes around - e.g @STR_myMarkerName. Casing does not matter here.

 

And considering SPOTRED #00042 :

 

Quote

Tweaked: Lobby display names of units are now localized

 

So, I used a localized role description for my units, such as :

 

Spoiler

1vbPEHP.jpeg

 

And then, when launching the mission in the editor :

 

Spoiler

DkiUTZD.jpeg

 

So far, so good.

 

Now, when using the mission on a dedicated server, the default name appears in the lobby :

 

Spoiler

2vhaN9S.jpeg

 

If I select any unit,  join the game, then come back  to the lobby, the expected localized name is now available.

 

I suppose that since the clients haven't yet loaded the mission file, the StringTable.xml file isn't yet parsed and then the engine uses the class display name as fallback.

 

Am I doing things wrong or is this a bug feature ?

Or perhaps I have misinterpreted the spotrep and the localized units name was just a translation for 

configfile >> "CfgVehicles" >> _unitClass >> "displayName"

Here is a PBO file to reproduce

 

Thanks

Share this post


Link to post
Share on other sites

×