Garry's Mod

Garry's Mod

14,879 ratings
NPC Spawn Platforms v3
Type: Tool, Addon
Tags: Fun, Build
File Size
0.015 MB
Nov 11, 2012 @ 8:51am
Mar 14 @ 11:01am
18 Change Notes ( view )

Subscribe to download
NPC Spawn Platforms v3

A highly customisable STool that allows the wielder to create a SEnt that will continuously spawn the specified NPC with the specified weapons until stopped, allowing them to stage huge NPC battles, either against themselves, or against rival NPC factions.

You can find the tool in the section "Lexical Tools" which is near the bottom of the tool list.
Facepunch Thread[] | Github Repo[]
This addon has a complete API that allows it to be controlled by Wire, Lua and the Hammer I/O system, allowing it to be easily embedded in Dupes, Gamemodes and Maps.

(Which I will post more information about soon)

(a fgd is now available[])
Popular Discussions View All (19)
Feb 15 @ 2:45pm
PINNED: Spawning problem
Supertrooper (S.T)
Feb 16 @ 2:24am
I need this for the server help me.
Jan 22 @ 1:57pm
Some NPCs weapons are overriden by the global Weapon Override
Spec oups
< >
Do I need to perma prop them or do they save automatically?
Drunk Headcrab Mar 16 @ 4:13pm 
I am trying to spawn a non-NPC entity with the platform and it does not work, even when "Valid NPC Check" is off. I also get this error message in console.

[NPC Spawn Platforms v2] sent_spawnplatform] just tried to spawn NPC "combine_mine" which is not on the NPC list!
1. error - [C]:-1
2. GetSpawnClass - lua/entities/sent_spawnplatform/sv_spawning.lua:209
3. CheckOrientation - lua/entities/sent_spawnplatform/sv_spawning.lua:186
4. OrentationThink - lua/entities/sent_spawnplatform/init.lua:94
5. unknown - lua/entities/sent_spawnplatform/init.lua:112

Jackalotrun Mar 14 @ 12:45pm 
Nevermind, I seem to have found the fix, just have to disable Sandbox Hooks, thanks for all the help Lexi
Jackalotrun Mar 14 @ 12:36pm 
I've updated it but now it gives me a new error message;

[NPC Spawn Platforms v2] lua/entities/sent_spawnplatform/sv_spawning.lua:322: attempt to index local 'npcdata' (a nil value)
1. SpawnOne - lua/entities/sent_spawnplatform/sv_spawning.lua:322
2. unknown - lua/entities/sent_spawnplatform/init.lua:117
Lexi  [author] Mar 14 @ 11:10am 
Ah, sorry. I was confused. I thought you meant the game feature had been updated rather than an addon called nextbots.

My bad on the check - I wrote that feature a while ago and accidentally broke it in the last update. I never use it, so I didn't test it. It should work now. (If nothing spawns at all, check for workshop updates. There may be caching issues.)

If you want the NPCs show up in the menu, you'll need to ask the addon author to fix that for you.
Jackalotrun Mar 14 @ 4:40am 
I unchecked Valid NPC Check like you suggested but it's still telling me that it's not an NPC on the spawn list
Jackalotrun Mar 14 @ 3:52am 
The new version of the Nextbots mod (3.0 - Still made by Sean) has the NPCs in their own little section of the Spawn Menu seperate from the NPCs
Lexi  [author] Mar 14 @ 3:05am 
If you uncheck "Valid NPC Check" in the options, then the platform will spawn literally any entity - however I won't fix any bugs or weird behaviour that happens if you do that.

What's wrong specifically with NextBots? They worked last time I tried. Is there a particular workshop addon that doesn't work? Is it all of them?
Jackalotrun Mar 13 @ 9:37am 
Is it possible to make it so the platforms can spawn things that aren't necessarily NPCs? Specifically the new Nextbots don't seem to be technically NPCs and are instead entities and while I'd love to use them, I am not allowed to select them
Lexi  [author] Feb 17 @ 2:44am 
Not yet. It's on my TODO list as something to think about, but it'll probably need rebuilding the spawnning system considerably. For now, use two platforms.