Radar HUD


I need to make a HUD that looks like the HUD from Star Wars: Battlefront 2.
I already wanted to pay people for it but nobody wants to do it, so i have to do it myself.

Does anyone knows how to do it?

Thank you!


You mean one like this?

  1. Create a HUDPaint hook in a client side file.
  2. Add some boxes inside the HUDPaint hook. You can use draw.RoundedBox or surface.DrawRect
  3. Next you’ll want to add things like changing the rectangle width based on how much health/armor a player has, but hopefully the first 2 points will help get you started.

**Edit: ** If you end up coding something and need additional help, feel free to post your code below and I’ll take a look and try to guide you in the correct direction.

I need that one aswell!
But what i need is: https://www.youtube.com/watch?v=zlxyhnuYwl4
If you can help or make it for me im willing to pay you if you want.

I made one of those awhile back. Pretty fucky math, had to use someone else’s code for calculation. More trouble than it’s worth.

It just requires a bit of polar math, nothing too wild.

yeah but i’m not good at math