From: terencehill Date: Thu, 28 Jun 2018 14:18:50 +0000 (+0200) Subject: Bot AI: improve Assault bot roles X-Git-Tag: xonotic-v0.8.5~1923^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=074847966661550368c14e46038e6c230c9efe63;p=xonotic%2Fxonotic-data.pk3dir.git Bot AI: improve Assault bot roles --- 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);