Jump to content

local306

Member
  • Posts

    2
  • Joined

  • Last visited

local306's Achievements

  1. I'm making some modded items that I want zombies to occasionally have in their inventory when killed. I found some posts that got me started for adding said items into inventorymale and inventoryfemale loot tables. My issue is that there are too many of my items spawning per corpse. My rolls are set to 1 and my chances are set to values well below 1. However dead zombies sometimes have 3 or more items per corpse, and manually checking the collected item distribution is nowhere near what I set their chance distribution to be. Someone on Discord said that each item that I have added to zombie loot tables has 1 chance to roll which explains the multiple items showing up (unique per roll). Why doesn't it seem to abide by my chance values though? Like one item is set to 0.0001 for testing and it was the second most found item after kill 500 zombies. Basically how to I actually get really rare drops from the items I'm adding? I have about 50 items I'm adding and they are WAY to common with my current settings.
  2. Is it possible to use the XML markup for probability inside of a subitem branch? <m_items> <itemGUID>cbe793fe-97d9-4585-88e0-bc18be39d714</itemGUID> <subItems> <probability>0.25</probability> <itemGUID>48efaf62-6a65-474a-8773-886e05ea7632</itemGUID> </subItems> </m_items> In the example above, would this work such that one of these items would guarantee to be on the zombie, but Item A (main item GUID) would appear 75% of the time versus Item B (subitem GUID) spawning 25% of the time?
×
×
  • Create New...