Jump to content

how to add zombienpc

Closed 1.2.1 1.3.0

Unkown
Unkown

Posted

cant get zombienpcs to cause the virus. I hadded ZombieNPC under the scarecrow with the zvirus

Mr01sam

Posted

Which zombie plugin in particular are you using?

Unkown

Posted

my bad for not being specific. zombiehorde

Mr01sam

Posted

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!

Mr01sam

Posted

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!

Mr01sam

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.3.0

  • Administrator
Steenamaroo

Posted

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
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.