This is a Team Fortress 2 HUD that doesn't actually have anything to do with programming. It's for my own personal gaming.
This HUD is forked. It does not belong to me. I put it here for easy version control and being able to easily update it, while keeping local changes. The close captioning commits are for a set of close captions that a kind gamer gave to me, and does not want to release them. (They're in a separate folder.)
#ahud
ahud is a simplistic HUD for Team Fortress 2 first started by kyle and further developed by me. ahud draws inspiration from various HUDs, including, but not limited to, rayshud, yahud, and omphud.
####Features
- Custom colors
- Custom crosshairs
- 6v6 scoreboard
- Alternative styles
- Home Server button
- 16:9, 16:10, and 4:3 support
- Matchmaking and MvM support
####Screenshots
- Main Menu
- Team Select
- Class Select
- Buffed HP
- Alt. Buffed HP
- Low HP
- Alt. Low HP
- Default scoreboard
- 6v6 scoreboard
More screenshots can be found at the Imgur album.
##Installation
- Download ahud by clicking
Download ZIPon the ahud GitHub repo - Navigate to
..\Steam\steamapps\common\Team Fortress 2\tf\custom - Extract
ahud-masterfrom the ZIP file to thecustomfolder - Make sure the
materials,resource, andscriptsfolders are withinahud-master - Run Team Fortress 2
For thorough instructions on installing a HUD for TF2, check out the huds.tf guide.
##Customization
Note: It is highly recommend you download and use Notepad++ if you will be editing any HUD files for best compatibility and formatting.
In the customization folder, you'll find various folders that change the look of certain HUD elements. To use one of these custom features, simply copy the contents of the folder (resource, scripts, or sometimes both) to the root directory (default ahud-master) and replace the files when prompted.
####Custom colors
The color of various HUD elements (health and ammo numbers, damage numbers, crosshair and flash damage, etc.) can be easily changed in resource\clientscheme.res. Edit anything under CUSTOM COLORS using RGBA (e.g., 0 255 0 255 = Green and 255 255 0 255 = Yellow).
####Custom crosshairs
Navigate to scripts\hudlayout.res. Under KnucklesCrosses, change the values of visible and enabled to 1 to use the crosshairs. In the scripts folder, you'll find KnucklesCrosses.png, which shows what crosshair corresponds with which character (e.g., the normal cross crosshair is a). Find the crosshair you want to use and Use the character as a value for labelText. To change the size and add an outline, simply follow the format for the value of font (default is size:30,outline:off). The color of the crosshair is listed in resource\clientscheme.res.
Note: Not every crosshair will be perfectly centered because of different resolutions and aspect ratios. If your crosshair is not perfectly centered, experiment with changing the xpos and ypos values (and possibly the wide, and tall values as well).
####Crosshair damage flash
If using any of the custom crosshairs, the crosshair damage flash will be on by default. To change the color of the flash, navigate to resource\clientscheme.res and change the RGBA value of CrosshairDamage under CUSTOM COLORS. To disable, change the RGBA value of CrosshairDamage to the same as Crosshair.
####Home Server button
To use the Home Server button (the heart on the Main Menu) in conjunction with your favorite server, add alias JoinHomeServer "connect x.x.x.x:xxxx" in your autoexec.cfg.
##Support
I have tested ahud on my Windows PC using a 16:9 monitor primarily on resolutions 1280x720 and above. ahud works on 16:10 and 4:3 and I'll be providing support for these aspect ratios as best as I can. Unfortunately, no Mac or Linux support (However, ahud is reported to work with Linux).
Please post any bugs with ahud to the Issues page on this repository. There is also a Steam group you can join where you can ask general questions and get announcements on updates to ahud.