Garry's Mod

Garry's Mod

359 ratings
npcDrops - NPC Drop System
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Realism
File Size
Posted
Updated
77.255 KB
7 Oct, 2017 @ 1:03pm
30 Jun, 2019 @ 6:24am
12 Change Notes ( view )

Subscribe to download
npcDrops - NPC Drop System

Description
Make NPCs drop entities (no longer maintained)
Loot düşüren NPCler yaratın

npcDrops is a system for making NPCs drop entities. Including DarkRP shipments, foods, weapons and much more

  • In-game configuration.
  • Flat and understandable GUI.
  • Easy and Fast configuration.
  • DarkRP shipment support. (NPCs can drop even DarkRP shipments!)
  • All drops have drop rate. (e.g. 0.1 rate => %10)
  • You can adjust rate between 0.1 - 1
  • Dropped loots can be removed after x seconds.
  • Players gets notified if they dropped a loot. (Only on <0.8 rates)
  • Cooldown and Rarity 3D2D texts on loots.
  • Play sound on drop.
  • Multiple drops!
  • and more! (Why don't you check it by yourself?)

Usage
Type chat "!npcdrops" and open the GUI.
You might want to check up the video I made. (Sorry for 360p tho :D)

Known Problems
  • (?) Causes problems in servers (I tried to fix it with the assistance of a lua developer, not sure if that fixed 100%)
  • old project, buggy code: I made this when I was 14, probably with many unnecessary code and unstable design, some people report minor bugs.
  • Adding same item multiple times (for same npc) results dropping that item only for once.
It's quite decent for fun purposes, usable in servers as well but not advised.

Credits
Devon, Main Idea
Fexa, Help on Development
Reyvın, Suggestions


Click here[github.com] to see the github page.
Popular Discussions View All (8)
1
7 Mar @ 2:07pm
Spamming dedicated server console whenever a drop happens
Corey Derg
2
16 Apr, 2019 @ 2:58am
Is there a method of adding more than one item drop to an npc?
CturiX
1
16 Mar, 2020 @ 3:09am
"Remove after X seconds" no longer works for me
Webbs
204 Comments
THE ROARING KNIGHT 28 Jun @ 6:06pm 
i honestly think you should add a search menu and all that like zippys group spawner to make it eazier to get the entities and such
canefe  [author] 27 Feb @ 4:19am 
@Ori
The npc ids can differ from the one when you rightclick-copy. For example in that mod when I copy the zombine torso it copies as 'npc_headcrabzombinetorso_soldier' but when it's actually spawned you can see on the console it spawns as 'npc_zombie_torso'.
You have to put the second one when you are creating npcdrops. That means it's not possible to have drops for different kind of zombies provided by that mod. npcDrops doesn't support that right now.
Y0ru_B!rb 24 Feb @ 6:33pm 
Does not work anymore :<
Ori 21 Feb @ 6:17am 
Doesn't work with "Sabre-aN's Headcrab Zombie Mod", is there a work-around for this?
canefe  [author] 5 Nov, 2024 @ 6:29am 
Because you are putting the model and not an entity name in there. Use execute lua and 'spawn prop in front'
Kiyu 22 Sep, 2024 @ 8:35am 
Hey,
I've enjoyed this mod over the years, but there seems to be an issue with spawning props as entities to drop, regardless of the NPC type. I need NPCs to drop props to assist in seamless gameplay featuring a crafting system. Here's the error:

[1]:
["data"] = [{"shipment":false,"rate":1.0,"ent":"models/props_c17/oildrum001.mdl"}]
["npc_id"] = npc_zombie
got you
["models/props_c17/oildrum001.mdl"]:
["ent"] = models/props_c17/oildrum001.mdl
["rate"] = 1
["shipment"] = false
Attempted to create unknown entity type models/props_c17/oildrum001.mdl!


Whether or not this mod is discontinued, I would appreciate if you looked into this error. Have a nice day!
gabigabo2003 6 Sep, 2024 @ 6:17am 
Pls can you make a new video pls for a bigger cality, is hard to read the commande you do great sir, and also, that work with props ?? because i dont know if is me or the mod, is hard sir
BigBessie 15 May, 2024 @ 12:03am 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life. TIC TOC
canefe  [author] 20 Mar, 2024 @ 3:51am 
No. Only players.
Random Freedom Stalker 20 Mar, 2024 @ 2:30am 
Like, when an NPC kills an NPC they have a chance at getting that drop