Page MenuHomeFeedback Tracker

Mission Header field Author misformats regular strings
Closed, DuplicatePublic

Description

If I use strings instead of localisation strings in the "Author" field of the SCR_MissionHeader config file then this results in in a suffix #AR-AuthorLoadingScreen. If, for example, my name is "y0014984" and I put that in the author field then I can read "#AR-AuthorLoadingScreeny0014984" in the mission loading screen.

The root cause seems to be line 97 in SCR_LoadingScreenComponent.c

m_Widgets.m_wAuthor.SetTextFormat(AUTHOR_FORMAT + header.m_sAuthor);

I think it should be like this:

m_Widgets.m_wAuthor.SetTextFormat(header.m_sAuthor);

If I use localisation strings instead of regular strings this issue does not appear.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Operating System Version
10.0.22621 Build 22621
Category
General
Steps To Reproduce

Create a SCR_MissionHeader config and use a regular string instead of a localised string.
Start your mission and check the loading screen.

I tested this in the experimental branch (1.0.0.29) but I think it happens in stable too. Haven't tested it.

Event Timeline

y0014984 created this task.Oct 26 2023, 5:40 PM
y0014984 updated the task description. (Show Details)