![]() ![]() Most zombies have their loot lists changed back to what they were in A16.4 with updated item names, eg. I did a rework of a middle ground between A16.4 and A17 loot drops. It may be that it picks 1-3 individual items at random, then rolls the probability, which means it may make junk more rare which isn't what I want. Pasted the code below, haven't done much testing yet and I'm not sure how count 1,3 will affect the chance of junk spawning. Increased the container count and size a tad too. I ended up setting the drop chance to 20% (10x vanilla value) then re-adding the vanilla good loot and reducing their probability by 10x (to make up for the increased chance of the container dropping). Nice, saved me a bit of work doing this myself. Try it out, replace everything that is in the loot.xml (of the xpath-mod) with this: I'm particularly uncertain if the probability-values work like this, vanilla sometimes uses kinda weird values. Is there a way to make it still drop the good loot 2 - 3% of the time and the junk as well?This might work haven't tested it. Thanks for the heads up, tho, will cross that bridge when I have to.Įdit: I am just noticing a major flaw of the mod, wherever a zombie has no loot-drop-probability of it's own, but a dropped container of it's own, it drops that container with a 50% chance. Github or gitlab is your best bet.Damn this complicated life. ![]() There is, however, another flaw in the xpath-approach: The ids for the lootcontainer:Īt some point the forum is going to decide you have too many attachments, so you'll want a real file host kub. Every lootcontainer just contains the lootgroup "junk", but you can edit it anyway you want to, fill the lootcontainer with items or lootgroups, change the drop rate, remove duplicates.Įdit: I have now started to populate the template with actual zombie specific loot, so some have something else but junk. It adds the bag for the "LootDropEntit圜lass"-property and it adds a "LootDropProb" for every zombie. It creates a lootcontainer (in loot.xml) and a dropped bag (in entityclasses.xml) for every zombie. The second archive contains a template for those who want one. ![]()
0 Comments
Leave a Reply. |