Xonotic Forums
[SOLVED] Crosshair color hitindicator - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] Crosshair color hitindicator (/showthread.php?tid=3713)



Crosshair color hitindicator - RaptorFX - 12-01-2012

How can i change the crosshair color, so that i can see if i have hit the enemy?
I use per weapon crosshair and per weapon color for the crosshair.


RE: Crosshair color hitindicator - RaptorFX - 12-06-2012

After a little talk with Samual, I can give a little advice how to use the color system.
But I really don't understand how it works Confused
The commands are:
  1. crosshair_hitindication_color
    custom crosshair color --> hitindication color by default is red <10 -10 -10>
  2. crosshair_hitindication_per_weapon_color
    each weapon has its own crosshair color --> hitindication color by default is white <10 10 10>
The trial and error principle gave me following values:
  • <10 10 10> white
  • <-10 -10 -10> black
  • <10 -10 -10> red
  • <-10 10 -10> green
  • <-10 -10 10> blue
  • <10 10 -10> yellow
  • <-10 10 10> cyan
  • <10 10 10> magenta

hth


RE: Crosshair color hitindicator - Mr. Bougo - 12-06-2012

As far as I can tell, it depends on the color of the crosshair. The hitindication sets how the base color is shifted in RGB space I believe.