Jump to content

LootTable Custom Items

Closed 1.6.4

SlamaSeno

Hi, I'm having a problem with the loot tables where I tried to mix default items and my own items. I have tried multiple monsters, here I give 2 of them.

Thank you for your help

 

1) Default items were spawned (9 items - which I have set to min 1 and max 2), no custom items (even though they are on true)

      "Own loot table": {
        "Clear the standard content of the crate": true,
        "Allow the AlphaLoot plugin to spawn items in this crate": false,
        "Allow the CustomLoot plugin to spawn items in this crate": false,
        "Allow the Loot Table Stacksize GUI plugin to spawn items in this crate": false,
        "Setting up loot from the loot table": {
          "Enable spawn loot from prefabs": true,
          "List of prefabs (one is randomly selected)": [
            {
              "Prefab displayName": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
              "Minimum Loot multiplier": 1,
              "Maximum Loot multiplier": 2
            }
          ]
        },
        "Enable spawn of items from the list": true,
        "Minimum numbers of items": 3,
        "Maximum numbers of items": 4,

image.png.1ba33175918862ddf2717bb6b4b95cd8.png

 

2) Only custom items have been spawned

      "Own loot table": {
        "Clear the standard content of the crate": true,
        "Allow the AlphaLoot plugin to spawn items in this crate": false,
        "Allow the CustomLoot plugin to spawn items in this crate": false,
        "Allow the Loot Table Stacksize GUI plugin to spawn items in this crate": false,
        "Setting up loot from the loot table": {
          "Enable spawn loot from prefabs": false,
          "List of prefabs (one is randomly selected)": [
            {
              "Prefab displayName": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
              "Minimum Loot multiplier": 1,
              "Maximum Loot multiplier": 2
            }
          ]
        },
        "Enable spawn of items from the list": true,
        "Minimum numbers of items": 3,
        "Maximum numbers of items": 4,

image.png.903ea50d384a29b005c707bc744286df.png

 

 

How do I get it all together? The number of default items min-max and my custom items? I was used to the old system with numbers and table settings, this is new to me.

Thank you for your help

I apologize for my English.

Link to comment

Do you want the NPCs to keep their standard loot and add custom items there? If so, just make this parameter false
image.png.237584959682e7f21bf6bd36123aca19.png

Link to comment

This is loot in crates, I haven't tried it with NPCs. Since players also want loot in crates.

I would just like the crates to have the basic loot but still have my custom items. And I don't want to list all the items in "custom". (the basic things that the box should contain even without custom)

I'll try the NPCs as well.

Edited by SlamaSeno
Added information
Link to comment

You don't have to do that. Do as I said above and it will work the way you expect

Link to comment

"Clear the standard content of the crate": false,
"Enable spawn loot from prefabs": false,
"Enable spawn of items from the list": true,

Link to comment

And in the custom items section, you need to list the custom items that you want to add

Link to comment
1.3m

Downloads

Total number of downloads.

6.4k

Customers

Total customers served.

94.7k

Files Sold

Total number of files sold.

1.9m

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.