Garry's Mod

Garry's Mod

NPC Daemon
Suggestion
Could you add a modifiable value that limits the maximum number of npcs? unless this is already a feature and im dumb
< >
Showing 1-7 of 7 comments
sockpuppetclock  [developer] May 15, 2024 @ 2:52pm 
Per spawnpool: Spawnpool > Spawnpool Entity Limit
Per radius in spawnpool: Spawnpool > Radiuses > Radius Entity Limit
sockpuppetclock  [developer] May 15, 2024 @ 2:54pm 
there is also Squad > Map Max if you want to limit a specific squad
Originally posted by sockpuppetclock:
Per spawnpool: Spawnpool > Spawnpool Entity Limit
Per radius in spawnpool: Spawnpool > Radiuses > Radius Entity Limit
I more of meant max total of all npcs since I use more than one spawnpool
Last edited by 112 shaboingboings; May 17, 2024 @ 2:18am
sockpuppetclock  [developer] May 17, 2024 @ 1:16pm 
hmm, i guess i've never put that in? expect it to be added sooner than later
sockpuppetclock  [developer] May 18, 2024 @ 5:24pm 
added Spawn Radiuses & Limits > Total Entity Limit (npcd_spawn_limit)
112 shaboingboings May 21, 2024 @ 12:51am 
Originally posted by sockpuppetclock:
added Spawn Radiuses & Limits > Total Entity Limit (npcd_spawn_limit)
Tried using it and if the value is anything but -1 it just spams this error
[NPC Daemon] [NPC Daemon] [Coroutine "direct"] lua/sv_npcd_direct.lua:262: bad argument #1 to 'min' (number expected, got nil) 1. DoRoutine - lua/sv_npcd.lua:695 2. DoAllRoutines - lua/sv_npcd.lua:672 3. v - lua/sv_npcd.lua:409 4. unknown - lua/includes/modules/hook.lua:96
Last edited by 112 shaboingboings; May 21, 2024 @ 12:52am
sockpuppetclock  [developer] May 25, 2024 @ 12:35am 
sorry for the delay, it's fixed now
< >
Showing 1-7 of 7 comments
Per page: 1530 50