Jump to content

Custom profiles zombiehorde

Closed 1.2.2

Chernarust
Chernarust

Posted

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?

Chernarust

Posted

Also how to configure the AI not stand static until attacked? Kind of how the default scientist walk around the loot piles.

Jbird

Posted

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.

Chernarust

Posted

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.

Jbird

Posted

Correct NPCs will only be active around actual players.

What plugin are they not attacking NPCs from?

Chernarust

Posted

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

Jbird

Posted

Just to confirm the BetterNpc NPCs are not attacking the ZombieHorde NPCs?

  • Like 1
KpucTaJl

Posted

@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

Chernarust

Posted

I do have 

internal bool CanTargetOtherNpc = false;

set to true.

I will experiment with the CanSleep setting.

Jbird

Posted

Sounds like a plan.

KpucTaJl

Posted

Changed Status from Pending to Closed

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.