Jump to content

Kits only applying to all npcs, from one npc config

Closed 1.0.2 1.0.3

ChogChey


Ive been fussing around with the plugin for a couple days now, and when I equip kits to the "scientist" profile in the config file it applies the kits to every npc on the server. And when I remove the kits from that profile specifically, all npcs spawn with their default loadout. Any clue what's happening? Thanks in advance.

Link to comment
  • Administrator

"Scientist" is the only non-specific option there and is only really there as a debugging/checking leftover.

It catches anything doesn't fit all the other options which, really, should just be console + plugin spawned scientists.

 

Can't see it affecting all npcs on the server but, regardless, just turn it off and use the the other type-specific categories.

Link to comment

I tried this, then it strips kits from bandit, and junkpile scientist and reverts them to their default loadout 😕

So far heavy scientists are fine, and use their kit correctly. But mounted gunner scientists also lack a kit when the default scientist kit is cleared, and I'm not sure how to spawn in others.

Link to comment
  • Administrator

Sure; I mean set no kit for "scientist"...pretend it doesn't exist,
then do set kits for junkpile, bandit, etc

Link to comment

There is no kit on the "scientist" scientist profile. I'm saying it then proceeds to negate the kits set on the listed other npcs

Link to comment
  • Administrator

If they're coming out naked and there are no console warnings about it (meaning kit exists), strip and redeem one of the kits yourself.
It's so easy to forget the '/kit items' command and end up with an empty.

Edited by Steenamaroo
Link to comment

The issue I'm having seems to be with a specific few profiles. The bandits and the junk pile scientists spawn with their default game equipment, while murderers and heavy scientists spawn with their kit load outs. I have also checked to make sure the kits work, and have all the items necessary.

Link to comment
  • Administrator

It was bandit camp I checked with a few minutes ago.
They looked very friendly with their boltys and bunny outfits. 😂

If there are no console complaints about non existent kits, and you're 100% certain all kits definitely have items, I'm not really sure what's going

Edited by Steenamaroo
Link to comment
4 minutes ago, ChogChey said:

bwahaha, nice. No complaints at all. I guess Ill try reinstalling the plugin?

 

Nope, no result

Link to comment
  • Administrator

Hm. not sure what to tell you. 😞

Should be as simple as 

  1. Install plugin.
  2. Edit config to include valid kit for BanditTown.
  3. Reload plugin and make sure console (not f1..rcon or server window) shows no errors or warnings.
  4. Fly to bandit camp and see kitted bandits.
Link to comment
  • Administrator

If the bandits spawns have been put there in RustEdit then yeah, I guess that wouldn't work.
If Rust is spawning them in at a BanditCamp monument then it should.

Edited by Steenamaroo
Link to comment

But I can also spawn them in, and when I had the kits equipped onto them, the bandits as well as the junk pile scientists (who both had the same kits((the ones assigned to the "scientist" profile)) when the "scientist" profile had kits) spawned with their default kit, and when I added kits to the "scientist" profile they both gained the kits equipped to that profile.

Link to comment
  • Administrator

Well, that makes sense. The Scientist profile catches anything that doesn't fit another category so that's console or plugin spawned npcs.
All other profiles are there to kit out Rust default populations. You'd need to actually go to the bandit camp and look at one of the ones Rust put there.

Link to comment
  • Administrator
6 minutes ago, ChogChey said:

But I can also spawn them in,...

No, I'm saying that spawning them in isn't going to work as a test because the profiles only acts on the ones that Rust spawns in.

Link to comment

Ah, then why do heavy scientists and murderers still get their kits? And is there a way to configure the plugin to also target these spawned in npcs? (I'm just asking to try and better trouble shoot if this happens again in the future)

Link to comment
  • Administrator

FP haven't made it easy to identify all the npcs types by type like this.

Some have a class unique to them, some have a prefab unique to them, some have flags identifying them, and some have nothing.
Bandit, Military Tunnel, Compound and Junkpile are all identified in such a way that only Rust spawned populations will be picked up.

Edited by Steenamaroo
Link to comment
  • Administrator

Leave it with me.
I think the bandits have their own unique prefab so I'll see if there are any others and do an update soon.

Link to comment

1.2m

Downloads

Total number of downloads.

6.1k

Customers

Total customers served.

90.3k

Files Sold

Total number of files sold.

1.8m

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.