AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   L4D2 Infected (https://forums.alliedmods.net/showthread.php?t=345678)

TheKingd6 01-27-2024 06:01

L4D2 Infected
 
How can I remove the limits on the spawn of special infected, at least so that I can spawn them through the console, commands I tried many plugins such as zombie nolimit, zombie limits, and many others, but not one removed the limit on the spawn of special infected, I use Dedicated Server in the local networks, who can help?
oh yeah, I completely forgot the Coop mode
Sorry if there are any mistakes, I don't know English very well

HarryPotter 01-27-2024 08:44

Re: L4D2 Infected
 
1. l4dinfectedbots

2. Direct Infected Spawn (Limit-Bypass)

TheKingd6 01-27-2024 09:33

Re: L4D2 Infected
 
Quote:

Originally Posted by HarryPotter (Post 2816786)

1. it’s for the version, I have a co-op, 2. I used it for a maximum of 20 special infected, but I need to completely disable this limit

HarryPotter 01-28-2024 02:47

Re: L4D2 Infected
 
Quote:

Originally Posted by TheKingd6 (Post 2816792)
1. it’s for the version, I have a co-op, 2. I used it for a maximum of 20 special infected, but I need to completely disable this limit


1. apply to all modes

2.
Quote:

Originally Posted by Shadowysn (Post 2679912)
-= Commands =-
sm_dzspawn <zombie> <number> <mode> = Spawn a special infected, bypassing the limit enforced by the game. Example: sm_dzspawn hunter 10 1.
For <number>, it is the number of the specified infected you'd like to spawn. If no number is defined, it defaults to 1.
For <mode>, it toggles whether not to use a (simple) trace. If 1, the trace won't be used, and instead the infected will spawn at your location.
If <zomb> isn't specified or is an invalid string, it'll spawn a common instead.



If you saw only 18 max infected bots can spawn in server, go install l4dtoolz
and set -maxplayers 32

TheKingd6 01-28-2024 09:56

Re: L4D2 Infected
 
Quote:

Originally Posted by HarryPotter (Post 2816808)
1. apply to all modes

2.



If you saw only 18 max infected bots can spawn in server, go install l4dtoolz
and set -maxplayers 32

Well, thanks for the help, installing l4dToolz now the limit is not 20 but 28 mobs, but is it possible to somehow remove the limits? or at least increase them to 64-100 slots?

HarryPotter 01-28-2024 10:09

Re: L4D2 Infected
 
Quote:

Originally Posted by TheKingd6 (Post 2816823)
Well, thanks for the help, installing l4dToolz now the limit is not 20 but 28 mobs, but is it possible to somehow remove the limits? or at least increase them to 64-100 slots?

28 infected + 4 survivors = 32 slots, can not increase more.

TheKingd6 01-28-2024 10:13

Re: L4D2 Infected
 
Quote:

Originally Posted by HarryPotter (Post 2816825)
28 infected + 4 survivors = 32 slots, can not increase more.

I have no options at all, even if I try to rewrite l4dtoolz?

Marttt 01-29-2024 07:04

Re: L4D2 Infected
 
nope, the l4d engine has a limit of 32 slots, if you dump the datamaps/netprops you will notice that some arrays goes up to 32, so even if you are "able" to increase it, the game will crash

cravenge 01-29-2024 11:33

Re: L4D2 Infected
 
Quote:

Originally Posted by Marttt (Post 2816898)
nope, the l4d engine has a limit of 32 slots, if you dump the datamaps/netprops you will notice that some arrays goes up to 32, so even if you are "able" to increase it, the game will crash

The L4D games were special cases and since SourceTV wasn't fully working after they've been released, it was decided that they both have 31 slots. Yes, I have seen some arrays within the game's code having sizes up to 32 but most of them are exactly 31 only.

Earendil 02-05-2024 15:02

Re: L4D2 Infected
 
Quote:

Originally Posted by TheKingd6 (Post 2816792)
1. it’s for the version, I have a co-op, 2. I used it for a maximum of 20 special infected, but I need to completely disable this limit

As far as I know you can't spawn more than 14 Special Infected bots in a vanilla server, console won't allow more. The max amount of zombies you can spawn is 28 but only if you use a server playerlimit modifier like L4DToolz.


All times are GMT -4. The time now is 06:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.