omp / tf2hud

Team Fortress 2 HUD.
63 stars 70 forks source link

MvM scoreboard numbers #88

Open Possimpible opened 10 years ago

Possimpible commented 10 years ago

Big numbers mostly above 10k in mvm scoreboard usually get cut off (example : http://i.imgur.com/VhJm2x0.png ), is there a way how could i change font for smaller? I tried adding "font" in MvMPlayerList section of MvMScoreboard.res but that didn't help. I'm using 16:9 resolution.

omp commented 10 years ago

Yes, I'm aware of this. Haven't gotten around to fixing it yet.

The recent update widened the MvM player list by 50 units. Unfortunately, the way my scoreboard is arranged, I don't have the space to do this without rearranging things a bit. I think what I'll end up doing is simply extending the scoreboard to the left by 50 units and increasing the size of the player list. The only downside of this is that it will probably break the MvM scoreboard on non-16:9 resolutions by cutting off part of the player names.

And yeah, you cannot change the font of the MvM player list. Seems to be hardcoded into the game code.

omp commented 10 years ago

Oh, if you want a temporary fix, you can reduce the xpos value of MvMPlayerList by 50, and increase the wide value by 50. It will look ugly, but at least it will display everything.

Possimpible commented 10 years ago

Tried that, but looks like it doesn't work well ( http://i.imgur.com/ovxCZxo.png ). Also, maybe this will help, I noticed on some streams, that some custom huds have changed font in that section ( I think it was garm3n, but I'm not sure), so there might be a way to change it. I looked around, but I didn't find solution how to change that font myself, but maybe it will help you.

omp commented 10 years ago

Hmm, to my knowledge, the width of those sections is not customisable. I reckon it's a problem with the game in general. Do you also experiencing the numbers cutting off when you use the default HUD?

omp commented 10 years ago

And to elaborate on the font issue, I believe there is no way to tell the player list element in particular to use a different font. It's certainly possible to edit clientscheme.res and modify it so the font name (whatever it happens to be called) corresponds to a different font, but that would have the side effect of changing it in more places than just the MvM player list.

Possimpible commented 10 years ago

Looks like I happens to me on default hud as well, I should've checked that before, sorry. I'll try to shoot valve email about this issue, maybe they'll try to fix that. If you happen to know which font in clientscheme controls this let me know, I don't like default tf2 that much anyway.

omp commented 10 years ago

I am not sure which font definition it would be. I would assume it is one of the ones starting with "HudFont". You'd have to experiment until you find the right one.

DrHeinz commented 10 years ago

Bump.

TF2 updated the scoreboards...

Small fix needed.

omp commented 10 years ago

Unfortunately the latest TF2 update widened the MvM scoreboard to the point where it will no longer fit there, necessitating some significant changes to the positioning

I'm going to hold off on fixing this until I figure out how I want to do it.

kyzumi commented 10 years ago

So what is the situation regarding this issue? In case you can't/won't fix it, how would I go about replacing it with another hud's or the default MvM hud? I tried replacing the MvMScoreboard.res but it didn't quite work.

HxxxxxS commented 10 years ago

I have a hack for the scoreboard actually. I'll submit it when I get home later today.

2014-09-11 4:11 GMT+02:00 kyzumi notifications@github.com:

So what is the situation regarding this issue? In case you can't/won't fix it, how would I go about replacing it with another hud's or the default MvM hud? I tried replacing the MvMScoreboard.res but it didn't quite work.

— Reply to this email directly or view it on GitHub https://github.com/omp/tf2hud/issues/88#issuecomment-55210709.

kyzumi commented 10 years ago

Thank you. Where will it be available?

HxxxxxS commented 10 years ago

100 Fixes it. @omp, you could take a look and see if you'll pull it to the repo, if not others can download the mvmscoreboard.res from my branch and put it in their local hud

omp commented 10 years ago

Merged #100. Thanks Hans.

kyzumi commented 10 years ago

Ok, I can see the full text now, thank you. However, I got into another small problem. Here is a screen: http://cloud-4.steampowered.com/ugc/41978886725865236/A68A924326C04EEE3A61594CE4F0AA8AE505AD60/ I understand I was in a server with more than 6 players but I did try other servers and I still got that overlay on the bottom. Also, how could I change the scoreboard font to the same as the "currency" on the bottom?