Jump to content

Only 1 item

Closed 1.0.2 1.0.3

Fl3x4


Fl3x4

Posted

Running Carbon, 

after setting the chance to 1 and min max to 14 min and 15 max. the container always having one item , the rest are locked slots.

Wrecks

Posted

send your config ill load it up 

Fl3x4

Posted

{
  "Supply Drops List": [
    {
      "Drop Custom Name": "tst",
      "Drop SkinID": 3298169317,
      "Min Amount of Loot In Container": 10,
      "Max Amount of Loot In Container": 15,
      "Loot Table": [
        {
          "Item Shortname": "largemedkit",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 500,
          "Max Amount of this Item": 500
        },
        {
          "Item Shortname": "black.raspberries",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 500,
          "Max Amount of this Item": 500
        },
        {
          "Item Shortname": "metal.facemask",
          "Item Name": "",
          "Item SkinID": 2165518431,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "hoodie",
          "Item Name": "",
          "Item SkinID": 2131784896,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "metal.plate.torso",
          "Item Name": "",
          "Item SkinID": 2165520265,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "roadsign.kilt",
          "Item Name": "",
          "Item SkinID": 2497224711,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "roadsign.gloves",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "pants",
          "Item Name": "",
          "Item SkinID": 2131787171,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "shoes.boots",
          "Item Name": "",
          "Item SkinID": 2138787134,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "rifle.ak",
          "Item Name": "",
          "Item SkinID": 2518385133,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "weapon.mod.holosight",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "rifle.bolt",
          "Item Name": "",
          "Item SkinID": 3145161332,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "weapon.mod.small.scope",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 1.0,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 1
        },
        {
          "Item Shortname": "maxhealthtea.advanced",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 3,
          "Max Amount of this Item": 4
        }
      ]
    },
    {
      "Drop Custom Name": "Cash Drop",
      "Drop SkinID": 3298169069,
      "Min Amount of Loot In Container": 2,
      "Max Amount of Loot In Container": 3,
      "Loot Table": [
        {
          "Item Shortname": "paper",
          "Item Name": "Cash",
          "Item SkinID": 3048132587,
          "Chance To Be Selected": 0.2,
          "Min Amount of this Item": 10,
          "Max Amount of this Item": 20
        },
        {
          "Item Shortname": "blood",
          "Item Name": "Coins",
          "Item SkinID": 3047580022,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 20,
          "Max Amount of this Item": 35
        },
        {
          "Item Shortname": "blood",
          "Item Name": "Pelt",
          "Item SkinID": 3047576938,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 4,
          "Max Amount of this Item": 10
        },
        {
          "Item Shortname": "blood",
          "Item Name": "Irradiated Scrap",
          "Item SkinID": 3027539724,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 8,
          "Max Amount of this Item": 15
        }
      ]
    },
    {
      "Drop Custom Name": "Ammo Drop",
      "Drop SkinID": 3298168943,
      "Min Amount of Loot In Container": 3,
      "Max Amount of Loot In Container": 5,
      "Loot Table": [
        {
          "Item Shortname": "ammo.rocket.hv",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.5,
          "Min Amount of this Item": 5,
          "Max Amount of this Item": 10
        },
        {
          "Item Shortname": "ammo.rocket.basic",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 5
        },
        {
          "Item Shortname": "ammo.rocket.mlrs",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 5
        },
        {
          "Item Shortname": "ammo.rocket.seeker",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 1,
          "Max Amount of this Item": 5
        },
        {
          "Item Shortname": "ammo.rifle.hv",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 32,
          "Max Amount of this Item": 64
        },
        {
          "Item Shortname": "ammo.pistol.hv",
          "Item Name": "",
          "Item SkinID": 0,
          "Chance To Be Selected": 0.3,
          "Min Amount of this Item": 32,
          "Max Amount of this Item": 64
        }
      ]
    }
  ]
}

 

Wrecks

Posted

any other loot altering plugins, alphaloot etc?

Wrecks

Posted

That may be it, unload it and see

Wrecks

Posted

"assets/bundled/prefabs/radtown/dmloot/dm tier3 lootbox.prefab"

this is the prefab if you want to remove it from better loots listener, its either in data or config i cant remember. 

 

I dont think better loot has api to do it another way

Fl3x4

Posted (edited)

Still with betterloot disabled only 6 is max

Edited by Fl3x4
Wrecks

Posted

1 minute ago, Fl3x4 said:

Still with betterloot disabled only 6 is max

ill try it out

Wrecks

Posted

its granting 14, it rolls the loot table again, so multiple of the same items can be rolled if probabilty hits

Fl3x4

Posted

        private void CheckConfig()
        {
            foreach (GameManifest.PrefabProperties category in GameManifest.Current.prefabProperties)
            {
                if (!(category.name.Contains("resource/loot") || 
                      category.name.Contains("misc/supply drop/supply_drop") || 
                      category.name.Contains("/npc/m2bradley/bradley_crate") || 
                      category.name.Contains("/npc/patrol helicopter/heli_crate") || 
                      category.name.Contains("/deployable/chinooklockedcrate/chinooklocked") || 
                      category.name.Contains("/deployable/chinooklockedcrate/codelocked") || 
                      //category.name.Contains("prefabs/radtown") || 
                      category.name.Contains("props/roadsigns")) ||
                    category.name.Contains("radtown/ore") || 
                    category.name.Contains("static") || 
                    category.name.Contains("/spawners") || 
                    category.name.Contains("radtown/desk") || 
                    category.name.Contains("radtown/loot_component_test")) continue;
                if (!_config.Generic.WatchedPrefabs.Contains(category.name))
                {
                    _config.Generic.WatchedPrefabs.Add(category.name);
                }
            }
            SaveConfig();
        }

