How To Change The Hud?
Post Reply
Quote
Re: How To Change The Hud?
Posted by Unknown_Consequences on Mon Jul 2nd at 3:12am 2007


yeah i want to change my hud...

first i gotta learn how

i looked around on google and stuff and found no tutorials...

anyone know of one or know how to do it??

Any help would be apprecaited





Quote
Re: How To Change The Hud?
Posted by ReNo on Mon Jul 2nd at 4:32pm 2007


What do you mean by wanting to change the HUD? Are you making a mod, and want to change functionality (like adding a radar, or a different type of health display, or something)? Or do you just want to change the appearance of the hud while it still works in exactly the same way?

If the former, well then you've got your work cut out for you! It involves programming, and generally if it's the sort of question you have to ask, then you aren't going to be doing it for a long time yet <img src=" SRC="images/smiles/icon_smile.gif">

If the latter, well then you just need to use a program to create your hud images (most likely Photoshop, or GIMP), then turn them into the format used by the Source engine (loads of tutorials on this around - search for anything on VMT and VTF files), and then place them in the correct locations to override the default HUD images. It would also be wise to use GCFscape to extract the default HUD images and use those as a guide when creating your own.






Quote
Re: How To Change The Hud?
Posted by Unknown_Consequences on Tue Jul 3rd at 12:41am 2007


i just wanted to change the apperance of the hud

anyways i have GCFscape

for tutorials what would i search for??

and where??





Quote
Re: How To Change The Hud?
Posted by ReNo on Tue Jul 3rd at 12:33pm 2007


A good place to start reading up on VTF/VMT files (these are the file formats that are used for materials - such as those that make up the HUD - in the Source engine) is the Valve Developer Community, which is a wiki.

http://developer.valvesoftware.com/wiki/Category:Material_System

Note that these aren't tutorials that are gonna tell you directly how to edit the HUD, but they will tell you how to take an image you've created in Photoshop or GIMP or whatever, and turn it into something the Source engine can use. Once you've got your image files in the correct format you just name them the same as the HUD elements you are replacing, and put them in the correct directory structure. Or at least I imagine you do - that's how things tend to work with Valve stuff. If you later decide you wanna go back to the old, default HUD you just delete your stuff and the game will fall back to using the stuff in the GCF instead.

Something else you might wanna do is check out the custom HUDs people have posted at places like FPSBanana.

http://www.fpsbanana.com/guis

Take a look at what files are involved, where they are placed, and so on. Should give you an indication of what files you are looking to edit.







Post Reply