Garry's Mod

Garry's Mod

237 ratings
NPCs / Players drop ammo on death
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
28.610 KB
5 Jul, 2019 @ 10:03am
22 Jun @ 12:31am
35 Change Notes ( view )

Subscribe to download
NPCs / Players drop ammo on death

Description
Console Commands

ChanceOfAmmo Chance of ammo drops. ( Default is 100, value determines chances. 50 = 50% chance etc. Affects both NPC and player chances. )

NPCDropAmmo Should NPCs drop ammo. ( 1 = Yes 0 = No. Default is 1 )

NPCDropAltAmmo Should NPCs drop secondary ammo. ( 1 = Yes 0 = No. Default is 1 )

PlayerDropAmmo Should Players drop ammo. ( 1 = Yes 0 = No. Default is 1 )

PlayerDropAltAmmo Should Players drop secondary ammo. ( 1 = Yes 0 = No. Default is 1 )

DisableNPCWeaponDrop Prevent NPC's from dropping their weapons. ( 2 = Chance Based 1 = Yes 0 = No. Default is 0 )

NPCWeaponDropChance Chance for NPC's to drop their weapon. Requires DisableNPCWeaponDrop to be set to 2. ( Percentage value. Default is 100 )

These options and more can be found under the 'NPC Drops' tab under settings.

What does it do?

When an NPC is killed, they will drop ammo depending on the options chosen by the player. Ammo types are based on HL2 ammo types (Pistol ammo, 357 ammo, SMG1 ammo etc.)

To modify these options, use the Ammo Drop Settings menu found under the NPC Drops tab.

If you are using ArcCW's "Replace default HL2 entities" command, this addon will automatically convert to ArcCW's custom ammo entities.
Popular Discussions View All (1)
0
5 Aug, 2019 @ 6:46am
PINNED: Incase you want to create your own version
Sergeant Pan
79 Comments
파반느 30 Jun @ 6:31am 
im having a bug where combines would drop health vials for no reason when my hp isn't at 100
Nerfentity 21 Jun @ 1:21pm 
Is there a way to make it so that they don't drop grenades?
Smytsidian 16 May @ 10:18am 
For some reason I'm having a weird thing happen to me where the combine NPCs with ar2s drop magnum ammo instead of ar2 ammo.
Sergeant Pan  [author] 17 Feb @ 11:39am 
@Ori

This addon only works on NPCs that are actively carrying a weapon, so NPCs that don't/can't carry weapons aren't supported.

However my NPC Item Drops addon can do that.
Ori 17 Feb @ 10:41am 
How do i make zombies drop ammo too?
Meen And Grean 17 Oct, 2024 @ 11:17am 
I've been looking for an addon like this for a long time that just gets rid of enemy drops. I like playing on maps that spawn lots of NPCs and I don't want their drops making my game lag, and this handles that perfectly. The only thing that's missing now is preventing them from dropping grenades, health, and batteries but other than that, it's perfect.
seabazian 22 Sep, 2024 @ 1:21pm 
thanks for this, creator
Jaden The Gundragon 7 Aug, 2024 @ 3:36am 
I just saw the update, and i was like “holy crap! I made that happen! I made a difference!”
Jaden The Gundragon 7 Aug, 2024 @ 2:00am 
oh please do, it gives your addon a borderlands kinda vibe when it plays in conjunction to the Dynamic Entity Replacer mod that you would have to download from a link in the take and hold map
Sergeant Pan  [author] 7 Aug, 2024 @ 12:40am 
@Jaden The Gundragon

That isn't a feature in the addon, but I can definitely add it in.