Garry's Mod
2,615 evaluări
Global NPC Group Spawner (Mapwide Auto Spawner)
8
4
2
12
3
3
9
4
2
2
2
2
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay
Dimensiunea fișierului
Postat
Actualizat
103.254 KB
4 iun. 2022 la 7:36
14 dec. 2023 la 14:00
46 jurnale de actualizare ( vizionare )

Abonează-te pentru a descărca
Global NPC Group Spawner (Mapwide Auto Spawner)

În 1 colecție creată de Zippy
Zippy's Stuff
43 obiecte
Descriere
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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2574407396
Zombie/NPC Invasion+: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=597017711
ZINV - Zombie/NPC Invasion: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=179517028


Join the discord server (by clicking the image below) if you want to discuss my addons!
[discord.gg]
Discuții populare Vezi toate (3)
151
28 febr. la 23:37
IMPORTANT: Bugs
Zippy
11
19 febr. la 3:19
IMPORTANT: Complain/Hate
Zippy
2
3 febr. 2024 la 5:56
bugs
Ichikawa
793 comentarii
HaCkErMaN 28 febr. la 18:38 
Is there a way to wipe all groups? I have 100s from previous sessions and I want to remove them all at once.
♠ ACE ♠ 26 febr. la 11:45 
[Global NPC Group Spawner (Mapwide Auto Spawner)] lua/weapons/gmod_tool/stools/zippymapspawner_areacreator.lua:156: bad argument #1 to 'ipairs' (table expected, got nil)
1. ipairs - [C]:-1
2. update_groups - lua/weapons/gmod_tool/stools/zippymapspawner_areacreator.lua:156
3. func - lua/weapons/gmod_tool/stools/zippymapspawner_areacreator.lua:173
4. unknown - lua/includes/extensions/net.lua:38
any ideas? cuz when i open my npc group it has an error poping out in the corner and the groups don't show up
-.. -.-- .--. .- 22 febr. la 11:45 
I set max npc spawn and my gmod can't start. How to reset addon settings?
EthanvsZombies 16 febr. la 17:28 
Just a idea I had.
EthanvsZombies 16 febr. la 17:24 
It be cool if there was a way to spawn NPCs under water for NPCs that need to be under water, and NPCs to be spawn on a ceiling for the NPCs that need to be spawn on a ceiling.
Sixteen60 12 febr. la 19:00 
How do you have 2 NPC types spawn in different areas from eachother?
chrislloydbreak 6 febr. la 12:29 
[Global NPC Group Spawner (Mapwide Auto Spawner)] lua/autorun/server/zippymapspawner.lua:371: bad argument #1 to 'ipairs' (table expected, got nil)
1. ipairs - [C]:-1
2. GetAvailableGroups - lua/autorun/server/zippymapspawner.lua:371
3. v - lua/autorun/server/zippymapspawner.lua:424
4. unknown - lua/includes/modules/hook.lua:102
chrislloydbreak 6 febr. la 12:28 
[Global NPC Group Spawner (Mapwide Auto Spawner)] lua/sv_zippymapspawner/groups.lua:51: bad argument #1 to 'TableToJSON' (table expected, got nil)
1. TableToJSON - [C]:-1
2. func - lua/sv_zippymapspawner/groups.lua:51
3. unknown - lua/includes/extensions/net.lua:37 ohno a error
mercado_24 1 febr. la 12:59 
when i try to make rebels spawn, armed citizens spawn instead of rebels
Japod 31 ian. la 16:16 
I love this addon so much! You should make an addon like this except you can spawn anything(props, entities, weapons etc.)