Earthworm Posted January 18, 2016 Share Posted January 18, 2016 LootViewer With permission of the author Earthworm, SphereII and Xyth (me) have updated this tool for compatibility with A18. I found this tool very useful in A15 to balance loot tables and loot items and hopefully you will too. We forked the original project until the author becomes active modding again, then he can resume updates. Earthworm's OP Below: I have an xml project at work in Visual Studio coming up, and thought I would do some prelim work on my own to familiarize myself with working in an xml based VS project. So I created a little tool to help me understand the probabilities of Loot in the loot.xml file a bit better. While I know adding something to the loot.xml and adding a "prob=0.5" doesn't really add a 50% chance of that item being selected, when you get into groups of groups of groups in containers it is really hard to grasp how those probabilities actually work out. So this project helps me visualize that. For example, Joel recently stated in an A13 play-through that Honey was a rare drop in a tree stump now. But if you actually do the math, the way honey was added to the loot.xml in A13, Honey is actually the Highest probability drop in a tree stump at ~21.25%, nothing else in the tree stump has greater than a ~2.2% chance of dropping. This is due to Honey being the only "Item" that has a drop in the stump, all other drops for the stump (lootContainer 35) are Groups, so while there is a ~20% chance of "Medicine" being dropped, it is lower prob for the individual items within the medicine group. Honey was already a "Rare" drop in a tree stump, but at only 1.25% (due to being in the cannedFood Group, with a 1 in 16 chance of being picked from cannedFood, which is only a 1 in 5 chance of cannedFood being picked from the stump container). So this project Scans the supplied loot.xml and parses all probabilities out, and allows you to see what the actual drops and their probabilities are for a specific Loot Container, or search by item name, and shows all containers that can possibly drop from, and the probability within that container of it being dropped. This is a super rough draft of the tool, but gets the point across (i.e. lootGroups with a count="All" aren't equating probabilities quite right yet), nor are the Counts of a Loot container added into the equation (i.e. There is a 21.25% chance Honey will be picked from picking 1 item from a tree stump, even though a stump may have 0 to 2 items selected from it.) If there is interest in the tool, I can expand its capabilities and refine the user interface further. Git project is here: https://github.com/EarthwormO/7DtD-LootViewer (This is for the old A15 version) A18 release (rar containing an EXE) is here: https://github.com/SphereII/7DtD-Loo...ases/tag/A18.4 To use, put the path to your loot.xml (with file name) in the "Loot File" text box and click "Load" button. When it has loaded the file, use the LootContainer combo box to select which lootContainer ID you want to look at, or change Search Type to Item name and use the combo box to select the Item you are wanting containers listed for. Let me know your thoughts on the tool. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.