Garry's Mod

Garry's Mod

NPC Daemon
504 Comments
sompychessrabies 7 Jul @ 1:39pm 
you make a dropset preset in the dropset menu of your profile and assign what items are going to be dropped via preset and then go to an npc or entity and assign the dropset to either on death or on damage
CommonSay 6 Jul @ 6:41pm 
How do you use the dropset feature?
sompychessrabies 4 Jul @ 7:44pm 
I think the spawn on ceiling flag broke
sompychessrabies 3 Jul @ 12:07pm 
@Qooji my method to make crates actually drop items is to make an entity be prop_physics, then give them the hl2 crate model, then set its hp to 1, make a dropset, and have it drop those items upon damage
ddfarmer03 21 Jun @ 7:26pm 
how can you make npcs that are normaly hostile friendly to one another? ive tried using the relationship inward and outward values but they dont seem to work for me
Spawn Hybrid 3 May @ 3:09pm 
@Qouji Customizable Entity Spawner my friend. It only works on maps with nodegraphs though.
Qöuji 3 May @ 11:14am 
Can you add support for the "item_item_crate" point entity? Using keyvalues to set the ItemClass that it drops doesn't seem to work at all.
Penkeh.mdl 1 May @ 2:12pm 
For some weird reasons after a crash the addon doesn't consider me as an admin of my own solo server despite crashing many times before with it and never had this happen.
Sankoh_Tew 15 Apr @ 10:15am 
Why is Despawn not working. Not under any circumstances. Whatever the settings are, Despawn doesn't work. NPCs can exhaust their entire spawn limit, I fly to the other end of the map and they stop appearing. And there is no information anywhere on how to set up Despawn correctly.
MR. fish 13 Mar @ 10:29pm 
add some sort of 3d/2d simulation for presets when switching colors/textures/bodygroups/etc.
Pipe Bomb 25 Feb @ 5:39am 
How the fuck does bodygroups work
Bringer of The Amputation 18 Feb @ 7:28am 
The cvar "npcd_coroutine_framelimit" causes lag spikes if left at the default value.
aimlex 11 Feb @ 7:34pm 
this is a really well thought out addon, nice work, but my god configuring a spawn beacon without any visualization is genuine torture
Bringer of The Amputation 9 Feb @ 12:41am 
If you add the ability to create tables of entities for use that would be great.
Mr Monti 6 Feb @ 1:32pm 
Is there a way to created designated spawnpoints for teams for the auto-spawner? I've been struggling messing with the "Only Use Spawn Beacon" in the spawnpools and "Spawn Beacon: true" on an entity but can't seem to get it to work. I've tried setting spawn radiuses so that nothing should be denied, yet I can't get squads to spawn other than the Beacon itself. Even so it seems to spawn several beacons even when I set the pool entity and squad limits to 1.

Also is there a schedule setup that can have an NPC be near a designated target (like their hive queen for example) that doesn't involve them wandering off into nowhere or constantly running into their target?
sockpuppetclock  [author] 29 Jan @ 7:17am 
@male_07 npcd_settings_open opens the profile editor
Spawn Hybrid 29 Jan @ 5:59am 
@male_07 Don't think you can. But it's easily accessible under either the options menu.
Real Tom 26 Dec, 2024 @ 1:50pm 
For some reason, scaling doesn't work on some npcs or just crashes the game. Is there any way to fix this? (I want to make enemies smaller so they could go through doors)
Soldier 22 Dec, 2024 @ 6:41pm 
is there any way to make scripted entities spawn with modified properties? you know how you can right click a bouncy ball and it'll say "edit properties" at the bottom and from there you can change a bunch of stuff in it, how do you change those properties in the NPCD menu?
penguino 19 Dec, 2024 @ 5:45pm 
How do i make nextbots ignore/be friendly towards regular npcs. I tried the "Relationships" option where you can set them to be friendly or hostile. I set it as friendly for both but the NPC and the Nextbot keep attacking eachother anyway.
GenericUsername 1 Dec, 2024 @ 8:48pm 
Any way to have npcs spawn with their default weapons? Im using some NPCs who switch weapons dynamically and it seems to be messing them up.
Stryker98 14 Nov, 2024 @ 7:04am 
One of the most technically impressive Gmod addons and the best spawner along with background NPCs PERIOD. The sheer amount of customizability is absurd and the UI is simple but in-depth. Great job, Sock.:steamthumbsup:
sompychessrabies 1 Nov, 2024 @ 3:37pm 
whenever you return back to being able to update the mod, a condition where npcs can passively spawn other npcs would be nice, with a modifiable position of where they can spawn them (i.e an enemy thats fixed to the ceiling and certain npcs set spawn from it)
ToastLord 25 Oct, 2024 @ 8:20pm 
Honestly given how long ago and feature rich this addon is im surprised there even is updates to begin with.

