Jump to content

Custom Loot Tables

Pending 1.0.7


Can't Figure this out lol

I'm Trying to make a custom loot table for zombies at the AirField but whenever i kill them there inventory is empty.

I attached the 3 files i think i have to edit.

What am i doing wrong?



    "BotSpawn-Airfield 0": {
      "enabled": true,
      "lootTable": "Airfieldzombies",
      "maxItems": 6,
      "minItems": 6,
      "gunsWithAmmo": false,
      "noGuns": false,
      "MaxBps": 3,
      "MinWeaponCondition": 50,
      "MaxWeaponCondition": 50,
      "WaterPreFillPercent": 20,
      "ClearContainerFirst": true


    "Airfield 0": {
      "AutoSpawn": true,
      "Murderer": true,
      "BotNames": [
      "BotNamePrefix": "",
      "Keep_Default_Loadout": false,
      "Kit": [],
      "Day_Time_Spawn_Amount": 6,
      "Night_Time_Spawn_Amount": 10,
      "Radius": 100,
      "Roam_Range": 40,
      "Chute": false,
      "Stationary": false,
      "UseCustomSpawns": false,
      "ChangeCustomSpawnOnDeath": false,
      "Announce_Spawn": false,
      "Announcement_Text": "",
      "BotHealth": 100,
      "Bot_Accuracy_Percent": 40,
      "Bot_Damage_Percent": 40,
      "Aggro_Range": 30,
      "DeAggro_Range": 40,
      "Peace_Keeper": true,
      "Peace_Keeper_Cool_Down": 5,
      "Attacks_Other_Profiles": false,
      "Suicide_Timer": 300,
      "Die_Instantly_From_Headshot": true,
      "Instant_Death_From_Headshot_Allowed_Weapons": [],
      "Weapon_Drop_Percent": 100,
      "Min_Weapon_Drop_Condition_Percent": 50,
      "Max_Weapon_Drop_Condition_Percent": 100,
      "Wipe_Belt_Percent": 100,
      "Wipe_Clothing_Percent": 100,
      "Allow_Rust_Loot_Percent": 100,
      "Spawn_Hackable_Death_Crate_Percent": 0,
      "Death_Crate_CustomLoot_Profile": "Airfieldzombies",
      "Death_Crate_LockDuration": 600,
      "Disable_Radio": true,
      "Running_Speed_Boost": 0.0,
      "AlwaysUseLights": false,
      "Corpse_Duration": 60,
      "Respawn_Timer": 60


Airfieldzombies.json default-DefaultProfiles.json CustomLoot.json

Share this comment

Link to comment


Edits to the BotSpawn json files aren't needed unless you want loot CustomLoot to spawn in a hackable crate when your npcs die.
At present you have the % chance for hackable-crates-on-deat set to zero - If you don't want those, leave it that way.


The rest, for populating the npcs inventory main container, looks fine. As far as I can see it should work.
I guess just make 100% sure you're killing the right npc for testing.
If you only have one profile at the airfield then that's not an issue but if you have multiple double-check you're killing/checking the right guy.

For quick proof that the setup is or isn't working I'd oxide.unload *  then oxide.load BotSpawn and oxide.load CustomLoot then test.
That'll rule out the possibility of some other plugin overriding.


Small tip - If you're going to have probabilities the same for all categories you may as well set them to 1 instead of 100.
The result will be exactly the same but there'll it'll be quicker/more performant.

Share this comment

Link to comment


Total number of downloads.



Total customers served.


Files Sold

Total number of files sold.


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.