]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Bot AI: If reverse scoring is on, it's in the interest of the prey to get eaten,...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Jul 2011 20:49:02 +0000 (23:49 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Jul 2011 20:49:02 +0000 (23:49 +0300)
data/qcsrc/server/bot/havocbot/vore_ai.qc

index d28839af9dcbf896218f1e86c028ef97605773e4..6fa5945f07a8f0dfa8551f04b510e534876d1d61 100644 (file)
@@ -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)