From: MirceaKitsune Date: Sun, 26 Sep 2010 23:32:58 +0000 (+0300) Subject: A hopefully better bot balancing X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d7cf4704694bbe86f9c7ef76d0fc68c4cae9557d;p=voretournament%2Fvoretournament.git A hopefully better bot balancing --- diff --git a/data/defaultVoretournament.cfg b/data/defaultVoretournament.cfg index c9f0f691..6545ed39 100644 --- a/data/defaultVoretournament.cfg +++ b/data/defaultVoretournament.cfg @@ -353,8 +353,8 @@ set bot_ai_bunnyhop_skilloffset 7 "Bots with skill equal or greater than this va set bot_ai_bunnyhop_startdistance 250 "Run to goals located further than this distance" set bot_ai_bunnyhop_stopdistance 220 "Stop jumping after reaching this distance to the goal" 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_pred 1.35 "How fast bots decide what to do with their prey, at lowest skill" +set bot_ai_vore_decide_prey 1.35 "How fast bots decide what to do with their predator, at lowest skill" 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 avoid them in some situations" set bot_ai_vore_teamhealabandon 0.75 "Probability (from 0 to 1) of the bot abandoning a team heal when seeing an enemy they can vore, at highest skill" diff --git a/data/maps/bots_campaign_voretournament_20.txt b/data/maps/bots_campaign_voretournament_20.txt index f7d5186b..ada811ad 100644 --- a/data/maps/bots_campaign_voretournament_20.txt +++ b/data/maps/bots_campaign_voretournament_20.txt @@ -1,10 +1,10 @@ //bot configuration: name model skin shirt pants team keyboard use moving dodging ping weapon use aggressivity range aiming calmhand mouse fightthink aithink vore predskill preyskill fear teamheal //default team values (team-override): 1 = red, 2 = blue, 3 = yellow, 4 = pink //use -1 for shirt-color or pants-color to get random colors -Destroyer vixen.zym 1 4 4 1 1 1 1 1.75 0.5 -0.5 0 -0.5 1.5 0.5 0.5 0.5 4 4 0.25 0.25 +Destroyer vixen.zym 1 4 4 1 1 1 1 1.75 0.5 -0.5 0 -0.5 1.5 0.5 0.5 0.5 3 3 0.25 0.25 Nightmare guard 2 vixen.zym 1 4 4 1 0 0 0 1 0 -1 -0.5 -1 1 0 0 0 1.65 1.5 1 1 Nightmare guard 3 vixen.zym 1 4 4 1 -0.5 2 1 0 0 -1 0 -1 0 1 -1 -0.5 1.65 1.5 1.5 1.15 Nightmare guard 4 vixen.zym 1 4 4 1 -0.5 2 1.25 0 0 -1 0 -0.5 0 1 -1 -0.75 1.5 1.65 1.5 1.15 -Silver's spirit vixen.zym 1 6 5 2 1 1.5 2 -1 -1 -1 1 0 1 -0.5 -1 -1 4.25 4 1 1 -Mystic's spirit vixen.zym 0 11 4 2 0 0 0 -0.5 -1 1 0.5 0.5 -0.5 0 0.5 0 4 4.5 1.25 0.5 -Snack's spirit vixen.zym 1 -1 -1 2 0 0 -1.5 -0.5 -0.5 0 0 0 0 -0.5 1.5 1.5 4.75 4.75 1 1.25 \ No newline at end of file +Silver's spirit vixen.zym 1 6 5 2 1 1.5 2 -1 -1 -1 1 0 1 -0.5 -1 -1 3.25 3 1 1 +Mystic's spirit vixen.zym 0 11 4 2 0 0 0 -0.5 -1 1 0.5 0.5 -0.5 0 0.5 0 3 3.5 1.25 0.5 +Snack's spirit vixen.zym 1 -1 -1 2 0 0 -1.5 -0.5 -0.5 0 0 0 0 -0.5 1.5 1.5 3.75 3.75 1 1.25 \ No newline at end of file diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index 24a72152..dc033ba1 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -117,8 +117,8 @@ void Vore_AI() randomtry_pred /= cvar("bot_ai_vore_fear") * self.bot_vorefear; if(prey.items & IT_INVINCIBLE) // avoid eating bots that have the Invincible powerup randomtry_pred /= cvar("bot_ai_vore_fear") * self.bot_vorefear; - decide_pred_time = cvar("bot_ai_vore_decide_pred") / (skill * 2 + 1) / self.bot_vorethinkpred; - decide_prey_time = cvar("bot_ai_vore_decide_prey") / (skill * 2 + 1) / self.bot_vorethinkprey; + decide_pred_time = cvar("bot_ai_vore_decide_pred") / skill / self.bot_vorethinkpred; + decide_prey_time = cvar("bot_ai_vore_decide_prey") / skill / self.bot_vorethinkprey; if(time > self.decide_swallow) if(Swallow_condition_check_bot(prey))