set g_monsters_miniboss_healthboost 100
set g_monsters_drop_time 10
set g_monsters_ignoretraces 1
+set g_monsters_lineofsight 1
set g_monsters_owners 1
set g_monsters_teams 1
set g_monsters_score_kill 0
return false;
}
- traceline(this.origin + this.view_ofs, targ.origin, MOVE_NORMAL, this);
+ traceline(this.origin + this.view_ofs, targ.origin, MOVE_NOMONSTERS, this);
- if(trace_fraction < 1 && trace_ent != targ)
- if(!autocvar_g_monsters_ignoretraces || !trace_ent.iscreature)
+ if(trace_fraction < 1)
return false; // solid
if(autocvar_g_monsters_target_infront || (this.spawnflags & MONSTERFLAG_INFRONT))
float autocvar_g_monsters_armor_blockpercent;
float autocvar_g_monsters_healthbars;
bool autocvar_g_monsters_lineofsight = true;
-bool autocvar_g_monsters_ignoretraces = 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;