Garry's Mod

Garry's Mod

Nincs elegendő értékelés
Npc Random Spawning
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Scenic
Fájlméret:
Közzétéve:
Frissítve:
9.236 KB
2024. nov. 26., 10:11
2024. nov. 30., 13:16
6 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Npc Random Spawning

Leírás
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 megjegyzés
Stagger Lee jan. 18., 2:15 
they keep spawning outside of the map
Iridium77 2024. dec. 12., 11:54 
Плохо работает на больших картах с рельфом. Так же хотелось бы, чтобы меню было в tool menu, а не отдельное меню.

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