NPCs still dropping loot

the disable loot option does not seem to be working.

eagletjs

the disable loot option does not seem to be working.

Could you provide any details?
Aeq722zJiU0hmbs.png Wulf
Could you provide any details?
what kind of info do you need and where do i find it? im not getting any error messages in the server console and i tryed removing all of my other mods except NightZombies and PlaguedNPCs when the NPCs are killed they still have loot.
9uJJoTfWBY3uGEG.png Wulf
Could you provide any details?

not sure if it helps but i get this in the console everytime i kill one of the Plagued NPCs "Converting prefab name to lowercase: asset/rust.ai/agents/NPCPlayer/pet/frankensteinpet_corpse.prefab"

eagletjs

not sure if it helps but i get this in the console everytime i kill one of the Plagued NPCs "Converting prefab name to lowercase: asset/rust.ai/agents/NPCPlayer/pet/frankensteinpet_corpse.prefab"

Not that I know of, I noticed that but it isn't from this plugin. I'll have to verify that the hook covers all NPC types.
eagletjs

not sure if it helps but i get this in the console everytime i kill one of the Plagued NPCs "Converting prefab name to lowercase: asset/rust.ai/agents/NPCPlayer/pet/frankensteinpet_corpse.prefab"

Please let me know if the latest update helps, thanks!

Af0PLO7GCLx5uIw.png Wulf

Please let me know if the latest update helps, thanks!

I am still getting loot drop when killing plagued npc. I tried removing all of my other plugins and deleted the config file but still get loot drops.

hey i have tried to change the loot from npc is it posible to make it so they just drop loot no weapon / clothes like vanilla? i have put NoLoot = true but that dosent stop it

I'll have to do some more testing with this.

Any luck with getting the no loot setting working?

eagletjs

Any luck with getting the no loot setting working?

Lost track of this, but will take a look again.

I don't know if it helps you but I tried out the Better Scarecrows plugin after they added the no loot option and the no loot option doesn't work with that plugin either unless I remove the Night Zombies plugin. I know Better Scarecrows says it doesn't work with Night Zombies but I don't seem to have any issues except for the no loot not working.

Hi,

That's because the plugin try to remove the loot of the corpse, but it's given after the call of the hook OnCorpsePopulate on the ScarecrowNPC.CreateCorpse and HumanNPC.CreateCorpse methods.

I'll put a patch to correct that.



Merged post

I've submitted a patch, you can wait for the version 3.1.2 to come out.