Jump to content

Loot Table/Boxes Not Working?

Pending 1.3.3

Stark
Stark

Posted

So, I've changed the path for the loot to let's say from Basic to underwater 

The problem I'm seeing is, the actual prefab in-game also changes from Basic to Underwater along with the loot, however, once you loot the box, the box stays. 

The loot box never leaves. 

GasStationEvent.json

  • Like 1
aimacak

Posted (edited)

On 11/22/2025 at 9:46 PM, Stark said:

So, I've changed the path for the loot to let's say from Basic to underwater 

The problem I'm seeing is, the actual prefab in-game also changes from Basic to Underwater along with the loot, however, once you loot the box, the box stays. 

The loot box never leaves. 

GasStationEvent.json 29.6 kB · 3 downloads

Hello, in the configuration there are 2 prefab parameters for each crate, 1 parameter is the prefab of the crate texture, 2 parameter is which crate the loot will be taken from for filling.
Regarding crates that "never disappear", everything is quite simple, crate has a certain number of slots, there are 12 in my screenshot, but with your loot settings, the crate plugin often adds more items to this crate, i.e. then, when you think that you have taken all the items from it, there are still items in it, so it does not disappear, I can recommend you a plugin that will automatically remove partially wrapped crates and throw items out of them in their place, I have been using it for 3 years, there are no problems with it, the removal time can set it in the configuration of this plugin. If you have any more questions, ask.

Plugin for automatic despawn crates after looting:
https://umod.org/plugins/loot-bouncer


texture prefab:
 

  "Loot crate settings for the first room": [
    {
      "Prefab": "assets/bundled/prefabs/radtown/crate_normal.prefab",

loot prefabs:
 

        "List of prefabs": [
          {
            "Chance [0.0-100.0]": 100.0,
            "The path to the prefab": "assets/bundled/prefabs/radtown/crate_underwater_advanced.prefab"
          }
        ]



image.png

Edited by aimacak
2.1m

Downloads

Total number of downloads.

9.9k

Customers

Total customers served.

144.6k

Files Sold

Total number of files sold.

3.1m

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.