Garry's Mod

Garry's Mod

NPC Daemon
469 Comments
penguino 25 Aug @ 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 @ 4:28pm 
i thought this would of been a controlling npc that summons minions, but this is more interesting.
sockpuppetclock  [author] 19 Aug @ 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 @ 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 @ 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 @ 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 @ 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/
Monsoon 16 Aug @ 4:08am 
OKAY NEVERMIND WE'RE GOOD, JESUS FUCK I was scared I just PERMANENTLY fucked my file
Monsoon 16 Aug @ 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
Monsoon 16 Aug @ 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?
Oh, wish I thought of that! Thanks a bunch!
sockpuppetclock  [author] 15 Aug @ 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 @ 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
MattsterHamster 1 Aug @ 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 @ 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)
Agitatio 22 Jul @ 10:59am 
The number of options is overwhelming, but at the same time allows for incredible customisation. Insane for custom addon setups that change gameplay drastically, and I don't think any other spawner comes close.
sockpuppetclock  [author] 6 Jul @ 12:37pm 
So far there is this basic tutorial https://imgur.com/a/npcd-tutorial-basic-profile-preset-creation-HB44zE9 Besides that I've been thinking recently of how to integrate more of the gmod wiki into the addon since that's where most of the information would come from
Roachstradamus 6 Jul @ 4:52am 
Probably a dumb question, but is there any documentation or guides on how to use this? I have a hard time finding where to start
sockpuppetclock  [author] 26 Jun @ 7:58pm 
@johnppjc if those killzone npcs have custom weapons they could be given it with the "weapon" value
or you can try npcd options > Profiles > "Generate Profile from Current Install To Pending" and it might give you a template for those vjbase npcs
thanks a bunch! You're a lifesaver, this is gonna RULE!
johnppjc 26 Jun @ 6:12pm 
@sockpuppetclock i there a way for vjbase npcs to keep there custom weapon. Like the killzone npcs
sockpuppetclock  [author] 26 Jun @ 6:02pm 
Hmm, right now not specifically when they spawn. For when they die, the closest is (damage filter) > Actions: Attacker > Entity Functions, and then running the ConCommand function, but thatd only be called if the killer is a player.
Is there a way to output commands when an NPC spawns or dies? I want to make it so when a certain preset spawns it turns off the autospawning functions, so it's like a climactic fight that makes things stop.
sompychessrabies 19 Jun @ 5:44pm 
is there ever going to be a spawn on wall value
Corz299 7 Jun @ 10:45am 
how to reset, it stopped spawning stuff in
John Soldier 4 Jun @ 11:05pm 
it could be very interesting to mess around with if that works
sockpuppetclock  [author] 4 Jun @ 8:49pm 
i'll look into player preset limits!

as for prop_data.... it might be possible? if its really just a keyvalue you could add a "prop_data" keyvalue with the lines as the values. but QC scripts may or may not require each entry be a separate line, so i might need to add multiline support to the text entry???
John Soldier 4 Jun @ 8:35pm 
is it possible to embed prop_data into entities? if so how could it be done?
Can we have player preset limits? I want to have hero characters of whom there can only be one of at a time, so there's not 20 gordon freemen
John Soldier 31 May @ 3:46pm 
suggestion: a damage <condition> that passes depending on how far the player/attacker/victim is, basically a distance check, passes or doesn't pass if the player is far or near
John Soldier 29 May @ 4:58pm 
is there a way to simulate gibbing particles made by breakable surfaces by using effects/deatheffects?
John Soldier 19 May @ 7:54pm 
The "reset" button next to convars don't work
John Soldier 19 May @ 7:50pm 
Suggestion: a percentage or number next to the stress/pressure bars to see exactly how much pressure/stress there is
burntfrenchfries 18 May @ 10:55pm 
ah yeah, thats the term i meant, profiles. it would be nice if there was a discord to share and find some
sockpuppetclock  [author] 18 May @ 10:52pm 
ah, there's isn't a place yet. though you can import profiles and copy the presets from the profile
burntfrenchfries 18 May @ 10:50pm 
No, I mean a place to download and find presets.
sockpuppetclock  [author] 18 May @ 10:46pm 
preset creating/editing is done in the Configure Profiles option. there's also a NPCD spawnmenu tab
burntfrenchfries 18 May @ 10:11pm 
Where can I find presets?
sockpuppetclock  [author] 15 May @ 10:36pm 
i think conditional spawning for entity/squad/spawnpool is a good idea
sompychessrabies 15 May @ 10:08pm 
or like a certain amount of specific npcs dying causing another spawnpool to trigger
sompychessrabies 15 May @ 10:07pm 
like 40 combine soldiers dying cause a gunship or dropship to spawn
sompychessrabies 15 May @ 10:07pm 
do you think you could having certain npcs dying a certain amount of times being able to trigger an npc spawn on your todo list?
D MAS 15 May @ 8:19pm 
Guiltron: in the spawnmenu, go to Options -> NPCD -> Configure Profiles. i'd suggest duplicating a profile, which is on the left side of the menu. then click NPCs, right click the center panel, then add a NPC. then you have to add that to a spawnpool.

it's a bit of a complicated process but oh so worth it to spawn archviles fighting dinosaurs fighting mechas fighting dragons.

and i absolutely love this addon, its pretty much my favorite mod...ever. thanks sockpuppetclock. i will never forgive you for the hundreds of hours i spent just watching NPCs fight each other.
sockpuppetclock  [author] 15 May @ 8:08pm 
yeah, i could make that an option. it'll put it on my todo list
John Soldier 15 May @ 6:13pm 
When an entity has multiple effects in a single table (sounds, for example) and are set to repeat multiple times, only one effect gets chosen to be repeated. Could you make it so that you can choose if it chooses another sound to be played after each repeat instead of choosing only one sound and sticking with it?
sockpuppetclock  [author] 15 May @ 12:18pm 
The latest update is out. I've renamed "squadpools" to "spawnpools," and you can now test custom entities to see if they will work with any values.
hey, so where would I go to make an antlion worker spit 50 times a second?
basketcat54 9 May @ 1:36pm 
I did that OK so the entities that I chose for them just might not work with this then ok. thanks for the response!
sockpuppetclock  [author] 9 May @ 1:32pm 
generally if you set Relations & Behaviors > Relationships: Outward on the chaser to be Hostile to the entity they will try to attack it
basketcat54 9 May @ 1:04pm 
I was able to make enemies chase chosen entities but I cannot make them attack/damage it, anyone figure this out yet?