From: terencehill Date: Thu, 28 Jun 2018 16:13:19 +0000 (+0200) Subject: Bot AI: improve Domination bot roles X-Git-Tag: xonotic-v0.8.5~1923^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b4acf024115193e3f1d12dd0fa05650da3898b92;p=xonotic%2Fxonotic-data.pk3dir.git Bot AI: improve Domination bot roles --- diff --git a/qcsrc/common/gamemodes/gamemode/domination/domination.qc b/qcsrc/common/gamemodes/gamemode/domination/domination.qc index 7575f9464..e27a701c1 100644 --- a/qcsrc/common/gamemodes/gamemode/domination/domination.qc +++ b/qcsrc/common/gamemodes/gamemode/domination/domination.qc @@ -393,9 +393,9 @@ void havocbot_goalrating_controlpoints(entity this, float ratingscale, vector or if(it.cnt > -1) // this is just being fought navigation_routerating(this, it, ratingscale, 5000); else if(it.goalentity.cnt == 0) // unclaimed - navigation_routerating(this, it, ratingscale * 0.5, 5000); + navigation_routerating(this, it, ratingscale, 5000); else if(it.goalentity.team != this.team) // other team's point - navigation_routerating(this, it, ratingscale * 0.2, 5000); + navigation_routerating(this, it, ratingscale, 5000); }); } @@ -408,7 +408,7 @@ void havocbot_role_dom(entity this) { navigation_goalrating_start(this); havocbot_goalrating_controlpoints(this, 10000, this.origin, 15000); - havocbot_goalrating_items(this, 8000, this.origin, 8000); + havocbot_goalrating_items(this, 20000, this.origin, 8000); //havocbot_goalrating_enemyplayers(this, 1500, this.origin, 2000); havocbot_goalrating_waypoints(this, 1, this.origin, 3000); navigation_goalrating_end(this);