Jump to content

NPC loot after death

Closed 3.0.5

Nambo1641
Nambo1641

Posted (edited)

Hello, thank you for this superb plugin, which is very complex for a beginner like me.

Thanks to various threads, I've found quite a few answers.

However, I haven't found how to modify the loot for dead NPCs.

With the many files available, I'm lost.

I don't know where or how to modify this loot table for NPCs.

Perhaps the answer is that I'm using Default_Loot.

And as you can see in the attached image, it drops far too many items for my liking.

How can I make the modification, for each of the bases in this case, without messing up my files?

Thank you for your help.

 

 

20250627144842_1.jpg

 

Edited by Nambo1641
delete picture
nivex

Posted (edited)

heya, that is prefab loot. npcs are a heavy scientist, so they will drop heavy scientist prefab loot.

you can change this in the profiles, oxide/data/RaidableBases/Profiles/

here is an example to spawn only roaming scientist loot, which has fewer less powerful items

    "Spawn Alternate Default Scientist Loot": {
      "Prefab ID List": [
        "roam"
      ],
      "Enabled": true,
      "Disable All Prefab Loot Spawns": false
    },

here is an example to spawn no prefab loot

    "Spawn Alternate Default Scientist Loot": {
      "Prefab ID List": [],
      "Enabled": true,
      "Disable All Prefab Loot Spawns": true
    },

you can have specific loot items dropped on death with these options,

Murderer Items Dropped On Death, and
Scientist Items Dropped On Death

Edited by nivex
Nambo1641

Posted

Hi, thank you very much, it works.
It wasn't easy for me to guess that.

2025-06-29 03_50_46-Rust.png

Nambo1641

Posted

I have another question.

I don't know if I should put this in a separate thread.

But I'll ask anyway.

I have this display during raids because I set the permission to admin: raidablebases.allow.

However, it doesn't display it for reasons that are obvious to players, and I've been told that they don't see it.

Where is the setting, please?

2025-06-29 03_51_07-Rust.png

nivex

Posted

heya,

is this a bad translation?

if you can see the ui, then they can see it too. the only reason they would not be able to see the ui is if you disabled it in the config, or if the player manually moved it off of their screen.

image.png.1d4b953816dc3dff5e5b3b2a1979a64f.png

 

 

nivex

Posted (edited)

yes, raidablebases.allow permission for admin/mod/staff only. it should not be given to players. it does not relate to the user interface.

that permission is for the /rb tp, /rbe, /rbevent commands

Edited by nivex
Nambo1641

Posted

The configuration is good, I hadn't changed it.

2025-06-29 15_23_01-Window.png

Nambo1641

Posted

My son tried to make a base.

And he doesn't have the timer and loot display available.

2025-06-29 15_06_04-Window.png

d02567a2-e819-4465-bf54-0d21bcd2288e.jpg

nivex

Posted (edited)

hi, "Advanced Alerts UI" is for the Advanced Alerts plugin. Look at my screenshot again where it says "Status UI"

those are the only reasons unless the base did not paste (in which case there would be no map marker on the game map), or some error in console (edit: looks like language file error)

have him use the command to reset it.

/rb resetui status

 

Edited by nivex
Nambo1641

Posted

The console command doesn't solve the problem.

I've done some research, and I can't explain this configuration issue.

When the RUST game is in French, the overlay doesn't appear.

But when the game is in English, it does.

This is very strange.

1097a894-eb20-4345-ad49-291693e7d13e.jpg

4b24c012-eae3-4885-b7c6-870f42152c4e.jpg

nivex

Posted (edited)

it must be an issue with the French language file then

 

Edited by nivex
nivex

Posted

put this in the French language folder and reload the plugin

oxide/lang/fr/RaidableBases.json

RaidableBases.json

Nambo1641

Posted

Thank you so much, you're a boss. Thanks for the help, my problems are fixed. See you soon.

2025-06-30 01_49_38-Rust.png

nivex

Posted

very good. you're welcome!

nivex

Posted

Changed Status from Pending to Closed

1.8m

Downloads

Total number of downloads.

8.5k

Customers

Total customers served.

128k

Files Sold

Total number of files sold.

2.7m

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.