thomasfn updated Loot Spawn Lists with a new update entry:
09.01.14 Update
Loot Spawn Lists [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
Does decimals work for the weight? For example weight: .1 is 1 in 1000?
-
still seems to not work for me, air drops dropping C4 etc after i updated to 1.6
-
In the zombie loot I do not have any Blueprints in the loot table. However, they still spawn BP's
How can I turn off the BP drops? -
Uodate your oxide
I think its still on default -
Is the loot list working properly with no bugs?
-
loot_tables.txt Does not automaticly gets created anymore
maybe you need to check that -
Mine is working great. Thank you for the update Oxide, and thank you Multiplay for your speedy implementation.
-
Does anyone know if decimal works for loot table's weight?
For example:
"5": { "min": 1, "max": 1, "weight": .1, "object": "9mm Pistol" },
Does the .1 mean 1/1000? or is weight: 1 the lowest which mean 1/100? -
Read This @Joe
-
Hi guys. Updated to 1.6 Oxide and Lootspawn is still non-working. This is sort of ruining my server... any ideas?
Multiplay. I've removed the mod and added it back in to no avail. -
Because even in terms of weight, does .1 register as lower than 1? therefore an item with .1 weight will be 10 times rarer than something with 1 weight? -
@Graphicimpulse can you please pastebin your txt configs, see if I can help you out.
-
I think the strings are looking for whole numbers..
And even still there is no need for a decimal.. if you put an item weight in a group of two things...
"packages":{
"1":{
"weight":90,
"max":1,
"min":1,
"object":"Leather Helmet"
},
"2":{
"weight":10,
"max":1,
"min":1,
"object":"Leather Pants"
Notice they equal to 100... This way we can determine them into percentages...
The leather helmet has a 90% chance to drop whereas the Leather pants only have a 10% chance.
So the probability is still roughly the same, but without the complications of a decimal. -
If I have an aidrop that looks like this:
"SupplyDropSpawnListMaster":
{
"min": 1, "max": 1,
"oneofeach": false, "nodupes": false,
"packages":
{
"0": { "min": 1, "max": 1, "weight": 10, "object": "SupplyDropA" },
"1": { "min": 1, "max": 1, "weight": 10, "object": "SupplyDropB" },
"2": { "min": 1, "max": 1, "weight": 10, "object": "SupplyDropC" },
"3": { "min": 1, "max": 1, "weight": 10, "object": "SupplyDropD" },
"4": { "min": 1, "max": 1, "weight": 8, "object": "SupplyDropE" }
}
},
"SupplyDropA":
{
"min": 5, "max": 5,
"oneofeach": true, "nodupes": true,
"packages":
{
"0": { "min": 1, "max": 1, "weight": 10, "object": "MilitaryWeaponList" },
"1": { "min": 1, "max": 1, "weight": 10, "object": "WeaponModList" }
}
},
"MilitaryWeaponList":
{
"min": 1, "max": 1,
"oneofeach": false, "nodupes": false,
"packages":
{
"0": { "min": 1, "max": 1, "weight": 40, "object": "9mm Pistol" },
"1": { "min": 1, "max": 1, "weight": 30, "object": "P250" },
"2": { "min": 1, "max": 1, "weight": 10, "object": "MP5A4" },
"3": { "min": 1, "max": 1, "weight": 20, "object": "Shotgun" },
"4": { "min": 1, "max": 1, "weight": 5, "object": "M4" },
"5": { "min": 1, "max": 1, "weight": 15, "object": "Bolt Action Rifle" }
}
},
I am trying to understand the hierarchy of the oneofeach and min, max.
In my scenario if SupplyDropA drops it has oneofeach to true, so it goes into the MilitaryWeaponList, does it pick 1 weapon out of the list since I set min and max to 1 inside MilitaryWeaponList? -
Yes!
But i would set 10 to 50 on both things to make it togheter 100
then you can say % if you do both 10 then its not 10% if you know what i mean[DOUBLEPOST=1389375861][/DOUBLEPOST]and for the record: Blueprints still drop after my install of this plugin with out bp's -
-
ERROR: Lua error (lootspawnlists
: [string "C:\TCAFiles\Users\reu_vanduuren965\311\save\o..."]:48: attempt to index field 'obj' (a nil value)
What does this mean in english
what did i do wrong ? -
There was an update to the lootspawnlists plugin aswell as Oxide. You'll need to download the latest version of the plugin and update your server with that. If your GSP doesn't allow uploading of plugins, you should submit a ticket to them requesting they update their version of it.
-
For the weight field, can all the items in the weight field go beyond 100%?
For example:
"WeaponSpawnList":
{
"min": 1, "max": 1,
"oneofeach": false, "nodupes": true,
"packages":
{
"0": { "min": 1, "max": 1, "weight": 23, "object": "Hunting Bow" },
"1": { "min": 1, "max": 1, "weight": 21, "object": "HandCannon" },
"2": { "min": 1, "max": 1, "weight": 20, "object": "Pipe Shotgun" },
"3": { "min": 1, "max": 1, "weight": 15, "object": "Revolver" },
"4": { "min": 1, "max": 1, "weight": 3, "object": "Bolt Action Rifle" },
"5": { "min": 1, "max": 1, "weight": 8, "object": "9mm Pistol" },
"6": { "min": 1, "max": 1, "weight": 5, "object": "P250" },
"7": { "min": 1, "max": 1, "weight": 6, "object": "WeaponModList" },
"8": { "min": 1, "max": 1, "weight": 4, "object": "F1 Grenade" },
"9": { "min": 1, "max": 1, "weight": 1, "object": "Explosive Charge" }
}
},
if you add all the weight it is > 100%, is that okay?