I would like to show damage in fights as numerical value instead of -=Demolish=- etc. I cant seem to find where the damage is calculated then matched with the text.
Damage shown in numbers rather than -=Demolish=- etc
Posted by Broadnax on Thu 21 Jun 2001 06:26 PM — 2 posts, 11,759 views.
This is hard-coded into the server, file const.c, like this:
char * s_generic_messages[24] =
{
"miss", "brush", "scratch", "graze", "nick", "jolt", "wound",
"injure", "hit", "jar", "thrash", "maul", "decimate", "_traumatize_",
"_devastate_", "_maim_", "_demolish_", "MUTILATE", "MASSACRE",
"PULVERIZE", "DESTROY", "* OBLITERATE *", "*** ANNIHILATE ***",
"**** SMITE ****"
};