Jump to content

how to add zombienpc

Closed 1.2.1 1.3.0

I haven't tested this, because I don't own zombie horde, but I *think* the zombies that it spawn  are actually the "scarecrow" entity. So, under infliction entities you want to list it like this. The "0.5" in this case is the chance that a player will be infected when they are attacked (0.5 = 50%).
image.png.bfeab031701dc0eb2ad2bd4e41a3e2e1.png

If that doesn't work, then they are actually a different entity, but I'm not sure what. I have a tool that can tell you for sure, if you're interested PM me.

Also let me know if it does work so I can get confirmation!

Share this comment


Link to comment

In v1.3.0 I added a config option for the Z13 Virus so that you can specify only melee damage will inflict it. I also added the entity for zombie hordes to the condition config so it should in theory work by default in v1.3.0. I'd love it if someone could confirm though!

Share this comment


Link to comment

Hey,
For detecting ZombieHorde npcs you can check if player.Categorize() == "Zombie"
and for BotReSpawn npcs there's bool IsBotReSpawn(ulong and bool IsBotReSpawn(NPCPlayer

 

Someone asked me about BotReSpawn with this plugin so I thought I'd leave both details here. 👍

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

81.9k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.