View Single Post
Timocop
AlliedModders Donor
Join Date: Mar 2013
Location: Germany
Old 01-13-2020 , 08:12   Re: [L4D1/2] Direct Infected Spawn (Limit-Bypass)
Reply With Quote #4

The way it works is by creating a fake client (fake client != bot) which is put into team 3 and ghost mode (or dead). When spawning a SI the ghost client will takeover the spawned SI. Thus, ignoring the VScript and Cvar spawning limit, since it only kicks bots over the limit not *fake* clients. After that you can just kick the fake client and a bot will takeover. Just like in versus if someone is in ghost mode and you spawn a SI, the player will takeover the spawned SI.
Pretty clever.

However z_spawn is bit broken, you may wanna switch to z_spawn_old to use <area> or <auto> arguments.

Alternatively, you can also remove the VScript SI limits which overrides the limit cvars.
https://forums.alliedmods.net/showthread.php?p=2535972
__________________

Last edited by Timocop; 01-13-2020 at 08:14.
Timocop is offline