Betterloot also needs to be adjusted otherwise it keeps creating the tier 3 in the config and data

Wrecks

Posted

yeah i would remove it from watched prefabs in config or data i dont remember where it is.
 

 

Wrecks

Posted

//category.name.Contains("prefabs/radtown") ||

i dont think you need to remove this whole line though 

 

Wrecks

Posted

{
  "Generic": {
    "blueprintProbability": 0.11,
    "listUpdatesOnLoaded": true,
    "removeStackedContainers": true,
    "WatchedPrefabs": [
      "assets/bundled/prefabs/autospawn/resource/loot/loot-barrel-1.prefab",
      "assets/bundled/prefabs/autospawn/resource/loot/loot-barrel-2.prefab",
      "assets/bundled/prefabs/autospawn/resource/loot/trash-pile-1.prefab",
      "assets/bundled/prefabs/radtown/crate_basic.prefab",
      "assets/bundled/prefabs/radtown/crate_elite.prefab",
      "assets/bundled/prefabs/radtown/crate_mine.prefab",
      "assets/bundled/prefabs/radtown/crate_normal.prefab",
      "assets/bundled/prefabs/radtown/crate_normal_2.prefab",
      "assets/bundled/prefabs/radtown/crate_normal_2_food.prefab",
      "assets/bundled/prefabs/radtown/crate_normal_2_medical.prefab",
      "assets/bundled/prefabs/radtown/crate_tools.prefab",
      "assets/bundled/prefabs/radtown/crate_underwater_advanced.prefab",
      "assets/bundled/prefabs/radtown/crate_underwater_basic.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm ammo.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm c4.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm construction resources.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm construction tools.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm food.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm medical.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm res.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm tier1 lootbox.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm tier2 lootbox.prefab",
      "assets/bundled/prefabs/radtown/dmloot/dm tier3 lootbox.prefab",
      "assets/bundled/prefabs/radtown/foodbox.prefab",
      "assets/bundled/prefabs/radtown/loot_barrel_1.prefab",
      "assets/bundled/prefabs/radtown/loot_barrel_2.prefab",
      "assets/bundled/prefabs/radtown/loot_trash.prefab",
      "assets/bundled/prefabs/radtown/minecart.prefab",
      "assets/bundled/prefabs/radtown/oil_barrel.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_ammunition.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_elite.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_food_1.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_food_2.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_fuel.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_medical.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_normal.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_normal_2.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/crate_tools.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/tech_parts_1.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/tech_parts_2.prefab",
      "assets/bundled/prefabs/radtown/underwater_labs/vehicle_parts.prefab",
      "assets/bundled/prefabs/radtown/vehicle_parts.prefab",
      "assets/content/props/roadsigns/roadsign1.prefab",
      "assets/content/props/roadsigns/roadsign2.prefab",
      "assets/content/props/roadsigns/roadsign3.prefab",
      "assets/content/props/roadsigns/roadsign4.prefab",
      "assets/content/props/roadsigns/roadsign5.prefab",
      "assets/content/props/roadsigns/roadsign6.prefab",
      "assets/content/props/roadsigns/roadsign7.prefab",
      "assets/content/props/roadsigns/roadsign8.prefab",
      "assets/content/props/roadsigns/roadsign9.prefab",
      "assets/prefabs/deployable/chinooklockedcrate/chinooklockedcrate.prefab",
      "assets/prefabs/deployable/chinooklockedcrate/chinooklockedcratecodelocked.prefab",
      "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
      "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate_oilrig.prefab",
      "assets/prefabs/misc/supply drop/supply_drop.prefab",
      "assets/prefabs/npc/m2bradley/bradley_crate.prefab",
      "assets/prefabs/npc/patrol helicopter/heli_crate.prefab"
    ]
  },
  "Loot": {
    "enableHammerLootCycle": false,
    "hammerLootCycleTime": 3.0,
    "lootMultiplier": 1,
    "scrapMultiplier": 1
  },
  "Rarity": {
    "Override": {
      "autoturret": 4,
      "lmg.m249": 4,
      "targeting.computer": 3
    }
  }
}

 

Wrecks

Posted

Id remove it from there

Fl3x4

Posted

The config has already been created so it doesnt need to be created again i suppose

Fl3x4

Posted

when i remove it only from here it will regenerate the config with that line on the end 

Wrecks

Posted

and the issue with only seeing x amount of items, some of those are probably not stackable

Wrecks

Posted

ill keep testing it to see though

Fl3x4

Posted

Stacksizes have been adjusted i think it lays in the probability hitting, or the dm tier 3 needs to be opened in order for what i want to do with it it removes the whole purpose of your plugin but it was fun playing with it anyways. thank you for your support

Wrecks

Posted

I got it, i will init full slots in the update

Wrecks

Posted

Works now, it will add i guess the default version of the DM only is 6 slots. I expanded it fully.


1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

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.