View Single Post
sgtbane
Member
Join Date: Feb 2006
Old 01-07-2009 , 00:14   Re: [Req] Disable Health and Armor & replace with sprite
Reply With Quote #5

you could do "hud_draw 0" to eliminate the original hud on the player, then create a model that could be orientated and rotated in front of the player that displays there stats via bone controllers...
Then when you want to update it for the player simply change
Code:
pev_controller_0, pev_controller_1, pev_controller_2, pev_controller_3
to make the model display a value as you want it...

The controllers will only be able to rotate specific bones, but with some creativity you could setup a bar style method to display health, or if you print numbers around a cylinder, you could rotate it to display the appropriate number....

the only tricky part is creating the model. But thats how I would do it.
and it would look nicer then using a lot of hud messages :\

edit: o.0... he is banned...
but ive wanted to know the same thing before, so hopefully someone can find this usefull... I have successfully done what i said above. it didn't look the best, but could be improved to look somewhat decent.
__________________
[Add|Community]

~SgtBane

Last edited by sgtbane; 01-07-2009 at 21:49.
sgtbane is offline
Send a message via MSN to sgtbane