_cl_name "Player"\r
_cl_playermodel models/player/vixen.zym\r
_cl_playerskin 0\r
-crosshair 13\r
+seta crosshair 13\r
+seta crosshair_primary 14\r
+seta crosshair_secondary 15\r
seta crosshair_color "1 1 0.5"\r
seta crosshair_alpha 1\r
seta crosshair_size 0.35\r
else if(swallow_indicator < 0)\r
wcross_style = "_canswallow_no.tga";\r
else\r
- wcross_style = cvar_string("crosshair");\r
+ {\r
+ // normal crosshair, based on what weapon we have and what firing type we can use\r
+ if(!activeweapon)\r
+ wcross_style = cvar_string("crosshair");\r
+ else if(getstati(STAT_CROSSHAIR_STYLE))\r
+ wcross_style = cvar_string("crosshair_secondary");\r
+ else\r
+ wcross_style = cvar_string("crosshair_primary");\r
+ }\r
\r
if (wcross_style != "0") {\r
vector wcross_color, wcross_size;\r
W_SetupShot (self, TRUE, 0, "", 0); // do this to update w_shotorg\r
WarpZone_traceline_antilag(self, w_shotorg, w_shotorg + w_shotdir * cvar("g_balance_grabber_secondary_radius"), FALSE, self, ANTILAG_LATENCY(self));\r
if(trace_fraction < 1)\r
- dprint("!!!!!!!!!!!!!!!!!!!!!!!\n");\r
+ self.stat_crosshair_style = 1;\r
else\r
- dprint("#######################\n");\r
+ self.stat_crosshair_style = 0;\r
\r
grabbered_fuel = cvar("g_balance_grabber_primary_grabbered_fuel");\r
// forced reload\r