From: MirceaKitsune Date: Sun, 3 Oct 2010 21:03:59 +0000 (+0300) Subject: Move bot configuration to its own cfg file X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f78f7672af369dfd7990fbf834d071a980dffc93;p=voretournament%2Fvoretournament.git Move bot configuration to its own cfg file --- diff --git a/data/bots.cfg b/data/bots.cfg new file mode 100644 index 00000000..a83b1988 --- /dev/null +++ b/data/bots.cfg @@ -0,0 +1,68 @@ +seta bot_config_file bots.txt "Name and path of the bot configuration file" +seta bot_number 0 "Minimum number of bots" +seta bot_usemodelnames 0 "Use player model names for bot names" +set bot_nofire 0 "When set, bots never fire. Mainly for testing in g_waypointeditor mode" +set bot_god 0 "When set, all bots are god mode (take no damage)" +seta bot_prefix ^8[BOT]^7 "Prefix in front of the bot names" +seta bot_suffix "" "Suffix behind the bot names" +seta skill_auto 0 "when 1, \"skill\" gets adjusted to match the best player on the map" + +set bot_navigation_ignoreplayers 0 // FIXME remove this once the issue is solved +set bot_sound_monopoly 0 "when enabled, only bots can make any noise" +set bot_ignore_bots 0 "When set, bots don't shoot at other bots" +set bot_join_empty 0 "When set, bots also play if no player has joined the server" +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)" + +// general bot AI cvars +set bot_ai_thinkinterval 0.05 +set bot_ai_strategyinterval 3 "How often a new objective is chosen" +set bot_ai_enemydetectioninterval 0.5 "How often bots pick a new target" +set bot_ai_enemydetectionradius 10000 "How far bots can see enemies" +set bot_ai_dodgeupdateinterval 0.1 "How often scan for items to dodge. Currently not in use." +set bot_ai_chooseweaponinterval 0.3 "How often the best weapon according to the situation will be chosen" +set bot_ai_dangerdetectioninterval 0.1 "How often scan for waypoints with dangers near" +set bot_ai_dangerdetectionupdates 64 "How many waypoints will be considered for danger detection" +set bot_ai_aimskill_blendrate 2 "How much correction will be applied to the aiming angle" +set bot_ai_aimskill_fixedrate 15 +set bot_ai_aimskill_firetolerance_distdegrees 180 +set bot_ai_aimskill_firetolerance_mindegrees 2 "Minimum angle tolerance. Used on large distances" +set bot_ai_aimskill_firetolerance_maxdegrees 60 "Maximum firing angle. Used on close range" +set bot_ai_aimskill_mouse 1 "How much of the aiming filters are applied" +set bot_ai_keyboard_distance 250 "Keyboard emulation is disabled after this distance to the goal" +set bot_ai_keyboard_treshold 0.57 +set bot_ai_aimskill_offset 0.3 "Amount of error induced to the bots aim" +set bot_ai_aimskill_think 1 "Aiming velocity. Use values below 1 for slower aiming" +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" +set bot_ai_custom_weapon_priority_far "hook" +set bot_ai_custom_weapon_priority_mid "hook" +set bot_ai_custom_weapon_priority_close "hook" +set bot_ai_weapon_combo 1 "Enable bots to do weapon combos" +set bot_ai_weapon_combo_threshold 0.3 "Try to make a combo N seconds after the last attack" +set bot_ai_friends_aware_pickup_radius "500" "Bots will not pickup items if a team mate is this distance near the item" +set bot_ai_ignoregoal_timeout 3 "Ignore goals making bots to get stuck in front of a wall for N seconds" +set bot_ai_bunnyhop_skilloffset 7 "Bots with skill equal or greater than this value will perform the \"bunnyhop\" technique" +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 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.2 "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" +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" +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" +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" +// Better don't touch these, there are hard to tweak! +set bot_ai_aimskill_order_mix_1st 0.01 "Amount of the 1st filter output to apply to the aiming angle" +set bot_ai_aimskill_order_mix_2nd 0.1 "Amount of the 1st filter output to apply to the aiming angle" +set bot_ai_aimskill_order_mix_3th 0.01 "Amount of the 1st filter output to apply to the aiming angle" +set bot_ai_aimskill_order_mix_4th 0.05 "Amount of the 1st filter output to apply to the aiming angle" +set bot_ai_aimskill_order_mix_5th 0.01 "Amount of the 1st filter output to apply to the aiming angle" +set bot_ai_aimskill_order_filter_1st 0.4 "Position filter"v +set bot_ai_aimskill_order_filter_1st 0.4 "Position filter" +set bot_ai_aimskill_order_filter_2nd 0.4 "Movement filter" +set bot_ai_aimskill_order_filter_3th 0.2 "Acceleration filter" +set bot_ai_aimskill_order_filter_4th 0.4 "Position prediction filter. Used rarely" +set bot_ai_aimskill_order_filter_5th 0.5 "Movement prediction filter. Used rarely" \ No newline at end of file diff --git a/data/defaultVoretournament.cfg b/data/defaultVoretournament.cfg index 0b85716f..3c07c5a9 100644 --- a/data/defaultVoretournament.cfg +++ b/data/defaultVoretournament.cfg @@ -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" alias autoswitch "set cl_autoswitch $1 ; cmd autoswitch $1" -seta bot_config_file bots.txt "Name and path of the bot configuration file" -seta bot_number 0 "Minimum number of bots" -seta bot_usemodelnames 0 "Use player model names for bot names" -set bot_nofire 0 "When set, bots never fire. Mainly for testing in g_waypointeditor mode" -seta bot_prefix ^8[BOT]^7 "Prefix in front of the bot names" -seta bot_suffix "" "Suffix behind the bot names" -seta skill_auto 0 "when 1, \"skill\" gets adjusted to match the best player on the map" -// general bot AI cvars -set bot_ai_thinkinterval 0.05 -set bot_ai_strategyinterval 3 "How often a new objective is chosen" -set bot_ai_enemydetectioninterval 0.5 "How often bots pick a new target" -set bot_ai_enemydetectionradius 10000 "How far bots can see enemies" -set bot_ai_dodgeupdateinterval 0.1 "How often scan for items to dodge. Currently not in use." -set bot_ai_chooseweaponinterval 0.3 "How often the best weapon according to the situation will be chosen" -set bot_ai_dangerdetectioninterval 0.1 "How often scan for waypoints with dangers near" -set bot_ai_dangerdetectionupdates 64 "How many waypoints will be considered for danger detection" -set bot_ai_aimskill_blendrate 2 "How much correction will be applied to the aiming angle" -set bot_ai_aimskill_fixedrate 15 -set bot_ai_aimskill_firetolerance_distdegrees 180 -set bot_ai_aimskill_firetolerance_mindegrees 2 "Minimum angle tolerance. Used on large distances" -set bot_ai_aimskill_firetolerance_maxdegrees 60 "Maximum firing angle. Used on close range" -set bot_ai_aimskill_mouse 1 "How much of the aiming filters are applied" -set bot_ai_keyboard_distance 250 "Keyboard emulation is disabled after this distance to the goal" -set bot_ai_keyboard_treshold 0.57 -set bot_ai_aimskill_offset 0.3 "Amount of error induced to the bots aim" -set bot_ai_aimskill_think 1 "Aiming velocity. Use values below 1 for slower aiming" -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" -set bot_ai_custom_weapon_priority_far "hook" -set bot_ai_custom_weapon_priority_mid "hook" -set bot_ai_custom_weapon_priority_close "hook" -set bot_ai_weapon_combo 1 "Enable bots to do weapon combos" -set bot_ai_weapon_combo_threshold 0.3 "Try to make a combo N seconds after the last attack" -set bot_ai_friends_aware_pickup_radius "500" "Bots will not pickup items if a team mate is this distance near the item" -set bot_ai_ignoregoal_timeout 3 "Ignore goals making bots to get stuck in front of a wall for N seconds" -set bot_ai_bunnyhop_skilloffset 7 "Bots with skill equal or greater than this value will perform the \"bunnyhop\" technique" -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 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.2 "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" -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" -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" -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" -// Better don't touch these, there are hard to tweak! -set bot_ai_aimskill_order_mix_1st 0.01 "Amount of the 1st filter output to apply to the aiming angle" -set bot_ai_aimskill_order_mix_2nd 0.1 "Amount of the 1st filter output to apply to the aiming angle" -set bot_ai_aimskill_order_mix_3th 0.01 "Amount of the 1st filter output to apply to the aiming angle" -set bot_ai_aimskill_order_mix_4th 0.05 "Amount of the 1st filter output to apply to the aiming angle" -set bot_ai_aimskill_order_mix_5th 0.01 "Amount of the 1st filter output to apply to the aiming angle" -set bot_ai_aimskill_order_filter_1st 0.4 "Position filter"v -set bot_ai_aimskill_order_filter_1st 0.4 "Position filter" -set bot_ai_aimskill_order_filter_2nd 0.4 "Movement filter" -set bot_ai_aimskill_order_filter_3th 0.2 "Acceleration filter" -set bot_ai_aimskill_order_filter_4th 0.4 "Position prediction filter. Used rarely" -set bot_ai_aimskill_order_filter_5th 0.5 "Movement prediction filter. Used rarely" +exec bots.cfg // waypoint editor enable set g_waypointeditor 0 -set bot_ignore_bots 0 "When set, bots don't shoot at other bots" -set bot_join_empty 0 "When set, bots also play if no player has joined the server" -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)" alias g_waypointeditor_spawn "impulse 103" alias g_waypointeditor_remove "impulse 104" @@ -1438,9 +1376,6 @@ rcon_secure 1 set menu_updatecheck 1 -set bot_navigation_ignoreplayers 0 // FIXME remove this once the issue is solved -set bot_sound_monopoly 0 "when enabled, only bots can make any noise" - // broken, sorry (cannot handle weapon attachment properly) //seta cl_forceplayermodels 0 "force all players to look like you; WARNING: animations can look very bad with this" //seta cl_forceplayermodelsfromvoretournament 0 "force models coming from voretournament; WARNING: animations can look very bad with this"