Garry's Mod

Garry's Mod

TTT2 (Base) - v0.14.5b
此主题已被锁定
James Bondage 2021 年 2 月 1 日 上午 5:29
Adding role describtions to other roles in .lang files
Hey there!

After I rewrote the ULX Role Info Addon in german I asked myself if there'd be an easier way to display Role Info in TTT2.
And to my surprise there is!

TTT2 has a feature built in, showing a short role info in the bottom center right after round start.
In the lang files I found the corresponding texts.
Is it possible to adjust those files for everybody possible or do I need to create an additional addon for this.

Also is it working to add the translated names (L.detective = "Detektiv") for all the roles e.g. L.accomplice = "Komplize" or do they have a different name in game?

Cheers
< >
正在显示第 1 - 1 条,共 1 条留言
Alf21  [开发者] 2021 年 2 月 2 日 下午 10:51 
I suggest joining the discord for in depth questions. For translation examples, you can give a look in some role add-ons that already add role language files dynamically (GitHub)
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50