Garry's Mod

Garry's Mod

Not enough ratings
Npc Random Spawning
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Scenic
File Size
Posted
Updated
9.236 KB
26 Nov, 2024 @ 10:11am
30 Nov, 2024 @ 1:16pm
6 Change Notes ( view )

Subscribe to download
Npc Random Spawning

Description
Description:
Addon can spawn npc in random position npc that you chose also you can choose some weapon for npc for example: every 2 seconds with limit amount 100
SUPPORTING IS TO ALL NPCS

Interface:
You can open menu with clicking on the english keyboard "H"

Commands:

spawn_start npcType maxAmountNpc seconds weapon model - It starts spawning
npcType - It is class of a npc
maxAmountNpc - It is the max number copies of the npc
seconds - It is the seconds between spawning npc
weapon - It is the weapon of npc (It's not required)
model - It is the model of npc (It's not required)

spawn_stop - It stops spawning
open_spawn_menu - it opens menu
2 Comments
Stagger Lee 18 Jan @ 2:15am 
they keep spawning outside of the map
Iridium77 12 Dec, 2024 @ 11:54am 
Плохо работает на больших картах с рельфом. Так же хотелось бы, чтобы меню было в tool menu, а не отдельное меню.

Думаю для спавна НПС лучше использовать nav сетку, а так аддон не плохой, то есть сама идея классная :steamthumbsup: