]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
A hopefully better bot balancing
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 26 Sep 2010 23:32:58 +0000 (02:32 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 26 Sep 2010 23:32:58 +0000 (02:32 +0300)
data/defaultVoretournament.cfg
data/maps/bots_campaign_voretournament_20.txt
data/qcsrc/server/bot/havocbot/vore_ai.qc

index c9f0f69120c2c9fbfdb62f9a2e89223166b48e2f..6545ed393737ab8aec9ce9af8258e367c013eb07 100644 (file)
@@ -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"\r
 set bot_ai_bunnyhop_stopdistance 220 "Stop jumping after reaching this distance to the goal"\r
 set bot_ai_bunnyhop_firstjumpdelay 0.5 "Start running to the goal only if it was seen for more than N seconds"\r
-set bot_ai_vore_decide_pred 4 "How fast bots decide what to do with their prey, at lowest skill"\r
-set bot_ai_vore_decide_prey 4 "How fast bots decide what to do with their predator, at lowest skill"\r
+set bot_ai_vore_decide_pred 1.35 "How fast bots decide what to do with their prey, at lowest skill"\r
+set bot_ai_vore_decide_prey 1.35 "How fast bots decide what to do with their predator, at lowest skill"\r
 set bot_ai_vore_decide_swallow 0.5 "How often bots decide if to swallow someone or not"\r
 set bot_ai_vore_fear 2 "How much bots will fear players more powerful than them and avoid them in some situations"\r
 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"\r
index f7d5186be74931390aa7191e00851a84ca472a52..ada811ad986bba2347d0cf00488bdfb7ea40a03f 100644 (file)
@@ -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\r
 //default team values (team-override): 1 = red, 2 = blue, 3 = yellow, 4 = pink                                                                                                                                 \r
 //use -1 for shirt-color or pants-color to get random colors           \r
-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\r
+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\r
 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\r
 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\r
 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\r
-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\r
-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\r
-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\r
+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\r
+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
index 24a72152685608c1cefb1b6f0d064dc1cc7ac9e4..dc033ba1e8580b31d88e7d180fa1c4942552368b 100644 (file)
@@ -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))