Post: Increasing Zombies Limit
02-06-2016, 03:04 PM #1
BullyWiiPlaza
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); I wanted to increase the amount of Zombies that can be spawned at once so I came up with the following script:

    increaseZombiesLimit()
{
level endon("game_ended");

while(true)
{
level.zombie_vars["zombie_max_ai"] = 40;
level.zombie_ai_limit = 40; // Maximum spawned Zombies at once
level.zombie_actor_limit = 60; // Maximum Zombie corpses on the ground before deletion
level.zombie_vars["zombie_ai_per_player"] = 10; // Additional Zombies per player

wait 0.1;
}
}


It is looped to prevent the variables from being overwritten by other functions. Either way, it does not work. The limit always is 31 even though it should be higher than that. Even with two players it's still only 31. How can it be done?
(adsbygoogle = window.adsbygoogle || []).push({});
02-06-2016, 07:31 PM #2
jwm614
NextGenUpdate Elite
Originally posted by BullyWiiPlaza View Post
I wanted to increase the amount of Zombies that can be spawned at once so I came up with the following script:

    increaseZombiesLimit()
{
level endon("game_ended");

while(true)
{
level.zombie_vars["zombie_max_ai"] = 40;
level.zombie_ai_limit = 40; // Maximum spawned Zombies at once
level.zombie_actor_limit = 60; // Maximum Zombie corpses on the ground before deletion
level.zombie_vars["zombie_ai_per_player"] = 10; // Additional Zombies per player

wait 0.1;
}
}


It is looped to prevent the variables from being overwritten by other functions. Either way, it does not work. The limit always is 31 even though it should be higher than that. Even with two players it's still only 31. How can it be done?


You must login or register to view this content.

The following user thanked jwm614 for this useful post:

BullyWiiPlaza
02-06-2016, 07:59 PM #3
BullyWiiPlaza
Climbing up the ladder
Originally posted by jwm614 View Post
You must login or register to view this content.

Well, it appears as if it can't be tampered with so it's not possible?
02-09-2016, 06:35 AM #4
Interesting code... The Zombie Max Corpse in ground can be used to Reduce the G_spawn error?
02-09-2016, 12:24 PM #5
BullyWiiPlaza
Climbing up the ladder
Originally posted by Guilhermex12 View Post
Interesting code... The Zombie Max Corpse in ground can be used to Reduce the G_spawn error?

I thought about the same thing but what do you want to spawn excessively on Zombies? :P
02-09-2016, 10:25 PM #6
Originally posted by BullyWiiPlaza View Post
I thought about the same thing but what do you want to spawn excessively on Zombies? :P


Pass rounds more faster Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo