Jump to content

LootTable Custom Items

Closed 1.6.4

SlamaSeno

Posted

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.

Adem

Posted

Hi. Are you trying to change the loot for the NPCs?

Adem

Posted

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

SlamaSeno

Posted (edited)

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
Adem

Posted

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

Adem

Posted

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

Adem

Posted

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

SlamaSeno

Posted

Great, it works to my liking!

Thank you very much 😍

Adem

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.6k

Files Sold

Total number of files sold.

2.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.