]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Move bot configuration to its own cfg file
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 21:03:59 +0000 (00:03 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 21:03:59 +0000 (00:03 +0300)
data/bots.cfg [new file with mode: 0644]
data/defaultVoretournament.cfg

diff --git a/data/bots.cfg b/data/bots.cfg
new file mode 100644 (file)
index 0000000..a83b198
--- /dev/null
@@ -0,0 +1,68 @@
+seta bot_config_file bots.txt "Name and path of the bot configuration file"\r
+seta bot_number 0      "Minimum number of bots"\r
+seta bot_usemodelnames 0       "Use player model names for bot names"\r
+set bot_nofire 0       "When set, bots never fire. Mainly for testing in g_waypointeditor mode"\r
+set bot_god 0  "When set, all bots are god mode (take no damage)"\r
+seta bot_prefix ^8[BOT]^7      "Prefix in front of the bot names"\r
+seta bot_suffix ""     "Suffix behind the bot names"\r
+seta skill_auto 0      "when 1, \"skill\" gets adjusted to match the best player on the map"\r
+\r
+set bot_navigation_ignoreplayers 0 // FIXME remove this once the issue is solved\r
+set bot_sound_monopoly 0 "when enabled, only bots can make any noise"\r
+set bot_ignore_bots 0  "When set, bots don't shoot at other bots"\r
+set bot_join_empty 0   "When set, bots also play if no player has joined the server"\r
+set bot_vs_human 0     "Bots and humans play in different teams when set. positive values to make an all-bot blue team, set to negative values to make an all-bot red team, the absolute value is the ratio bots vs humans (1 for equal count)"\r
+\r
+// general bot AI cvars\r
+set bot_ai_thinkinterval 0.05\r
+set bot_ai_strategyinterval 3 "How often a new objective is chosen"\r
+set bot_ai_enemydetectioninterval 0.5 "How often bots pick a new target"\r
+set bot_ai_enemydetectionradius 10000 "How far bots can see enemies"\r
+set bot_ai_dodgeupdateinterval 0.1 "How often scan for items to dodge. Currently not in use."\r
+set bot_ai_chooseweaponinterval 0.3 "How often the best weapon according to the situation will be chosen"\r
+set bot_ai_dangerdetectioninterval 0.1 "How often scan for waypoints with dangers near"\r
+set bot_ai_dangerdetectionupdates 64 "How many waypoints will be considered for danger detection"\r
+set bot_ai_aimskill_blendrate 2        "How much correction will be applied to the aiming angle"\r
+set bot_ai_aimskill_fixedrate 15\r
+set bot_ai_aimskill_firetolerance_distdegrees 180\r
+set bot_ai_aimskill_firetolerance_mindegrees 2 "Minimum angle tolerance. Used on large distances"\r
+set bot_ai_aimskill_firetolerance_maxdegrees 60 "Maximum firing angle. Used on close range"\r
+set bot_ai_aimskill_mouse 1 "How much of the aiming filters are applied"\r
+set bot_ai_keyboard_distance 250 "Keyboard emulation is disabled after this distance to the goal"\r
+set bot_ai_keyboard_treshold 0.57\r
+set bot_ai_aimskill_offset 0.3 "Amount of error induced to the bots aim"\r
+set bot_ai_aimskill_think 1 "Aiming velocity. Use values below 1 for slower aiming"\r
+set bot_ai_custom_weapon_priority_distances "300 850"  "Define close and far distances in any order. Based on the distance to the enemy bots will choose different weapons"\r
+set bot_ai_custom_weapon_priority_far   "hook"\r
+set bot_ai_custom_weapon_priority_mid   "hook"\r
+set bot_ai_custom_weapon_priority_close "hook"\r
+set bot_ai_weapon_combo 1      "Enable bots to do weapon combos"\r
+set bot_ai_weapon_combo_threshold 0.3  "Try to make a combo N seconds after the last attack"\r
+set bot_ai_friends_aware_pickup_radius "500"   "Bots will not pickup items if a team mate is this distance near the item"\r
+set bot_ai_ignoregoal_timeout 3        "Ignore goals making bots to get stuck in front of a wall for N seconds"\r
+set bot_ai_bunnyhop_skilloffset 7      "Bots with skill equal or greater than this value will perform the  \"bunnyhop\" technique"\r
+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 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.2 "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
+set bot_ai_vore_stayinstomach 0 "When enabled, a bot will stay in a team mate's stomach even if he has no reason to and could willingly leave"\r
+set bot_ai_vore_keepinstomach 0 "When enabled, a bot will keep a team mate in his stomach even if he has no reason to and could regurgitate him"\r
+set bot_god 0 "god mode for bots"\r
+set bot_ai_navigation_jetpack 0 "Enable bots to navigat maps using the jetpack"\r
+set bot_ai_navigation_jetpack_mindistance 3500 "Bots will try fly to objects located farther than this distance"\r
+// Better don't touch these, there are hard to tweak!\r
+set bot_ai_aimskill_order_mix_1st 0.01 "Amount of the 1st filter output to apply to the aiming angle"\r
+set bot_ai_aimskill_order_mix_2nd 0.1 "Amount of the 1st filter output to apply to the aiming angle"\r
+set bot_ai_aimskill_order_mix_3th 0.01 "Amount of the 1st filter output to apply to the aiming angle"\r
+set bot_ai_aimskill_order_mix_4th 0.05 "Amount of the 1st filter output to apply to the aiming angle"\r
+set bot_ai_aimskill_order_mix_5th 0.01 "Amount of the 1st filter output to apply to the aiming angle"\r
+set bot_ai_aimskill_order_filter_1st 0.4 "Position filter"v\r
+set bot_ai_aimskill_order_filter_1st 0.4 "Position filter"\r
+set bot_ai_aimskill_order_filter_2nd 0.4 "Movement filter"\r
+set bot_ai_aimskill_order_filter_3th 0.2 "Acceleration filter"\r
+set bot_ai_aimskill_order_filter_4th 0.4 "Position prediction filter. Used rarely"\r
+set bot_ai_aimskill_order_filter_5th 0.5 "Movement prediction filter. Used rarely"
\ No newline at end of file
index 0b85716fecd779ed067337686bae77d7305f6403..3c07c5a96a16f172f2301302bbfd648a8fabcb55 100644 (file)
@@ -316,72 +316,10 @@ cl_movement_waterfriction $sv_waterfriction
 seta cl_autoswitch 1 "automatically switch to newly picked up weapons if they are better than what you are carrying"\r
 alias autoswitch "set cl_autoswitch $1 ; cmd autoswitch $1"\r
 \r
-seta bot_config_file bots.txt "Name and path of the bot configuration file"\r
-seta bot_number 0      "Minimum number of bots"\r
-seta bot_usemodelnames 0       "Use player model names for bot names"\r
-set bot_nofire 0       "When set, bots never fire. Mainly for testing in g_waypointeditor mode"\r
-seta bot_prefix ^8[BOT]^7      "Prefix in front of the bot names"\r
-seta bot_suffix ""     "Suffix behind the bot names"\r
-seta skill_auto 0      "when 1, \"skill\" gets adjusted to match the best player on the map"\r
-// general bot AI cvars\r
-set bot_ai_thinkinterval 0.05\r
-set bot_ai_strategyinterval 3 "How often a new objective is chosen"\r
-set bot_ai_enemydetectioninterval 0.5 "How often bots pick a new target"\r
-set bot_ai_enemydetectionradius 10000 "How far bots can see enemies"\r
-set bot_ai_dodgeupdateinterval 0.1 "How often scan for items to dodge. Currently not in use."\r
-set bot_ai_chooseweaponinterval 0.3 "How often the best weapon according to the situation will be chosen"\r
-set bot_ai_dangerdetectioninterval 0.1 "How often scan for waypoints with dangers near"\r
-set bot_ai_dangerdetectionupdates 64 "How many waypoints will be considered for danger detection"\r
-set bot_ai_aimskill_blendrate 2        "How much correction will be applied to the aiming angle"\r
-set bot_ai_aimskill_fixedrate 15\r
-set bot_ai_aimskill_firetolerance_distdegrees 180\r
-set bot_ai_aimskill_firetolerance_mindegrees 2 "Minimum angle tolerance. Used on large distances"\r
-set bot_ai_aimskill_firetolerance_maxdegrees 60 "Maximum firing angle. Used on close range"\r
-set bot_ai_aimskill_mouse 1 "How much of the aiming filters are applied"\r
-set bot_ai_keyboard_distance 250 "Keyboard emulation is disabled after this distance to the goal"\r
-set bot_ai_keyboard_treshold 0.57\r
-set bot_ai_aimskill_offset 0.3 "Amount of error induced to the bots aim"\r
-set bot_ai_aimskill_think 1 "Aiming velocity. Use values below 1 for slower aiming"\r
-set bot_ai_custom_weapon_priority_distances "300 850"  "Define close and far distances in any order. Based on the distance to the enemy bots will choose different weapons"\r
-set bot_ai_custom_weapon_priority_far   "hook"\r
-set bot_ai_custom_weapon_priority_mid   "hook"\r
-set bot_ai_custom_weapon_priority_close "hook"\r
-set bot_ai_weapon_combo 1      "Enable bots to do weapon combos"\r
-set bot_ai_weapon_combo_threshold 0.3  "Try to make a combo N seconds after the last attack"\r
-set bot_ai_friends_aware_pickup_radius "500"   "Bots will not pickup items if a team mate is this distance near the item"\r
-set bot_ai_ignoregoal_timeout 3        "Ignore goals making bots to get stuck in front of a wall for N seconds"\r
-set bot_ai_bunnyhop_skilloffset 7      "Bots with skill equal or greater than this value will perform the  \"bunnyhop\" technique"\r
-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 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.2 "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
-set bot_ai_vore_stayinstomach 0 "When enabled, a bot will stay in a team mate's stomach even if he has no reason to and could willingly leave"\r
-set bot_ai_vore_keepinstomach 0 "When enabled, a bot will keep a team mate in his stomach even if he has no reason to and could regurgitate him"\r
-set bot_god 0 "god mode for bots"\r
-set bot_ai_navigation_jetpack 0 "Enable bots to navigat maps using the jetpack"\r
-set bot_ai_navigation_jetpack_mindistance 3500 "Bots will try fly to objects located farther than this distance"\r
-// Better don't touch these, there are hard to tweak!\r
-set bot_ai_aimskill_order_mix_1st 0.01 "Amount of the 1st filter output to apply to the aiming angle"\r
-set bot_ai_aimskill_order_mix_2nd 0.1 "Amount of the 1st filter output to apply to the aiming angle"\r
-set bot_ai_aimskill_order_mix_3th 0.01 "Amount of the 1st filter output to apply to the aiming angle"\r
-set bot_ai_aimskill_order_mix_4th 0.05 "Amount of the 1st filter output to apply to the aiming angle"\r
-set bot_ai_aimskill_order_mix_5th 0.01 "Amount of the 1st filter output to apply to the aiming angle"\r
-set bot_ai_aimskill_order_filter_1st 0.4 "Position filter"v\r
-set bot_ai_aimskill_order_filter_1st 0.4 "Position filter"\r
-set bot_ai_aimskill_order_filter_2nd 0.4 "Movement filter"\r
-set bot_ai_aimskill_order_filter_3th 0.2 "Acceleration filter"\r
-set bot_ai_aimskill_order_filter_4th 0.4 "Position prediction filter. Used rarely"\r
-set bot_ai_aimskill_order_filter_5th 0.5 "Movement prediction filter. Used rarely"\r
+exec bots.cfg\r
 \r
 // waypoint editor enable\r
 set g_waypointeditor 0\r
-set bot_ignore_bots 0  "When set, bots don't shoot at other bots"\r
-set bot_join_empty 0   "When set, bots also play if no player has joined the server"\r
-set bot_vs_human 0     "Bots and humans play in different teams when set. positive values to make an all-bot blue team, set to negative values to make an all-bot red team, the absolute value is the ratio bots vs humans (1 for equal count)"\r
 \r
 alias g_waypointeditor_spawn "impulse 103"\r
 alias g_waypointeditor_remove "impulse 104"\r
@@ -1438,9 +1376,6 @@ rcon_secure 1
 \r
 set menu_updatecheck 1\r
 \r
-set bot_navigation_ignoreplayers 0 // FIXME remove this once the issue is solved\r
-set bot_sound_monopoly 0 "when enabled, only bots can make any noise"\r
-\r
 // broken, sorry (cannot handle weapon attachment properly)\r
 //seta cl_forceplayermodels 0 "force all players to look like you; WARNING: animations can look very bad with this"\r
 //seta cl_forceplayermodelsfromvoretournament 0 "force models coming from voretournament; WARNING: animations can look very bad with this"\r