make an awesome crosshair default ;)
authorFruitieX <fruitiex@gmail.com>
Mon, 29 Nov 2010 18:51:29 +0000 (20:51 +0200)
committerFruitieX <fruitiex@gmail.com>
Mon, 29 Nov 2010 18:51:29 +0000 (20:51 +0200)
defaultXonotic.cfg
qcsrc/client/View.qc

index ee2219b..bf1d943 100644 (file)
@@ -89,14 +89,14 @@ _cl_color 102
 _cl_name Player
 _cl_playermodel models/player/umbra.iqm
 _cl_playerskin 0
-seta crosshair 3
+seta crosshair 16
 seta crosshair_color "0.6 0.8 1"
-seta crosshair_alpha 1
-seta crosshair_size 0.35
+seta crosshair_alpha 0.3
+seta crosshair_size 0.5
 seta crosshair_dot 1
 seta crosshair_dot_alpha 1
-seta crosshair_dot_size 1
-seta crosshair_dot_color 0 "when != 0, use custom color for the crosshair dot"
+seta crosshair_dot_size 0.6
+seta crosshair_dot_color "1 0 0" "when != 0, use custom color for the crosshair dot"
 seta crosshair_pickup 0.25
 seta crosshair_pickup_speed 4
 seta crosshair_per_weapon 0    "when 1, each gun will display a different crosshair"
index a3fa9c2..714b5d3 100644 (file)
@@ -1006,7 +1006,7 @@ void CSQC_UpdateView(float w, float h)
                 wcross_color_old = wcross_color;
                 if(cvar_string("crosshair_dot_color") != "0")
                     wcross_color = stov(cvar_string("crosshair_dot_color"));
-                               CROSSHAIR_DRAW(wcross_resolution * cvar("crosshair_dot_size"), "gfx/crosshairdot.tga", wcross_alpha * f * cvar("crosshair_dot_alpha"));
+                               CROSSHAIR_DRAW(wcross_resolution * cvar("crosshair_dot_size"), "gfx/crosshairdot.tga", f * cvar("crosshair_dot_alpha"));
                 wcross_color = wcross_color_old;
             }