Page MenuHomeFeedback Tracker

Custom radio channels label localization
Closed, ResolvedPublic

Description

There is no way to localize custom radio channel labels right now. radioChannelSetLabel is global and you can't set a localized string on each client separately, the string itself is not getting localized by the engine either.

Details

Severity
Tweak
Resolution
Fixed
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Run an empty MP mission with a player
  2. Execute: radioChannelCreate [[1, 0, 0, 1], "$STR_CFG_papabear", "%UNIT_NAME", [player]];
  3. Switch channels and observe that label is not localized
Additional Information

Proposed ways to fix:

  1. Have the game check if custom channel label is localizable (starts with $ or STR_) and localize it
  2. Make local version of radioChannelSetLabel command, this will also open possibility of having same channel to be named differently depending on the gameplay (like unknown channel name, until its is revealed by game logic). Either by alternative syntax or by new radioChannelSetLabelLocal command name. Personally I have no need for this and would be satisfied with solution 1.

Event Timeline

SaMatra created this task.Aug 31 2022, 8:29 AM
SaMatra updated the task description. (Show Details)Aug 31 2022, 9:23 AM
BIS_fnc_KK added a comment.EditedAug 31 2022, 11:59 AM

rev 149876

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Aug 31 2022, 11:59 AM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

Did some short tests, works great so far, no issues in MP with JIP players.

Tenshi closed this task as Resolved.Jan 5 2023, 10:04 AM
Tenshi changed Resolution from Open to Fixed.