Left 4 Dead 2

Left 4 Dead 2

296 ratings
NB's Simple AI Improvements (Script)
2
   
Award
Favorite
Favorited
Unfavorite
Survivors: Survivors
Game Content: Scripts
File Size
Posted
Updated
3.730 KB
26 Apr, 2023 @ 7:11pm
12 Apr, 2024 @ 4:18pm
37 Change Notes ( view )

Subscribe to download
NB's Simple AI Improvements (Script)

In 1 collection by NB
[T.A.C.M]⚙️Scripts / Mods Compatibility⚙️
76 items
Description
Tittle ; a set of tweaks focused on making survivor bots more self capable and far more useful on combat while not adding new functions to their behavior whatsoever , just cvar tweaks.

(Survivor AI Features)
• bots are fast paced when progressing through the levels , same as VS on all gamemodes.
• bots now avoid low ammo capacity weapons like snipers and non-automatic shotguns.
• bots will save pinned survivors more quicker or as faster as their behavior allows them.
• bots can revive teammates from 20% extra far away. (does not affect human players)
• bots will perform sidestep movements during hordes instead of standing still when ambushed.
• bots can scavenge and spot items slightly more further than usual.
• bots can close saferooms by themselfs and if the player is taking to long to do it.
• bots immediately get back to the fight when boomed ..instead of bashing during 4 seconds.
• bots path traveling is now more faster - less likely to stop over and over to select a path.
• bots can turn their cameras more quicker and they will swap from target to target way faster.
• bots will ensure that atleast there is one guy holding a melee weapon on the team.
• bots are gonna prioritize players more often for healing interactions and med supplies.
• bots can teleport more often and quicker when stuck somewhere around.
• bots can continue the game if you die on all gamemodes (self explanatory).
• bots can type "sv_consistency 0" on console by themselfs so you dont have to do.
[Optional Features] Less AI Optimization(standalone) +responsive AI / +cpu usage

(DISCLAIMER):
In order to allow this script on competitive gamemodes (vs / scavenge , etc) you need to set the addonconfig restrictions to "0" instead of 1 on the Cfg folder located on your local game files.
also can be used with l4bots 1 & 2 without any problems.

(WORKS ONLY ON SINGLEPLAYER AND HOSTED LOCAL SERVERS)
42 Comments
NB  [author] 18 May @ 6:22am 
@Eizen-Ark no
Eizen-Ark 18 May @ 5:17am 
Does this disable achievements?
MrDanny 25 Jan @ 9:34pm 
bots wander off and cant climb ladders... :(
little_froy 18 Dec, 2024 @ 5:28pm 
good work, bots get far attack range and fast routing. but there is a problem, bots keep fighting even the finale vehicle ready and don't want to get in the vehicle, how can I avoid this?
Pretty Riki 26 Nov, 2024 @ 1:48am 
Thank you!
NB  [author] 25 Nov, 2024 @ 12:55pm 
@Ivan Mctraher if thats the case... them just unpack the file and delete the next lines from the scriptedmode notepad them just make it vpk again and place it into your addons folder.

============================================

botAvoidItems =
{
// Bot Preferences tweak
weapon_hunting_rifle = true
weapon_shotgun_chrome = true
weapon_pumpshotgun = true
weapon_sniper_awp = true
weapon_sniper_scout = true
weapon_sniper_military = true
}

function ShouldAvoidItem( classname )
{
if ( classname in botAvoidItems )
{
return true;
}
return false;
}
Pretty Riki 25 Nov, 2024 @ 12:30pm 
It's just that I use single grab weapons addon and so..
NB  [author] 24 Nov, 2024 @ 11:43am 
@Ivan Mctraher why would u want that?

bots often perform worse with those type of guns , specially on realism.
Pretty Riki 24 Nov, 2024 @ 6:54am 
Dear author,is there any way to allow them to use snipers and non automatic shotgun?What to do?Overall that is a great addon to have.
Sultan Abu Al Pepsi 25 Aug, 2024 @ 12:58am 
yes it should work