InsultingPros / KF2HUD

KF 2 HUD for Scrn Balance
4 stars 2 forks source link

Cyrillic support #8

Open ivanmagadan opened 1 year ago

ivanmagadan commented 1 year ago

Please add Cyrillic support. The text currently appears as ~~~

Shtoyan commented 1 year ago

There is already localization support. But I've never tested how complete it is, and that's why I don't include int files into releases.

If you want, you can check yourself.

[KF2DamageMessage]
HPString="HP"
MessageShowTime=4.000000

[KF2HUD]
HudStyles=("Classic HUD, old icons","Classic HUD, new icons","Cool HUD (center)","Cool HUD (left)","KF2 HUD")
BarStyles=("Classic Bars","Modern Bars","Modern Extended","Cool Bars","KF2 Bars")

[KF2KillMessage]
KillString="kill"
KillsString="kills"
MessageShowTime=4.000000

[KF2KillMessageClassic]
KillString="kill"
KillsString="kills"
MessageShowTime=4.000000

[mut]
FriendlyName="KF2HUD"
Description="KF2 HUD."
ivanmagadan commented 1 year ago

The font that is present in the mutator does not contain the Cyrillic alphabet. image

Shtoyan commented 1 year ago

I'm not motivated to work on this mod at the moment, but I'm ready to accept pull requests that resolve this issue.

ivanmagadan commented 1 year ago

It's a pity. I myself tried to add Cyrillic letters to the texture with the font, but the mutator gives an error during compilation. It turned out that changing the font is not so easy for me.

HekuT commented 1 year ago

Yes. Many players complain that Russian is not supported.

Shtoyan commented 1 year ago

I myself tried to add Cyrillic letters to the texture with the font, but the mutator gives an error during compilation. It turned out that changing the font is not so easy for me.

Check this guide. Or try to use original texture from KF2.

HekuT commented 11 months ago

It's a pity. I myself tried to add Cyrillic letters to the texture with the font, but the mutator gives an error during compilation. It turned out that changing the font is not so easy for me.

Myself and my comrade were able to fix the problem with the Cyrillic alphabet. But here's the thing. The font is different. If you need it, let me know.

ivanmagadan commented 11 months ago

Myself and my comrade were able to fix the problem with the Cyrillic alphabet. But here's the thing. The font is different. If you need it, let me know.

It's a shame you couldn't add the original kf2 font (TeXGyreAdventor), but it would be great if you could share what you came up with :)