Left 4 Dead 2

Left 4 Dead 2

Less AI Optimization [Script]
29 Comments
Gir 9 May @ 8:08am 
DAMN BRO 554.000 B?????
Nagant 3 Nov, 2024 @ 1:01pm 
+88_________________+880
_+880_______________++80
_++88______________+880
_++88_____________++88
__+880___________++88
__+888_________++880
__++880_______++880
__++888_____+++880
__++8888__+++8880++88
__+++8888+++8880++8888
___++888++8888+++8888+80
___++88++8888++888888++88
___++++++888888fx888888888
____++++++8888888888888888
____++++++++00088888888888
_____+++++++00008f8888888
______+++++++00088888888
_______+++++++0888f8888
Doomgamer9000 20 Oct, 2024 @ 4:54pm 
Does this help game have more fps?
B1acK Wo1F 15 Oct, 2024 @ 8:26am 
what is your computer spec im wonder?
DimTheEnderman 7 May, 2024 @ 8:35pm 
I now have a reason to direct-die cool my cpu
NB  [author] 3 May, 2024 @ 7:22am 
@Doomgamer9000 probably , like the tittle says - it will heavily impact performance BUT if you have a strong PC you can give it a try.
Doomgamer9000 3 May, 2024 @ 3:31am 
Can this be used with
left 4 bots 2?
Pyri 30 Nov, 2023 @ 8:16pm 
@Amainy
Not just common infected. It affects Commons, Specials, Survivorbots
Amainy 28 Nov, 2023 @ 6:48pm 
isn't everything starting with nb_ dedicated to commons' behaviours?
NB  [author] 28 Nov, 2023 @ 6:33am 
@TootsyBowl the frequency value is now 0.08 to support better other script functions ; however keep in mind that left4bots has MANY functions in it and all of those are running in the background consuming resources so if your PC isnt strong enough i cant do nothing there ; but thanks for the feedback.
TootsyBowl 28 Nov, 2023 @ 4:08am 
Probably shouldn't use this with Left 4 Bots, in some situations such as the bots trying to path to a box of laser sights or a jockeyed player, it apparently causes so much CPU load that the game starts not playing sounds.
Zet_Monster 27 Nov, 2023 @ 7:32pm 
@NB
So this script is not recommended for low-end PC users or is it the otherwise?
Legoshi's Boyfriend 27 Nov, 2023 @ 9:38am 
I see. 0.06 is a good choice then.
NB  [author] 27 Nov, 2023 @ 9:14am 
27 Nov, 2023 @ 7:24am 
markiplier is so cute
Legoshi's Boyfriend 26 Nov, 2023 @ 10:28pm 
Works well. Launched map c1m2_streets as I wanted to check the cvars in the description. I didn't notice any change when changing the framelimit, but nb_update_frequency did give a notable change. I wonder why you didn't put "0" instead of 0.06. Performance concerns?
Legoshi's Boyfriend 26 Nov, 2023 @ 1:55pm 
Ight that's great, I will use this and tell you if it works well for me.
NB  [author] 26 Nov, 2023 @ 1:22pm 
@Xenorvya yes, i did many tests before and no while it slightly affects their navs i havent seen any noticiable problems during hours of playtesting , the game feels the same:

-Public versus hosting (no problems other than cpu usage becomes bigger)
-witch pathing to reach their victim on any map (no problems)
-CI pathing overall on any map (no problems)
-Survivor AI pathing on any official map (no problems)

my pc can handle l4d2 at 90+ fps with everything on max but idk about low spec players.
Legoshi's Boyfriend 26 Nov, 2023 @ 1:13pm 
Does this affect the witch and commons as well? They have a lot of trouble properly navigating around corners and door ways.
(^^^) Xeno 25 Nov, 2023 @ 7:56am 
That's the funniest thing I've ever seen; that makes sense now, It looks like a kindergarten fight.
NB  [author] 25 Nov, 2023 @ 7:51am 
@R󠀡F you are tempting me.
@Xeno :] https://youtu.be/I26hnQmrQEk , like i said , is not a good idea.
(^^^) Xeno 25 Nov, 2023 @ 7:40am 
From what I've seen, this fixes the low fps on their animations. Here are some clips, and for TF2 servers, this was always set to 0.

https://www.youtube.com/watch?v=NxGQ8M7c46s
https://www.youtube.com/watch?v=ELw-pgGfl6U
R󠀡F 25 Nov, 2023 @ 7:38am 
"nb_update_framelimit 30" for extra cooking power.
NB  [author] 25 Nov, 2023 @ 7:31am 
@Xeno :] those commands had many other side effects so i doubt it and setting the nb_update_frequency to 0 will cause big problems with CI movement and their navs.
(^^^) Xeno 25 Nov, 2023 @ 12:51am 
Probably add/change these 3 commands as a bonus making their movement smooth

cl_interp 0.1
cl_interp_npcs 0.1
nb_update_frequency 0
Kittycat Kye 24 Nov, 2023 @ 9:49pm 
Markiplier, my beloved. <3
NB  [author] 24 Nov, 2023 @ 8:21pm 
bud just discovered the power of the sun 💀
Jules Archibald 24 Nov, 2023 @ 7:58pm 
funny mod recreated a nuclear meltdown in my 400$ piece of shit I call a PC
(^^^) Xeno 24 Nov, 2023 @ 5:42pm 
This mod is good for server hosters; it does hurt your frames just a little for an exchange, making the NPC walk smoothly. I won't worry about it unless your PC is really slow. I would not recommend using it.