From: MirceaKitsune Date: Thu, 9 Sep 2010 16:07:26 +0000 (+0300) Subject: Comments and descriptions X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=21208f8a8b3f8749cd33a2d1a366a20330dbe8bb;p=voretournament%2Fvoretournament.git Comments and descriptions --- diff --git a/data/defaultVoretournament.cfg b/data/defaultVoretournament.cfg index c4a17bd1..47f3e679 100644 --- a/data/defaultVoretournament.cfg +++ b/data/defaultVoretournament.cfg @@ -350,9 +350,9 @@ set bot_ai_bunnyhop_stopdistance 220 "Stop jumping after reaching this distance set bot_ai_bunnyhop_firstjumpdelay 0.5 "Start running to the goal only if it was seen for more than N seconds" set bot_ai_vore_decide_pred 4 "How fast bots decide what to do with their prey, at lowest skill" set bot_ai_vore_decide_prey 4 "How fast bots decide what to do with their predator, at lowest skill" -set bot_ai_vore_decide_swallow 0.5 "How often bots try to swallow someone" +set bot_ai_vore_decide_swallow 0.5 "How often bots decide if to swallow someone or not" set bot_ai_vore_fear 2 "How much bots will fear players more powerful than them, and therefore avoid them in some situations" -set bot_ai_vore_teamhealabandon 0.75 "Probability (from 0 to 1) of the bot stopping a team heal when seeing a foe that they can vore, at highest skill" +set bot_ai_vore_teamhealabandon 0.75 "Probability (from 0 to 1) of the bot stopping a team heal when seeing an enemy they can vore, at highest skill" set bot_god 0 "god mode for bots" set bot_ai_navigation_jetpack 0 "Enable bots to navigat maps using the jetpack" set bot_ai_navigation_jetpack_mindistance 3500 "Bots will try fly to objects located farther than this distance" diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index 79291de2..89800689 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -123,7 +123,7 @@ void Vore_AI() self.BUTTON_ATCK = TRUE; // swallow self.decide_pred = time + decide_pred_time; // time before the bot decides what to do with their prey } - self.decide_swallow = time + cvar("bot_ai_vore_decide_swallow"); // this is needed to take decisions properly, otherwise the code would execute each frame and return 1 pretty soon + self.decide_swallow = time + cvar("bot_ai_vore_decide_swallow"); // this is needed to take a proper decision, otherwise the code would execute each frame and return TRUE pretty soon } // deciding what to do with a victim: