Jump to content

Kits only apply after plugin reload

Pending 1.2.9

Brostrodamus
Brostrodamus

Posted

Hi, I wanted to report an issue I’ve been running into with NPCKits.

First off, the plugin works great overall and does exactly what I was hoping for in most cases. The problem is with how kits are being applied to scientists after the initial plugin load.

I’ve assigned all scientists a specific kit, and it works correctly after I reload the plugin. At that point, the scientists wear the custom kit as expected. However, when I go to a monument that I haven’t recently been near yet, like Train Yard, the scientists there are still wearing their default attire instead of the assigned kit.

The only way I’ve found to make the kits apply properly is to manually reload the plugin, which then updates them again.

It seems like scientists that spawn or become active later are not being checked consistently by the plugin, or the game’s default NPC loadout behavior is overriding the kit assignment until the plugin is reloaded.

Would it be possible to add one of the following?

> A proximity-based check that re-applies NPCKits when a player comes within range of NPCs

> A spawn hook or recurring validation check for newly spawned / newly activated scientists

> Some kind of override so the plugin always takes priority over the game’s default scientist clothing/loadout behavior

Basically, I’m hoping for a way to ensure that all scientists always use their assigned NPCKits without needing a manual plugin reload.

Thanks again for the plugin and all the work you’ve put into it.

  • Administrator
Steenamaroo

Posted

Hi,
Thanks for reporting. I'll have to look in to that tomorrow and see what's happening.
I'll update you when I know more. 👍

  • Like 1
Brostrodamus

Posted

Another thing worth mentioning is that about 30 minutes to an hour ago, I was checking Giant Excavator and noticed all of the NPC's were wearing their default kit again. So I reloaded the plugin to set the custom kit and left. I just returned to GE, about an hour later and noticed they've all reverted back to their default kit and nobody has taken GE during that time.

2.3m

Downloads

Total number of downloads.

10.7k

Customers

Total customers served.

154.3k

Files Sold

Total number of files sold.

3.3m

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.