View Single Post
Author Message
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 08-08-2009 , 08:12   [L4D & L4D2] Survivor Bot AI SHOOT IT FFS Fix
Reply With Quote #1

After being mad at Survivor Bots for the last time because they AGAIN ignored the teammate being Pounced right at their feet, and also having discovered i could make Bots look somewhere, i wrote a SOLUTION!!!


This Plugin will make Survivor Bots in the Vicinity of a Pounced Teammate aim on them (just for a split second sometimes because the AI itself wants to aim at stuff too) and the Bot AI will hopefully at least have the brains to pull the trigger if aiming at an enemy.


It improves Bot behaviour with pounced Teammates when being swarmed by zombies themselves. No longer will they just stand on you and the Hunter or do nothing.


Since 1.0.3 works on Pounces, Tongues, Jockeys and Chargers.
L4D backwards compatibility unless i screwed the code up.


Version History:
1.0.0 - release
1.0.1 - code optimizations
1.0.2 - fixed code twist
1.0.3 - overhaul, now works with all kinds of SI disables
1.0.4 - small IsClientIngame fix
1.0.5 - replaced forcing the bots to look at victims with the script attack command
Attached Files
File Type: sp Get Plugin or Get Source (l4d_survivorai_pouncedfix.sp - 14952 views - 3.0 KB)

Last edited by AtomicStryker; 04-15-2015 at 16:15.
AtomicStryker is offline