seta crosshair_ring_size 3\r
seta crosshair_swallowindicator 1\r
seta crosshair_swallowindicator_size 4\r
+seta crosshair_swallowindicator_color_red 1\r
+seta crosshair_swallowindicator_color_green 1\r
+seta crosshair_swallowindicator_color_blue 1\r
seta crosshair_effect_speed 0.25 "how fast (in seconds) some crosshair effects should take place, 0 = instant, -1 = 2x weapon switch time"\r
seta crosshair_effect_scalefade 1 "use scaling and fading for crosshair effects"\r
seta crosshair_hittest 1.25 "do a crosshair hit evaluation; also, the crosshair is scaled by the given number when aiming at an enemy, and blurred when aiming at a team mate"\r
string wcross_name;\r
float wcross_alpha, wcross_scale, wcross_blur, wcross_resolution;\r
\r
- wcross_color_x = cvar("crosshair_color_red");\r
- wcross_color_y = cvar("crosshair_color_green");\r
- wcross_color_z = cvar("crosshair_color_blue");\r
+ if(swallow_indicator)\r
+ {\r
+ wcross_color_x = cvar("crosshair_swallowindicator_color_red");\r
+ wcross_color_y = cvar("crosshair_swallowindicator_color_green");\r
+ wcross_color_z = cvar("crosshair_swallowindicator_color_blue");\r
+ }\r
+ else\r
+ {\r
+ wcross_color_x = cvar("crosshair_color_red");\r
+ wcross_color_y = cvar("crosshair_color_green");\r
+ wcross_color_z = cvar("crosshair_color_blue");\r
+ }\r
wcross_alpha = cvar("crosshair_color_alpha");\r
wcross_resolution = cvar("crosshair_size");\r
\r