Personally I say don't sweat it. You've done alot of work for this tool so far so I think a break is well overdue.
sockpuppetclock  [author] 25 Oct, 2024 @ 5:56pm 
ah, sorry about updates slowing down recently. I've been overwhelmed this semester at school, so it'll be a while
sompychessrabies 25 Oct, 2024 @ 5:39pm 
is conditional spawning still ever gonna become a thing? would still like it
Spawn Hybrid 28 Sep, 2024 @ 3:22am 
Lol
cityn 28 Sep, 2024 @ 3:20am 
i fixed it, i was just messing with the radiuses too much lol
cityn 28 Sep, 2024 @ 2:57am 
also, when i spawn the chaos kit, i instantly get messages that the npcs have been defeated (antlioness has been defeated, drone warfare has been defeated)
cityn 28 Sep, 2024 @ 2:56am 
nah that's not it, they were spawning before. maybe its some setting or something else?
Spawn Hybrid 27 Sep, 2024 @ 7:24am 
@cityn Check around the map. Sometimes enemies spawn in weird places. You might have hit your npc limit without realizing it because the npcs are spawning outside the normal map area or something. Use noclip to check.
cityn 27 Sep, 2024 @ 7:15am 
other npcs cant spawn now too :/
cityn 27 Sep, 2024 @ 7:13am 
for some reason combine doesn't spawn. other npcs like antlions and zombies spawn.
Salil Al-Sawarim 400BPM Edit 29 Aug, 2024 @ 10:15pm 
I may have forgotten to mention the fact that the command to reset convars alongside the button to do so in Options is not working
Salil Al-Sawarim 400BPM Edit 28 Aug, 2024 @ 8:13pm 
how do I reset my convars? the reset convars button doesn't work and for some reason my radiuses are too big, resulting in zero spawns
penguino 25 Aug, 2024 @ 4:58pm 
Is it possible to make a survival minigame with this addon? Like how weaker enemies spawn at wave 1 and then it gets progressively harder until wave 10. It could be right underneath the "Help" button in the NPCD tab.
RyRy629 25 Aug, 2024 @ 4:28pm 
i thought this would of been a controlling npc that summons minions, but this is more interesting.
sockpuppetclock  [author] 19 Aug, 2024 @ 6:31am 
well to be exact itll drop it on them if either the npc doesnt have Give() or what youre trying to give is not classified as a weapon
sockpuppetclock  [author] 19 Aug, 2024 @ 6:06am 
if it drops the weapon on them instead of equipping it that means the npc internally does not have the Give() function. its up to whoever made the npc to handle code for giving weapons.
Spawn Hybrid 19 Aug, 2024 @ 5:52am 
@Blackstaff It's near the very top near the setting where you pick the npc itself. You can even give npcs weapons even if it's an npc that can't usen them normally. Such as giving manhacks the hl2 pulse rifle.
Blackstaff 19 Aug, 2024 @ 3:25am 
Kind of clueless. Is there any way to give lua NPCs (it's what I'm assuming this entity is) weapons on spawn? Currently, the script ordains itself to drop whatever weapon is defined ontop of it's head, instead of giving it to them directly. Normal weapon overrides through context menu work as expected, even when spawned through NPCD tab. Is there any solution here?
sockpuppetclock  [author] 16 Aug, 2024 @ 10:30pm 
I'm not actually sure what button you're talking about, but if you ever delete a profile (accidentally or otherwise) it will be moved to garrysmod/data/npcd/trash/
The German Empire 16 Aug, 2024 @ 4:08am 
OKAY NEVERMIND WE'RE GOOD, JESUS FUCK I was scared I just PERMANENTLY fucked my file
The German Empire 16 Aug, 2024 @ 4:07am 
okay this is really bad, I can't find ANYTHING, the NPCs are fucking gone:tm:, everything is gone, I don't know what to do, please help
The German Empire 16 Aug, 2024 @ 4:04am 
So uhm, I may have just fucked up, I hit 'Clear NPC Profiles' and everything's gone, I dunno what to do, how do I have to reinstall the addon?
Salil Al-Sawarim 400BPM Edit 15 Aug, 2024 @ 7:00pm 
Oh, wish I thought of that! Thanks a bunch!
sockpuppetclock  [author] 15 Aug, 2024 @ 6:40pm 
Radiuses have the value "Spawn Distance Hard Minimum" to stop them from spawning too close, though sometimes the spawn velocities push enemies closer than you'd expect.
Salil Al-Sawarim 400BPM Edit 15 Aug, 2024 @ 11:30am 
I wish there was an exclusion area for player spawning in this addon. NPCs and ents like to spawn next to me for some reason
Max Malevich 1 Aug, 2024 @ 2:40am 
Are you thinking of perhaps adding spawnpoints for NPCs? This would be extremely useful for scenario building in case you want them to spawn in a specific area and not just haphazardly around the map.
Gnilomord 30 Jul, 2024 @ 12:26am 
is it possible to set up a behavior similar to a shotgunner? There are a ton of shotguns for NPCs, but they are absolutely useless for these same NPCs (they behave like a combine with an SMG that shoots from afar)