Garry's Mod

Garry's Mod

npcDrops - NPC Drop System
206 kommentarer
canefe  [ophavsmand] 27. juli kl. 15:19 
It works
butterbutt4565 27. juli kl. 12:42 
i spent way too long making the npcdrops and it dosent even work
Sparrow 28. juni kl. 18:06 
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  [ophavsmand] 27. feb. kl. 4:19 
@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.
Thund3r_Strukt 24. feb. kl. 18:33 
Does not work anymore :<
Ori 21. feb. kl. 6:17 
Doesn't work with "Sabre-aN's Headcrab Zombie Mod", is there a work-around for this?
canefe  [ophavsmand] 5. nov. 2024 kl. 6:29 
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 kl. 8:35 
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 kl. 6:17 
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. maj 2024 kl. 0:03 
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  [ophavsmand] 20. mar. 2024 kl. 3:51 
No. Only players.
Random Freedom Stalker 20. mar. 2024 kl. 2:30 
Like, when an NPC kills an NPC they have a chance at getting that drop
Random Freedom Stalker 20. mar. 2024 kl. 2:30 
If only NPCs can get drops also
fedor 12. dec. 2023 kl. 8:19 
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
Castle 30. aug. 2023 kl. 5:24 
Hope that there will be an update to make it work with more than just the vanilla NPCs at some point.
croaux 2. aug. 2023 kl. 7:03 
Is there any way to make an NPC drop multiple of the same item? NPCs can drop two different items, but if I want somebody to drop 2 AR2 Energy Balls, the NPC will only drop 1. Is there any workaround for this?
Real Kurt cobain 3. juli 2023 kl. 1:46 
░░░░░▄▄▄░░▄██▄░░░
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ COPY AND PASTE HIM,
░░░░░░░▄▄▐▌▄▄░░░ SO, HE CAN TAKE
░░░░░░░▀███▀█░▄░░ OVER THE WORKSHOP!
░░░░░░▐▌▀▄▀▄▀▐▄░░ AND THAT, WILL TELL VALVE
░░░░░░▐▀░░░░░░▐▌░░ TO ADD THIS ITEM!
░░░░░░█░░░░░░░░█░░░
░░░░░▐▌░░░░░░░░░█░░
FizumaBaguncinha 18. maj 2023 kl. 17:59 
only works in npcs that i kill
Bumface 10. apr. 2023 kl. 11:27 
I know a few others have asked this, but is there any way to assign unique drops to unique variants of NPCs, like elites and shotgun soldiers? It looks like they're all listed as npc_combine_s, and I can't find any way to give the unique variants specific drop lists.
ImaCat1211 30. jan. 2023 kl. 15:42 
how do I spawn items with more than one word? I've been trying for a hour and can't get it
Formal Lizard 5. dec. 2022 kl. 13:50 
plot twist: you died 3 years ago to that and are living out what you wish you lived out
minax 23. nov. 2022 kl. 17:53 
person below me is stupid
Doodles 5. nov. 2022 kl. 19:10 
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  [ophavsmand] 1. okt. 2022 kl. 10:32 
😁
Sparrow 30. sep. 2022 kl. 19:35 
wait a minute i didn't have this installed, dumb me.
Sparrow 27. sep. 2022 kl. 6:58 
@cometopapa when i type !npcdrops in chat it doesn't work
ClankerSpanker98 6. juli 2022 kl. 20:52 
combine really be carrying mayo on them 💀
Stinky chimp 15. juni 2022 kl. 10:28 
this works fine for me idk what the issue is
wheels1390 27. mar. 2022 kl. 18:05 
it doesnt work I tried everything in the video
Sam Lore 24. mar. 2022 kl. 16:17 
then the problem is prob with thus, i still can use this mod functions normally
Boo 24. mar. 2022 kl. 3:16 
I've used this mod in the past, and I have no idea why this is no longer functional, but I cannot pull up the GUI through the !npcdrops chat command anymore.
Sam Lore 9. nov. 2021 kl. 13:04 
atrick21, thats basically the source engine problem, this is the code for these three variants combines, and linkz, try use no npc drops with this mod, the only what you choose will drop.
canefe  [ophavsmand] 9. nov. 2021 kl. 5:12 
lol
Levi Animator™ 9. nov. 2021 kl. 5:02 
and this mod is very complex becuz i try typing in crate for the drop and there was no crate so what els can i spawn or atleast give me some commands
Levi Animator™ 9. nov. 2021 kl. 4:58 
wow 360p on the video i mean that sucks i cant even read what you are typing
Atrick21 12. sep. 2021 kl. 17:57 
Is there an option to make specific item drops for the different combine? because whenever I put npc_combine_s the item drops for all three combine npcs but I want to make the items specific for each.
ZOOTIEZ 11. sep. 2021 kl. 19:57 
I'd really like the option to enable or disable multiple drops. They are almost like a pinata now.
Linkz 14. juli 2021 kl. 8:34 
Hello there, amazing job! Just one question... Is it possible to select to drop just one item from the loot table of the npc? It will be amazing!
Lualp 13. juli 2021 kl. 9:50 
İŞTE TÜRK, İŞTE AZİM, İŞTE BAŞARI
AngeLiq 10. apr. 2021 kl. 17:34 
Is there a way to like...import and export different configs? Like, you make a config where a bunch of zombies and combines and other NPCs all can drop weapons ammo etc, then you move that config elsewhere and make a new config which has them only drop healing items, and be able to change between configs by importing and exporting/cutting and pasting the configs.
(That would be a good thing to add if you ever remake this and it isn't already there.)
ninja "fornite" blevins 25. feb. 2021 kl. 8:41 
is there a way to quickly add multiple drops to an npc? like a copy and paste or something? this works great, but gets slightly tedious when i have to make 5 replica drops for like 7 different npcs. I wanted to ask if theres a way to edit drops while in the files, cuz you can copy paste there, but i couldnt find npcDrops in the data folder, where i assumed it was
Sam Lore 6. feb. 2021 kl. 7:32 
ye ye, i noticed this when changed map, this is blessing, thank you for the mod, helping me alot.
canefe  [ophavsmand] 6. feb. 2021 kl. 5:01 
@zerozephyrum drops you create are saved, so yeah, no need to do every server start.
Sam Lore 6. feb. 2021 kl. 4:51 
if i put a example, combine elite to drop battery, he will drop in every server i start without need to config? if this work like that this will help alot
Designation Knoxtrot 12. jan. 2021 kl. 12:40 
anyway to make it so that it applies the chance on anything dying instead of a specific npc? would love that to not have to spawn ammo when i run out/start with obscene amounts
Democratic Ice Noodle 5. dec. 2020 kl. 16:35 
While I find myself coming back to this addon once in awhile god I wish there was a way to copy drops from one NPC to another.
Harbinger 23. nov. 2020 kl. 12:35 
i am trying to make combine npc drop stuff but im getting their id wrong since there is two words on each type ( soldier - elite ...) does anyone know how to make them drop ? NOTE : i did copy their id and past it
Sexter Moggan 22. nov. 2020 kl. 10:21 
selam türk aga
Mochi 16. nov. 2020 kl. 20:55 
Sorry to bother bud, but i keep getting this error when i try to enter the command.

<npcDrops>: Error occured with database. Please reset npcDrops.
<npcDrops>: Menu is loading...

[ERROR] lua/includes/extensions/net.lua:182: net.ReadType: Couldn't read type 33
1. error - [C]:-1
2. ReadType - lua/includes/extensions/net.lua:182
3. ReadTable - lua/includes/extensions/net.lua:121
4. func - lua/npcdrops/sh_npcdrops.lua:2155
5. unknown - lua/includes/extensions/net.lua:32

ninja "fornite" blevins 5. nov. 2020 kl. 11:57 
fixed it, thanks!