Garry's Mod

Garry's Mod

6,134 ratings
ZINV - Zombie/NPC Invasion
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Realism
File Size
Posted
Updated
26.390 KB
18 Sep, 2013 @ 7:03am
1 May, 2021 @ 6:14am
23 Change Notes ( view )

Subscribe to download
ZINV - Zombie/NPC Invasion

Description
This addon will constantly spawn random NPC within a certain distance of any player.
I made this because I couldnt find any addons/gamemodes that did this without manually placing NPC spawners everywhere which is stupid.

Not only zombies can be spawned, but any class that works normally in the game, what spawns can all be changed via the 'Spawn Editor' in the Q menu options.

To make it even more fun, why not turn on enemy death explosions and download a prop damage mod and see how long you can survive?
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=346585225

NOTE: This mod works best on maps with NPC info_nodes, but will work on any map just not as well. Use a mod called Nodegraph Editor to add your own info_nodes https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=104487190

Please rate this addon! Thanks

SETTINGS

You can change all of the settings via the spawn menu (Q) under options on the right side.

To enable the console, go options>keyboard>advanced>enable developer console, then press ¬, the button above tab. Then type some of the commands below:

zinv 1/0 - On/Off.
zinv_maxdist 0-9999 - NPCs wont spawn further than this.
zinv_mindist 0-9999 - NPCs will only spawn after this distance from a player.

Types of NPC that spawn and information about them can be changed via spawn menu>options>zinv>settings>spawn editor

FAQs

  • Nothing is spawning, why?
    - Only maps with info_nodes will work, it might be the map you are playing on doesn't have them. Another option is a conflict with other mods, try disabling all of them first and enable this one to test.
  • What does the min dist and max dist mean?
    - This feature will keep the NPCs local to the online players. They wont spawn closer than the minimum distance and wont spawn outside the maximum distance away from any player. Additionally, if the NPC is detected outside the max distance range, it will be deleted.
  • I have a good idea for a feature.
    - Please post on our gihub page as an issue.
  • I have removed this mod but the NPCs keep spawning.
    - Make sure you close your game after unsubscribing, also there is a duplicate mod on the workshop, make sure that is also removed.


Bug Reporting

Post an issue on the gibhub page:
https://github.com/supersonic1999/ZombieInvasion