ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
634 stars 74 forks source link

[TF2] Feature Request: Update center-print text font to use TF2 font (fix included) #5590

Open rabscootle opened 5 months ago

rabscootle commented 5 months ago

Hello!

The game currently uses Trebuchet24 when displaying various in-game messages, which some players may find jarring when compared with other HUD elements. image image image

As more community maps use this feature through Vscript, I was wondering if there was any chance that the font could be updated to use one of the TF2 stylized fonts included in the client. This can be done by updating the resource/sourceschemebase.res file (located in platform/platform_misc_000 vpk) so that the Trebuchet24 font instead uses another font (TF2 Secondary shown below):

image image image

I'm not sure if this is allowed on the Source 1 GitHub (and will remove if necessary), but I have performed these changes on my end and have uploaded an amended copy of the file to the Steam Workshop for the TF2 Team's consideration: https://steamcommunity.com/sharedfiles/filedetails/?id=2960307167

Thanks!

worMatty commented 5 months ago

Whilst we're on the subject of the center text, does it scale properly with the viewport, like HUD text does? If not it might be worth investigating that at the same time.

Tiagoquix commented 4 months ago

Does this fix also apply to the Linux version of the game?