I’m trying to create a custom HUD from this documentation: https://www.excessiveplus.net/documentation/client/huds
I so far I’ve used an existing config I found online and have been doing basic edits to it to try and shoehorn it into what I’m looking for. I’ve mostly been successful in that aside from one issue.
I’ve got the 3D player head model set as my health icon, as you would find it in VQ3. I’ve managed to match size and screen position for this as well. The problem comes in when the player takes damage. The 3D modeled head reacts when the player takes damage and becomes larger. In VQ3 this jump in size is up toward the center of the screen. For some reason, in my custom HUD the jump in size is directed downward to the bottom of the screen and as a result, can clip about a 3rd of the face off camera until it returns to normal size.
I think there must be an additional parameter that controls this that I’m just flat out missing documentation for. I initially suspected that the anchor flags mentioned in the doc I linked to might do something to compensate this, but regardless of the values I use… I only really succeed in moving the model around the screen. Regardless of where it shows up, it behaves the same.
rect 285 420 60 60
^ That’s what I’m working with for the head model. At this point I’m hoping someone that has better knowledge of how the stock HUD works, or more experience creating custom HUDs might be able to tell me where I’m messing this up.