Jump to content

Cant get the loot to behave, could use a little direction.

Pending 2.1.8

PistOffBastd
PistOffBastd

Posted

I could use a little  help here on this loot system: ( Better Npc 2.1.8)

I'm telling the first npc preset to use alpha loot, with an alpha loot preset.. That preset contains no scrap. There is no scrap in my loot table, they buy it, not find it.

The items table:
If I set to  "IsEnabled": false,, it comes right back to  "IsEnabled": true,. If i change scrap to fertilizer, it comes back as scrap, it i set max min to  0-0 it comes back to 5-5

I have got to figure out how to get rid of this scrap.

I did not update during the Loot Table days, I held out till today, with slash and burn fresh install.

What to i need to do to get rid of this scrap?

I appreciate your help.

ALbottom.jpg

ALtop.jpg

ALpresetgui.jpg

ALsearchScrap.jpg

ALjson.jpg

BNPCscrap.jpg

PistOffBastd

Posted (edited)

Looks like I have the scrap worked out, ill change the AL profile to 1 item in it, I'm not sure i have that right yet.

 

 

Edited by PistOffBastd
aimacak

Posted (edited)

5 hours ago, PistOffBastd said:

Looks like I have the scrap worked out, ill change the AL profile to 1 item in it, I'm not sure i have that right yet.

 

 

Hello, you won't like my answer, but apparently the only way to remove the scrap if you only use Alpha Loot is to manually change the loot pad in each NpcSpawn preset (data/NpcSpawn/Preset/) to the one I attached to your message.. Because the GUI for configuring Prefabs and Items It's not ready yet, there's no other way.

And it's better to unload NpcSpawn at the time of editing, perhaps this was the reason why you returned IsEnable: true, because the changes are pulled up automatically when editing them through the GUI, but when editing files manually, you will need to reload the plugin, perhaps it resaved something when unloading. But I couldn't make IsEnable change the value that I set it to..

  "LootTable": {
    "IsAlphaLoot": true,
    "AlphaLootPreset": "BetterNpc",
    "IsLoottablePlugin": false,
    "LoottablePreset": "",
    "IsCustomLootPlugin": false,
    "CustomLootPreset": "",
    "ClearDefaultLoot": false,
    "PrefabsTable": {
      "IsEnabled": false,
      "MinPrefabsAmount": 1,
      "MaxPrefabsAmount": 1,
      "Prefabs": null
    },
    "ItemsTable": {
      "IsEnabled": false,
      "DisableMinMax": true,
      "MinItemsAmount": 1,
      "MaxItemsAmount": 1,
      "Items": null
    }
  },
Edited by aimacak
2.3m

Downloads

Total number of downloads.

10.5k

Customers

Total customers served.

151.7k

Files Sold

Total number of files sold.

3.2m

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.