seta crosshair_color "0.6 0.8 1"
seta crosshair_alpha 0.8
seta crosshair_size 0.4
+seta crosshair_offset "0 0" "add an offset to crosshair position to align misaligned crosshair images. Warning: it may make the crosshair slightly more blurry. Try \"-0.5 -0.5\" with 1 pixel-wide crosshair images"
// crosshair dot settings
seta crosshair_dot 0
bool autocvar_crosshair_hittest_blur;
//float autocvar_crosshair_hittest_scale = 1.25;
bool autocvar_crosshair_hittest_showimpact;
+vector autocvar_crosshair_offset;
bool autocvar_crosshair_per_weapon;
float autocvar_crosshair_pickup;
float autocvar_crosshair_pickup_speed;
#define CROSSHAIR_DRAW(sz,wcross_name,wcross_alpha) \
CROSSHAIR_DO_BLUR(CROSSHAIR_DRAW_SINGLE,sz,wcross_name,wcross_alpha)
+ vector wcross_origin_save = wcross_origin;
+ wcross_origin += autocvar_crosshair_offset * wcross_scale;
if(time < wcross_name_changedonetime && wcross_name != wcross_name_goal_prev_prev && wcross_name_goal_prev_prev)
{
f = (wcross_name_changedonetime - time) / (wcross_name_changedonetime - wcross_name_changestarttime);
wcross_name_alpha_goal_prev = f;
CROSSHAIR_DRAW(wcross_resolution, wcross_name, wcross_alpha * f);
+ wcross_origin = wcross_origin_save;
if(autocvar_crosshair_dot)
{