]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Color descriptional parts of the names
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 01:33:06 +0000 (04:33 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 01:33:06 +0000 (04:33 +0300)
data/qcsrc/client/shownames.qc

index fe8f768423e350e741fbf4d12cc63443cfe24694..cfadaf8b70292ba5f2abe59ace494e881b34fb34 100644 (file)
@@ -134,13 +134,13 @@ void Draw_ShowNames(entity ent)
                        if(sameteam && ent.healthvalue > 0)
                        {
                                if(ent.armorvalue)
-                                       s = strcat(s, " (", ftos(ent.healthvalue), "|", ftos(ent.armorvalue), ")");
+                                       s = strcat(s, "^7 (^1", ftos(ent.healthvalue), "^7|^2", ftos(ent.armorvalue), "^7)");
                                else
-                                       s = strcat(s, " (", ftos(ent.healthvalue), ")");
+                                       s = strcat(s, "^7 (^1", ftos(ent.healthvalue), "^7)");
 
                                // if team healing is enabled, mark the team mate as possible to heal
                                if(ent.healthvalue < teamheal_max)
-                                       s = strcat(s, " [HEAL]");
+                                       s = strcat(s, "^7 [^5HEAL^7]");
                        }
 
                        float width;