]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
give the weapon sprites colors
authorRudolf Polzer <divverent@xonotic.org>
Wed, 27 Jul 2011 18:49:15 +0000 (20:49 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 27 Jul 2011 18:49:15 +0000 (20:49 +0200)
qcsrc/client/waypointsprites.qc

index 9e5b199882e4e1662fc123529d40f64a8403f9c8..df3fafd05f7cef40b57195f1081793a1961f7859 100644 (file)
@@ -228,6 +228,22 @@ vector spritelookupcolor(string s, vector def)
        switch(s)
        {
                case "keycarrier-friend": return '0 1 0';
+               case "wpn-laser":         return '1 0.5 0.5';
+               case "wpn-shotgun":       return '0.5 0.25 0';
+               case "wpn-uzi":           return '1 1 0';
+               case "wpn-gl":            return '1 0 0';
+               case "wpn-electro":       return '0 0.5 1';
+               case "wpn-crylink":       return '1 0.5 1';
+               case "wpn-nex":           return '0.5 1 1';
+               case "wpn-hagar":         return '1 1 0.5';
+               case "wpn-rl":            return '1 1 0';
+               case "wpn-porto":         return '0.5 0.5 0.5';
+               case "wpn-minstanex":     return '0.5 1 1';
+               case "wpn-hookgun":       return '0 0.5 0';
+               case "wpn-fireball":      return '1 0.5 0';
+               case "wpn-hlac":          return '0 1 0';
+               case "wpn-rifle":         return '0.5 1 0';
+               case "wpn-minelayer":     return '0.75 1 0';
                default:                  return def;
        }
 }