Skip to content

Customization

Jesse edited this page Nov 11, 2020 · 8 revisions

Note: It is highly recommend you download and use Notepad++ if you will be editing any HUD files for best compatibility and formatting.

πŸ“ customization

In the customization folder, you'll find various folders that change the look of certain HUD elements. These are:

  • Alternative chat positions
  • Alternative Medic HUDs
  • Alternative scoreboards
  • A no-box health and ammo style

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.

Note: Unfortunately, I made this years ago before finding a better way to switch between different styles without needing to replace files. It is recommend you backup any changes you made prior to replacing files, otherwise you will need to redownload the HUD if you wish to use the default style or styles.

πŸ“ resource\scheme

πŸ“„ colors.res

Custom colors

The color of various HUD elements (health and ammo numbers, damage numbers, crosshair and flash damage, etc.) can be easily changed in colors.res. Edit anything under CUSTOM COLORS using RGBA (e.g., 0 255 0 255 = Green and 255 255 0 255 = Yellow).

Crosshair damage flash

If using any of the custom crosshairs (detailed below), the crosshair damage flash will be on by default. To change the color of the flash, open colors.res and change the RGBA value of CrosshairDamage under CUSTOM COLORS. To disable, change the RGBA value of CrosshairDamage to the same as Crosshair.

πŸ“ scripts

πŸ“„ hudlayout.res

Custom crosshairs

Open hudlayout.res, find KnucklesCrosses, and 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 + 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\scheme\colors.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).

❀️ Home Server

To use the Home Server button (the heart on the Main Menu) to quickly connect to your favorite server, add alias JoinHomeServer "connect IP:port" to your autoexec.cfg.