Jump to content

NPC drops/spawn

Closed 3.1.3

Amnesia
Amnesia

Posted (edited)

Hello 

I am trying to change the loot that NPCs/murderes drop, but it doesnt seem to work. They drop high-tier like L9, which is a little too OP. 

I have changed the the config in "Profiles" but it doesnt seem to do the trick. 

Furthermore, I cant seem to get NPCs to spawn in base. I can get sleepers in there, but thats it. 

Ill post a few screenshots of my configs. 

Could you maybe point me the right direction? 

Many thanks 

Drops.JPG

spawns.JPG

Edited by Amnesia
nivex

Posted (edited)

hi, sleepers are npcs and you have that enabled so that's what will spawn

everything is configured correctly to disable the loot so it would be coming from another plugin like BetterLoot. I'll remove the call to OnCorpsePopulate when Disable All Prefab Loot Spawns is true in RB next update 

to fix it now, edit RaidableBases.cs on line 2753 and change

if (Interface.CallHook("OnCorpsePopulate", this, corpse) == null && LootSpawnSlots.Length != 0)

to

if (!Brain.Settings.AlternateScientistLoot.None && Interface.CallHook("OnCorpsePopulate", this, corpse) == null && LootSpawnSlots.Length != 0)

this will prevent plugins like BetterLoot from using this hook with my npcs

Edited by nivex
Amnesia

Posted

Hi

So is it not possible to get NPCs inside bases that defend, or am I misunderstanding something?  

 

Thank you very much! 

nivex

Posted

hi, they will defend once they're attacked because you have them set to be sleeping

you can disable that

set Enabled to false

image.png.9f454716ae55871f6df75529822403b2.png

 

Amnesia

Posted (edited)

I see 

It was me misunderstanding the settings of the plugin. 

Thank you very much 

Edited by Amnesia
nivex

Posted (edited)

you're welcome, enjoy! feel free to respond if you still have questions

Edited by nivex
nivex

Posted

Changed Status from Pending to Closed

2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.6k

Files Sold

Total number of files sold.

3.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.