From: MirceaKitsune Date: Mon, 11 Jul 2011 20:49:02 +0000 (+0300) Subject: Bot AI: If reverse scoring is on, it's in the interest of the prey to get eaten,... X-Git-Url: http://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=commitdiff_plain;h=a98183a866b31b134a642296740df487075d9469 Bot AI: If reverse scoring is on, it's in the interest of the prey to get eaten, so don't fight back --- diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index d28839af..6fa5945f 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -196,6 +196,9 @@ void Vore_AI() // Prey bot behavior: // -------------------------------- + if(cvar("g_vore_reversescoring")) // if reverse scoring is on, it's in the interest of the prey to get eaten, so don't fight back + return; + // while being swallowed, smart bots know to keep jumping to make it harder to be caught // TODO: Don't do this if the predator is a team mate if(self.swallow_progress_prey)