Left 4 Dead 2

Left 4 Dead 2

Advanced Bot AI
Showing 31-40 of 179 entries
< 1  2  3  4  5  6 ... 18 >
Update: 15 May, 2022 @ 6:16am

improve Navigator

Update: 6 May, 2022 @ 1:35am

改进:

1. 为导航器添加A*寻路算法(减少出现奇怪路径的情况),导航器默认为A*算法,当A*搜索不到路径时,会换为导航网API提供的路径。
2. Bots身上背着的物品现在会正确在换图时储存。
3. 修改传送滞后Bot与导航器的优先级,当导航器正在工作时,Bot不会因为滞后而传送到前一个生还者处。
4. Bots现在会试图寻找路径附近的资源品 (以Bot为圆心,12.7m范围内)。

Improved:

1. Add A* search algorithm to the Navigator (to reduce the occurrence of paths), default pathfinder is A* algorithm, it will be changed to Nav API path if A* return null paths.
2. Props on the bot's back will be correctly saved when the map is transitioned.
3. Modify the priority between the "Teleport the bot who is laggard" and "Navigator". If Navigator is working, bots will never be teleported.
4. Bots will now try to find resources near the path (with the Bot as the center, within a 12.7m radius).

Update: 30 Apr, 2022 @ 9:18am

add a icon to the menu

Update: 30 Apr, 2022 @ 7:18am

从4月24至今修改:

1. 弃用CommandABot函数,通过Nav导航网编写导航器功能。

CommandABot函数:
· 无法在Bot移动的同时命令Bot攻击,切换状态有很长后摇,容易挨打,容易在原地发呆。
· 移动路径更自然。

导航器:
· 可以让Bot同时移动和攻击。
· 路径不够自然,API会返回一些不合法路径,但是一些点位我会让Bot瞬移到下个区块。

导航器的使用是为了解决Bot在执行移动操作时无法正常寻敌的问题(尤其是寻油时),目前看来效果还不错,但是一些高低差过大的移动会直接瞬移,后续会找方法缓解/解决。

2. 躲避功能修改:
· 配合导航器,在以下情况会命令Bot移动到指定地点:
在玩家在附近时,踩痰、遇到克、遇到witch,会跟随玩家,玩家不在附近时会试图寻找附近安全地点。
· 修改躲避Tank的能力,现在Bot会在Tank出拳的一瞬间跳跃躲避。

3. 携带物品:
Bot现在会携带:油桶、可乐罐、煤气罐、烟花、氧气瓶、花园侏儒。
玩家可以通过按使用键(E)取下来。
在玩家丢下物品后5秒,Bot才能重新背起。
Bot在灌油关卡灌油失败丢弃油桶时,需要3秒才能重新捡起。
因为可乐罐和花园侏儒通常属于剧情道具,所以Bot携带这两个物品时,造成的伤害会降低到之前的0.75倍。
此功能可以通过菜单关闭。

4. 丢投掷物算法修改:
修改了针对胆汁、土质的权重,现在大部分时候只会在感染者很多、有玩家倒地的情况下才丢。
Bot丢出的燃烧瓶可以让Tank持续燃烧,即使Tank在水中。

5. 重写菜单功能:
现在菜单可以通过绑定grenade1来通过快捷键呼出,具体可以查看模组介绍页面。
菜单图标会呈环形分布,只需要左键点击相应图标即可完成选中。

6. 标点系统:
新增标点系统来命令Bot,需要绑定一个按键到alt2键,具体可以查看模组介绍页面。
标点系统分默认功能和选择功能。
短按是默认操作,具体操作可以通过选中物体并长按alt2来呼出选择菜单。

7. Bot现在不会挂边:
只要不是特感造成的挂边,Bot都会直接起身,同时Bot现在掉到即死区域会传送到附近玩家或者附近安全地点。
判定即死区域算法:Bot收到来自于非生命 大于或等于100的伤害时,会判定为即死区域。所以Bot满血时无法被处死。

8. 菜单添加两个开关:
· 开关携带物品
· 开关Bot是否在所有玩家死亡后继续跑图。

9. 脚本性能优化:
修改实体存储功能。
其中对于查找普通感染者,使用感染者的坐标来存入map,在Bot寻敌时可以直接匹配相应坐标的区块,用于减少脚本性能消耗,提高帧数。

10. 修复一个潜在的闪退问题:
删除在AllowTakeDamage事件中使用的伤害函数。

Update from April 24th to the present:

1. Deprecate the CommandABot function and use the Navigator function by the NavArea.

CommandABot:
· Can't make bot attack and move at the same time.
· Natural movement.

Navigator:
· Bot will attack and move at the same time.
· Unnatural movement.

The purpose is to solve the problem of bot can't normally target during moving. Especially finding the gas can.

2. Modify dodge function:
· With the navigator, the bot will be commanded to move to the specified location.
· Modify the ability of avoid Tank,bot will only jump if tank punch.

3. Carry supplis:
Bot now can carry: gas can、cola bottles、propane canister、firework、oxygen tank、gnome.
Players may press use key (E) to take it.
Bot will not carry it until 5 seconds after the player drops it.
Bot will not carry gas can until 3 seconds after bot faild to pour gas.
Case cola bottles and gnome are plot props, bot's damage will multiply by 0.75 when taking them.

This function can be disabled by menu.

4. Throw grenade modify:
Bot's molotov make tank keep burning, even if tank in the water.

5. Redesigned menu.
See details on the addon page.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1968764163

6. Ping System.
See details on the addon page.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1968764163

7. Bot will not ledge grab anymore:
Unless it is caused by a special infected.

8. Add 2 switch to menu:
· Switch if bot carry supplies.
· Switch if bot will keep going after all players are dead.

9. Script performance optimization:
Modify entity storage capabilities.
Among them, the function of finding common infected, the coordinates of the infected are used to store the map. When the Bot searches for enemies, it can directly match the chunk with the corresponding coordinates, which is used to reduce script performance consumption and increase frames.

10. Fix a potential crash issue:
Removed TakeDamage function used in AllowTakeDamage event.

Update: 26 Apr, 2022 @ 7:20pm

修复:
1. 调整Bot背物品的判定,防止Bot背到奇怪的东西。
2. 修复平衡模式下不应该出现的硬锁感染者。
3. 修复从Bot背上取下油罐时,没法直接引燃的问题。

优化:
1. 调整Bot应对Tank时的躲避时机。


Fix:
1. Adjust the judgment of Bot carrying items to prevent Bot from carrying things strange.
2. Fixing a problem about Balance Mode shouldn't make Bot like aimbot.
3. Fixing a problem about can't ignite the gas can when the first time takedown it from Bots.

Improvement:
1. Adjust the timing about when to make bot avoid the Tank.

Update: 25 Apr, 2022 @ 8:23am

later

Update: 24 Apr, 2022 @ 10:55am

later

Update: 23 Apr, 2022 @ 9:29pm

ww

Update: 23 Apr, 2022 @ 8:07pm

later

Update: 19 Apr, 2022 @ 6:12am

·移除Bot对普通感染者额外受伤计算
·降低Bot应对Tank时的跳跃幅度
·为主动打药增加一条判断,有生还者被控时不会触发脚本主动打药