Closed EvilBlunt closed 1 year ago
Using contexts natives is a solution yes, custom UI strings can be used using UI_SET_STRING_FORMAT.
I'm currently working on xst/sst support, I can already edit most strings but a lot are also defined in .strtbl files, which I am also adding support for.
Thats good to hear, i would rather use the string table entries as i dont have to setup the strings buffers.
I got custom text working lucky I went back to messing with it.
I made a mistake while setting the string up on the buffer, I used the lowest buffer "Generic_Dbuffer10_0" on testing and was using a custom setup on UI_SET_STRING where I can use RGB colours and the first 9 characters of the string were the colours code so it never printed the string.
Is String Table editing/saving/adding new entries going to be added?
Would like to be able to add own custom text for in game prompts. From my testing a long time ago UI_SET_STRING and generic buffer didn't work. GTAIV was the same where the GXT entries were needed for in game prompts no custom text.
I would use context but that's limited to a few large button icons.