From 074847966661550368c14e46038e6c230c9efe63 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 28 Jun 2018 16:18:50 +0200 Subject: [PATCH] Bot AI: improve Assault bot roles --- qcsrc/common/gamemodes/gamemode/assault/assault.qc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/gamemodes/gamemode/assault/assault.qc b/qcsrc/common/gamemodes/gamemode/assault/assault.qc index cee250cca..6d119799a 100644 --- a/qcsrc/common/gamemodes/gamemode/assault/assault.qc +++ b/qcsrc/common/gamemodes/gamemode/assault/assault.qc @@ -489,10 +489,11 @@ void havocbot_role_ast_offense(entity this) if (navigation_goalrating_timeout(this)) { + // role: offense navigation_goalrating_start(this); havocbot_goalrating_enemyplayers(this, 10000, this.origin, 650); havocbot_goalrating_ast_targets(this, 20000); - havocbot_goalrating_items(this, 15000, this.origin, 10000); + havocbot_goalrating_items(this, 30000, this.origin, 10000); navigation_goalrating_end(this); navigation_goalrating_timeout_set(this); @@ -523,10 +524,11 @@ void havocbot_role_ast_defense(entity this) if (navigation_goalrating_timeout(this)) { + // role: defense navigation_goalrating_start(this); havocbot_goalrating_enemyplayers(this, 10000, this.origin, 3000); havocbot_goalrating_ast_targets(this, 20000); - havocbot_goalrating_items(this, 15000, this.origin, 10000); + havocbot_goalrating_items(this, 30000, this.origin, 10000); navigation_goalrating_end(this); navigation_goalrating_timeout_set(this); -- 2.39.2