set g_monsters_typefrag 1
set g_monsters_target_range 2000
set g_monsters_target_infront 0
+set g_monsters_target_infront_range 0.3
set g_monsters_attack_range 120
set g_monsters_respawn 1
set g_monsters_respawn_delay 20
makevectors (mon.angles);
dot = normalize (player.origin - mon.origin) * v_forward;
- if(dot <= 0.3) { return false; }
+ if(dot <= autocvar_g_monsters_target_infront_range) { return false; }
}
return true; // this target is valid!
float autocvar_g_monsters_damageforcescale = 0.8;
float autocvar_g_monsters_target_range;
bool autocvar_g_monsters_target_infront;
+float autocvar_g_monsters_target_infront_range = 0.3;
float autocvar_g_monsters_attack_range;
int autocvar_g_monsters_score_kill;
int autocvar_g_monsters_score_spawned;