set g_monsters_miniboss_chance 5
set g_monsters_miniboss_healthboost 100
set g_monsters_drop_time 10
+set g_monsters_ignoretraces 1
set g_monsters_owners 1
set g_monsters_teams 1
set g_monsters_score_kill 0
traceline(this.origin + this.view_ofs, targ.origin, 0, this);
- if((trace_fraction < 1) && (trace_ent != targ))
+ if((trace_fraction < 1) && (trace_ent != targ && !autocvar_g_monsters_ignoretraces))
return false;
if(autocvar_g_monsters_target_infront || (this.spawnflags & MONSTERFLAG_INFRONT))
bool autocvar_g_monsters_respawn;
float autocvar_g_monsters_armor_blockpercent;
float autocvar_g_monsters_healthbars;
-float autocvar_g_monsters_lineofsight;
+bool autocvar_g_monsters_lineofsight = true;
+bool autocvar_g_monsters_ignoretraces = true;
#define autocvar_g_bloodloss cvar("g_bloodloss")
bool autocvar_g_nades;
bool autocvar_g_nades_override_dropweapon = true;