View Single Post
Author Message
Xanaguy
Senior Member
Join Date: Jan 2017
Old 09-13-2018 , 04:54   [L4D2] Improved and Perfected SurvivorAI Autotrigger
Reply With Quote #1

This plugin was originally crafted by AtomicStryker, that covered only the main 5 campaigns.

Then when I was looking for recommended plugins on the "Competitive-Bots+" workshop item discussion, I found ijj's variant that covered more campaigns. But it still wasn't enough for every map to be completed from start to finish.

So I took it upon myself to complete all the necessary maps, triggers, and teleport spots to ensure that the bots will always traverse to the saferoom. Here it is.

General changes made that were different from ijj's variant:

- Added missing, vital triggers for all official maps, both event and teleportation, Bots should be able to complete all maps from start to finish.
- Fixed Tank encounter on The Sacrifice - Docks. (The original coding had the checks and effects backwards).
- Overhauled Textual notifications to chat to be less plain.

Upgrades:

- Bots are now guaranteed to call Whitaker in the gun shop.

- While this isn't really too much of a change, it still helps for that one guy: After taking Lux's advice and Timocop's implementation, memory leaks have been removed.

- 2/3/2019:

- Added support for many addon campaigns.

- Added failsafe for The Sacrifice - Docks.

- Reinstated The Sacrifice - Port since it works for mutations that can only be played in single-player ("maxplayers" **MUST BE "1"! NO GREATER!**)

- AutoTrigger will now activate when it is just bots alive on the survivor team, even if every human player was killed in action.

- 6/9/2019:

- Included full support of Yama. (Listed in the compatible campaigns)

- 10/7/2020:

- Extended compatibilities to many custom campaigns. Exact list is unknown.

- Fixed an incorrect entity name for DayBreak - Chapter 1

- The alarmed doors will now unblock the nav on open on DayBreak - Chapter 2

- There is a slight delay before closing the doors behind the survivors after they teleport on DayBreak - Chapter 5. This will allow the finale to initiate properly.

- 10/8/2020:

- Fixed some issues reported by Crasher. (I was not able to verify everything, details in the reply)

- 10/9/2020:

- Changed a check for bots to a proper check.

List of supported campaigns:
  1. Fatal Freight
  2. Precinct 84 ( 2018 )
  3. Road To Nowhere 2
  4. Suicide Blitz II
  5. Urban Flight
  6. Wan Li
  7. Welcome to Hell
  8. Yama
Attached Files
File Type: sp Get Plugin or Get Source (AutoTrigger.sp - 7028 views - 159.4 KB)

Last edited by Xanaguy; 10-10-2020 at 00:14. Reason: Rephrased explanation for The Sacrifice - Port in the change log.
Xanaguy is offline