Thanks to some inspiring info in the "[hlcoders] Full-screen HudElement" thread, I found the solution to the long-standing and horribly annoying HL2 bug where resizing your window caused the HUD to screw up.
I've added a "Resizing game window glitches HUD elements" along with a patch. At 2006/06/26 11:06 PM, [EMAIL PROTECTED] wrote: >So what exactly did Valve break in the hud? What files? Because HL2DM has >this same bug. > >At 2006/06/26 11:32 AM, Tony \"omega\" Sergi wrote: >>Yeah you have to put the numbers in the scheme file relative to 640x480. >> >>I use hud_reloadscheme a lot, and I've never had this problem after editing >>them before. >> >> >>-------------- >>-- omega >>Heroes of Excelsior >>http://www.heroesofexcelsior.com >>Blackened Interactive >>http://www.blackened-interactive.com >> >>> -----Original Message----- >>> From: William Ravaine [mailto:[EMAIL PROTECTED] >>> Sent: June 26, 2006 12:22 PM >>> To: hlcoders@list.valvesoftware.com >>> Subject: Re: [hlcoders] Font size glitches after hud_reloadscheme >>> >>> By editing them in 640x480, do you mean using the built-in VGUI editor to >>> position/scale controls? Because im not using this at all (i cant use it >>> to >>> edit HUD elements as it is right now). I'm changing x/y/size numbers in >>> the >>> HudLayout.res then saving and using hud_reloadscheme to see the changes >>> ingame. Maybe this is where Im wrong, but it is my understanding that the >>> x/y/size numbers Im setting in the HudLayout files are relative to a >>> 640x480 >>> virtual screen already. When I change resolution everything scales up fine >>> (panels aspect ratios are preserved) except the labels text which get >>> messed >>> up - they get much bigger than they should be. And I'd like to know why :) >> >> >>_______________________________________________ >>To unsubscribe, edit your list preferences, or view the list archives, please >>visit: >>http://list.valvesoftware.com/mailman/listinfo/hlcoders > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, please >visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders