Hello there, I’m Knightey (obvious, isn’t it?) and I am working on a mod that adds localization to one Unity game (Limbus Company, you might heard of it).
Actually, I mostly scavenge from Chinese localization team who are the original makers of this mod, but I modified it when it comes to fonts.
The game uses lots of shaders for the fonts, which we cannot re-create in the mod because of the limited code for the mod, yet still, I wish to make our fonts as close to the original as possible.
Now to the question itself.
Is it possible to create multiple materials for TMP font, or somehow divide some of the shaders so they could be used in different situations and not all the time?
I tried using Font Weights to “divide” them but they seem to not show the chosen shaders, and that saddens me.
Or, maybe, you know some crutches that can help me with this problem?
I may bring the url of git with the code and screenshots, if needed.
Uh-huh, thank you!
But is there a way to change these presets through code? I have no access to the unity project of the game and I doubt I will have any chance to in the nearest future.
One modder tried to help me by making a bit of code that (presumably) should use original shader presets onto the font, but here’s the problem: black underlay + black text = unreadable text, and I have no idea what to code to get rid of this problem. And also now orange outline appears in most texts; from time to time it disappears, but this still makes the game look worse.