Garry's Mod

Garry's Mod

2,120 ratings
[CTOOLS] NPC Spawner
12
3
4
2
3
5
4
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
111.030 KB
18 Jun, 2021 @ 11:22am
16 Jul, 2021 @ 4:29am
12 Change Notes ( view )

Subscribe to download
[CTOOLS] NPC Spawner

Description
Advanced NPC spawn tool
An experimental NPC spawn tool I've been developing for a while now

Current version: v1.2
See change list




Tool Features
  • Spawn big amount of NPCs effectively by placing areas
  • Increase/decrease grid spread size and randomness simply by scrolling the mouse wheel
  • Change NPC spawn angle
  • Procedural NPC spawn that not sacrifices server performance
  • Default gmod preset system to make experience simpler
  • Respawn feature allows to make constant source of NPC flow

NPC Configuration Features
  • Weapon
  • Proficiency (including random)
  • Custom Model (if customization needed)
  • Squad (for advanced users)
  • Model Skin (including random)
  • Start and Maximum Health
  • Notarget (spawner or all players)
  • Immobility (NPCs can't move)
  • Spawn Flags (for advanced users)
  • Additional Spawn Flags (specific for citizens, roller mines and turret floors)

Server Console Commands
  • ct_npc_tick - the amount of NPCs that will be spawned each server tick (default: 1)
  • ct_npc_area - maximum active NPC limit for each area (default: 1024)
  • ct_npc_debuginfo - print debug info in console (server only)



Small update
It has been two years since I played gmod last time. I also gave up monitoring discussions below for suggestions and bug reports. And while there are many reasons why I no longer play gmod, the addon is still being used by many people and servers, and I really like and totally support the idea of free community-made addons for games like gmod.

You can DM me so we can discuss you becoming the second developer to make this little addon better, if you meet the following criteria:
- you are an experienced GLua developer
- you are obsessed with making various helpful tools and addons for gmod community
- you really want this tool to be updated to get more features
- you are doing it for free
Popular Discussions View All (3)
57
15 Oct @ 1:58pm
PINNED: Bugs
Ѫ
56
14 Oct @ 9:50am
PINNED: Suggestions
Ѫ
9
5 Nov, 2023 @ 7:10pm
PINNED: FAQ
Ѫ
248 Comments
Doc903 8 Nov @ 10:36pm 
Nevermind, re-read the description. I ask because I'm testing something for VRMod, using the SNPCS of L4D2, VR weapons that fit in the L4D2 universe, and a procedural spawn system.
Doc903 8 Nov @ 10:32pm 
So, is there a way I could set this up to make it "procedural", so spawns happen in front of the player, and out of sight?
Pantheon Elite. 2 Nov @ 2:12am 
make changeable bodygroups.
GhostGlock 17 Oct @ 6:15pm 
there is a bug where turrets wont respawn
cat 15 Oct @ 8:56am 
are you stupid @kkavanagh83?
kkavanagh83 8 Oct @ 11:46am 
I'm not understanding anything on how to spawn and get this mod working. It's very confusing and they're are no instructions on how it can activate. Can you create a video on how to make this mode work. This is the second time I'm using it and I still don't understand.
PersonofInter 25 Sep @ 9:28am 
@Spider
ahem... said custom weapons are not compatible with NPCs.
sorry.
SR | Linnen 19 Sep @ 4:57pm 
Whens it going to get updated
Removed. 16 Sep @ 7:47am 
nice
Druncle12 8 Sep @ 1:27pm 
I dont do this a lot but this is a really good mod and you should be proud of what you made mod author.