Garry's Mod

Garry's Mod

4,852 ratings
Dynamic NPC Squads
11
10
3
17
3
2
2
5
5
4
4
2
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
720.713 KB
29 May, 2022 @ 11:37am
20 Jul @ 8:49pm
23 Change Notes ( view )

Subscribe to download
Dynamic NPC Squads

In 3 collections by StrawWagen
My Bigger Projects
30 items
[CFC] Hunter's Glee
390 items
Save Making Toolbox
11 items
Description
Automatically shunts npcs into valve's squads.

Extra features!
  • Npcs will chatter when they do any custom behaviour!
  • When a squad starts losing members, they'll cry for backup!
  • Entire system is based on disposition, so custom factions wont break it!
  • Idle squads will report in and do their very best to reinforce their buddies.
  • If there's no threat, squads wander as a group!
  • Everyone follows their squad leader.
  • Leaders will intentionally spread out, avoid other squads!
  • Removed grigori support.
  • Half-decent duplicator support!
  • Leaders who have lost all their buddies will throw in the towel and join someone else.
  • A "Dynsquad Goal" ( think capture point! )


All this together means that npcs will break up into little squads, constantly moving around the map!


Some Caveats
  • Works best with npcs that can join valve squads ( basically all default npcs, combine, rebels, zombies, antlions )
  • This addon doesn't directly affect actively fighting npcs ( no extra tactics in close quarters! )

Console commands
npc_dynsquads_enabled ( enables/disables the addon ) npc_dynsquads_yapping ( enables/disables the extra idle npc voicelines ) npc_dynsquads_doassaults ( idle npc reinforcing ) npc_dynsquads_dowandering ( idle npc wandering ) npc_dynsquads_developer ( enables/disables debug info ) npc_dynsquads_ignoremapcreated ( makes it ignore map npcs, stops it breaking some maps )

Github [github.com]
Popular Discussions View All (22)
67
3
11 Jan @ 5:19am
Stop complaining if a couple of NPCs aren't supported.
SeasonAce
48
25 Aug, 2024 @ 8:41am
Does it work with Realistic Combine Soldiers AI mod?
TROFY-KSA
16
3 Jul @ 12:33pm
PINNED: FAQ
StrawWagen
704 Comments
Male_09 26 Aug @ 11:22am 
"Removed grigori support."
i cry oceans seeing this
StrawWagen  [author] 22 Aug @ 7:51pm 
The kenni ones? Think so
Civil Protection 22 Aug @ 5:46pm 
does this work with enhanced combine ai?
StrawWagen  [author] 13 Aug @ 9:40pm 
No clue, def wont crash your game or anything
the weather channel 13 Aug @ 8:19pm 
Does this work for inpcs by any chance
Ocean 6 Aug @ 9:44pm 
"npc_dynsquads_enabled" = "1" min. 0.000000 max. 1.000000
game lua_server" but when i do npc_dynsquads_enabled 1 it just does nothing
Ocean 6 Aug @ 9:42pm 
why wont the FREAKING COMMANDS WORK
Ocean 6 Aug @ 9:41pm 
"unknown command"
baccabab 5 Aug @ 3:26am 
Can u add tool to add squads? I mean u can connect needed NPCs into squad manually by toolgun
Snekenjoyer6 28 Jul @ 12:13am 
day uhhhhhhhhhhhhhhhh something for asking for a cvar for changing the max squad size