Global NPC Group Spawner (Mapwide Auto Spawner)

If you liked this item, please rate it up on Steam Workshop page.

Author: 🗿 Zippy 🗿

Last revision: 14 Dec, 2023 at 22:00 UTC

File size: 100.35 KB

On Steam Workshop

Description:
What this is:

This is an addon that allows you to easily make groups of NPCs that can later be spawned automatically all over the map. It can be used to simulate a battlefield, or to add ambient NPCs to your map, or anything of that nature. It uses AI nodes to find spawn positions, so the map you are playing on must have a nodegraph.

Current features:

– Supports most NPCs, including VJ Base SNPCs and nextbots.
– The groups you create and their contents are saved automatically whenever you make any changes!
– You can put groups in different categories (sets) by renaming your group like this: CategoryName: GroupName (The set will be created automatically!)
– You can change what spawn chance a group should have, and you can change how many instances of that group can exist on the map at once.
– You can activate or deactivate groups whenever you want! You can also do it to all groups at once, or to all groups in a certain category.
– You can set what spawn chance a certain NPC should have.
– An NPC will normally spawn with their default weapons, but you can change what weapons a particular NPC can spawn with.
– Lots of options to determine where NPCs can spawn, including a system that allows you to create areas that restrict or force spawning for all/certain NPC groups.
– Other miscellaneous options.

How to use it:

In order for anything to spawn you will need to:
– Make sure the current map has a nodegraph.
– Add at least one group.
– Activate the group (by checking the checkbox to the left).
– Add at least one NPC in that group.
– Check the "Enable Spawning Module" checkbox.

The map needs a nodegraph in order for it to work! If it still doesn’t work even though you know there is a nodegraph, try setting "ai_norebuildgraph" to "1".

Similiar addons that I got the idea from:

NPC Daemon: https://steamcommunity.com/sharedfiles/filedetails/?id=2574407396
Zombie/NPC Invasion+: https://steamcommunity.com/sharedfiles/filedetails/?id=597017711
ZINV – Zombie/NPC Invasion: https://steamcommunity.com/sharedfiles/filedetails/?id=179517028