Followers 2 Custom Loot Tables By Mark, October 12, 2020 in CustomLoot Pending 1.0.7 Report reply Mark Posted October 12, 2020 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? CustomLoot "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 }, BotSpawn "Airfield 0": { "AutoSpawn": true, "Murderer": true, "BotNames": [ "Zombie" ], "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 Quote Share this comment Link to comment Report reply Steenamaroo Posted October 12, 2020 Hi, 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. Quote Share this comment Link to comment Report reply Mark Posted October 12, 2020 AlphaLoot was making it not work. Quote Share this comment Link to comment Report reply Steenamaroo Posted October 12, 2020 Nice. Thanks for letting me know. I think there was a fairly recent update addressing an issue like this but I guess you know that now. Quote Share this comment Link to comment Report reply Mark Posted October 13, 2020 Off Question do i need Alphaloot with using this plugin? its almost the same thing right? Quote Share this comment Link to comment Report reply Steenamaroo Posted October 13, 2020 No, AlphaLoot's a separate loot plugin I think some people use CustomLoot for some containers/npcs and AlphaLoot for others. Not sure why. Quote Share this comment Link to comment
Report reply Mark Posted October 12, 2020 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? CustomLoot "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 }, BotSpawn "Airfield 0": { "AutoSpawn": true, "Murderer": true, "BotNames": [ "Zombie" ], "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 Quote Share this comment Link to comment
Report reply Steenamaroo Posted October 12, 2020 Hi, 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. Quote Share this comment Link to comment
Report reply Mark Posted October 12, 2020 AlphaLoot was making it not work. Quote Share this comment Link to comment
Report reply Steenamaroo Posted October 12, 2020 Nice. Thanks for letting me know. I think there was a fairly recent update addressing an issue like this but I guess you know that now. Quote Share this comment Link to comment
Report reply Mark Posted October 13, 2020 Off Question do i need Alphaloot with using this plugin? its almost the same thing right? Quote Share this comment Link to comment
Report reply Steenamaroo Posted October 13, 2020 No, AlphaLoot's a separate loot plugin I think some people use CustomLoot for some containers/npcs and AlphaLoot for others. Not sure why. Quote Share this comment Link to comment