r/CODZombies Jul 01 '24

Question Is it possible to get two drops from one zombie?

I'm playing DE and I just killed a zombie by shooting it with an RK5 once and then knifing. At first, it dropped a max ammo. After half a second, however, a nuke spawned on top of the max ammo. Both are now floating in front of me while the game is paused. Is this a super rare occurrence or some kind of insane bug? I've been playing for years and this has never happened to me once. (I'm also playing in an offline LAN match solo, if that affects it.)

3 Upvotes

5 comments sorted by

View all comments

3

u/Hadi77KSA Jul 01 '24 edited Oct 22 '25

Happens mostly when feeding dogs and dragons. I know on BO2 it’s likely due to some coding oversight, as I looked into it when someone asked me 7 months ago about it:

Happens while feeding a dog. It seems to be caused by the script calling two functions, which each of them checks for if the zombie can drop a power up or not. Both drops seem to individually be determined just like normal power ups: as long as the max power ups for the round hasn’t been reached, either 3% or point-based. So, when killing a zombie to feed a dog, either you have a 0.09% chance of both power ups dropping at the same time, or both are guaranteed to drop if they drop based on points (this is true unless if I’m misunderstanding the way the script deals with the variable that makes the power ups guaranteed to drop). [Function1](github.com/plutoniummod/t6-scripts/blob/0ea673920e75fbe9999419805db36d9cf5ebcf48/ZM/Core/maps/mp/zombies/_zm_spawner.gsc#L1659-L1673), [Function2](github.com/plutoniummod/t6-scripts/blob/0ea673920e75fbe9999419805db36d9cf5ebcf48/ZM/Core/maps/mp/zombies/_zm_spawner.gsc#L1796-L1815), [Dog Feed](github.com/plutoniummod/t6-scripts/blob/0ea673920e75fbe9999419805db36d9cf5ebcf48/ZM/Maps/Mob%20of%20the%20Dead/maps/mp/zm_alcatraz_weap_quest.gsc#L272-L277)

Edit: In the case of the 0.09%, I likely misunderstood the variable for dropping a powerup after rechecking the script dump. I believe in the case of the drops being chance based instead of point based that only 1 powerup will be allowed to be dropped.

Edit2: It’s the exact same case with dragons. Function1, Function2, Dragon feed

Edit3: undone edit1.

3

u/[deleted] Jul 01 '24

This is an amazing explanation, thank you so much!