Garry's Mod

Garry's Mod

Zombie/NPC Invasion+
MasterKitty5 2016 年 7 月 30 日 下午 1:11
[BUG] (maybe) uncontrollable spawn rates
Sometimes the npc's i select to be spawned will never spawn or will be the only ones spawning. For example, one time on gm_bigcity i chose all of the half life 2 zombies, but when i activated it only ordinary zombies would spawn. Then without my input, it changed to poison zombies, and only they would spawn. Then it changed again to fast zombies. It seemed like an intentional loop, with the cycle repeating itself. Zombies to poison zombies to fast zombies. Is there some type of conflict going on? I really don't know what to make of this. This only happened once by the way, usually it works fine.
最后由 MasterKitty5 编辑于; 2016 年 7 月 30 日 下午 1:12
< >
正在显示第 1 - 2 条,共 2 条留言
moomoohk  [开发者] 2016 年 8 月 6 日 下午 1:34 
Without your spawn config there's absolutely no way for me to know what happened.

In any event, there's no type of loop or whatever in the code. The chance you set for each NPC decides how often it spawns. If you set two NPCs to 50 chance they'll randomly alternate.
MasterKitty5 2016 年 8 月 6 日 下午 7:55 
That's not what happened. i believe i had the chances set to: zombie=100 fast zombie=50 poison zombie=30. Another thing i noticed, is it only happened with one preset that i made, It never happened with any other. So maybe this one is broken in some way.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50