Wrap HUD Text?
Posted: 2010-10-14 18:22
Unfortunately 0.95 will remove the ability to use renderer.drawhud 0. I fully understand the reasons the devs decided to do this. However, I use this function solely to remove text from my screen when I'm trying to film stuff in-game. There's nothing more annoying that having a great in-game shot ruined by someone typing a paragraph in allchat.
What I'd like to do is find a way to wrap the text after a certain number of pixels/characters. Someone told me that this can be done in PR Localization files. I looked and found this:
My guess is that the <?1TEXT?0> lines are references to the compiled python files in pr/python/game but I do not know of any way to look into these without the .py versions. I don't know anything about coding etc so I don't know that I could do anything with them anyway if I could open them. Also, would modifying this cause punkbuster to kick me?
What I'd like to do is find a way to wrap the text after a certain number of pixels/characters. Someone told me that this can be done in PR Localization files. I looked and found this:
Code: Select all
HUD_TEXT_CHAT_COMMANDER <?1COMMANDER?0>
HUD_TEXT_CHAT_SAY_ALL Say All:
HUD_TEXT_CHAT_SAY_SQUAD Say Squad:
HUD_TEXT_CHAT_SAY_TEAM Say Team:
HUD_TEXT_CHAT_SQUAD <?1SQUAD?0>
HUD_TEXT_CHAT_TEAM <?1TEAM?0>