NPC Ammo Drops
Simple ammo drop system for Garry’s Mod. Makes specific NPC types occasionally drop useful items when they’re killed.
Doubles as an updated (albeit simplified) re-release of a now deleted addon.
Features:
- npc_ammodrops 1 to enable NPC ammo drops.
- When one of the allowed NPCs is killed, they have specific chances of dropping items. Each percentage chance is separate from one another, meaning that NPCs can end up dropping multiple items, if the chances trigger. The full list is:
– 70% for a random Ammo Box (includes most Half Life 2 ammo types)
– 20% for another random Ammo Box.
– 15% for a Hand Grenade.
– 20% for a Health Vial.
– 20% for a Health Kit.
– 25% for a Battery. - Only the following NPCs can drop items upon kill:
– npc_combine_s
– npc_metropolice
– npc_zombie
– npc_zombie_torso
– npc_fastzombie
– npc_fastzombie_torso
– npc_poisonzombie
– npc_zombine
– npc_antlion
– npc_antlion_worker
– npc_hunter
– npc_citizen
– monster_human_assassin - Items spawn around the NPC’s pelvis area, causing them to occasionally shoot off the NPC in a comical fashion.
Limitations:
- This addon has only been tested for Single Player. There may be unnoticed bugs during multiplayer matches.
- This public release is extremely simplified for compatibility reasons and does not include additional checks which gives the player items more dynamically. Weapon item drops were also removed.
Credits:
- Coffee Man: Creating this addon.