brxce / Gauntlet

NOTE - Currently on hiatus. L4D2 Coop with improved Special Infected AI. Inspired by PenPen's HardAlways configs
GNU General Public License v3.0
29 stars 27 forks source link

Limit on simultaneous AI spawned #30

Open brxce opened 3 years ago

brxce commented 3 years ago
lechuga16 commented 2 years ago

Hello, I have been creating a practice mode with hunter using its plugins, precisely the problem of not respecting the limits is something that I could not repair, do you have any idea how to do it?

brxce commented 2 years ago

No, one of the updates over the past couple of years broke the spawning method, likely "The Last Stand".

Specifically the method used to spawn a 4th, 5th, 6th AI etc... This method of CreateFakeClient() then calling spawn mechanism was already pretty hacky, I just found it from another plugin and don't fully understand how it worked before.

I have since replaced this method of spawning with a different method someone posted.

I do not currently know if anybody has found a way to make that method work for 4+ simultaneous AI special infected.

fantasylidong commented 2 years ago

You can use coop base versus to spawn more than 3 SI. You can check out Anne plugins package. https://github.com/Caibiii/AnneServer/blob/main/left4dead2/addons/Anne.vpk [implement coop base versus and realism base coop] coop base versus to increase SI limit. realism base coop to avoid show verusu score panel.

brxce commented 2 years ago

Yes, this can probably still bypass the limit. To replicate this in my config use the appropriate "!spawnmode" or spawnmode cvar. You need to select the spawn mode that uses the unmodified/vanilla spawning mechanism.

For the people that use my config for the more unpredictable, advanced spawning mechanisms - I do not recall being able to go past 3 simultaneous spawns since The Last Stand.