Garry's Mod

Garry's Mod

4,777 ratings
Dynamic NPC Squads
11
9
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
378 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 (21)
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
695 Comments
Snekenjoyer6 28 Jul @ 12:13am 
day uhhhhhhhhhhhhhhhh something for asking for a cvar for changing the max squad size
John the Tester 20 Jul @ 7:38am 
workshop masterpiece
ATP 19 Jul @ 5:17am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
An_Unknown_Player[FIN] 11 Jul @ 7:06am 
From my experience, the leader is the first one that moves. Could also be that it's been a coincidence.
StrawWagen  [author] 10 Jul @ 5:53pm 
idk the engine handles that
gabefoster567 10 Jul @ 5:17pm 
HOW WILL THEY KNOW WHO IS THERE LEADER
Gamebit 19 Jun @ 4:46pm 
Now I can make full on wars!
NullPug 15 Jun @ 7:57pm 
Would it be possible to have the console commands accessible through the spawn menu?
ProfFalkenJR 15 Jun @ 7:52pm 
Does this work with VJ units?
Sif 7 Jun @ 7:01pm 
@Freedom The Weirdo

Probably because VJ recently updated.