// Misc
set g_monsters 1 "Enable monsters (master switch)"
+set g_monsters_think_delay 0.05 "Delay between monster think frames"
set g_monsters_skill 1 "Monster skill (affecting some of their attributes). 1 - easy, 2 - medium, 3 - hard, 4 - insane, 5 - nightmare"
set g_monsters_miniboss_chance 5
set g_monsters_miniboss_healthboost 100
float autocvar_g_td_barricade_damage;
float autocvar_g_za_monster_count;
float autocvar_g_monsters;
+float autocvar_g_monsters_think_delay;
float autocvar_g_monsters_max;
float autocvar_g_monsters_max_perplayer;
float autocvar_g_monsters_giants_only;
self.view_ofs = '0 0 1' * self.maxs_z;
if not(self.ticrate)
- self.ticrate = 0.05;
+ self.ticrate = autocvar_g_monsters_think_delay;
+
+ self.ticrate = bound(sys_frametime, self.ticrate, 60);
if not(self.armorvalue)
self.armorvalue = 1; // multiplier