This may have been asked, but is there any way to configure what loot the Black Zombies drop?
Loot Spawn Lists [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
Maybe later -
any way to configure Blueprints ?
-
"packages": {
"0": {
"max": 250,
"min": 250,
"weight": 0,
"object": "9mm Ammo"
},
"1": {
"max": 250,
"min": 250,
"weight": 0,
"object": "556 Ammo"
},
"2": {
"max": 100,
"min": 100,
"weight": 0,
"object": "Shotgun Shells"
},
"3": {
"max": 5,
"min": 5,
"weight": 0,
"object": "Large Medkit"
}
},
"max": 1,
"min": 1,
"nodupes": false,
"oneofeach": true
},
"SupplyDropC": {
"packages": {
"0": {
"max": 2,
"min": 2,
"weight": 0,
"object": "Metal Door"
},
"1": {
"max": 4,
"min": 4,
"weight": 0,
"object": "Wood Foundation"
},
"2": {
"max": 20,
"min": 20,
"weight": 0,
"object": "Wood Pillar"
},
"3": {
"max": 10,
"min": 10,
"weight": 0,
"object": "Wood Wall"
},
"4": {
"max": 2,
"min": 2,
"weight": 0,
"object": "Wood Doorway"
}
},
"max": 1,
"min": 1,
"nodupes": false,
"oneofeach": true
}, -
-
Can someone tell me why my junk crates aren't spawning 2 packages?
"JunkSpawnList":
{
"min": 1, "max": 2,
"oneofeach": false, "nodupes": false,
"packages":
{
"0": { "min": 1, "max": 1, "weight": 10, "object": "Small Stash" },
"1": { "min": 2, "max": 4, "weight": 20, "object": "Metal Fragments" },
"2": { "min": 1, "max": 1, "weight": 24, "object": "Large Wood Storage" },
"3": { "min": 1, "max": 1, "weight": 1, "object": "Research Kit 1" },
"4": { "min": 1, "max": 1, "weight": 1, "object": "MetalHouseParts" },
"5": { "min": 1, "max": 1, "weight": 33, "object": "FoodList" },
"6": { "min": 1, "max": 1, "weight": 3, "object": "Pick Axe" },
"7": { "min": 1, "max": 1, "weight": 10, "object": "Hatchet" },
"8": { "min": 1, "max": 2, "weight": 20, "object": "Flare" },
"9": { "min": 2, "max": 4, "weight": 20, "object": "9mm Ammo" },
"10": { "min": 1, "max": 2, "weight": 18, "object": "Anti-Radiation Pills" },
"11": { "min": 2, "max": 4, "weight": 20, "object": "Charcoal" },
"12": { "min": 1, "max": 1, "weight": 20, "object": "" }
}
},
The max is set at 2, but I never see two packages. I realize it could be RNG with the "" entry, but I've looted so many I should have come across one by now. Or I'm just the unluckiest person in the world.Last edited by a moderator: Jan 17, 2014 -
-
EDIT: My only hypothesis is that the chance to get a second package isn't simply 50/50 but some other amount.Last edited by a moderator: Jan 17, 2014 -
Or maybe your loot table json is not valid and then you get the default loottable.
But im not sure if default gives only one -
I'm pretty sure it's not an issue of luck at this point. I have my zombies set for 1-2 as well and I've killed TONS of those. I've yet to see a 2 drop.
I'll upload my file in case anyone wants to look at it.Attached Files:
Last edited by a moderator: Jan 17, 2014 -
-
Perhaps the max is exclusive? So min 1 and max 3 would mean 1-2. I'm not sure, these variables are literally just copied out of the json file straight into Rust, so I have no idea how Rust handles them.
-
-
That seems to have done the trick. Thank you.
-
Attached Files:
-
-
First the name of the file should be:
loot_tables.txt
not
loot.txt
Dat may be the error.
and why did you build it like that ?
why not stick to the regular json build it confuses me
but i mainly think if you name the file loot_tables.txt everything works fine -
-
and not how its original and then edited it ? -
-
this is mine.
just edit it and then it will work!Attached Files:
-
-