Jump to content

Custom profiles zombiehorde

Closed 1.2.2

Chernarust

Hello, I have some custom profiles for the chernobyl map but the zombie horde just attack them and the NPC stand still and do nothing. Does betternpc have support to work with zombie horde?

Share this comment


Link to comment

If you need Npcs to be able to fight with other Npcs, then set the value of CanTargetOtherNpc inside NpcSpawn to true.

There are config options regarding the AI being inactive around players but for server performance it is recommended against turning this on. They move when players are nearby which saves a lot on resources.

Share this comment


Link to comment

Ok I do have the CanTargetOtherNpc inside NpcSpawn set to true I did that weeks ago, but the BetterNpc still don't attack the zombies only the default scientist. I don't think the NPC also pick up other NPC as a player so they remain dormant, I do have 500 zombies running around that do not go dormant so far so good.

Share this comment


Link to comment

It's the ZombieHorde plugin,  default rust NPC are attacking but the zombies just not the zombiehorde spawns. I have all the configurable options to attack and be attacked by other NPCs in zombiehorde set to true as well. I just don't think it works for BetterNpc

Share this comment


Link to comment

@Sjd6795 Hi

Regarding the Npc attack against other Npcs that appear using the NpcSpawn plugin, there is a parameter

internal bool CanTargetOtherNpc = false;

in the NpcSpawn plugin that needs to be done with the value true. I also saw that you say that this may not have helped you, then most likely there is some other plugin that blocks their attack, perhaps some kind of plugin conflict will be written in the console, it's worth paying attention to this. Also I didn't quite understand if zombies from ZombieHorde attack NPCs from NpcSpawn or not?

Regarding the fact that the NPCs do not go into sleep mode, you can also change the parameter

["CanSleep"] = true,

in the BetterNpc plugin to false, in the next update of the plugin, this parameter will be in the plugin configuration

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.5k

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.