Skip to content

Custom HUD

Caleb edited this page Nov 10, 2024 · 1 revision

Getting custom HUD graphics to work is a huge pain and everything has to go right, but it is possible. The following are some useful tips for implementation and debugging:

Notes

  • Client window needs to be 1920x1080 or custom HUD positioning will break.
  • Coordinates start from the bottom-left of the screen and increase toward the top-right.
  • You can Create, Modify, or Delete graphics elements. Once created elements will continue to exist and be shown on screen until they are deleted or the user manually clears the custom HUD.
  • Inside the client, you can "clear" the custom HUD; this will delete all custom graphic elements and means that we must re-create them (modify won't work).
  • Each graphic's "name" is a 3-byte identifier that you can use to modify or delete existing graphic elements.
  • Graphic1Message, Graphic2Message, Graphic5Message, etc. refers to how many graphic elements you are changing in a single message to the Referee System.
  • There are certain areas of the screen (e.g. the lower left corner) where custom graphics will be hidden/clipped.
Clone this wiki locally