[nexuiz-commits] r7977 - in trunk/data: . qcsrc/server/bot
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 28 11:02:50 EDT 2009
Author: div0
Date: 2009-09-28 11:02:50 -0400 (Mon, 28 Sep 2009)
New Revision: 7977
Modified:
trunk/data/bots.txt
trunk/data/qcsrc/server/bot/bot.qc
Log:
improved bot skill system with a config file now... this bot config file is mostly balanced now
Modified: trunk/data/bots.txt
===================================================================
--- trunk/data/bots.txt 2009-09-28 14:55:15 UTC (rev 7976)
+++ trunk/data/bots.txt 2009-09-28 15:02:50 UTC (rev 7977)
@@ -1,21 +1,21 @@
-//bot configuration: name model skin shirt-color pants-color team-override
-//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
-Hellfire carni 0 4 0 0
-Toxic carni 1 14 7 0
-Discovery crash 0 2 6 0
-Pegasus grunt 0 13 11 0
-Eureka headhunter 0 12 7 0
-Airhead insurrectionist 0 11 1 0
-Gator lurk 0 3 10 0
-Delirium lurk 1 8 12 0
-Death lycanthrope 0 4 11 0
-Scorcher marine 0 13 13 0
-Necrotic nexus 0 12 14 0
-Dominator nexus 1 3 9 0
-Thunderstorm nexus 2 13 6 0
-Mystery pyria 0 9 14 0
-Lion shock 0 0 4 0
-Sensible skadi 0 9 9 0
-Shadow specop 0 4 8 0
-Resurrection visitant 0 1 1 0
\ No newline at end of file
+//bot configuration: name model skin shirt pants team keyboard use moving dodging ping weapon use aggressivity range aiming calmhand mouse fightthink aithink
+//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
+Hellfire carni 0 4 0 0 0 0 -0.5 -1 1 1 -0.5 -1 -1 2 0.5 -1
+Toxic carni 1 14 7 0 -1 -1.5 -0.5 0 1 0 0 0 2 -0.5 -0.5 1
+Discovery crash 0 2 6 0 0 -1 -0.5 -0.5 1 -0.5 0.5 1.5 -0.5 -1 1 0.5
+Pegasus grunt 0 13 11 0 1 1 1 1 -1 0 0.5 0 -2 0 -1 0
+Eureka headhunter 0 12 7 0 0 0 -1.5 -0.5 -0.5 0 0 0 0 -0.5 1.5 1.5
+Airhead insurrectionist 0 11 1 0 -1 -1.5 -1 -0.5 1 1 -1 1 -0.5 1 0.5 0
+Gator lurk 0 3 10 0 0 1 0 0.5 -0.5 0.5 -0.5 -1 0 0 -0.5 0
+Delirium lurk 1 8 12 0 0 -1 -1 -1 0 2 0 1 0 2 -1 -1
+Death lycanthrope 0 4 11 0 -0.5 0 0 1 -0.5 0 1 0 0 0 0 0
+Scorcher marine 0 13 13 0 0 -1 0 -0.5 0.5 1 0 1 -2 1 0 0
+Necrotic nexus 0 12 14 0 0 0 0 1 0 -1 -0.5 -1 1 0 0 0
+Dominator nexus 1 3 9 0 0 0 0 2 -1 0 0 0 -1 0 0 0
+Thunderstorm nexus 2 13 6 0 0 0 0 -0.5 -1 1 0.5 0.5 -0.5 0 0.5 0
+Mystery pyria 0 9 14 0 1 1 1 1 -1 -1 0 1 1 -2 -1 -1
+Lion shock 0 0 4 0 1 1.5 2 -1 -1 -1 1 0 1 -0.5 -1 -1
+Sensible skadi 0 9 9 0 0 0 0.5 -1 0 -1 0 -1 2.5 -1.5 1 0.5
+Shadow specop 0 4 8 0 -0.5 2 1 0 0 -1 0 -1 0 1 -1 -0.5
+Resurrection visitant 0 1 1 0 0 -0.5 -0.5 0 2 -1 -1 -1 0 -1 1 1
Modified: trunk/data/qcsrc/server/bot/bot.qc
===================================================================
--- trunk/data/qcsrc/server/bot/bot.qc 2009-09-28 14:55:15 UTC (rev 7976)
+++ trunk/data/qcsrc/server/bot/bot.qc 2009-09-28 15:02:50 UTC (rev 7977)
@@ -170,9 +170,9 @@
#define READSKILL(f,w,r) if(argv(prio) != "") self.f = stof(argv(prio)) * (w); else self.f = (!cvar("g_campaign")) * (2 * random() - 1) * (r) * (w); ++prio
//print(bot_name, ": ping=", argv(9), "\n");
- READSKILL(havocbot_keyboardskill, 1, 0.5); // keyboards kill
+ READSKILL(havocbot_keyboardskill, 0.5, 0.5); // keyboards kill
READSKILL(bot_moveskill, 2, 0); // moves kill
- READSKILL(bot_dodgeskill, 1, 0); // dodges kill
+ READSKILL(bot_dodgeskill, 2, 0); // dodges kill
READSKILL(bot_pingskill, 0.5, 0); // pings kill
@@ -180,11 +180,11 @@
READSKILL(bot_aggresskill, 1, 0); // aggres kill
READSKILL(bot_rangepreference, 1, 0); // reads kill
- READSKILL(bot_aimskill, 1, 0); // aims kill
+ READSKILL(bot_aimskill, 2, 0); // aims kill
READSKILL(bot_offsetskill, 2, 0.5); // offsets kill
- READSKILL(bot_mouseskill, 0.5, 0.5); // mouses kill
+ READSKILL(bot_mouseskill, 1, 0.5); // mouses kill
- READSKILL(bot_thinkskill, 0.5, 0.5); // thinks kill
+ READSKILL(bot_thinkskill, 1, 0.5); // thinks kill
READSKILL(bot_aiskill, 2, 0); // "ai"s kill
self.bot_config_loaded = TRUE;
More information about the nexuiz-commits
mailing list