PlzReviveMe There are two ways in which the game decides to make a zombie drop a powerup. The first way is by rng, more specifically every zombie has a 2% chance on death to drop a powerup. The second way is by points earned by players, which is level.zombie_vars["zombie_powerup_drop_increment"] = 2000; with 2000 points total being the default value. The rng drops remain constant throughout the game, however the drop increment increases by 1.14 multiplicatively every time a powerup drops if the powerup dropped due to the drop increment points being met. This means the only way to maintain a consistent amount of drops per round is to change the rng drop rate directly. Additionally, if you wanted a truly infinite maximum amount of drops per round the only way to do that is remove the limit completely.
The way you would do both is by modifying _zm_powerups.gsc from here:
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/patch_zm/maps/mp/zombies/_zm_powerups.gsc
In order to change rng drops and remove the powerup drop cap we have to modify this function: powerup_drop( drop_point ) in _zm_powerups.gsc
In this function look for the following if statement: ```
if ( level.powerup_drop_count >= level.zombie_vars[ "zombie_powerup_drop_max_per_round" ] )
{
return;
}
and remove it.
Next in order to change the powerup rng drop rate you'll need to look for this if/else statement
if ( rand_drop > 2 )
{
if ( !level.zombie_vars[ "zombie_drop_item" ] )
{
return;
}
debug = "score";
}
else
{
debug = "random";
}
Now in order to change the random drop rate you'll need to change the 2 to another number. Higher numbers increase the likelihood a powerup will drop and lower, the opposite. If you remove the if/else statement entirely you can make every zombie that dies always drop a powerup.
Finally you need to compile _zm_powerups.gsc as _zm_powerups.gsc and place it maps/mp/zombies
If you have any more questions feel free to ask.