I want to add a HUD element that displays my current weapon/slot like in the highlighted area in this screenshot
Help with adding a HUD element
posted in
Customization
I want to add a HUD element that displays my current weapon/slot like in the highlighted area in this screenshot
[img]http://prntscr.com/125tjkn[/img]
[img]http://prntscr.com/125tjkn[/img]
You forgot to post the screenshot.
I would also like to know how to do this!
You forgot to post the screenshot.
I would also like to know how to do this!
I would also like to know how to do this!
I'm pretty sure that most people who do this aren't adding a hud element but instead using the crosshair to do it.
Essentially, for each weapon you make a large image that has a normal crosshair in the middle and a weapon picture/name somewhere off to the bottom, and then you set that as the crosshair in the weapon script (scripts/tf_weapon_whatever.txt) for that weapon. The VTF crosshair tutorial thread walks through how to do that if you're unsure. The weapon scripts are encrypted and can be decrypted using a tool called VICE with the key E2NcUkG2.
There might also be a way to achieve this by adding a new hud element, but I can't think of one.
I'm pretty sure that most people who do this aren't adding a hud element but instead using the crosshair to do it.
Essentially, for each weapon you make a large image that has a normal crosshair in the middle and a weapon picture/name somewhere off to the bottom, and then you set that as the crosshair in the weapon script (scripts/tf_weapon_whatever.txt) for that weapon. The VTF crosshair tutorial thread walks through how to do that if you're unsure. The weapon scripts are encrypted and can be decrypted using a tool called [url=https://developer.valvesoftware.com/wiki/VICE]VICE[/url] with the key E2NcUkG2.
There might also be a way to achieve this by adding a new hud element, but I can't think of one.
Essentially, for each weapon you make a large image that has a normal crosshair in the middle and a weapon picture/name somewhere off to the bottom, and then you set that as the crosshair in the weapon script (scripts/tf_weapon_whatever.txt) for that weapon. The VTF crosshair tutorial thread walks through how to do that if you're unsure. The weapon scripts are encrypted and can be decrypted using a tool called [url=https://developer.valvesoftware.com/wiki/VICE]VICE[/url] with the key E2NcUkG2.
There might also be a way to achieve this by adding a new hud element, but I can't think of one.
Please
sign in through STEAM
to post a comment.