Garry's Mod

Garry's Mod

74 ratings
NPC Chase
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
6.499 KB
28 Dec, 2024 @ 11:48am
14 Sep @ 4:04pm
8 Change Notes ( view )

Subscribe to download
NPC Chase

In 1 collection by MightyX3N ✝
Addons by MightyX3N
45 items
Description
Join the official X3NAddons Discord Community for updates & support: https://discord.gg/USukDAH7Cu

A Rework of this addon is being made its very different and a 1000 times better:
  • Still in beta/early access, but is really fun
  • NPC Hunt




NPC Chase

This addon allows you to monitor and control NPCs that automatically chase random players. You can easily add, remove, and list NPCs that are designated to chase players, either globally or for specific maps. It ensures NPCs stay engaged with players, adding dynamic AI behavior to your server, whether in single-player, LAN, or on a server.

Important Note: This addon uses a list of predefined NPCs to chase players, but you can easily customize the list by adding or removing NPCs with simple console commands. If the NPC is not chasing a player, it will automatically target one at random. The default NPC list is
npc_combine_s
npc_metropolice
npc_zombie
npc_fastzombie
npc_poisonzombie
npc_zombine

Compatibility Warning: This addon may not work well with scripted NPCs, like those in Half-Life 2 campaign maps, as they often have specialized behaviors that this addon does not account for.

Console Commands:
  • add_chasenpc "npc_class" (Adds an NPC class to the monitored chase list)
  • remove_chasenpc "npc_class" (Removes an NPC class from the monitored chase list)
  • chasenpclist (Displays all NPCs currently in the monitored chase list)

Example Commands:
  • add_chasenpc npc_combine_s (Adds the Combine Soldier to the monitored chase NPCs)
  • remove_chasenpc npc_zombie (Removes the Zombie from the monitored chase NPCs)
  • chasenpclist (Displays all monitored chase NPCs)




Features:
  • Automatic Player Targeting: Automatically assigns random players as targets for NPCs in the monitored chase list.
  • Dynamic NPC Behavior: NPCs chase their assigned player targets and update their memory to keep pursuing them.
  • Global and Map-Specific NPC Lists: Add or remove NPCs from the chase list globally or for specific maps.
  • Easy NPC Management: Add, remove, and view NPCs that are monitored to chase players with simple console commands.
  • Predefined NPCs List: Includes a list of common NPCs from various sources, like L4D and Half-Life 2, ready to be used for chasing players.




Credits:




TAGS:
  • NPCs
  • Chase NPCs
  • Garry's Mod
  • AI Behavior
  • Server Management
  • Addons
  • LUA
  • Script
  • NPC Management
  • AI Chasing
  • Half-Life 2
  • Left 4 Dead
  • Custom NPCs
  • Dynamic AI
  • Multiplayer
  • Single Player
  • NPC Targets
  • Game Addons
  • GMod AI
  • Gaming Scripts
  • Server Tools
  • GMod Server Mods
  • AI NPCs
  • AI Script
  • NPC List


MAPS WITHOUT NAVMESH OR AI NODES DONT WORK
Also use this addon here
NPC Navmesh Navigation
if the map still dont work with navmesh

NOT ALL NPCs WILL WORK BUT MAJORITY SHOULD!

Join my Steam Group to request new addons, and to get updates
https://gtm.steamproxy.vip/groups/x3naddons
9 Comments
MightyX3N ✝  [author] 14 Sep @ 3:55pm 
I RELEASED A MAJOR REWORK OF THIS ADDON (NPC HUNT) ITS DIFFERENT BUT REALLY FUN STILL EARLY BUT PLEASE TRY IT OUT

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3568416420
cihad sarsılmaz 30 Aug @ 4:33pm 
npcs doesnt chase me
MightyX3N ✝  [author] 22 Jan @ 5:18pm 
Coffee Man

sorry for late response, if you would maybe send the edited file to me
im currently working on a few other addons so it would really help me out if you would
Coffee Man 8 Jan @ 3:04pm 
I recommend adding a simple convar toggle for completely enabling or disabling the addon, something like chasenpcs_enable 1 and chasenpcs_enable 0 . I've already done this locally on my end, but other players might only want to use this addon on certain maps, and not on other maps.
MightyX3N ✝  [author] 3 Jan @ 5:21pm 
goofydoggy

let me try to explain it again

NPCs with this addon do not auto spawn, you need to manually spawn them using the spawn menu (PRESS Q)

the other addon i recommended would allow the npcs to auto spawn if selected to spawn in that addon
sigmasdog:) 3 Jan @ 6:02am 
l installed this mod and wrote the command and they didn't spawn,why and what does the spawner have to do with it
FACE 31 Dec, 2024 @ 9:41am 
very useful for hordes
MightyX3N ✝  [author] 29 Dec, 2024 @ 6:14am 
goofydoggy

NPCs dont spawn automatically you need to spawn them using the spawn menu, if you want auto spawns you could use this addon alongside my addon

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=107821465 (NPC Spawn Platforms v3)
sigmasdog:) 29 Dec, 2024 @ 4:12am 
My NPC won't spawn