From 941d9498b438f87f7319ee570511ad953064504b Mon Sep 17 00:00:00 2001 From: mand1nga Date: Thu, 26 Feb 2009 21:38:40 +0000 Subject: [PATCH] Bots: Explained some bots cvars. Increased the priority of Nexgun for close range until I figure out a better aiming configuration matching new default physics. git-svn-id: svn://svn.icculus.org/nexuiz/trunk@5995 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/defaultNexuiz.cfg | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/data/defaultNexuiz.cfg b/data/defaultNexuiz.cfg index 44d0c7464..adff18d97 100644 --- a/data/defaultNexuiz.cfg +++ b/data/defaultNexuiz.cfg @@ -337,26 +337,26 @@ 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 5 -set bot_ai_enemydetectioninterval 0.5 +set bot_ai_strategyinterval 5 "How often a new objective is chosen" +set bot_ai_enemydetectioninterval 0.5 "How often bots pick a new target" set bot_ai_dodgeupdateinterval 0.1 -set bot_ai_chooseweaponinterval 0.3 +set bot_ai_chooseweaponinterval 0.3 "How often the weapon selection will be evaluated" set bot_ai_dangerdetectioninterval 0.1 set bot_ai_dangerdetectionupdates 64 -set bot_ai_aimskill_blendrate 2 +set bot_ai_aimskill_blendrate 2 "How much correction is made to aim at the target" set bot_ai_aimskill_fixedrate 15 set bot_ai_aimskill_firetolerance_distdegrees 180 -set bot_ai_aimskill_firetolerance_mindegrees 2 -set bot_ai_aimskill_firetolerance_maxdegrees 45 -set bot_ai_aimskill_mouse 1 -set bot_ai_keyboard_distance 250 +set bot_ai_aimskill_firetolerance_mindegrees 2 "Minimum angle tolerance. Used on large distances" +set bot_ai_aimskill_firetolerance_maxdegrees 45 "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 1 -set bot_ai_aimskill_think 1 +set bot_ai_aimskill_offset 1 "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 "11 7 15 14 4 5 8 13 6 1 3 9 2" "Desired weapons for far distances ordered by priority" set bot_ai_custom_weapon_priority_mid "11 9 4 5 3 7 15 14 6 13 8 2 1" "Desired weapons for middle distances ordered by priority" -set bot_ai_custom_weapon_priority_close "11 3 13 14 8 6 4 2 5 7 15 1" "Desired weapons for close distances ordered by priority" +set bot_ai_custom_weapon_priority_close "11 7 3 13 14 8 6 4 2 5 15 1" "Desired weapons for close distances ordered by priority" 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" @@ -366,16 +366,16 @@ set bot_ai_bunnyhop_startdistance 250 "Run to goals located further than this di 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" // Better don't touch these, there are hard to tweak! -set bot_ai_aimskill_order_mix_1st 0.01 -set bot_ai_aimskill_order_mix_2nd 0.1 -set bot_ai_aimskill_order_mix_3th 0.01 -set bot_ai_aimskill_order_mix_4th 0.05 -set bot_ai_aimskill_order_mix_5th 0.01 -set bot_ai_aimskill_order_filter_1st 0.2 -set bot_ai_aimskill_order_filter_2nd 0.2 -set bot_ai_aimskill_order_filter_3th 0.05 -set bot_ai_aimskill_order_filter_4th 0.25 -set bot_ai_aimskill_order_filter_5th 0.3 +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.2 "Position filter" +set bot_ai_aimskill_order_filter_2nd 0.2 "Movement filter" +set bot_ai_aimskill_order_filter_3th 0.05 "Acceleration filter" +set bot_ai_aimskill_order_filter_4th 0.25 "Position prediction filter. Used rarely" +set bot_ai_aimskill_order_filter_5th 0.3 "Movement prediction filter. Used rarely" // waypoint editor enable set g_waypointeditor 0 -- 2.39.2