From 70a11d6427d0275c97ec3b0e882ffb334a9ee634 Mon Sep 17 00:00:00 2001 From: red-magic <34750463+red-magic@users.noreply.github.com> Date: Tue, 2 Sep 2025 02:03:28 +0600 Subject: [PATCH] cfg: fix grammar in cvars description (#731) --- cfg/addons/yapb/conf/lang/chs_lang.cfg | 164 +++++++++--------- cfg/addons/yapb/conf/lang/de_lang.cfg | 84 ++++----- cfg/addons/yapb/conf/lang/ru_lang.cfg | 164 +++++++++--------- cfg/addons/yapb/conf/yapb.cfg | 231 ++++++++++++++----------- src/analyze.cpp | 14 +- src/botlib.cpp | 32 ++-- src/chatlib.cpp | 4 +- src/combat.cpp | 10 +- src/config.cpp | 4 +- src/control.cpp | 16 +- src/engine.cpp | 6 +- src/fakeping.cpp | 8 +- src/graph.cpp | 12 +- src/manager.cpp | 50 +++--- src/navigate.cpp | 2 +- src/planner.cpp | 8 +- src/support.cpp | 10 +- src/tasks.cpp | 10 +- src/vision.cpp | 2 +- 19 files changed, 438 insertions(+), 393 deletions(-) diff --git a/cfg/addons/yapb/conf/lang/chs_lang.cfg b/cfg/addons/yapb/conf/lang/chs_lang.cfg index 4cbd8ee..fde55a3 100644 --- a/cfg/addons/yapb/conf/lang/chs_lang.cfg +++ b/cfg/addons/yapb/conf/lang/chs_lang.cfg @@ -1883,13 +1883,13 @@ info: %s 信息:%s [ORIGINAL] -Autostart analyzer if all other cases are failed. +Autostart analyzer if all other cases fail. [TRANSLATED] 如果所有其他情况均失败,则自动启动分析器。 [ORIGINAL] -Auto save results of analysis to graph file. And re-add bots. +Auto save results of analysis to graph file and re-add bots. [TRANSLATED] 将分析结果自动保存到图表文件中。并重新添加人机。 @@ -1901,31 +1901,31 @@ The minimum distance to keep nodes from each other. 保持节点之间的最小距离。 [ORIGINAL] -Max jump height to test if next node will be unreachable. +Max jump height to test if the next node will be unreachable. [TRANSLATED] 测试下一个节点是否不可到达的最大跳跃高度。 [ORIGINAL] -The FPS at which analyzer process is running. This keeps game from freezing during analyzing. +The FPS at which the analyzer process is running. This keeps the game from freezing during analysis. [TRANSLATED] 分析器运行的 FPS。这可以防止游戏在分析期间卡顿。 [ORIGINAL] -Specifies if analyzer should clean the unnecessary paths upon finishing. +Specifies if the analyzer should clean unnecessary paths upon finishing. [TRANSLATED] 指定分析器在完成时是否应清除不必要的路径。 [ORIGINAL] -Specifies if analyzer should merge some near-placed nodes with much of connections together. +Specifies if the analyzer should merge some near-placed nodes with many connections together. [TRANSLATED] 指定分析器是否应将一些近距离放置的节点与大量连接一起合并。 [ORIGINAL] -Specifies if analyzer should mark nodes as map goals automatically upon finish. +Specifies if the analyzer should mark nodes as map goals automatically upon finishing. [TRANSLATED] 指定分析器在完成时是否应自动将节点标记为地图目标。 @@ -1937,13 +1937,13 @@ Enables or disables useful messages about bot states. Not required for end users 启用或禁用有关人机状态的有用消息。最终用户不需要。 [ORIGINAL] -Forces all alive bots to build path and go to the specified here graph node. +Forces all alive bots to build a path and go to the graph node specified here. [TRANSLATED] 强制所有存活的人机构建路径并前往此处指定的图表节点。 [ORIGINAL] -Specifies the percent of bots, that can follow leader on each round start. +Specifies the percent of bots that can follow a leader at each round start. [TRANSLATED] 指定每轮开始时可以跟随领导者的人机的百分比。 @@ -1955,7 +1955,7 @@ Specifies how many bots can follow a single user. 指定可以跟随单个用户的人机数量。 [ORIGINAL] -If enabled, all bots will be forced only the knife, skipping weapon buying routines. +If enabled, all bots will be forced to use only the knife, skipping weapon buying routines. [TRANSLATED] 如果启用,所有人机将被迫仅使用刀具,跳过武器购买程序。 @@ -1975,19 +1975,19 @@ If '2' chatter and radio allowed. 如果为 '2',则允许聊天和无线电。 [ORIGINAL] -Specifies whether bots able to use team economics, like do not buy any weapons for whole team to keep money for better guns. +Specifies whether bots are able to use team economics, like not buying any weapons for the whole team to keep money for better guns. [TRANSLATED] 指定人机是否能够考虑队伍的经济,例如不为整个队伍购买任何武器以节省资金用于更好的武器。 [ORIGINAL] -Allows bots to ignore economics and buy weapons with disrespect of economics. +Allows bots to ignore economics and buy weapons with disrespect to economics. [TRANSLATED] 允许人机购买武器时忽略队伍的经济。 [ORIGINAL] -Specifies whether bots able to use 'shift' if they thinks that enemy is near. +Specifies whether bots are able to use 'shift' if they think that an enemy is near. [TRANSLATED] 指定在人机认为敌人靠近时,是否可以使用 'shift' 。 @@ -2005,25 +2005,25 @@ Allows bots to partially avoid grenades. 允许人机部分避开手榴弹。 [ORIGINAL] -Allows or disallows bot to check environment for darkness, thus allows or not to use flashlights or NVG. +Allows or disallows the bot to check the environment for darkness, thus allowing or not allowing the use of flashlights or NVG. [TRANSLATED] 允许或禁止人机检查环境的黑暗程度,从而允许或禁止使用手电筒或夜视仪。 [ORIGINAL] -Lower bound of time from which time for camping is calculated +Lower bound of time from which the time for camping is calculated. [TRANSLATED] 计算蹲点时间的下限时间 [ORIGINAL] -Upper bound of time until which time for camping is calculated +Upper bound of time until which the time for camping is calculated. [TRANSLATED] 计算蹲点时间的上限时间 [ORIGINAL] -Allows or disallows bots to take revenge of teamkillers / team attacks. +Allows or disallows bots to take revenge on teamkillers/team attacks. [TRANSLATED] 允许或禁止人机对团队杀手/团队攻击进行报复。 @@ -2047,31 +2047,31 @@ Allows or disallows bots weapon buying routines. 允许或禁止人机购买武器。 [ORIGINAL] -Allows bots to destroy breakables around them, even without touching with them. +Allows bots to destroy breakables around them, even without touching them. [TRANSLATED] 允许人机破坏周围的可破坏物体,即使不与它们接触。 [ORIGINAL] -The radius on which bot searches world for new objects, items, and weapons. +The radius within which the bot searches the world for new objects, items, and weapons. [TRANSLATED] 人机在世界中搜索新物体、物品和武器的半径。 [ORIGINAL] -The radius on which bot destroy breakables around it, when not touching with them. +The radius within which the bot destroys breakables around it, when not touching them. [TRANSLATED] 人机在未接触到周围可破坏物体时破坏它们的半径。 [ORIGINAL] -Specifies the paths for the bot chatter sound files. +Specifies the path for the bot chatter sound files. [TRANSLATED] 指定人机聊天声音文件的路径。 [ORIGINAL] -Specifies semicolon separated list of weapons that are not allowed to buy / pickup. +Specifies a semicolon separated list of weapons that are not allowed to be bought/picked up. [TRANSLATED] 指定用分号分隔的禁止购买/拾取的武器列表。 @@ -2083,19 +2083,19 @@ Allows or disallows bots to attack monsters. 允许或禁止人机攻击怪物。 [ORIGINAL] -Allows or disallows bots to pickup custom items. +Allows or disallows bots to pick up custom items. [TRANSLATED] 允许或禁止人机拾取自定义物品。 [ORIGINAL] -Allows bots pickup mod items like ammo, health kits and suits. +Allows bots to pick up mod items like ammo, health kits, and suits. [TRANSLATED] 允许人机拾取模组物品,如弹药、急救包和防护服。 [ORIGINAL] -Allows or disallows bots to pickup best weapons. +Allows or disallows bots to pick up the best weapons. [TRANSLATED] 允许或禁止人机拾取最佳武器。 @@ -2107,43 +2107,43 @@ Allows or disallows bots to do map objectives, i.e. plant/defuse bombs, and save 允许或禁止人机执行地图目标,例如安置/拆除炸弹和营救人质。 [ORIGINAL] -Affect bot's vision by smoke clouds. +Affects the bot's vision by smoke clouds. [TRANSLATED] 通过烟雾影响人机的视野。 [ORIGINAL] -Allows or disallows the ability for random knife attacks when bot is rushing and no enemy is nearby. +Allows or disallows the ability for random knife attacks when the bot is rushing and no enemy is nearby. [TRANSLATED] 允许或禁止人机在冲锋且附近没有敌人时进行随机刀攻击。 [ORIGINAL] -Maximum number for path length, to predict the enemy. +Maximum number of path nodes to predict the enemy. [TRANSLATED] 预测敌人的路径长度最大值。 [ORIGINAL] -Enables or disables bots chat functionality. +Enables or disables bot chat functionality. [TRANSLATED] 启用或禁用人机聊天功能。 [ORIGINAL] -Bot chances to send random dead chat when killed. +Bot's chance to send random dead chat when killed. [TRANSLATED] 人机在被杀时发送随机死亡聊天的几率。 [ORIGINAL] -Specifies whether bots able to fire at enemies behind the wall, if they hearing or suspecting them. +Specifies whether bots are able to fire at enemies behind the wall, if they hear or suspect them. [TRANSLATED] 指定人机是否可以对听到或怀疑在墙后面的敌人开火。 [ORIGINAL] -Enables or disables searching world for enemies. +Enables or disables searching the world for enemies. [TRANSLATED] 启用或禁用搜索世界中的敌人。 @@ -2161,31 +2161,31 @@ Enables or disables checking enemy invincibility. Useful for some mods. 启用或禁用检查敌人无敌状态。对某些模组有用。 [ORIGINAL] -Enables or disables bot ability to stab the enemy with knife if bot is in good condition. +Enables or disables the bot's ability to stab the enemy with the knife if the bot is in good condition. [TRANSLATED] 启用或禁用人机在良好状态下用刀刺杀敌人的能力。 [ORIGINAL] -Use engine to check potential visibility of an enemy. +Uses the engine to check the potential visibility of an enemy. [TRANSLATED] 使用引擎检查敌人的潜在可见性。 [ORIGINAL] -Use hitbox-based enemy targeting, instead of offset based. Use with the yb_use_engine_pvs_check enabled to reduce CPU usage. +Uses hitbox-based enemy targeting, instead of offset-based. Use with yb_use_engine_pvs_check enabled to reduce CPU usage. [TRANSLATED] 使用基于命中框的敌人瞄准,而不是基于偏移。启用 yb_Use_engine_pvs_check 以减少CPU使用率。 [ORIGINAL] -Binds specified key for opening bots menu. +Binds the specified key for opening the bot menu. [TRANSLATED] 绑定指定键以打开人机菜单。 [ORIGINAL] -Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel. +Specifies a comma separated list of bot cvars that will not be overwritten by the config on changelevel. [TRANSLATED] 指定人机 cvars 的逗号分隔列表,这些 cvars 在更改级别时不会被配置覆盖。 @@ -2197,19 +2197,19 @@ Enables or disables display menu text, when players asks for menu. Useful only f 启用或禁用当玩家请求菜单时显示菜单文本。仅对 Android 有用。 [ORIGINAL] -The value (password) for the setinfo key, if user sets correct password, he's gains access to bot commands and menus. +The value (password) for the setinfo key. If the user sets the correct password, he gains access to bot commands and menus. [TRANSLATED] setinfo 键的值(密码),如果用户设置了正确的密码,他将获得人机命令和菜单的访问权限。 [ORIGINAL] -The name of setinfo key used to store password to bot commands and menus. +The name of the setinfo key used to store the password for bot commands and menus. [TRANSLATED] 用于存储人机命令和菜单密码的 setinfo 键的名称。 [ORIGINAL] -Allows to use classic bot kill on issuing end-round command in menus, instead of gamedll endround. +Allows the use of classic bot kill when issuing the end-round command in menus, instead of the gamedll endround. [TRANSLATED] 允许在菜单中发出结束回合命令时使用传统的人机击杀方式,而不是使用游戏动态链接库的结束回合功能。 @@ -2237,97 +2237,97 @@ If enabled, bots will not apply game modes based on map name prefix (fy_ and ka_ 如果启用,人机将不会基于地图名称前缀(特别是 fy_ 和 ka_)应用游戏模式。 [ORIGINAL] -Specifies the maximum health of breakable object, that bot will consider to destroy. +Specifies the maximum health of a breakable object that the bot will consider destroying. [TRANSLATED] 指定人机将考虑破坏的可破坏物体的最大健康值。 [ORIGINAL] -Allows or disallows bots to return fake steam id. +Allows or disallows bots to return a fake Steam ID. [TRANSLATED] 允许或禁止人机返回虚假 Steam ID。 [ORIGINAL] -Count player pings when calculating average ping for bots. If no, some random ping chosen for bots. +Count player pings when calculating the average ping for bots. If not, a random ping is chosen for bots. [TRANSLATED] 在计算人机的平均 ping 值时计算玩家 ping 值。如果没有,为人机选择一些随机 ping 值。 [ORIGINAL] -Maximum number of threads bot will run to process some tasks. -1 means half of CPU cores used. +Maximum number of threads the bot will run to process some tasks. -1 means half of the CPU cores are used. [TRANSLATED] 人机将运行以处理某些任务的最大线程数。-1 表示使用一半的 CPU 核心。 [ORIGINAL] -If enabled, bots will not apply throwing condition on grenades. +If enabled, bots will not apply throwing conditions on grenades. [TRANSLATED] 如果启用,人机将不会对手榴弹应用投掷条件。 [ORIGINAL] -Make bots ignore enemies for a specified here time in seconds on new round. Useful for Zombie Plague mods. +Makes bots ignore enemies for a specified time in seconds on a new round. Useful for Zombie Plague mods. [TRANSLATED] 使人机在新一轮中在此处指定的时间(秒)内忽略敌人。对于Zombie Plague模组非常有用。 [ORIGINAL] -Specifies whether bot should not 'fix' camp directions of camp waypoints when loading old PWF format. +Specifies whether the bot should not 'fix' camp directions of camp waypoints when loading the old PWF format. [TRANSLATED] 指定人机在加载旧 PWF 格式时是否应不“修复”蹲点节点的方向。 [ORIGINAL] -Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed. +Specifies the URL from which bots will be able to download the graph in case of a missing local one. Set to empty if no downloads are needed. [TRANSLATED] 指定人机可以从中下载图表的 URL,以防丢失本地图表。如果不需要下载,则设置为空。 [ORIGINAL] -Specifies the URL to which bots will try to upload the graph file to database. +Specifies the URL to which bots will try to upload the graph file to the database. [TRANSLATED] 指定人机将尝试将图表文件上传到数据库的 URL。 [ORIGINAL] -Every N graph nodes placed on map, the graph will be saved automatically (without checks). +Every N graph nodes placed on the map, the graph will be saved automatically (without checks). [TRANSLATED] 每在地图上放置 N 个图表节点,图表将自动保存(无需检查)。 [ORIGINAL] -Maximum distance to draw graph nodes from editor viewport. +Maximum distance to draw graph nodes from the editor viewport. [TRANSLATED] 从编辑器视口绘制图表节点的最大距离。 [ORIGINAL] -Allows bots to exchange your graph files with graph database automatically. +Allows bots to exchange your graph files with the graph database automatically. [TRANSLATED] 允许人机自动与图表数据库交换您的图表文件。 [ORIGINAL] -Kick bots to automatically make room for human players. +Kicks bots to automatically make room for human players. [TRANSLATED] 踢出人机以自动为人类玩家腾出空间。 [ORIGINAL] -How many slots autovacate feature should keep for human players. +How many slots the autovacate feature should keep for human players. [TRANSLATED] autovacate 功能应为人类玩家保留多少个插槽。 [ORIGINAL] -Kick the bot immediately when a human player joins the server (yb_autovacate must be enabled). +Kicks the bot immediately when a human player joins the server (yb_autovacate must be enabled). [TRANSLATED] 当人类玩家加入服务器时立即踢出人机(必须启用 yb_autovacate)。 [ORIGINAL] -Specifies the number bots to be added to the game. +Specifies the number of bots to be added to the game. [TRANSLATED] 指定要添加到游戏中的人机数量。 @@ -2345,13 +2345,13 @@ If 'match', the server will maintain a 1:N ratio of humans to bots, where N is y 如果选择“match”,服务器将保持人类与人机 1:N 的比例,其中 N 为 yb_quota_match。 [ORIGINAL] -Number of players to match if yb_quota_mode set to 'match' +Number of players to match if yb_quota_mode is set to 'match'. [TRANSLATED] 如果 yb_quota_mode 设置为“match”,则匹配的玩家数量 [ORIGINAL] -Specifies how many times per second bot code will run. +Specifies how many times per second the bot code will run. [TRANSLATED] 指定人机代码每秒运行多少次。 @@ -2363,19 +2363,19 @@ Allows to completely disable think fps on Xash3D. 允许在 Xash3D 上完全禁用 think fps。 [ORIGINAL] -Specifies amount of time in seconds when bots will be killed if no humans left alive. +Specifies the amount of time in seconds after which bots will be killed if no humans are left alive. [TRANSLATED] 指定如果没有玩家存活,人机将在几秒钟内被杀死的时间。 [ORIGINAL] -Specifies whether bots should join server, only when at least one human player in game. +Specifies whether bots should join the server only when at least one human player is in the game. [TRANSLATED] 指定人机是否应加入服务器,仅当游戏中至少有一名玩家时。 [ORIGINAL] -Forces all bots to join team specified here. +Forces all bots to join the team specified here. [TRANSLATED] 强制所有人机加入此处指定的队伍。 @@ -2387,7 +2387,7 @@ Specifies after how many seconds bots should start to join the game after the ch 指定在更改级别后,人机应在几秒钟后开始加入游戏。 [ORIGINAL] -All the bot names will be prefixed with string specified with this cvar. +All bot names will be prefixed with the string specified by this cvar. [TRANSLATED] 所有人机名称都将以此 cvar 指定的字符串作为前缀。 @@ -2399,37 +2399,37 @@ All bots difficulty level. Changing at runtime will affect already created bots. 所有人机的难度级别。运行时更改将影响已创建的人机。 [ORIGINAL] -Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. [TRANSLATED] 人机创建时随机难度的下限。仅影响新创建的人机。-1 表示仅使用 yb_difficulty。 [ORIGINAL] -Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. [TRANSLATED] 人机创建时随机难度的上限。仅影响新创建的人机。-1 表示仅使用 yb_difficulty。 [ORIGINAL] -Allows each bot to balance their own difficulty based kd-ratio of team. +Allows each bot to balance its own difficulty based on the kd-ratio of the team. [TRANSLATED] 允许每个人机根据队伍的 kd 比例平衡自己的难度。 [ORIGINAL] -Interval in which bots will balance their difficulty. +Interval at which bots will balance their difficulty. [TRANSLATED] 人机平衡其难度的间隔。 [ORIGINAL] -Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends. +Enables or disables displaying bot avatars in front of their names in the scoreboard. Note that currently you can only see avatars of your Steam friends. [TRANSLATED] 启用或禁用在记分牌上显示人机名称前的头像。请注意,目前您只能看到 Steam 朋友的头像。 [ORIGINAL] -Enables latency display in scoreboard. +Enables latency display in the scoreboard. Allowed values: '0', '1', '2'. If '0', there is nothing displayed. If '1', there is a 'BOT' is displayed. @@ -2471,25 +2471,25 @@ If 'none' is specified personality chosen randomly. 如果指定为“none”,则随机选择个性。 [ORIGINAL] -Lower bound for base bot ping shown in scoreboard upon creation. +Lower bound for base bot ping shown in the scoreboard upon creation. [TRANSLATED] 在创建时记分牌上显示的基本人机 ping 的下限。 [ORIGINAL] -Upper bound for base bot ping shown in scoreboard upon creation. +Upper bound for base bot ping shown in the scoreboard upon creation. [TRANSLATED] 在创建时记分牌上显示的基本人机 ping 的上限。 [ORIGINAL] -Interval in which bots are added to the game. +Interval at which bots are added to the game. [TRANSLATED] 将人机添加到游戏中的间隔。 [ORIGINAL] -Interval on which overall bot quota are checked. +Interval at which the overall bot quota is checked. [TRANSLATED] 检查整体人机配额的间隔。 @@ -2501,13 +2501,13 @@ Specifies the language for bot messages and menus. 指定人机消息和菜单的语言。 [ORIGINAL] -Randomly disconnect and connect bots, simulating players join/quit. +Randomly disconnects and connects bots, simulating players joining/quitting. [TRANSLATED] 随机断开和连接人机,模拟玩家加入/退出。 [ORIGINAL] -Specifies minimum amount of seconds bot keep connected, if rotation active. +Specifies the minimum amount of seconds a bot stays connected, if rotation is active. [TRANSLATED] 如果轮换处于活动状态,指定人机保持连接的最少秒数。 @@ -2519,13 +2519,13 @@ Enables or disables extra hard difficulty for bots. 启用或禁用人机的超高难度。 [ORIGINAL] -Specifies maximum amount of seconds bot keep connected, if rotation active. +Specifies the maximum amount of seconds a bot stays connected, if rotation is active. [TRANSLATED] 如果轮换处于活动状态,指定人机保持连接的最大秒数。 [ORIGINAL] -When enabled, bots will not try to avoid teammates on their way. Assuming some of the semiclip plugins are in use. +When enabled, bots will not try to avoid teammates on their way. Assumes that some semiclip plugins are in use. [TRANSLATED] 启用后,人机不会尝试避开队友。假设正在使用一些 semiclip 插件。 @@ -2543,25 +2543,25 @@ Selects the heuristic function mode. For debug purposes only. 选择启发式函数模式。仅用于调试目的。 [ORIGINAL] -Limit maximum floyd-warshall memory (megabytes). Use Dijkstra if memory exceeds. +Limits the maximum Floyd-Warshall memory (megabytes). Uses Dijkstra if memory is exceeded. [TRANSLATED] 限制最大 floyd-warshall 内存(兆字节)。如果内存超出限制,请使用 Dijkstra。 [ORIGINAL] -Use simple distance path calculation instead of running full Dijkstra path cycle. Used only when Floyd matrices unavailable due to memory limit. +Uses simple distance path calculation instead of running a full Dijkstra path cycle. Used only when Floyd matrices are unavailable due to memory limits. [TRANSLATED] 使用简单的距离路径计算代替运行完整的 Dijkstra 路径周期。仅在由于内存限制而无法使用 Floyd 矩阵时使用。 [ORIGINAL] -Enables post-smoothing for A*. Reduces zig-zags on paths at cost of some CPU cycles. +Enables post-smoothing for A*. Reduces zig-zags on paths at the cost of some CPU cycles. [TRANSLATED] 为 A* 启用后平滑处理。在一定 CPU 周期成本下减少路径上的之字形。 [ORIGINAL] -Randomize pathfinding on each round start. +Randomizes pathfinding on each round start. [TRANSLATED] 在每轮开始时随机化路径寻找。 @@ -2579,13 +2579,13 @@ Upper bound of danger factor that used to add additional danger to path based on 根据实践为路径增加额外危险所使用的危险因子的上限。 [ORIGINAL] -Enables or disables showing welcome message to host entity on game start. +Enables or disables showing a welcome message to the host entity on game start. [TRANSLATED] 启用或禁用在游戏开始时向主机实体显示欢迎消息。 [ORIGINAL] -Enables or disables fake server queries response, that shows bots as real players in server browser. +Enables or disables fake server query responses, which show bots as real players in the server browser. [TRANSLATED] 启用或禁用伪服务器查询响应,在服务器浏览器中将人机显示为真实玩家。 diff --git a/cfg/addons/yapb/conf/lang/de_lang.cfg b/cfg/addons/yapb/conf/lang/de_lang.cfg index 5a42167..92805af 100644 --- a/cfg/addons/yapb/conf/lang/de_lang.cfg +++ b/cfg/addons/yapb/conf/lang/de_lang.cfg @@ -1622,13 +1622,13 @@ Enables or disables useful messages about bot states. Not required for end users Aktiviert oder deaktiviert nützliche Meldungen über den Bot-Status. Für Endbenutzer nicht erforderlich. [ORIGINAL] -Forces all alive bots to build path and go to the specified here graph node. +Forces all alive bots to build a path and go to the graph node specified here. [TRANSLATED] Erzwingt, dass alle lebenden Bots einen Pfad erstellen und zu dem hier angegebenen Graph-Knoten gehen. [ORIGINAL] -Specifies the percent of bots, that can follow leader on each round start. +Specifies the percent of bots that can follow a leader at each round start. [TRANSLATED] Legt den Prozentsatz der Bots fest, die dem Anführer bei jedem Rundenstart folgen können. @@ -1640,7 +1640,7 @@ Specifies how many bots can follow a single user. Gibt an, wie viele Bots einem einzelnen Benutzer folgen können. [ORIGINAL] -If enabled, all bots will be forced only the knife, skipping weapon buying routines. +If enabled, all bots will be forced to use only the knife, skipping weapon buying routines. [TRANSLATED] Wenn diese Option aktiviert ist, werden alle Bots gezwungen, nur das Messer zu benutzen und die Waffenkauf-Routinen zu überspringen. @@ -1660,13 +1660,13 @@ Bei '1' ist nur Funk erlaubt. Bei '2' sind Chatter und Radio erlaubt. [ORIGINAL] -Specifies whether bots able to use team economics, like do not buy any weapons for whole team to keep money for better guns. +Specifies whether bots are able to use team economics, like not buying any weapons for the whole team to keep money for better guns. [TRANSLATED] Legt fest, ob Bots die Team-Ökonomie nutzen können, z.B. keine Waffen für das ganze Team kaufen, um Geld für bessere Waffen zu sparen. [ORIGINAL] -Specifies whether bots able to use 'shift' if they thinks that enemy is near. +Specifies whether bots are able to use 'shift' if they think that an enemy is near. [TRANSLATED] Legt fest, ob Bots 'shift' benutzen können, wenn sie glauben, dass ein Feind in der Nähe ist. @@ -1678,25 +1678,25 @@ Allows or disallows bots to camp. Doesn't affects bomb/hostage defending tasks Erlaubt oder verhindert, dass Bots campen. Wirkt sich nicht auf Bomben-/Geiselverteidigungsaufgaben aus. [ORIGINAL] -Lower bound of time from which time for camping is calculated +Lower bound of time from which the time for camping is calculated. [TRANSLATED] Untere Grenze der Zeit, ab der die Zeit für das Campen berechnet wird [ORIGINAL] -Upper bound of time until which time for camping is calculated +Upper bound of time until which the time for camping is calculated. [TRANSLATED] Obere Grenze der Zeit, ab der die Zeit für das Campen berechnet wird [ORIGINAL] -Allows or disallows bots to take revenge of teamkillers / team attacks. +Allows or disallows bots to take revenge on teamkillers/team attacks. [TRANSLATED] Erlaubt oder verbietet Bots die Rache von Team-Killern / Team-Angriffen. [ORIGINAL] -If enabled, the bots think function is disabled, so bots will not move anywhere from their spawn spots. +If enabled, the bot's think function is disabled, so bots will not move anywhere from their spawn spots. [TRANSLATED] Wenn diese Funktion aktiviert ist, ist die Think-Funktion der Bots deaktiviert, d.h. die Bots können sich nicht von ihrem Spawn-Punkt wegbewegen. @@ -1714,25 +1714,25 @@ Allows or disallows bots weapon buying routines. Erlaubt oder verbietet Bots Waffenkauf-Routinen. [ORIGINAL] -Allows bots to destroy breakables around them, even without touching with them. +Allows bots to destroy breakables around them, even without touching them. [TRANSLATED] Ermöglicht es Bots, zerbrechliche Objekte um ihn herum zu zerstören, auch ohne sie zu berühren. [ORIGINAL] -The radius on which bot searches world for new objects, items, and weapons. +The radius within which the bot searches the world for new objects, items, and weapons. [TRANSLATED] Der Radius, in dem der Bot die Welt nach neuen Objekten, Gegenständen und Waffen durchsucht. [ORIGINAL] -Specifies the paths for the bot chatter sound files. +Specifies the path for the bot chatter sound files. [TRANSLATED] Gibt die Pfade für die Bot-Chatter-Sounddateien an. [ORIGINAL] -Specifies semicolon separated list of weapons that are not allowed to buy / pickup. +Specifies a semicolon separated list of weapons that are not allowed to be bought/picked up. [TRANSLATED] Gibt eine durch Semikolon getrennte Liste von Waffen an, die nicht gekauft / abgeholt werden dürfen. @@ -1744,7 +1744,7 @@ Allows or disallows bots to attack monsters. Erlaubt oder verbietet es Bots, Monster anzugreifen. [ORIGINAL] -Allows or disallows bots to pickup custom items. +Allows or disallows bots to pick up custom items. [TRANSLATED] Erlaubt oder verhindert, dass Bots benutzerdefinierte Gegenstände abholen. @@ -1756,25 +1756,25 @@ Allows or disallows bots to do map objectives, i.e. plant/defuse bombs, and save Erlaubt oder verbietet Bots, Kartenziele zu erfüllen, d.h. Bomben zu legen/entschärfen und Geiseln zu retten. [ORIGINAL] -Enables or disables bots chat functionality. +Enables or disables bot chat functionality. [TRANSLATED] Aktiviert oder deaktiviert die Chatfunktion der Bots. [ORIGINAL] -Bot chances to send random dead chat when killed. +Bot's chance to send random dead chat when killed. [TRANSLATED] Chance, dass der Bot zufällige Chatnachrichten sendet, wenn er getötet wird. [ORIGINAL] -Specifies whether bots able to fire at enemies behind the wall, if they hearing or suspecting them. +Specifies whether bots are able to fire at enemies behind the wall, if they hear or suspect them. [TRANSLATED] Legt fest, ob Bots auf Feinde hinter der Wand schießen können, wenn sie sie hören oder vermuten. [ORIGINAL] -Enables or disables searching world for enemies. +Enables or disables searching the world for enemies. [TRANSLATED] Aktiviert oder deaktiviert das Durchsuchen der Welt nach Feinden. @@ -1792,19 +1792,19 @@ Enables or disables checking enemy invincibility. Useful for some mods. Aktiviert oder deaktiviert die Überprüfung der Unbesiegbarkeit von Gegnern. Nützlich für einige Mods. [ORIGINAL] -Enables or disables bot ability to stab the enemy with knife if bot is in good condition. +Enables or disables the bot's ability to stab the enemy with the knife if the bot is in good condition. [TRANSLATED] Aktiviert oder deaktiviert die Fähigkeit des Bots, den Gegner mit dem Messer zu erstechen, wenn der Bot in guter Verfassung ist. [ORIGINAL] -Binds specified key for opening bots menu. +Binds the specified key for opening the bot menu. [TRANSLATED] Bindet die angegebene Taste zum Öffnen des Bots-Menüs. [ORIGINAL] -Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel. +Specifies a comma separated list of bot cvars that will not be overwritten by the config on changelevel. [TRANSLATED] Gibt eine durch Komma getrennte Liste von Bot-Variablen an, die nicht von der Konfiguration bei einem Mapwechsel überschrieben werden. @@ -1816,13 +1816,13 @@ Enables or disables display menu text, when players asks for menu. Useful only f Aktiviert oder deaktiviert die Anzeige von Menütext, wenn Spieler nach dem Menü fragen. Nur für Android nützlich. [ORIGINAL] -The value (password) for the setinfo key, if user sets correct password, he's gains access to bot commands and menus. +The value (password) for the setinfo key. If the user sets the correct password, he gains access to bot commands and menus. [TRANSLATED] Der Wert (Passwort) für den setinfo-Schlüssel, wenn der Benutzer das richtige Passwort setzt, erhält dieser Zugang zu den Bot-Befehlen und Menüs. [ORIGINAL] -The name of setinfo key used to store password to bot commands and menus. +The name of the setinfo key used to store the password for bot commands and menus. [TRANSLATED] Der Name des setinfo-Schlüssels, der verwendet wird, um das Passwort für Bot-Befehle und Menüs zu speichern. @@ -1844,25 +1844,25 @@ Bei '2' ist der CSDM- und FFA-Modus aktiviert. Bei '3' ist der CSDM- und FFA-Modus deaktiviert. [ORIGINAL] -Specifies whether bot should not 'fix' camp directions of camp waypoints when loading old PWF format. +Specifies whether the bot should not 'fix' camp directions of camp waypoints when loading the old PWF format. [TRANSLATED] Legt fest, ob der Bot beim Laden des alten PWF-Formats die Camping-Richtungen der Camping-Wegpunkte nicht 'beheben' soll. [ORIGINAL] -Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed. +Specifies the URL from which bots will be able to download the graph in case of a missing local one. Set to empty if no downloads are needed. [TRANSLATED] Gibt die URL an, von der Bots den Graph herunterladen können, falls eine lokale URL fehlt. Leer lassen, wenn keine Downloads benötigt werden. [ORIGINAL] -Kick bots to automatically make room for human players. +Kicks bots to automatically make room for human players. [TRANSLATED] Wirft Bots automatisch heraus, um Platz für menschliche Spieler zu schaffen. [ORIGINAL] -Specifies the number bots to be added to the game. +Specifies the number of bots to be added to the game. [TRANSLATED] Gibt die Anzahl der Bots an, die dem Spiel hinzugefügt werden sollen. @@ -1880,31 +1880,31 @@ Bei 'fill' passt der Server die Bots an, um N Spieler im Spiel zu halten, wobei Wenn 'match', wird der Server ein Verhältnis von 1:N zwischen Menschen und Bots beibehalten, wobei N yb_quota_match ist. [ORIGINAL] -Number of players to match if yb_quota_mode set to 'match' +Number of players to match if yb_quota_mode is set to 'match'. [TRANSLATED] Anzahl der Match-Spieler, wenn yb_quota_mode auf 'match' eingestellt ist [ORIGINAL] -Specifies how many times per second bot code will run. +Specifies how many times per second the bot code will run. [TRANSLATED] Gibt an, wie oft pro Sekunde der Bot-Code ausgeführt werden soll. [ORIGINAL] -Specifies amount of time in seconds when bots will be killed if no humans left alive. +Specifies the amount of time in seconds after which bots will be killed if no humans are left alive. [TRANSLATED] Gibt die Zeitspanne in Sekunden an, nach der Bots getötet werden sollen, wenn keine menschlichen Spieler mehr am Leben sind. [ORIGINAL] -Specifies whether bots should join server, only when at least one human player in game. +Specifies whether bots should join the server only when at least one human player is in the game. [TRANSLATED] Gibt an, ob Bots dem Server nur beitreten sollen, wenn mindestens ein menschlicher Spieler im Spiel ist. [ORIGINAL] -Forces all bots to join team specified here. +Forces all bots to join the team specified here. [TRANSLATED] Zwingt alle Bots, dem hier angegebenen Team beizutreten. @@ -1916,7 +1916,7 @@ Specifies after how many seconds bots should start to join the game after the ch Legt fest, nach wie vielen Sekunden die Bots nach dem Mapwechsel dem Spiel beitreten sollen. [ORIGINAL] -All the bot names will be prefixed with string specified with this cvar. +All bot names will be prefixed with the string specified by this cvar. [TRANSLATED] Allen Bot-Namen wird der mit diesem Cvar angegebene String vorangestellt. @@ -1928,31 +1928,31 @@ All bots difficulty level. Changing at runtime will affect already created bots. Schwierigkeitsgrad aller Bots. Eine Änderung zur Laufzeit wirkt sich auf bereits erstellte Bots aus. [ORIGINAL] -Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. [TRANSLATED] Untere Grenze der zufälligen Schwierigkeit bei der Bot-Erstellung. Betrifft nur neu erstellte Bots. -1 bedeutet, dass nur yb_difficulty verwendet wird. [ORIGINAL] -Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. [TRANSLATED] Obere Grenze der zufälligen Schwierigkeit bei der Bot-Erstellung. Betrifft nur neu erstellte Bots. -1 bedeutet, dass nur yb_difficulty verwendet wird. [ORIGINAL] -Allows each bot to balance their own difficulty based kd-ratio of team. +Allows each bot to balance its own difficulty based on the kd-ratio of the team. [TRANSLATED] Ermöglicht es jedem Bot, seine eigene Schwierigkeit auf Basis des KD-Verhältnisses des Teams auszugleichen. [ORIGINAL] -Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends. +Enables or disables displaying bot avatars in front of their names in the scoreboard. Note that currently you can only see avatars of your Steam friends. [TRANSLATED] Aktiviert oder deaktiviert die Anzeige von Bot-Avataren vor ihren Namen im Scoreboard. Beachten Sie, dass Sie derzeit nur Avatare Ihrer Steam-Freunde sehen können. [ORIGINAL] -Enables latency display in scoreboard. +Enables latency display in the scoreboard. Allowed values: '0', '1', '2'. If '0', there is nothing displayed. If '1', there is a 'BOT' is displayed. @@ -1984,13 +1984,13 @@ Specifies the bots wanted skin for CT team Legt den gewünschten Skin für die Antiterror-Einheit fest [ORIGINAL] -Lower bound for base bot ping shown in scoreboard upon creation. +Lower bound for base bot ping shown in the scoreboard upon creation. [TRANSLATED] Untere Grenze für den Basis-Bot-Ping, der bei der Erstellung im Scoreboard angezeigt wird. [ORIGINAL] -Upper bound for base bot ping shown in scoreboard upon creation. +Upper bound for base bot ping shown in the scoreboard upon creation. [TRANSLATED] Obere Grenze für den Basis-Bot-Ping, der bei der Erstellung im Scoreboard angezeigt wird. @@ -2026,13 +2026,13 @@ Upper bound of danger factor that used to add additional danger to path based on Obere Grenze des Gefahrenfaktors, der verwendet wird, um dem Pfad einen zusätzliche Gefahrenwert auf der Grundlage der Praxiserfahrung hinzuzufügen. [ORIGINAL] -Enables or disables showing welcome message to host entity on game start. +Enables or disables showing a welcome message to the host entity on game start. [TRANSLATED] Aktiviert oder deaktiviert die Anzeige der Willkommensnachricht an die Host-Entität beim Spielstart. [ORIGINAL] -Enables or disables fake server queries response, that shows bots as real players in server browser. +Enables or disables fake server query responses, which show bots as real players in the server browser. [TRANSLATED] Aktiviert oder deaktiviert die gefälschte Antwort auf Serveranfragen, die Bots als echte Spieler im Server-Browser anzeigt. diff --git a/cfg/addons/yapb/conf/lang/ru_lang.cfg b/cfg/addons/yapb/conf/lang/ru_lang.cfg index 830a5d6..cf5e540 100644 --- a/cfg/addons/yapb/conf/lang/ru_lang.cfg +++ b/cfg/addons/yapb/conf/lang/ru_lang.cfg @@ -1882,13 +1882,13 @@ info: %s инфо: %s [ORIGINAL] -Autostart analyzer if all other cases are failed. +Autostart analyzer if all other cases fail. [TRANSLATED] Автозапуск анализатора, если все остальные случаи оказались неудачными. [ORIGINAL] -Auto save results of analysis to graph file. And re-add bots. +Auto save results of analysis to graph file and re-add bots. [TRANSLATED] Автоматически сохранять результаты анализа в graph файл. И повторно добавлять ботов. @@ -1900,31 +1900,31 @@ The minimum distance to keep nodes from each other. Минимальное расстояние, на котором точки должны находиться друг от друга. [ORIGINAL] -Max jump height to test if next node will be unreachable. +Max jump height to test if the next node will be unreachable. [TRANSLATED] Максимальная высота прыжка для проверки, будет ли следующая точка недостижима. [ORIGINAL] -The FPS at which analyzer process is running. This keeps game from freezing during analyzing. +The FPS at which the analyzer process is running. This keeps the game from freezing during analysis. [TRANSLATED] Количество FPS, при котором работает процесс анализатора. Это предотвращает зависание игры во время анализа. [ORIGINAL] -Specifies if analyzer should clean the unnecessary paths upon finishing. +Specifies if the analyzer should clean unnecessary paths upon finishing. [TRANSLATED] Указывает, должен ли анализатор очищать ненужные пути после завершения работы. [ORIGINAL] -Specifies if analyzer should merge some near-placed nodes with much of connections together. +Specifies if the analyzer should merge some near-placed nodes with many connections together. [TRANSLATED] Указывает, должен ли анализатор объединять некоторые близко расположенные точки с большим количеством соединений вместе. [ORIGINAL] -Specifies if analyzer should mark nodes as map goals automatically upon finish. +Specifies if the analyzer should mark nodes as map goals automatically upon finishing. [TRANSLATED] Указывает, должен ли анализатор автоматически отмечать точки как цели карты после завершения работы. @@ -1936,13 +1936,13 @@ Enables or disables useful messages about bot states. Not required for end users Включает или выключает полезные сообщения о состоянии бота. Не требуется для конечных пользователей. [ORIGINAL] -Forces all alive bots to build path and go to the specified here graph node. +Forces all alive bots to build a path and go to the graph node specified here. [TRANSLATED] Принуждает всех живых ботов идти до указанной точки. [ORIGINAL] -Specifies the percent of bots, that can follow leader on each round start. +Specifies the percent of bots that can follow a leader at each round start. [TRANSLATED] Указывает процент ботов, которые могут следовать за лидером в начале раунда. @@ -1954,7 +1954,7 @@ Specifies how many bots can follow a single user. Указывает сколько ботов могут следовать за человеком. [ORIGINAL] -If enabled, all bots will be forced only the knife, skipping weapon buying routines. +If enabled, all bots will be forced to use only the knife, skipping weapon buying routines. [TRANSLATED] Если включено, все боты будут ходить только с ножами, пропуская покупку оружия. @@ -1974,19 +1974,19 @@ If '2' chatter and radio allowed. Если '2', включён голосовой чат и радио. [ORIGINAL] -Specifies whether bots able to use team economics, like do not buy any weapons for whole team to keep money for better guns. +Specifies whether bots are able to use team economics, like not buying any weapons for the whole team to keep money for better guns. [TRANSLATED] Определяет, могут ли боты использовать командную экономику, например, не покупать оружие для всей команды, чтобы сохранить деньги на лучшее оружие. [ORIGINAL] -Allows bots to ignore economics and buy weapons with disrespect of economics. +Allows bots to ignore economics and buy weapons with disrespect to economics. [TRANSLATED] Позволяет ботам игнорировать экономику и покупать оружие, пренебрегая экономикой. [ORIGINAL] -Specifies whether bots able to use 'shift' if they thinks that enemy is near. +Specifies whether bots are able to use 'shift' if they think that an enemy is near. [TRANSLATED] Определяет, могут ли боты использовать 'shift' если они думают что враг близок. @@ -2004,25 +2004,25 @@ Allows bots to partially avoid grenades. Позволяет ботам частично избегать гранаты. [ORIGINAL] -Allows or disallows bot to check environment for darkness, thus allows or not to use flashlights or NVG. +Allows or disallows the bot to check the environment for darkness, thus allowing or not allowing the use of flashlights or NVG. [TRANSLATED] Разрешает или запрещает боту проверять окружение на условия темноты, что разрешает или запрещает использовать фонарики или ПНВ. [ORIGINAL] -Lower bound of time from which time for camping is calculated +Lower bound of time from which the time for camping is calculated. [TRANSLATED] Нижняя граница времени, от которого рассчитывается время для кемпинга [ORIGINAL] -Upper bound of time until which time for camping is calculated +Upper bound of time until which the time for camping is calculated. [TRANSLATED] Верхняя граница времени, до которого рассчитывается время для кемпинга [ORIGINAL] -Allows or disallows bots to take revenge of teamkillers / team attacks. +Allows or disallows bots to take revenge on teamkillers/team attacks. [TRANSLATED] Разрешает или запрещает ботам мстить тимкиллерам / атакующих команду. @@ -2046,31 +2046,31 @@ Allows or disallows bots weapon buying routines. Разрешает или запрещает ботам покупать оружие. [ORIGINAL] -Allows bots to destroy breakables around them, even without touching with them. +Allows bots to destroy breakables around them, even without touching them. [TRANSLATED] Разрешает ботам уничтожать объекты вокруг них, даже без прикосновения с ними. [ORIGINAL] -The radius on which bot searches world for new objects, items, and weapons. +The radius within which the bot searches the world for new objects, items, and weapons. [TRANSLATED] Радиус, в котором бот ищет на карте новые объекты, предметы и оружие. [ORIGINAL] -The radius on which bot destroy breakables around it, when not touching with them. +The radius within which the bot destroys breakables around it, when not touching them. [TRANSLATED] Радиус, в котором бот уничтожает объекты вокруг него, не прикасаясь к ним. [ORIGINAL] -Specifies the paths for the bot chatter sound files. +Specifies the path for the bot chatter sound files. [TRANSLATED] Указывает путь до звуковых файлов для голосового чата ботов. [ORIGINAL] -Specifies semicolon separated list of weapons that are not allowed to buy / pickup. +Specifies a semicolon separated list of weapons that are not allowed to be bought/picked up. [TRANSLATED] Задаёт список оружия разделённый точкой с запятой, которое нельзя покупать / подбирать. @@ -2082,19 +2082,19 @@ Allows or disallows bots to attack monsters. Позволяет или запрещает ботам атаковать монстров. [ORIGINAL] -Allows or disallows bots to pickup custom items. +Allows or disallows bots to pick up custom items. [TRANSLATED] Позволяет или запрещает ботам подбирать пользовательские предметы. [ORIGINAL] -Allows bots pickup mod items like ammo, health kits and suits. +Allows bots to pick up mod items like ammo, health kits, and suits. [TRANSLATED] Позволяет ботам подбирать предметы модов, такие как патроны, аптечки и костюмы. [ORIGINAL] -Allows or disallows bots to pickup best weapons. +Allows or disallows bots to pick up the best weapons. [TRANSLATED] Позволяет или запрещает ботам подбирать лучшее оружие. @@ -2106,43 +2106,43 @@ Allows or disallows bots to do map objectives, i.e. plant/defuse bombs, and save Разрешает или запрещает ботам выполнять задания на карте, т.е. закладывать/обезвреживать бомбы и спасать заложников. [ORIGINAL] -Affect bot's vision by smoke clouds. +Affects the bot's vision by smoke clouds. [TRANSLATED] Влияние облаков дыма на зрение бота. [ORIGINAL] -Allows or disallows the ability for random knife attacks when bot is rushing and no enemy is nearby. +Allows or disallows the ability for random knife attacks when the bot is rushing and no enemy is nearby. [TRANSLATED] Разрешает или запрещает возможность случайных атак ножом, когда бот спешит и поблизости нет врагов. [ORIGINAL] -Maximum number for path length, to predict the enemy. +Maximum number of path nodes to predict the enemy. [TRANSLATED] Максимальное число длины пути, для предугадывания противника. [ORIGINAL] -Enables or disables bots chat functionality. +Enables or disables bot chat functionality. [TRANSLATED] Включает или выключает функционирование чата ботов. [ORIGINAL] -Bot chances to send random dead chat when killed. +Bot's chance to send random dead chat when killed. [TRANSLATED] Шансы бота отправлять случайные сообщения в чат мёртвых когда убит. [ORIGINAL] -Specifies whether bots able to fire at enemies behind the wall, if they hearing or suspecting them. +Specifies whether bots are able to fire at enemies behind the wall, if they hear or suspect them. [TRANSLATED] Определяет, могут ли боты стрелять по врагам за стеной, если они слышат или подозревают их там. [ORIGINAL] -Enables or disables searching world for enemies. +Enables or disables searching the world for enemies. [TRANSLATED] Включает или выключает игнорирование врагов. @@ -2160,31 +2160,31 @@ Enables or disables checking enemy invincibility. Useful for some mods. Включает или выключает проверку неуязвимости противника. Полезно для некоторых модов. [ORIGINAL] -Enables or disables bot ability to stab the enemy with knife if bot is in good condition. +Enables or disables the bot's ability to stab the enemy with the knife if the bot is in good condition. [TRANSLATED] Включает или отключает способность бота наносить удар врагу ножом, если бот находится в хорошем состоянии. [ORIGINAL] -Use engine to check potential visibility of an enemy. +Uses the engine to check the potential visibility of an enemy. [TRANSLATED] Использовать движок для проверки потенциальной видимости противника. [ORIGINAL] -Use hitbox-based enemy targeting, instead of offset based. Use with the yb_use_engine_pvs_check enabled to reduce CPU usage. +Uses hitbox-based enemy targeting, instead of offset-based. Use with yb_use_engine_pvs_check enabled to reduce CPU usage. [TRANSLATED] Использовать систему наведения на врага на основе хитбоксов, а не смещения. Используйте с включённым параметром yb_use_engine_pvs_check, чтобы снизить нагрузку на процессор. [ORIGINAL] -Binds specified key for opening bots menu. +Binds the specified key for opening the bot menu. [TRANSLATED] Привязывает указанную клавишу для открытия меню ботов. [ORIGINAL] -Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel. +Specifies a comma separated list of bot cvars that will not be overwritten by the config on changelevel. [TRANSLATED] Задаёт список кваров бота разделённых запятой, которые не будут перезаписаны конфигом при изменении уровня. @@ -2196,19 +2196,19 @@ Enables or disables display menu text, when players asks for menu. Useful only f Включает или выключает отображение текстового меню, когда игрок открывает меню. Полезно только для Android. [ORIGINAL] -The value (password) for the setinfo key, if user sets correct password, he's gains access to bot commands and menus. +The value (password) for the setinfo key. If the user sets the correct password, he gains access to bot commands and menus. [TRANSLATED] Значение (пароль) для ключа setinfo, если пользователь настроил корректный пароль, ему даётся доступ к командам и меню бота. [ORIGINAL] -The name of setinfo key used to store password to bot commands and menus. +The name of the setinfo key used to store the password for bot commands and menus. [TRANSLATED] Имя ключа setinfo используемого для хранения пароля доступа к командам и меню бота. [ORIGINAL] -Allows to use classic bot kill on issuing end-round command in menus, instead of gamedll endround. +Allows the use of classic bot kill when issuing the end-round command in menus, instead of the gamedll endround. [TRANSLATED] Позволяет использовать классическое убийство ботов при выполнении команды завершения раунда в меню, вместо использования функции завершения раунда от игровой (dll) библиотеки. @@ -2236,97 +2236,97 @@ If enabled, bots will not apply game modes based on map name prefix (fy_ and ka_ Если включено, то боты не будут применять режимы игры, основанные на префиксе названия карты (в частности, fy_ и ka_). [ORIGINAL] -Specifies the maximum health of breakable object, that bot will consider to destroy. +Specifies the maximum health of a breakable object that the bot will consider destroying. [TRANSLATED] Задаёт максимальное здоровье разрушаемого объекта, который бот желает уничтожить. [ORIGINAL] -Allows or disallows bots to return fake steam id. +Allows or disallows bots to return a fake Steam ID. [TRANSLATED] Разрешает или запрещает ботам возвращать поддельный Steam ID. [ORIGINAL] -Count player pings when calculating average ping for bots. If no, some random ping chosen for bots. +Count player pings when calculating the average ping for bots. If not, a random ping is chosen for bots. [TRANSLATED] Учитывать пинги игроков при расчёте среднего пинга для ботов. Если нет, то для ботов будет выбран случайный пинг. [ORIGINAL] -Maximum number of threads bot will run to process some tasks. -1 means half of CPU cores used. +Maximum number of threads the bot will run to process some tasks. -1 means half of the CPU cores are used. [TRANSLATED] Максимальное количество потоков, которые бот будет использовать для обработки некоторых задач. -1 означает половину используемых ядер процессора. [ORIGINAL] -If enabled, bots will not apply throwing condition on grenades. +If enabled, bots will not apply throwing conditions on grenades. [TRANSLATED] Если включено, боты не будут применять условия броска к гранатам. [ORIGINAL] -Make bots ignore enemies for a specified here time in seconds on new round. Useful for Zombie Plague mods. +Makes bots ignore enemies for a specified time in seconds on a new round. Useful for Zombie Plague mods. [TRANSLATED] Заставить ботов игнорировать врагов в течение заданного времени в секундах на новом раунде. Полезно для модов Zombie Plague. [ORIGINAL] -Specifies whether bot should not 'fix' camp directions of camp waypoints when loading old PWF format. +Specifies whether the bot should not 'fix' camp directions of camp waypoints when loading the old PWF format. [TRANSLATED] Определяет, должен ли бот 'исправлять' направления кемперских вэйпоинтов при загрузке старого формата PWF. [ORIGINAL] -Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed. +Specifies the URL from which bots will be able to download the graph in case of a missing local one. Set to empty if no downloads are needed. [TRANSLATED] Указывает URL-адрес для скачивания graph файлов если они отсутствуют. Задайте пустое значение, если вы не хотите их скачивать. [ORIGINAL] -Specifies the URL to which bots will try to upload the graph file to database. +Specifies the URL to which bots will try to upload the graph file to the database. [TRANSLATED] Указывает URL-адрес, по которому боты будут пытаться загружать graph файл в базу данных. [ORIGINAL] -Every N graph nodes placed on map, the graph will be saved automatically (without checks). +Every N graph nodes placed on the map, the graph will be saved automatically (without checks). [TRANSLATED] Через каждую N точку размещённую на карте, graph будет сохраняться автоматически (без проверок). [ORIGINAL] -Maximum distance to draw graph nodes from editor viewport. +Maximum distance to draw graph nodes from the editor viewport. [TRANSLATED] Максимальное расстояние отображения точек от области просмотра редактора. [ORIGINAL] -Allows bots to exchange your graph files with graph database automatically. +Allows bots to exchange your graph files with the graph database automatically. [TRANSLATED] Позволяет ботам автоматически обмениваться вашими graph файлами с базой графов. [ORIGINAL] -Kick bots to automatically make room for human players. +Kicks bots to automatically make room for human players. [TRANSLATED] Убирать ботов автоматически чтобы освободить место для людей. [ORIGINAL] -How many slots autovacate feature should keep for human players. +How many slots the autovacate feature should keep for human players. [TRANSLATED] Сколько слотов функция autovacate должна сохранять для игроков-людей. [ORIGINAL] -Kick the bot immediately when a human player joins the server (yb_autovacate must be enabled). +Kicks the bot immediately when a human player joins the server (yb_autovacate must be enabled). [TRANSLATED] Немедленно убирать бота когда игрок присоединяется к серверу (yb_autovacate должен быть включён). [ORIGINAL] -Specifies the number bots to be added to the game. +Specifies the number of bots to be added to the game. [TRANSLATED] Задаёт количество ботов добавляемых в игру. @@ -2344,13 +2344,13 @@ If 'match', the server will maintain a 1:N ratio of humans to bots, where N is y Если 'match', сервер будет поддерживать соотношение людей к ботам 1:N, где N - yb_quota_match. [ORIGINAL] -Number of players to match if yb_quota_mode set to 'match' +Number of players to match if yb_quota_mode is set to 'match'. [TRANSLATED] Количество игроков для соотношения если yb_quota_mode настроен на 'match'. [ORIGINAL] -Specifies how many times per second bot code will run. +Specifies how many times per second the bot code will run. [TRANSLATED] Указывает, сколько раз в секунду будет выполняться код бота. @@ -2362,19 +2362,19 @@ Allows to completely disable think fps on Xash3D. Позволяет полностью отключить think fps на Xash3D. [ORIGINAL] -Specifies amount of time in seconds when bots will be killed if no humans left alive. +Specifies the amount of time in seconds after which bots will be killed if no humans are left alive. [TRANSLATED] Задаёт время в секундах, в течение которого боты будут убиты, если в живых не останется ни одного человека. [ORIGINAL] -Specifies whether bots should join server, only when at least one human player in game. +Specifies whether bots should join the server only when at least one human player is in the game. [TRANSLATED] Указывает, должны ли боты присоединяться к серверу, только когда в игре присутствует хотя бы один человек. [ORIGINAL] -Forces all bots to join team specified here. +Forces all bots to join the team specified here. [TRANSLATED] Принуждает всех ботов присоединяться к команде указанной здесь. @@ -2386,7 +2386,7 @@ Specifies after how many seconds bots should start to join the game after the ch Определяет, через сколько секунд боты должны начать присоединяться к игре после изменения уровня. [ORIGINAL] -All the bot names will be prefixed with string specified with this cvar. +All bot names will be prefixed with the string specified by this cvar. [TRANSLATED] Все имена ботов будут иметь префикс указанной этой переменной. @@ -2398,37 +2398,37 @@ All bots difficulty level. Changing at runtime will affect already created bots. Уровень сложности всех ботов. Изменение во время игры повлияет на уже созданных ботов. [ORIGINAL] -Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. [TRANSLATED] Нижняя граница случайной сложности при создании бота. Действует только на вновь созданных ботов. -1 означает, что используется только yb_difficulty. [ORIGINAL] -Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. [TRANSLATED] Верхняя граница случайной сложности при создании бота. Действует только на вновь созданных ботов. -1 означает, что используется только yb_difficulty. [ORIGINAL] -Allows each bot to balance their own difficulty based kd-ratio of team. +Allows each bot to balance its own difficulty based on the kd-ratio of the team. [TRANSLATED] Позволяет каждому боту уравновесить собственную сложность на основе коэффициента убийств/смертей команды. [ORIGINAL] -Interval in which bots will balance their difficulty. +Interval at which bots will balance their difficulty. [TRANSLATED] Интервал, в котором боты будут балансировать свою сложность. [ORIGINAL] -Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends. +Enables or disables displaying bot avatars in front of their names in the scoreboard. Note that currently you can only see avatars of your Steam friends. [TRANSLATED] Включает или отключает отображение аватаров ботов перед их именами на таблице очков. Обратите внимание, что в настоящее время вы можете видеть только аватарки своих друзей в Steam. [ORIGINAL] -Enables latency display in scoreboard. +Enables latency display in the scoreboard. Allowed values: '0', '1', '2'. If '0', there is nothing displayed. If '1', there is a 'BOT' is displayed. @@ -2470,25 +2470,25 @@ If 'none' is specified personality chosen randomly. Если указано 'none', характер выбирается случайным образом. [ORIGINAL] -Lower bound for base bot ping shown in scoreboard upon creation. +Lower bound for base bot ping shown in the scoreboard upon creation. [TRANSLATED] Нижняя граница базового пинга ботов отображаемого в таблице очков при создании. [ORIGINAL] -Upper bound for base bot ping shown in scoreboard upon creation. +Upper bound for base bot ping shown in the scoreboard upon creation. [TRANSLATED] Верхняя граница базового пинга ботов отображаемого в таблице очков при создании. [ORIGINAL] -Interval in which bots are added to the game. +Interval at which bots are added to the game. [TRANSLATED] Интервал, через который боты добавляются в игру. [ORIGINAL] -Interval on which overall bot quota are checked. +Interval at which the overall bot quota is checked. [TRANSLATED] Интервал, с которым проверяется общая квота ботов. @@ -2500,13 +2500,13 @@ Specifies the language for bot messages and menus. Задаёт язык для сообщений и меню бота. [ORIGINAL] -Randomly disconnect and connect bots, simulating players join/quit. +Randomly disconnects and connects bots, simulating players joining/quitting. [TRANSLATED] Произвольно отключать и подключать ботов, имитируя присоединение/выход игроков из игры. [ORIGINAL] -Specifies minimum amount of seconds bot keep connected, if rotation active. +Specifies the minimum amount of seconds a bot stays connected, if rotation is active. [TRANSLATED] Задаёт минимальное количество секунд, в течение которых бот остаётся подключённым, если чередование активно. @@ -2518,13 +2518,13 @@ Enables or disables extra hard difficulty for bots. Включает или выключает очень тяжёлую сложность для ботов. [ORIGINAL] -Specifies maximum amount of seconds bot keep connected, if rotation active. +Specifies the maximum amount of seconds a bot stays connected, if rotation is active. [TRANSLATED] Задаёт максимальное количество секунд, в течение которых бот остаётся подключённым, если чередование активно. [ORIGINAL] -When enabled, bots will not try to avoid teammates on their way. Assuming some of the semiclip plugins are in use. +When enabled, bots will not try to avoid teammates on their way. Assumes that some semiclip plugins are in use. [TRANSLATED] Когда включено, боты не будут пытаться избегать товарищей по команде на своём пути. При условии, что используется какой-либо из semiclip плагинов. @@ -2542,25 +2542,25 @@ Selects the heuristic function mode. For debug purposes only. Выбирает режим эвристической функции. Только для отладки. [ORIGINAL] -Limit maximum floyd-warshall memory (megabytes). Use Dijkstra if memory exceeds. +Limits the maximum Floyd-Warshall memory (megabytes). Uses Dijkstra if memory is exceeded. [TRANSLATED] Ограничение максимальной памяти алгоритма Флойда-Уоршелла (в мегабайтах). При превышении памяти использовать алгоритм Дейкстры. [ORIGINAL] -Use simple distance path calculation instead of running full Dijkstra path cycle. Used only when Floyd matrices unavailable due to memory limit. +Uses simple distance path calculation instead of running a full Dijkstra path cycle. Used only when Floyd matrices are unavailable due to memory limits. [TRANSLATED] Использовать простой расчёт пути расстояния вместо выполнения полного цикла пути Дейкстры. Используется только в том случае, если матрицы Флойда недоступны из-за ограничения памяти. [ORIGINAL] -Enables post-smoothing for A*. Reduces zig-zags on paths at cost of some CPU cycles. +Enables post-smoothing for A*. Reduces zig-zags on paths at the cost of some CPU cycles. [TRANSLATED] Включает пост-сглаживание для A*. Уменьшает зигзаги на путях ценой некоторых циклов процессора. [ORIGINAL] -Randomize pathfinding on each round start. +Randomizes pathfinding on each round start. [TRANSLATED] Рандомизировать поиск пути при начале каждого раунда. @@ -2578,13 +2578,13 @@ Upper bound of danger factor that used to add additional danger to path based on Верхняя граница фактора опасности, который используется для добавления дополнительной опасности к пути основанной на практике. [ORIGINAL] -Enables or disables showing welcome message to host entity on game start. +Enables or disables showing a welcome message to the host entity on game start. [TRANSLATED] Включает или выключает отображение приветственного сообщения для хост-объекта при запуске игры. [ORIGINAL] -Enables or disables fake server queries response, that shows bots as real players in server browser. +Enables or disables fake server query responses, which show bots as real players in the server browser. [TRANSLATED] Включает или отключает ложные ответы на запросы сервера, который показывает ботов как реальных игроков в списке серверов. diff --git a/cfg/addons/yapb/conf/yapb.cfg b/cfg/addons/yapb/conf/yapb.cfg index be7fae7..8906903 100644 --- a/cfg/addons/yapb/conf/yapb.cfg +++ b/cfg/addons/yapb/conf/yapb.cfg @@ -4,18 +4,17 @@ // @author: YaPB Project // @filename: yapb.cfg // -// YaPB main configuration file. Can be executed via "exec" command. +// Main configuration file for YaPB. Can be executed using the 'exec' command. // - // -// Autostart analyzer if all other cases are failed. +// Autostart analyzer if all other cases fail. // --- // Default: "1", Min: "0", Max: "1" // yb_graph_analyze_auto_start "1" // -// Auto save results of analysis to graph file. And re-add bots. +// Auto save results of analysis to graph file and re-add bots. // --- // Default: "1", Min: "0", Max: "1" // @@ -29,35 +28,35 @@ yb_graph_analyze_auto_save "1" yb_graph_analyze_distance "64" // -// Max jump height to test if next node will be unreachable. +// Max jump height to test if the next node will be unreachable. // --- // Default: "44", Min: "44", Max: "64" // yb_graph_analyze_max_jump_height "44" // -// The FPS at which analyzer process is running. This keeps game from freezing during analyzing. +// The FPS at which the analyzer process is running. This keeps the game from freezing during analysis. // --- // Default: "30.0", Min: "25.0", Max: "99.0" // yb_graph_analyze_fps "30.0" // -// Specifies if analyzer should clean the unnecessary paths upon finishing. +// Specifies if the analyzer should clean unnecessary paths upon finishing. // --- // Default: "1", Min: "0", Max: "1" // yb_graph_analyze_clean_paths_on_finish "1" // -// Specifies if analyzer should merge some near-placed nodes with much of connections together. +// Specifies if the analyzer should merge some near-placed nodes with many connections together. // --- // Default: "1", Min: "0", Max: "1" // yb_graph_analyze_optimize_nodes_on_finish "1" // -// Specifies if analyzer should mark nodes as map goals automatically upon finish. +// Specifies if the analyzer should mark nodes as map goals automatically upon finishing. // --- // Default: "1", Min: "0", Max: "1" // @@ -71,14 +70,14 @@ yb_graph_analyze_mark_goals_on_finish "1" yb_debug "0" // -// Forces all alive bots to build path and go to the specified here graph node. +// Forces all alive bots to build a path and go to the graph node specified here. // --- // Default: "-1", Min: "-1", Max: "4096" // yb_debug_goal "-1" // -// Specifies the percent of bots, that can follow leader on each round start. +// Specifies the percent of bots that can follow a leader at each round start. // --- // Default: "20", Min: "0", Max: "100" // @@ -92,7 +91,7 @@ yb_user_follow_percent "20" yb_user_max_followers "1" // -// If enabled, all bots will be forced only the knife, skipping weapon buying routines. +// If enabled, all bots will be forced to use only the knife, skipping weapon buying routines. // --- // Default: "0", Min: "0", Max: "1" // @@ -110,21 +109,21 @@ yb_jasonmode "0" yb_radio_mode "2" // -// Specifies whether bots able to use team economics, like do not buy any weapons for whole team to keep money for better guns. +// Specifies whether bots are able to use team economics, like not buying any weapons for the whole team to keep money for better guns. // --- // Default: "1", Min: "0", Max: "1" // yb_economics_rounds "1" // -// Allows bots to ignore economics and buy weapons with disrespect of economics. +// Allows bots to ignore economics and buy weapons with disrespect to economics. // --- // Default: "25", Min: "0", Max: "100" // yb_economics_disrespect_percent "25" // -// Allows or disallows bot to check environment for darkness, thus allows or not to use flashlights or NVG. +// Allows or disallows the bot to check the environment for darkness, thus allowing or not allowing the use of flashlights or NVG. // --- // Default: "1", Min: "0", Max: "1" // @@ -138,14 +137,14 @@ yb_check_darkness "1" yb_avoid_grenades "1" // -// Allows or disallows bots to take revenge of teamkillers / team attacks. +// Allows or disallows bots to take revenge on teamkillers/team attacks. // --- // Default: "1", Min: "0", Max: "1" // yb_tkpunish "1" // -// If enabled, the bots think function is disabled, so bots will not move anywhere from their spawn spots. +// If enabled, the bot's think function is disabled, so bots will not move anywhere from their spawn spots. // --- // Default: "0", Min: "0", Max: "1" // @@ -166,40 +165,33 @@ yb_spraypaints "1" yb_botbuy "1" // -// Allows bots to destroy breakables around them, even without touching with them. +// Allows bots to destroy breakables around them, even without touching them. // --- // Default: "1", Min: "0", Max: "1" // yb_destroy_breakables_around "1" // -// The radius on which bot searches world for new objects, items, and weapons. +// The radius within which the bot searches the world for new objects, items, and weapons. // --- // Default: "450.0", Min: "64.0", Max: "1024.0" // yb_object_pickup_radius "450.0" // -// The radius on which bot destroy breakables around it, when not touching with them. +// The radius within which the bot destroys breakables around it, when not touching them. // --- // Default: "400.0", Min: "64.0", Max: "1024.0" // yb_object_destroy_radius "400.0" // -// Specifies the paths for the bot chatter sound files. +// Specifies the path for the bot chatter sound files. // --- // Default: "sound/radio/bot" // yb_chatter_path "sound/radio/bot" -// -// Specifies semicolon separated list of weapons that are not allowed to buy / pickup. -// --- -// Default: "" -// -yb_restricted_weapons "" - // // Allows or disallows bots to attack monsters. // --- @@ -208,21 +200,21 @@ yb_restricted_weapons "" yb_attack_monsters "0" // -// Allows or disallows bots to pickup custom items. +// Allows or disallows bots to pick up custom items. // --- // Default: "0", Min: "0", Max: "1" // yb_pickup_custom_items "0" // -// Allows bots pickup mod items like ammo, health kits and suits. +// Allows bots to pick up mod items like ammo, health kits, and suits. // --- // Default: "0", Min: "0", Max: "1" // yb_pickup_ammo_and_kits "0" // -// Allows or disallows bots to pickup best weapons. +// Allows or disallows bots to pick up the best weapons. // --- // Default: "1", Min: "0", Max: "1" // @@ -236,35 +228,35 @@ yb_pickup_best "1" yb_ignore_objectives "0" // -// Affect bot's vision by smoke clouds. +// Affects the bot's vision by smoke clouds. // --- // Default: "2", Min: "0", Max: "2" // yb_smoke_grenade_checks "2" // -// Enables or disables bots chat functionality. +// Enables or disables bot chat functionality. // --- // Default: "1", Min: "0", Max: "1" // yb_chat "1" // -// Bot chances to send random dead chat when killed. +// Bot's chance to send random dead chat when killed. // --- // Default: "30", Min: "0", Max: "100" // yb_chat_percent "30" // -// Specifies whether bots able to fire at enemies behind the wall, if they hearing or suspecting them. +// Specifies whether bots are able to fire at enemies behind the wall, if they hear or suspect them. // --- // Default: "2", Min: "0", Max: "3" // yb_shoots_thru_walls "2" // -// Enables or disables searching world for enemies. +// Enables or disables searching the world for enemies. // --- // Default: "0", Min: "0", Max: "1" // @@ -285,21 +277,21 @@ yb_check_enemy_rendering "0" yb_check_enemy_invincibility "0" // -// Enables or disables bot ability to stab the enemy with knife if bot is in good condition. +// Enables or disables the bot's ability to stab the enemy with the knife if the bot is in good condition. // --- // Default: "1", Min: "0", Max: "1" // yb_stab_close_enemies "1" // -// Use engine to check potential visibility of an enemy. +// Uses the engine to check the potential visibility of an enemy. // --- // Default: "0", Min: "0", Max: "1" // yb_use_engine_pvs_check "0" // -// Use hitbox-based enemy targeting, instead of offset based. Use with the yb_use_engine_pvs_check enabled to reduce CPU usage. +// Uses hitbox-based enemy targeting, instead of offset-based. Use with yb_use_engine_pvs_check enabled to reduce CPU usage. // --- // Default: "0", Min: "0", Max: "1" // @@ -313,35 +305,35 @@ yb_use_hitbox_enemy_targeting "0" yb_aim_trace_consider_glass "0" // -// Binds specified key for opening bots menu. +// Binds the specified key for opening the bot menu. // --- // Default: "=" // yb_bind_menu_key "=" // -// Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel. +// Specifies a comma separated list of bot cvars that will not be overwritten by the config on changelevel. // --- // Default: "yb_quota,yb_autovacate" // yb_ignore_cvars_on_changelevel "yb_quota,yb_autovacate" // -// The value (password) for the setinfo key, if user sets correct password, he's gains access to bot commands and menus. +// The value (password) for the setinfo key. If the user sets the correct password, he gains access to bot commands and menus. // --- // Default: "" // yb_password "" // -// The name of setinfo key used to store password to bot commands and menus. +// The name of the setinfo key used to store the password for bot commands and menus. // --- // Default: "_ybpw" // yb_password_key "_ybpw" // -// Allows to use classic bot kill on issuing end-round command in menus, instead of gamedll endround. +// Allows the use of classic bot kill when issuing the end-round command in menus, instead of the gamedll endround. // --- // Default: "0" // @@ -367,119 +359,119 @@ yb_csdm_mode "0" yb_ignore_map_prefix_game_mode "0" // -// Maximum number of threads bot will run to process some tasks. -1 means half of CPU cores used. +// Maximum number of threads the bot will run to process some tasks. -1 means half of the CPU cores are used. // --- // Default: "-1", Min: "-1", Max: "16" // yb_threadpool_workers "-1" // -// If enabled, bots will not apply throwing condition on grenades. +// If enabled, bots will not apply throwing conditions on grenades. // --- // Default: "0", Min: "0", Max: "1" // yb_grenadier_mode "0" // -// Make bots ignore enemies for a specified here time in seconds on new round. Useful for Zombie Plague mods. +// Makes bots ignore enemies for a specified time in seconds on a new round. Useful for Zombie Plague mods. // --- // Default: "0" // yb_ignore_enemies_after_spawn_time "0" // -// Lower bound for base bot ping shown in scoreboard upon creation. +// Lower bound for base bot ping shown in the scoreboard upon creation. // --- // Default: "5", Min: "0", Max: "100" // yb_ping_base_min "5" // -// Upper bound for base bot ping shown in scoreboard upon creation. +// Upper bound for base bot ping shown in the scoreboard upon creation. // --- // Default: "20", Min: "0", Max: "100" // yb_ping_base_max "20" // -// Count player pings when calculating average ping for bots. If no, some random ping chosen for bots. +// Count player pings when calculating the average ping for bots. If not, a random ping is chosen for bots. // --- // Default: "1", Min: "0", Max: "1" // yb_ping_count_real_players "1" // -// Interval in which fakeping get updated in scoreboard. +// Interval at which the fake ping gets updated in the scoreboard. // --- // Default: "1.2", Min: "0.1", Max: "10.0" // yb_ping_updater_interval "1.2" // -// Specifies whether bot should not 'fix' camp directions of camp waypoints when loading old PWF format. +// Specifies whether the bot should not 'fix' camp directions of camp waypoints when loading the old PWF format. // --- // Default: "0", Min: "0", Max: "1" // yb_graph_fixcamp "0" // -// Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed. +// Specifies the URL from which bots will be able to download the graph in case of a missing local one. Set to empty if no downloads are needed. // --- // Default: "yapb.jeefo.net" // yb_graph_url "yapb.jeefo.net" // -// Specifies the URL to which bots will try to upload the graph file to database. +// Specifies the URL to which bots will try to upload the graph file to the database. // --- // Default: "yapb.jeefo.net/upload" // yb_graph_url_upload "yapb.jeefo.net/upload" // -// Every N graph nodes placed on map, the graph will be saved automatically (without checks). +// Every N graph nodes placed on the map, the graph will be saved automatically (without checks). // --- // Default: "15", Min: "0", Max: "4096" // yb_graph_auto_save_count "15" // -// Maximum distance to draw graph nodes from editor viewport. +// Maximum distance to draw graph nodes from the editor viewport. // --- // Default: "400", Min: "64", Max: "3072" // yb_graph_draw_distance "400" // -// Allows bots to exchange your graph files with graph database automatically. +// Allows bots to exchange your graph files with the graph database automatically. // --- // Default: "1", Min: "0", Max: "1" // yb_graph_auto_collect_db "1" // -// Kick bots to automatically make room for human players. +// Kicks bots to automatically make room for human players. // --- // Default: "1", Min: "0", Max: "1" // yb_autovacate "1" // -// How many slots autovacate feature should keep for human players. +// How many slots the autovacate feature should keep for human players. // --- // Default: "1", Min: "1", Max: "8" // yb_autovacate_keep_slots "1" // -// Kick the bot immediately when a human player joins the server (yb_autovacate must be enabled). +// Kicks the bot immediately when a human player joins the server (yb_autovacate must be enabled). // --- // Default: "1", Min: "0", Max: "1" // yb_kick_after_player_connect "1" // -// Specifies the number bots to be added to the game. +// Specifies the number of bots to be added to the game. // --- // Default: "9", Min: "0", Max: "32" // @@ -496,35 +488,42 @@ yb_quota "9" yb_quota_mode "normal" // -// Number of players to match if yb_quota_mode set to 'match' +// Number of players to match if yb_quota_mode is set to 'match'. // --- // Default: "0", Min: "0", Max: "32" // yb_quota_match "0" // -// Specifies how many times per second bot code will run. +// Specifies how many times per second the bot code will run. // --- // Default: "30.0", Min: "24.0", Max: "90.0" // yb_think_fps "30.0" // -// Specifies amount of time in seconds when bots will be killed if no humans left alive. +// Specifies the amount of time in seconds after which bots will be killed if no humans are left alive. // --- // Default: "0.0", Min: "0.0", Max: "90.0" // yb_autokill_delay "0.0" // -// Specifies whether bots should join server, only when at least one human player in game. +// Restart the game if the first human player joins a bot game. +// --- +// Default: "0.0", Min: "0.0", Max: "1.0" +// +yb_first_human_restart "0.0" + +// +// Specifies whether bots should join the server only when at least one human player is in the game. // --- // Default: "0", Min: "0", Max: "1" // yb_join_after_player "0" // -// Forces all bots to join team specified here. +// Forces all bots to join the team specified here. // --- // Default: "any" // @@ -538,7 +537,7 @@ yb_join_team "any" yb_join_delay "5.0" // -// All the bot names will be prefixed with string specified with this cvar. +// All bot names will be prefixed with the string specified by this cvar. // --- // Default: "" // @@ -552,42 +551,42 @@ yb_name_prefix "" yb_difficulty "3" // -// Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +// Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. // --- // Default: "-1", Min: "-1", Max: "4" // yb_difficulty_min "-1" // -// Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used. +// Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used. // --- // Default: "-1", Min: "-1", Max: "4" // yb_difficulty_max "-1" // -// Allows each bot to balance their own difficulty based kd-ratio of team. +// Allows each bot to balance its own difficulty based on the kd-ratio of the team. // --- // Default: "0", Min: "0", Max: "1" // yb_difficulty_auto "0" // -// Interval in which bots will balance their difficulty. +// Interval at which bots will balance their difficulty. // --- // Default: "30", Min: "30", Max: "240" // yb_difficulty_auto_balance_interval "30" // -// Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends. +// Enables or disables displaying bot avatars in front of their names in the scoreboard. Note that currently you can only see avatars of your Steam friends. // --- // Default: "0", Min: "0", Max: "1" // yb_show_avatars "0" // -// Enables latency display in scoreboard. +// Enables latency display in the scoreboard. // Allowed values: '0', '1', '2'. // If '0', there is nothing displayed. // If '1', there is a 'BOT' is displayed. @@ -595,24 +594,24 @@ yb_show_avatars "0" // --- // Default: "0", Min: "0", Max: "2" // -yb_show_latency "0" +yb_show_latency "2" // -// Allows to save bot names upon changelevel, so bot names will be the same after a map change. +// Allows saving bot names upon changelevel, so bot names will be the same after a map change. // --- // Default: "1", Min: "0", Max: "1" // yb_save_bots_names "1" // -// Specifies the bots wanted skin for Terrorist team. +// Specifies the bot's wanted skin for the Terrorist team. // --- // Default: "0", Min: "0", Max: "5" // yb_botskin_t "0" // -// Specifies the bots wanted skin for CT team. +// Specifies the bot's wanted skin for the CT team. // --- // Default: "0", Min: "0", Max: "5" // @@ -628,14 +627,14 @@ yb_botskin_ct "0" yb_preferred_personality "none" // -// Interval in which bots are added to the game. +// Interval at which bots are added to the game. // --- // Default: "0.1", Min: "0.1", Max: "1.0" // yb_quota_adding_interval "0.1" // -// Interval on which overall bot quota are checked. +// Interval at which the overall bot quota is checked. // --- // Default: "0.4", Min: "0.4", Max: "2.0" // @@ -649,28 +648,66 @@ yb_quota_maintain_interval "0.4" yb_language "en" // -// Randomly disconnect and connect bots, simulating players join/quit. +// Randomly disconnects and connects bots, simulating players joining/quitting. // --- // Default: "0", Min: "0", Max: "1" // yb_rotate_bots "0" // -// Specifies minimum amount of seconds bot keep connected, if rotation active. +// Specifies the minimum amount of seconds a bot stays connected, if rotation is active. // --- // Default: "360.0", Min: "120.0", Max: "7200.0" // yb_rotate_stay_min "360.0" // -// Specifies maximum amount of seconds bot keep connected, if rotation active. +// Specifies the maximum amount of seconds a bot stays connected, if rotation is active. // --- // Default: "3600.0", Min: "1800.0", Max: "14400.0" // yb_rotate_stay_max "3600.0" // -// When enabled, bots will not try to avoid teammates on their way. Assuming some of the semiclip plugins are in use. +// Specifies a semicolon separated list of weapons that are not allowed to be bought/picked up. +// The list of weapons for Counter-Strike 1.6: +// p228 - SIG P228 +// shield - Tactical Shield +// scout - Steyr Scout +// hegren - High-Explosive Grenade +// xm1014 - Benelli XM1014 +// mac10 - Ingram MAC-10 +// aug - Steyr Aug +// sgren - Smoke Grenade +// elite - Dual Beretta 96G Elite +// fn57 - FN Five-Seven +// ump45 - HK UMP45 +// sg550 - Sig SG-550 Sniper +// galil - IMI Galil +// famas - GIAT FAMAS +// usp - HK USP .45 Tactical +// glock - Glock18 Select Fire +// awp - AI Arctic Warfare/Magnum +// mp5 - HK MP5-Navy +// m249 - FN M249 Para +// m3 - Benelli M3 Super90 +// m4a1 - Colt M4A1 Carbine +// tmp - Steyr Tactical Machine Pistol +// g3sg1 - HK G3/SG-1 Sniper Rifle +// flash - Concussion Grenade +// deagle - Desert Eagle .50AE +// sg552 - Sig SG-552 Commando +// ak47 - Automat Kalashnikov AK-47 +// knife - Knife +// p90 - FN P90 +// vest - Kevlar Vest +// vesthelm - Kevlar Vest and Helmet +// Default: "" +// +yb_restricted_weapons "" + +// +// When enabled, bots will not try to avoid teammates on their way. Assumes that some semiclip plugins are in use. // --- // Default: "0", Min: "0", Max: "1" // @@ -691,98 +728,98 @@ yb_graph_slope_height "24.0" yb_path_heuristic_mode "0" // -// Limit maximum floyd-warshall memory (megabytes). Use Dijkstra if memory exceeds. +// Limits the maximum Floyd-Warshall memory (megabytes). Uses Dijkstra if memory is exceeded. // --- // Default: "6", Min: "0", Max: "32" // yb_path_floyd_memory_limit "6" // -// Use simple distance path calculation instead of running full Dijkstra path cycle. Used only when Floyd matrices unavailable due to memory limit. +// Uses simple distance path calculation instead of running a full Dijkstra path cycle. Used only when Floyd matrices are unavailable due to memory limits. // --- // Default: "1", Min: "0", Max: "1" // yb_path_dijkstra_simple_distance "1" // -// Enables post-smoothing for A*. Reduces zig-zags on paths at cost of some CPU cycles. +// Enables post-smoothing for A*. Reduces zig-zags on paths at the cost of some CPU cycles. // --- // Default: "0", Min: "0", Max: "1" // yb_path_astar_post_smooth "0" // -// Randomize pathfinding on each round start. +// Randomizes pathfinding on each round start. // --- // Default: "1", Min: "0", Max: "1" // yb_path_randomize_on_round_start "1" // -// Enables or disables showing welcome message to host entity on game start. +// Enables or disables showing a welcome message to the host entity on game start. // --- // Default: "1", Min: "0", Max: "1" // yb_display_welcome_text "1" // -// Enables or disables fake server queries response, that shows bots as real players in server browser. +// Enables or disables fake server query responses, which show bots as real players in the server browser. // --- // Default: "0", Min: "0", Max: "1" // yb_enable_query_hook "0" // -// Specifies the maximum health of breakable object, that bot will consider to destroy. +// Specifies the maximum health of a breakable object that the bot will consider destroying. // --- // Default: "500.0", Min: "1.0", Max: "3000.0" // yb_breakable_health_limit "500.0" // -// Allows or disallows bots to return fake steam id. +// Allows or disallows bots to return a fake Steam ID. // --- // Default: "0", Min: "0", Max: "1" // yb_enable_fake_steamids "0" // -// Specifies whether bots able to use 'shift' if they thinks that enemy is near. +// Specifies whether bots are able to use 'shift' if they think that an enemy is near. // --- // Default: "1", Min: "0", Max: "1" // yb_walking_allowed "1" // -// Allows or disallows bots to camp. Doesn't affects bomb/hostage defending tasks. +// Allows or disallows bots to camp. Doesn't affect bomb/hostage defending tasks. // --- // Default: "1", Min: "0", Max: "1" // yb_camping_allowed "1" // -// Lower bound of time from which time for camping is calculated +// Lower bound of time from which the time for camping is calculated. // --- // Default: "15.0", Min: "5.0", Max: "90.0" // yb_camping_time_min "15.0" // -// Upper bound of time until which time for camping is calculated +// Upper bound of time until which the time for camping is calculated. // --- // Default: "45.0", Min: "15.0", Max: "120.0" // yb_camping_time_max "45.0" // -// Allows or disallows the ability for random knife attacks when bot is rushing and no enemy is nearby. +// Allows or disallows the ability for random knife attacks when the bot is rushing and no enemy is nearby. // --- // Default: "1", Min: "0", Max: "1" // yb_random_knife_attacks "1" // -// Maximum number for path length, to predict the enemy. +// Maximum number of path nodes to predict the enemy. // --- // Default: "22", Min: "15", Max: "256" // diff --git a/src/analyze.cpp b/src/analyze.cpp index 4be92e7..90c0ae9 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -7,14 +7,14 @@ #include -ConVar cv_graph_analyze_auto_start ("graph_analyze_auto_start", "1", "Autostart analyzer if all other cases are failed."); -ConVar cv_graph_analyze_auto_save ("graph_analyze_auto_save", "1", "Auto save results of analysis to graph file. And re-add bots."); +ConVar cv_graph_analyze_auto_start ("graph_analyze_auto_start", "1", "Autostart analyzer if all other cases fail."); +ConVar cv_graph_analyze_auto_save ("graph_analyze_auto_save", "1", "Auto save results of analysis to graph file and re-add bots."); ConVar cv_graph_analyze_distance ("graph_analyze_distance", "64", "The minimum distance to keep nodes from each other.", true, 42.0f, 128.0f); -ConVar cv_graph_analyze_max_jump_height ("graph_analyze_max_jump_height", "44", "Max jump height to test if next node will be unreachable.", true, 44.0f, 64.0f); -ConVar cv_graph_analyze_fps ("graph_analyze_fps", "30.0", "The FPS at which analyzer process is running. This keeps game from freezing during analyzing.", true, 25.0f, 99.0f); -ConVar cv_graph_analyze_clean_paths_on_finish ("graph_analyze_clean_paths_on_finish", "1", "Specifies if analyzer should clean the unnecessary paths upon finishing."); -ConVar cv_graph_analyze_optimize_nodes_on_finish ("graph_analyze_optimize_nodes_on_finish", "1", "Specifies if analyzer should merge some near-placed nodes with much of connections together."); -ConVar cv_graph_analyze_mark_goals_on_finish ("graph_analyze_mark_goals_on_finish", "1", "Specifies if analyzer should mark nodes as map goals automatically upon finish."); +ConVar cv_graph_analyze_max_jump_height ("graph_analyze_max_jump_height", "44", "Max jump height to test if the next node will be unreachable.", true, 44.0f, 64.0f); +ConVar cv_graph_analyze_fps ("graph_analyze_fps", "30.0", "The FPS at which the analyzer process is running. This keeps the game from freezing during analysis.", true, 25.0f, 99.0f); +ConVar cv_graph_analyze_clean_paths_on_finish ("graph_analyze_clean_paths_on_finish", "1", "Specifies if the analyzer should clean unnecessary paths upon finishing."); +ConVar cv_graph_analyze_optimize_nodes_on_finish ("graph_analyze_optimize_nodes_on_finish", "1", "Specifies if the analyzer should merge some near-placed nodes with many connections together."); +ConVar cv_graph_analyze_mark_goals_on_finish ("graph_analyze_mark_goals_on_finish", "1", "Specifies if the analyzer should mark nodes as map goals automatically upon finishing."); void GraphAnalyze::start () { // start analyzer in few seconds after level initialized diff --git a/src/botlib.cpp b/src/botlib.cpp index dbebde1..f70f183 100644 --- a/src/botlib.cpp +++ b/src/botlib.cpp @@ -8,36 +8,36 @@ #include ConVar cv_debug ("debug", "0", "Enables or disables useful messages about bot states. Not required for end users.", true, 0.0f, 4.0f); -ConVar cv_debug_goal ("debug_goal", "-1", "Forces all alive bots to build path and go to the specified here graph node.", true, -1.0f, kMaxNodes); -ConVar cv_user_follow_percent ("user_follow_percent", "20", "Specifies the percent of bots, that can follow leader on each round start.", true, 0.0f, 100.0f); +ConVar cv_debug_goal ("debug_goal", "-1", "Forces all alive bots to build a path and go to the graph node specified here.", true, -1.0f, kMaxNodes); +ConVar cv_user_follow_percent ("user_follow_percent", "20", "Specifies the percent of bots that can follow a leader at each round start.", true, 0.0f, 100.0f); ConVar cv_user_max_followers ("user_max_followers", "1", "Specifies how many bots can follow a single user.", true, 0.0f, static_cast (kGameMaxPlayers / 4)); -ConVar cv_jasonmode ("jasonmode", "0", "If enabled, all bots will be forced only the knife, skipping weapon buying routines."); +ConVar cv_jasonmode ("jasonmode", "0", "If enabled, all bots will be forced to use only the knife, skipping weapon buying routines."); ConVar cv_radio_mode ("radio_mode", "2", "Allows bots to use radio or chatter.\nAllowed values: '0', '1', '2'.\nIf '0', radio and chatter is disabled.\nIf '1', only radio allowed.\nIf '2' chatter and radio allowed.", true, 0.0f, 2.0f); -ConVar cv_economics_rounds ("economics_rounds", "1", "Specifies whether bots able to use team economics, like do not buy any weapons for whole team to keep money for better guns."); -ConVar cv_economics_disrespect_percent ("economics_disrespect_percent", "25", "Allows bots to ignore economics and buy weapons with disrespect of economics.", true, 0.0f, 100.0f); +ConVar cv_economics_rounds ("economics_rounds", "1", "Specifies whether bots are able to use team economics, like not buying any weapons for the whole team to keep money for better guns."); +ConVar cv_economics_disrespect_percent ("economics_disrespect_percent", "25", "Allows bots to ignore economics and buy weapons with disrespect to economics.", true, 0.0f, 100.0f); -ConVar cv_check_darkness ("check_darkness", "1", "Allows or disallows bot to check environment for darkness, thus allows or not to use flashlights or NVG."); +ConVar cv_check_darkness ("check_darkness", "1", "Allows or disallows the bot to check the environment for darkness, thus allowing or not allowing the use of flashlights or NVG."); ConVar cv_avoid_grenades ("avoid_grenades", "1", "Allows bots to partially avoid grenades."); -ConVar cv_tkpunish ("tkpunish", "1", "Allows or disallows bots to take revenge of teamkillers / team attacks."); -ConVar cv_freeze_bots ("freeze_bots", "0", "If enabled, the bots think function is disabled, so bots will not move anywhere from their spawn spots."); +ConVar cv_tkpunish ("tkpunish", "1", "Allows or disallows bots to take revenge on teamkillers/team attacks."); +ConVar cv_freeze_bots ("freeze_bots", "0", "If enabled, the bot's think function is disabled, so bots will not move anywhere from their spawn spots."); ConVar cv_spraypaints ("spraypaints", "1", "Allows or disallows the use of spray paints."); ConVar cv_botbuy ("botbuy", "1", "Allows or disallows bots weapon buying routines."); -ConVar cv_destroy_breakables_around ("destroy_breakables_around", "1", "Allows bots to destroy breakables around them, even without touching with them."); +ConVar cv_destroy_breakables_around ("destroy_breakables_around", "1", "Allows bots to destroy breakables around them, even without touching them."); -ConVar cv_object_pickup_radius ("object_pickup_radius", "450.0", "The radius on which bot searches world for new objects, items, and weapons.", true, 64.0f, 1024.0f); -ConVar cv_object_destroy_radius ("object_destroy_radius", "400.0", "The radius on which bot destroy breakables around it, when not touching with them.", true, 64.0f, 1024.0f); +ConVar cv_object_pickup_radius ("object_pickup_radius", "450.0", "The radius within which the bot searches the world for new objects, items, and weapons.", true, 64.0f, 1024.0f); +ConVar cv_object_destroy_radius ("object_destroy_radius", "400.0", "The radius within which the bot destroys breakables around it, when not touching them.", true, 64.0f, 1024.0f); -ConVar cv_chatter_path ("chatter_path", "sound/radio/bot", "Specifies the paths for the bot chatter sound files.", false); +ConVar cv_chatter_path ("chatter_path", "sound/radio/bot", "Specifies the path for the bot chatter sound files.", false); ConVar cv_attack_monsters ("attack_monsters", "0", "Allows or disallows bots to attack monsters."); -ConVar cv_pickup_custom_items ("pickup_custom_items", "0", "Allows or disallows bots to pickup custom items."); -ConVar cv_pickup_ammo_and_kits ("pickup_ammo_and_kits", "0", "Allows bots pickup mod items like ammo, health kits and suits."); -ConVar cv_pickup_best ("pickup_best", "1", "Allows or disallows bots to pickup best weapons."); +ConVar cv_pickup_custom_items ("pickup_custom_items", "0", "Allows or disallows bots to pick up custom items."); +ConVar cv_pickup_ammo_and_kits ("pickup_ammo_and_kits", "0", "Allows bots to pick up mod items like ammo, health kits, and suits."); +ConVar cv_pickup_best ("pickup_best", "1", "Allows or disallows bots to pick up the best weapons."); ConVar cv_ignore_objectives ("ignore_objectives", "0", "Allows or disallows bots to do map objectives, i.e. plant/defuse bombs, and save hostages."); -ConVar cv_smoke_grenade_checks ("smoke_grenade_checks", "2", "Affect bot's vision by smoke clouds.", true, 0.0f, 2.0f); +ConVar cv_smoke_grenade_checks ("smoke_grenade_checks", "2", "Affects the bot's vision by smoke clouds.", true, 0.0f, 2.0f); // game console variables ConVar mp_c4timer ("mp_c4timer", nullptr, Var::GameRef); diff --git a/src/chatlib.cpp b/src/chatlib.cpp index 6fe3677..83e78ba 100644 --- a/src/chatlib.cpp +++ b/src/chatlib.cpp @@ -7,8 +7,8 @@ #include -ConVar cv_chat ("chat", "1", "Enables or disables bots chat functionality."); -ConVar cv_chat_percent ("chat_percent", "30", "Bot chances to send random dead chat when killed.", true, 0.0f, 100.0f); +ConVar cv_chat ("chat", "1", "Enables or disables bot chat functionality."); +ConVar cv_chat_percent ("chat_percent", "30", "Bot's chance to send random dead chat when killed.", true, 0.0f, 100.0f); BotChatManager::BotChatManager () { m_clanTags = { diff --git a/src/combat.cpp b/src/combat.cpp index 2983f6f..96f9c90 100644 --- a/src/combat.cpp +++ b/src/combat.cpp @@ -7,13 +7,13 @@ #include -ConVar cv_shoots_thru_walls ("shoots_thru_walls", "2", "Specifies whether bots able to fire at enemies behind the wall, if they hearing or suspecting them.", true, 0.0f, 3.0f); -ConVar cv_ignore_enemies ("ignore_enemies", "0", "Enables or disables searching world for enemies."); +ConVar cv_shoots_thru_walls ("shoots_thru_walls", "2", "Specifies whether bots are able to fire at enemies behind the wall, if they hear or suspect them.", true, 0.0f, 3.0f); +ConVar cv_ignore_enemies ("ignore_enemies", "0", "Enables or disables searching the world for enemies."); ConVar cv_check_enemy_rendering ("check_enemy_rendering", "0", "Enables or disables checking enemy rendering flags. Useful for some mods."); ConVar cv_check_enemy_invincibility ("check_enemy_invincibility", "0", "Enables or disables checking enemy invincibility. Useful for some mods."); -ConVar cv_stab_close_enemies ("stab_close_enemies", "1", "Enables or disables bot ability to stab the enemy with knife if bot is in good condition."); -ConVar cv_use_engine_pvs_check ("use_engine_pvs_check", "0", "Use engine to check potential visibility of an enemy."); -ConVar cv_use_hitbox_enemy_targeting ("use_hitbox_enemy_targeting", "0", "Use hitbox-based enemy targeting, instead of offset based. Use with the yb_use_engine_pvs_check enabled to reduce CPU usage."); +ConVar cv_stab_close_enemies ("stab_close_enemies", "1", "Enables or disables the bot's ability to stab the enemy with the knife if the bot is in good condition."); +ConVar cv_use_engine_pvs_check ("use_engine_pvs_check", "0", "Uses the engine to check the potential visibility of an enemy."); +ConVar cv_use_hitbox_enemy_targeting ("use_hitbox_enemy_targeting", "0", "Uses hitbox-based enemy targeting, instead of offset-based. Use with yb_use_engine_pvs_check enabled to reduce CPU usage."); ConVar cv_aim_trace_consider_glass ("aim_trace_consider_glass", "0", "Bots will consider glass when deciding to shoot enemies. Required for very special maps only."); ConVar mp_friendlyfire ("mp_friendlyfire", nullptr, Var::GameRef); diff --git a/src/config.cpp b/src/config.cpp index 81fde35..eb0927e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -7,8 +7,8 @@ #include -ConVar cv_bind_menu_key ("bind_menu_key", "=", "Binds specified key for opening bots menu.", false); -ConVar cv_ignore_cvars_on_changelevel ("ignore_cvars_on_changelevel", "yb_quota,yb_autovacate", "Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel.", false); +ConVar cv_bind_menu_key ("bind_menu_key", "=", "Binds the specified key for opening the bot menu.", false); +ConVar cv_ignore_cvars_on_changelevel ("ignore_cvars_on_changelevel", "yb_quota,yb_autovacate", "Specifies a comma separated list of bot cvars that will not be overwritten by the config on changelevel.", false); BotConfig::BotConfig () { m_chat.resize (Chat::Count); diff --git a/src/control.cpp b/src/control.cpp index e9b6872..055dfba 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -8,9 +8,9 @@ #include ConVar cv_display_menu_text ("display_menu_text", "1", "Enables or disables display menu text, when players asks for menu. Useful only for Android.", true, 0.0f, 1.0f, Var::Xash3D); -ConVar cv_password ("password", "", "The value (password) for the setinfo key, if user sets correct password, he's gains access to bot commands and menus.", false, 0.0f, 0.0f, Var::Password); -ConVar cv_password_key ("password_key", "_ybpw", "The name of setinfo key used to store password to bot commands and menus.", false); -ConVar cv_bots_kill_on_endround ("bots_kill_on_endround", "0", "Allows to use classic bot kill on issuing end-round command in menus, instead of gamedll endround.", false); +ConVar cv_password ("password", "", "The value (password) for the setinfo key. If the user sets the correct password, he gains access to bot commands and menus.", false, 0.0f, 0.0f, Var::Password); +ConVar cv_password_key ("password_key", "_ybpw", "The name of the setinfo key used to store the password for bot commands and menus.", false); +ConVar cv_bots_kill_on_endround ("bots_kill_on_endround", "0", "Allows the use of classic bot kill when issuing the end-round command in menus, instead of the gamedll endround.", false); int BotControl::cmdAddBot () { enum args { alias = 1, difficulty, personality, team, model, name, max }; @@ -244,7 +244,15 @@ int BotControl::cmdCvars () { cfgPath = strings.joinPath (bstor.getRunningPath (), folders.config, "maps", strings.format ("%s.%s", game.getMapName (), kConfigExtension)); } cfg.open (cfgPath, "wt"); - cfg.puts ("// Configuration file for %s\n\n", product.name); + + cfg.puts ("//\n"); + cfg.puts ("// @package: %s\n", product.name); + cfg.puts ("// @version: %s\n", product.version); + cfg.puts ("// @author: %s\n", product.author); + cfg.puts ("// @filename: %s.cfg\n", isSaveMap ? game.getMapName () : product.nameLower); + cfg.puts ("// \n"); + cfg.puts ("// %s configuration file for %s. Can be executed using the 'exec' command.\n", isSaveMap ? "Map" : "Main", product.name); + cfg.puts ("//\n"); } else { setRapidOutput (true); diff --git a/src/engine.cpp b/src/engine.cpp index 730753c..78a8dee 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -9,9 +9,9 @@ ConVar cv_csdm_mode ("csdm_mode", "0", "Enables or disables CSDM / FFA mode for bots.\nAllowed values: '0', '1', '2', '3'.\nIf '0', CSDM / FFA mode is auto-detected.\nIf '1', CSDM mode is enabled, but FFA is disabled.\nIf '2', CSDM and FFA mode is enabled.\nIf '3', CSDM and FFA mode is disabled.", true, 0.0f, 3.0f); ConVar cv_ignore_map_prefix_game_mode ("ignore_map_prefix_game_mode", "0", "If enabled, bots will not apply game modes based on map name prefix (fy_ and ka_ specifically)."); -ConVar cv_threadpool_workers ("threadpool_workers", "-1", "Maximum number of threads bot will run to process some tasks. -1 means half of CPU cores used.", true, -1.0f, static_cast (plat.hardwareConcurrency ())); -ConVar cv_grenadier_mode ("grenadier_mode", "0", "If enabled, bots will not apply throwing condition on grenades."); -ConVar cv_ignore_enemies_after_spawn_time ("ignore_enemies_after_spawn_time", "0", "Make bots ignore enemies for a specified here time in seconds on new round. Useful for Zombie Plague mods.", false); +ConVar cv_threadpool_workers ("threadpool_workers", "-1", "Maximum number of threads the bot will run to process some tasks. -1 means half of the CPU cores are used.", true, -1.0f, static_cast (plat.hardwareConcurrency ())); +ConVar cv_grenadier_mode ("grenadier_mode", "0", "If enabled, bots will not apply throwing conditions on grenades."); +ConVar cv_ignore_enemies_after_spawn_time ("ignore_enemies_after_spawn_time", "0", "Makes bots ignore enemies for a specified time in seconds on a new round. Useful for Zombie Plague mods.", false); ConVar sv_skycolor_r ("sv_skycolor_r", nullptr, Var::GameRef); ConVar sv_skycolor_g ("sv_skycolor_g", nullptr, Var::GameRef); diff --git a/src/fakeping.cpp b/src/fakeping.cpp index 62b851b..aa4b77f 100644 --- a/src/fakeping.cpp +++ b/src/fakeping.cpp @@ -7,10 +7,10 @@ #include -ConVar cv_ping_base_min ("ping_base_min", "5", "Lower bound for base bot ping shown in scoreboard upon creation.", true, 0.0f, 100.0f); -ConVar cv_ping_base_max ("ping_base_max", "20", "Upper bound for base bot ping shown in scoreboard upon creation.", true, 0.0f, 100.0f); -ConVar cv_ping_count_real_players ("ping_count_real_players", "1", "Count player pings when calculating average ping for bots. If no, some random ping chosen for bots."); -ConVar cv_ping_updater_interval ("ping_updater_interval", "1.25", "Interval in which fakeping get updated in scoreboard.", true, 0.1f, 10.0f); +ConVar cv_ping_base_min ("ping_base_min", "5", "Lower bound for base bot ping shown in the scoreboard upon creation.", true, 0.0f, 100.0f); +ConVar cv_ping_base_max ("ping_base_max", "20", "Upper bound for base bot ping shown in the scoreboard upon creation.", true, 0.0f, 100.0f); +ConVar cv_ping_count_real_players ("ping_count_real_players", "1", "Count player pings when calculating the average ping for bots. If not, a random ping is chosen for bots."); +ConVar cv_ping_updater_interval ("ping_updater_interval", "1.25", "Interval at which the fake ping gets updated in the scoreboard.", true, 0.1f, 10.0f); bool BotFakePingManager::hasFeature () const { return game.is (GameFlags::HasFakePings) && cv_show_latency.as () >= 2; diff --git a/src/graph.cpp b/src/graph.cpp index 3cff8e2..64314eb 100644 --- a/src/graph.cpp +++ b/src/graph.cpp @@ -7,12 +7,12 @@ #include -ConVar cv_graph_fixcamp ("graph_fixcamp", "0", "Specifies whether bot should not 'fix' camp directions of camp waypoints when loading old PWF format."); -ConVar cv_graph_url ("graph_url", product.download.chars (), "Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed.", false, 0.0f, 0.0f); -ConVar cv_graph_url_upload ("graph_url_upload", product.upload.chars (), "Specifies the URL to which bots will try to upload the graph file to database.", false, 0.0f, 0.0f); -ConVar cv_graph_auto_save_count ("graph_auto_save_count", "15", "Every N graph nodes placed on map, the graph will be saved automatically (without checks).", true, 0.0f, kMaxNodes); -ConVar cv_graph_draw_distance ("graph_draw_distance", "400", "Maximum distance to draw graph nodes from editor viewport.", true, 64.0f, 3072.0f); -ConVar cv_graph_auto_collect_db ("graph_auto_collect_db", "1", "Allows bots to exchange your graph files with graph database automatically."); +ConVar cv_graph_fixcamp ("graph_fixcamp", "0", "Specifies whether the bot should not 'fix' camp directions of camp waypoints when loading the old PWF format."); +ConVar cv_graph_url ("graph_url", product.download.chars (), "Specifies the URL from which bots will be able to download the graph in case of a missing local one. Set to empty if no downloads are needed.", false, 0.0f, 0.0f); +ConVar cv_graph_url_upload ("graph_url_upload", product.upload.chars (), "Specifies the URL to which bots will try to upload the graph file to the database.", false, 0.0f, 0.0f); +ConVar cv_graph_auto_save_count ("graph_auto_save_count", "15", "Every N graph nodes placed on the map, the graph will be saved automatically (without checks).", true, 0.0f, kMaxNodes); +ConVar cv_graph_draw_distance ("graph_draw_distance", "400", "Maximum distance to draw graph nodes from the editor viewport.", true, 64.0f, 3072.0f); +ConVar cv_graph_auto_collect_db ("graph_auto_collect_db", "1", "Allows bots to exchange your graph files with the graph database automatically."); void BotGraph::reset () { // this function initialize the graph structures.. diff --git a/src/manager.cpp b/src/manager.cpp index 6de0625..a243ada 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -7,48 +7,48 @@ #include -ConVar cv_autovacate ("autovacate", "1", "Kick bots to automatically make room for human players."); -ConVar cv_autovacate_keep_slots ("autovacate_keep_slots", "1", "How many slots autovacate feature should keep for human players.", true, 1.0f, 8.0f); -ConVar cv_kick_after_player_connect ("kick_after_player_connect", "1", "Kick the bot immediately when a human player joins the server (yb_autovacate must be enabled)."); +ConVar cv_autovacate ("autovacate", "1", "Kicks bots to automatically make room for human players."); +ConVar cv_autovacate_keep_slots ("autovacate_keep_slots", "1", "How many slots the autovacate feature should keep for human players.", true, 1.0f, 8.0f); +ConVar cv_kick_after_player_connect ("kick_after_player_connect", "1", "Kicks the bot immediately when a human player joins the server (yb_autovacate must be enabled)."); -ConVar cv_quota ("quota", "9", "Specifies the number bots to be added to the game.", true, 0.0f, static_cast (kGameMaxPlayers)); +ConVar cv_quota ("quota", "9", "Specifies the number of bots to be added to the game.", true, 0.0f, static_cast (kGameMaxPlayers)); ConVar cv_quota_mode ("quota_mode", "normal", "Specifies the type of quota.\nAllowed values: 'normal', 'fill', and 'match'.\nIf 'fill', the server will adjust bots to keep N players in the game, where N is yb_quota.\nIf 'match', the server will maintain a 1:N ratio of humans to bots, where N is yb_quota_match.", false); -ConVar cv_quota_match ("quota_match", "0", "Number of players to match if yb_quota_mode set to 'match'", true, 0.0f, static_cast (kGameMaxPlayers)); -ConVar cv_think_fps ("think_fps", "30.0", "Specifies how many times per second bot code will run.", true, 24.0f, 90.0f); +ConVar cv_quota_match ("quota_match", "0", "Number of players to match if yb_quota_mode is set to 'match'.", true, 0.0f, static_cast (kGameMaxPlayers)); +ConVar cv_think_fps ("think_fps", "30.0", "Specifies how many times per second the bot code will run.", true, 24.0f, 90.0f); ConVar cv_think_fps_disable ("think_fps_disable", "1", "Allows to completely disable think fps on Xash3D.", true, 0.0f, 1.0f, Var::Xash3D); -ConVar cv_autokill_delay ("autokill_delay", "0.0", "Specifies amount of time in seconds when bots will be killed if no humans left alive.", true, 0.0f, 90.0f); -ConVar cv_first_human_restart ("first_human_restart", "0.0", "Restart the game if first human player joined the bot game.", true, 0.0f, 1.0f); +ConVar cv_autokill_delay ("autokill_delay", "0.0", "Specifies the amount of time in seconds after which bots will be killed if no humans are left alive.", true, 0.0f, 90.0f); +ConVar cv_first_human_restart ("first_human_restart", "0", "Restart the game if the first human player joins a bot game."); -ConVar cv_join_after_player ("join_after_player", "0", "Specifies whether bots should join server, only when at least one human player in game."); -ConVar cv_join_team ("join_team", "any", "Forces all bots to join team specified here.", false); +ConVar cv_join_after_player ("join_after_player", "0", "Specifies whether bots should join the server only when at least one human player is in the game."); +ConVar cv_join_team ("join_team", "any", "Forces all bots to join the team specified here.", false); ConVar cv_join_delay ("join_delay", "5.0", "Specifies after how many seconds bots should start to join the game after the changelevel.", true, 0.0f, 30.0f); -ConVar cv_name_prefix ("name_prefix", "", "All the bot names will be prefixed with string specified with this cvar.", false); +ConVar cv_name_prefix ("name_prefix", "", "All bot names will be prefixed with the string specified by this cvar.", false); ConVar cv_difficulty ("difficulty", "3", "All bots difficulty level. Changing at runtime will affect already created bots.", true, 0.0f, 4.0f); -ConVar cv_difficulty_min ("difficulty_min", "-1", "Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.", true, -1.0f, 4.0f); -ConVar cv_difficulty_max ("difficulty_max", "-1", "Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.", true, -1.0f, 4.0f); -ConVar cv_difficulty_auto ("difficulty_auto", "0", "Allows each bot to balance their own difficulty based kd-ratio of team.", true, 0.0f, 1.0f); -ConVar cv_difficulty_auto_balance_interval ("difficulty_auto_balance_interval", "30", "Interval in which bots will balance their difficulty.", true, 30.0f, 240.0f); +ConVar cv_difficulty_min ("difficulty_min", "-1", "Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used.", true, -1.0f, 4.0f); +ConVar cv_difficulty_max ("difficulty_max", "-1", "Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means only yb_difficulty is used.", true, -1.0f, 4.0f); +ConVar cv_difficulty_auto ("difficulty_auto", "0", "Allows each bot to balance its own difficulty based on the kd-ratio of the team.", true, 0.0f, 1.0f); +ConVar cv_difficulty_auto_balance_interval ("difficulty_auto_balance_interval", "30", "Interval at which bots will balance their difficulty.", true, 30.0f, 240.0f); -ConVar cv_show_avatars ("show_avatars", "0", "Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends."); -ConVar cv_show_latency ("show_latency", "0", "Enables latency display in scoreboard.\nAllowed values: '0', '1', '2'.\nIf '0', there is nothing displayed.\nIf '1', there is a 'BOT' is displayed.\nIf '2' fake ping is displayed.", true, 0.0f, 2.0f); +ConVar cv_show_avatars ("show_avatars", "0", "Enables or disables displaying bot avatars in front of their names in the scoreboard. Note that currently you can only see avatars of your Steam friends."); +ConVar cv_show_latency ("show_latency", "0", "Enables latency display in the scoreboard.\nAllowed values: '0', '1', '2'.\nIf '0', there is nothing displayed.\nIf '1', there is a 'BOT' is displayed.\nIf '2' fake ping is displayed.", true, 0.0f, 2.0f); -ConVar cv_save_bots_names ("save_bots_names", "1", "Allows to save bot names upon changelevel, so bot names will be the same after a map change.", true, 0.0f, 1.0f); +ConVar cv_save_bots_names ("save_bots_names", "1", "Allows saving bot names upon changelevel, so bot names will be the same after a map change.", true, 0.0f, 1.0f); -ConVar cv_botskin_t ("botskin_t", "0", "Specifies the bots wanted skin for Terrorist team.", true, 0.0f, 5.0f); -ConVar cv_botskin_ct ("botskin_ct", "0", "Specifies the bots wanted skin for CT team.", true, 0.0f, 5.0f); +ConVar cv_botskin_t ("botskin_t", "0", "Specifies the bot's wanted skin for the Terrorist team.", true, 0.0f, 5.0f); +ConVar cv_botskin_ct ("botskin_ct", "0", "Specifies the bot's wanted skin for the CT team.", true, 0.0f, 5.0f); ConVar cv_preferred_personality ("preferred_personality", "none", "Sets the default personality when creating bots with quota management.\nAllowed values: 'none', 'normal', 'careful', 'rusher'.\nIf 'none' is specified personality chosen randomly.", false); -ConVar cv_quota_adding_interval ("quota_adding_interval", "0.10", "Interval in which bots are added to the game.", true, 0.10f, 1.0f); -ConVar cv_quota_maintain_interval ("quota_maintain_interval", "0.40", "Interval on which overall bot quota are checked.", true, 0.40f, 2.0f); +ConVar cv_quota_adding_interval ("quota_adding_interval", "0.10", "Interval at which bots are added to the game.", true, 0.10f, 1.0f); +ConVar cv_quota_maintain_interval ("quota_maintain_interval", "0.40", "Interval at which the overall bot quota is checked.", true, 0.40f, 2.0f); ConVar cv_language ("language", "en", "Specifies the language for bot messages and menus.", false); -ConVar cv_rotate_bots ("rotate_bots", "0", "Randomly disconnect and connect bots, simulating players join/quit."); -ConVar cv_rotate_stay_min ("rotate_stay_min", "360.0", "Specifies minimum amount of seconds bot keep connected, if rotation active.", true, 120.0f, 7200.0f); -ConVar cv_rotate_stay_max ("rotate_stay_max", "3600.0", "Specifies maximum amount of seconds bot keep connected, if rotation active.", true, 1800.0f, 14400.0f); +ConVar cv_rotate_bots ("rotate_bots", "0", "Randomly disconnects and connects bots, simulating players joining/quitting."); +ConVar cv_rotate_stay_min ("rotate_stay_min", "360.0", "Specifies the minimum amount of seconds a bot stays connected, if rotation is active.", true, 120.0f, 7200.0f); +ConVar cv_rotate_stay_max ("rotate_stay_max", "3600.0", "Specifies the maximum amount of seconds a bot stays connected, if rotation is active.", true, 1800.0f, 14400.0f); ConVar cv_restricted_weapons ("restricted_weapons", "", "", false); diff --git a/src/navigate.cpp b/src/navigate.cpp index 46d7109..ebd496c 100644 --- a/src/navigate.cpp +++ b/src/navigate.cpp @@ -7,7 +7,7 @@ #include -ConVar cv_has_team_semiclip ("has_team_semiclip", "0", "When enabled, bots will not try to avoid teammates on their way. Assuming some of the semiclip plugins are in use."); +ConVar cv_has_team_semiclip ("has_team_semiclip", "0", "When enabled, bots will not try to avoid teammates on their way. Assumes that some semiclip plugins are in use."); ConVar cv_graph_slope_height ("graph_slope_height", "24.0", "Determines the maximum slope height change between the current and next node to consider the current link as a jump link. Only for generated graphs.", true, 12.0f, 48.0f); int Bot::findBestGoal () { diff --git a/src/planner.cpp b/src/planner.cpp index 44901fd..2403ed4 100644 --- a/src/planner.cpp +++ b/src/planner.cpp @@ -8,10 +8,10 @@ #include ConVar cv_path_heuristic_mode ("path_heuristic_mode", "0", "Selects the heuristic function mode. For debug purposes only.", true, 0.0f, 4.0f); -ConVar cv_path_floyd_memory_limit ("path_floyd_memory_limit", "6", "Limit maximum floyd-warshall memory (megabytes). Use Dijkstra if memory exceeds.", true, 0.0, 32.0f); -ConVar cv_path_dijkstra_simple_distance ("path_dijkstra_simple_distance", "1", "Use simple distance path calculation instead of running full Dijkstra path cycle. Used only when Floyd matrices unavailable due to memory limit."); -ConVar cv_path_astar_post_smooth ("path_astar_post_smooth", "0", "Enables post-smoothing for A*. Reduces zig-zags on paths at cost of some CPU cycles."); -ConVar cv_path_randomize_on_round_start ("path_randomize_on_round_start", "1", "Randomize pathfinding on each round start."); +ConVar cv_path_floyd_memory_limit ("path_floyd_memory_limit", "6", "Limits the maximum Floyd-Warshall memory (megabytes). Uses Dijkstra if memory is exceeded.", true, 0.0, 32.0f); +ConVar cv_path_dijkstra_simple_distance ("path_dijkstra_simple_distance", "1", "Uses simple distance path calculation instead of running a full Dijkstra path cycle. Used only when Floyd matrices are unavailable due to memory limits."); +ConVar cv_path_astar_post_smooth ("path_astar_post_smooth", "0", "Enables post-smoothing for A*. Reduces zig-zags on paths at the cost of some CPU cycles."); +ConVar cv_path_randomize_on_round_start ("path_randomize_on_round_start", "1", "Randomizes pathfinding on each round start."); float PlannerHeuristic::gfunctionKillsDist (int team, int currentIndex, int parentIndex) { if (parentIndex == kInvalidNodeIndex) { diff --git a/src/support.cpp b/src/support.cpp index 4b0de27..6ba2abc 100644 --- a/src/support.cpp +++ b/src/support.cpp @@ -7,10 +7,10 @@ #include -ConVar cv_display_welcome_text ("display_welcome_text", "1", "Enables or disables showing welcome message to host entity on game start."); -ConVar cv_enable_query_hook ("enable_query_hook", "0", "Enables or disables fake server queries response, that shows bots as real players in server browser."); -ConVar cv_breakable_health_limit ("breakable_health_limit", "500.0", "Specifies the maximum health of breakable object, that bot will consider to destroy.", true, 1.0f, 3000.0); -ConVar cv_enable_fake_steamids ("enable_fake_steamids", "0", "Allows or disallows bots to return fake steam id."); +ConVar cv_display_welcome_text ("display_welcome_text", "1", "Enables or disables showing a welcome message to the host entity on game start."); +ConVar cv_enable_query_hook ("enable_query_hook", "0", "Enables or disables fake server query responses, which show bots as real players in the server browser."); +ConVar cv_breakable_health_limit ("breakable_health_limit", "500.0", "Specifies the maximum health of a breakable object that the bot will consider destroying.", true, 1.0f, 3000.0); +ConVar cv_enable_fake_steamids ("enable_fake_steamids", "0", "Allows or disallows bots to return a fake Steam ID."); BotSupport::BotSupport () { m_needToSendWelcome = false; @@ -479,7 +479,7 @@ float BotSupport::getWaveFileDuration (StringRef filename) { void BotSupport::setCustomCvarDescriptions () { // set the cvars custom descriptions here if needed - String restrictInfo = "Specifies semicolon separated list of weapons that are not allowed to buy / pickup.\n"; + String restrictInfo = "Specifies a semicolon separated list of weapons that are not allowed to be bought/picked up.\n"; restrictInfo += "The list of weapons for Counter-Strike 1.6:\n"; // fill the restrict information diff --git a/src/tasks.cpp b/src/tasks.cpp index bb0662f..6333930 100644 --- a/src/tasks.cpp +++ b/src/tasks.cpp @@ -7,13 +7,13 @@ #include -ConVar cv_walking_allowed ("walking_allowed", "1", "Specifies whether bots able to use 'shift' if they thinks that enemy is near."); -ConVar cv_camping_allowed ("camping_allowed", "1", "Allows or disallows bots to camp. Doesn't affects bomb/hostage defending tasks."); +ConVar cv_walking_allowed ("walking_allowed", "1", "Specifies whether bots are able to use 'shift' if they think that an enemy is near."); +ConVar cv_camping_allowed ("camping_allowed", "1", "Allows or disallows bots to camp. Doesn't affect bomb/hostage defending tasks."); -ConVar cv_camping_time_min ("camping_time_min", "15.0", "Lower bound of time from which time for camping is calculated", true, 5.0f, 90.0f); -ConVar cv_camping_time_max ("camping_time_max", "45.0", "Upper bound of time until which time for camping is calculated", true, 15.0f, 120.0f); +ConVar cv_camping_time_min ("camping_time_min", "15.0", "Lower bound of time from which the time for camping is calculated.", true, 5.0f, 90.0f); +ConVar cv_camping_time_max ("camping_time_max", "45.0", "Upper bound of time until which the time for camping is calculated.", true, 15.0f, 120.0f); -ConVar cv_random_knife_attacks ("random_knife_attacks", "1", "Allows or disallows the ability for random knife attacks when bot is rushing and no enemy is nearby."); +ConVar cv_random_knife_attacks ("random_knife_attacks", "1", "Allows or disallows the ability for random knife attacks when the bot is rushing and no enemy is nearby."); void Bot::normal_ () { m_aimFlags |= AimFlags::Nav; diff --git a/src/vision.cpp b/src/vision.cpp index 4f553ac..b4afe42 100644 --- a/src/vision.cpp +++ b/src/vision.cpp @@ -7,7 +7,7 @@ #include -ConVar cv_max_nodes_for_predict ("max_nodes_for_predict", "22", "Maximum number for path length, to predict the enemy.", true, 15.0f, 256.0f); +ConVar cv_max_nodes_for_predict ("max_nodes_for_predict", "22", "Maximum number of path nodes to predict the enemy.", true, 15.0f, 256.0f); ConVar cv_whose_your_daddy ("whose_your_daddy", "0", "Enables or disables extra hard difficulty for bots."); // game console variables