Game Development Community

Wow, vampire: bloodlines style damage rendering

by AndrewOsborne · in Technical Issues · 12/03/2004 (3:16 pm) · 4 replies

Hey guys, i have made a melee system and i want to have damage render above the players head as they are hit, i would also like the color of the numbers reflect their remaiing health. getting the value of the damage adn remaining health isnt so much of an issue as working out what kind of object i would be able to use to render the number the color of which could be changed with code.

any help would be appreciated.
thanks, Ashley.

#1
12/03/2004 (3:19 pm)
Take a look at the GuiShapeNameHud Control, modifying that will allow you to do what you want to I think.
#2
12/07/2004 (2:06 am)
Im working on the above pat but i need to know how to convert a float(f32) to a string(char*) do you know of a function i can call?

i know this is an easy problem to solve but it is a problem for me nonetheless.

thanks, Ashley
#3
12/07/2004 (2:17 am)
Con::getFloatArg()
#4
12/07/2004 (6:18 am)
Cheers Robert, your a legend :)