Left 4 Dead 2

Left 4 Dead 2

68 个评价
(MSC) AG3 Survivor Smart Bots
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts, Miscellaneous
文件大小
发表于
更新日期
259.384 KB
2022 年 7 月 11 日 上午 3:41
2023 年 2 月 6 日 下午 1:13
5 项改动说明 ( 查看 )

订阅以下载
(MSC) AG3 Survivor Smart Bots

在 [FoRcE]army_guy3 的 1 个合集中
(MSC) Scripts
33 件物品
描述
MSC_ID: MSC_AG3_Survivor_Smart_Bots
Supports MSC_AUTOLOAD.

This is the 28th test script that runs on the Master Script Controller.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2203978515

This script improves the survivor bot AI. It is currently over 10,000 lines of code and over 250kb of data. It currently stands as my biggest l4d2 vscripts project as of this writing.

Improved Accuracy.
Priority Targeting
Tactical Reload
Dominating Special Priority Rescue
Smoker Tongue Targeting Algorithm
Charger Dodging Algorithm
Smart Supply Pickup
Seeker Algorithm
Tank Rock Shooting Algorithm
Engage Future Threat Witch Algorithms
Tactical Crouch
Realism Tactical Aiming
Smart Knockback Algorithm
Early Detection Spit/fire avoidance (Delta Bounding Detection Algorithm)
Smart NavMesh Break Down (Alignment limited by (10 * 10) point projection)
Bot Precision mode (Helper trace mode)
Bot Precision mode (Assumed hit mode)
Defib Human Players Algorithm (ALPHA)
Second Chance Defib Algorithm (ALPHA)
Second Chance Rescue Closet Algorithm (ALPHA)
Nozzle detection
Scavenger Backpack gas helper (ALPHA)
Scavenger Gas Deliver (Alpha)
Scavenger Gas Pour algorithm (ALPHA)
Survival Bots Mode (Modified settings for survival)
Accidental Explosive Detonation Prevention
Rescue Closet Smart Wait Algorithm
Tank Rock Dodging algorithm (ALPHA)
Tank Rock Redirect algorithm (ALPHA)


Chat Commands:
/bot_defib - Tells the survivor AI they can revive nonhuman players as well for the next 60 seconds.
/bot_pour - Tells the survivor AI they can beginning attempting to pour gas rather than dropping it near nozzle area.
/bot_precisionmode <value> - Tells the bots to use precision mode between 0 and 100. (Resets to default value on round restarts and map changes.)
/bot_fail - Tells the second chance bot system to trigger mission failure.


This is a very large script that I've been working on for quite a while that is based on my old l4d1 Smart Bots sourcemod plugin.

Thanks to the following for Resources, Feedback, and help with troubleshooting:
ReneTM
Rayman1103
This Shadowysn guy
Orinuse
Nescius
Mart
Solved
Eyal282
Nuki

Alpha Testing:
XNekoRose
Hyper_Warp
Solved



Keep mind this script is in alpha and is subject to change. Currently not much can be done with tank. Bots will still activate their stupid mode when a survivor is incapped. The script uses a tick think style to override aiming, This means that sometimes the game will override where the bots are looking making them shoot randomly in the wrong direction. A higher bot_precisionmode value can help in these cases.

Delta bounding is a new less effective algorithm to the previous (Delta Precision Algorithm), but fire can have 32+ deltas and comparing (insectswarm_count * 8 Deltas by SNBD * area_range) + (inferno_count * 32 Deltas by SNBD * area_range) caused the game to freeze for short intervals when bots calculated safe paths. Delta bounding only changes when the Deltas change count. Sadly this means the bots will still sometimes take damage getting out of danger areas.

The Smoker Tongue Targeting Algorithm currently has an issue with calculating smoker tongues with more than one bend point. This is a netprop vscripts limitation and I'm told by developers the issue will be fixed in future game updates. After the issue is fixed, I can finish programming the survivors to shoot at the whole tongue with multiple bend points.

Also keep in mind this script has to run a lot of background processing algorithms very rapidly for each survivor bot, Weaker systems may experience slight fps drops.


These scripts take a lot of time and effort to produce. If you like them and/or want to see more, you can show your appreciation by throwing some money my way at:
https://www.patreon.com/ag3_killstreak
79 条留言
˶ᵔ ﻌ ᵔ˶ POODS 10 月 9 日 下午 5:06 
Cool and all, but literal aimbot for bots. Not ideal for versus.
RΞBΞCCA ⁧⁧ ✔ 1 月 18 日 下午 7:09 
it works, didn't use it for very long but they're beasts at fighting and avoiding damage. the wonky stuff was when they can't decide whether they want the defib or the heatlhpack and get stuck switching them till you move. they also crouch whenever they're in your line of sight to avoid friendly fire. decent, but maybe too crazy at kicking butt lol
Mekalygie 2024 年 6 月 8 日 下午 2:18 
Hi! I just wanted to say how grateful I am for this mod! While it's not perfect, it is already so much better than the vanilla bots. Thanks to you, I have finally been able to successfuly play and beat the campaigns on Expert for the first time in over a decade of playing this game!
You are very good at what you do, please keep working on this game, and thank you so much for doing this!
Граф Трахула 2024 年 4 月 17 日 下午 11:38 
the command to use a defibrillator on the bot does not work.
BunnyMonster 2024 年 3 月 4 日 下午 6:38 
make the aim a bit more realistic than just aimbot for the bots
Market Pluh 2023 年 12 月 20 日 下午 10:48 
this is almost perfect if the bots dont pick up defib over medkit
so here's my suggestion: bots only pick defib when a player is dead
or the bots have a defib pocket
Black Wolf 2023 年 7 月 2 日 下午 9:54 
please fix: they prefer to pick up defibs rather than medkits, sometimes though they'll pick the medkits back but immediately re-pick the defib, painful to deal with.
RiceIsNice 2023 年 6 月 10 日 下午 9:09 
if they see medkit and defib they start spam picking it up
Baka Baka 2023 年 6 月 3 日 上午 9:49 
This mod is amazing! I'm playing RH8 DUO with nick, it's awesome!
L_M 2023 年 6 月 2 日 上午 7:45 
this bot is preventing them to heal themself

can u fix it?