set bot_ai_aimskill_order_filter_3th 0.2 "Acceleration filter"
set bot_ai_aimskill_order_filter_4th 0.4 "Position prediction filter. Used rarely"
set bot_ai_aimskill_order_filter_5th 0.5 "Movement prediction filter. Used rarely"
+set bot_ai_timeitems 1 "allow skilled bots to run to important items a little time before respawning"
+set bot_ai_timeitems_minrespawndelay 25 "bots run to items with this minimum respawn delay before respawning"
// waypoint editor enable
set g_waypointeditor 0
float autocvar_bot_ai_thinkinterval;
bool autocvar_bot_ai_weapon_combo;
float autocvar_bot_ai_weapon_combo_threshold;
+bool autocvar_bot_ai_timeitems;
+float autocvar_bot_ai_timeitems_minrespawndelay;
string autocvar_bot_config_file;
bool autocvar_bot_god;
bool autocvar_bot_ignore_bots;
if(!it.solid)
{
+ if(!autocvar_bot_ai_timeitems)
+ continue;
if(!it.scheduledrespawntime)
continue;
- if(it.respawntime < 30 || (it.respawntimejitter && !it.itemdef.instanceOfPowerup))
+ if(it.respawntime < max(11, autocvar_bot_ai_timeitems_minrespawndelay))
+ continue;
+ if(it.respawntimejitter && !it.itemdef.instanceOfPowerup)
continue;
float t = 0;