Jump to content

Search the Community

Showing results for tags 'distribution'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Found 6 results

  1. Hello, i know well how to add distributions for my mod's items, but how could i alter distributions for already existing items? I found no tutorials detailing this. Thanks
  2. I'm looking for a better explanation for the way that items are distributed in PZ. I've noticed in a few mods (every mod with custom items), including my own, that no matter how low I change the chance of an item being found it is still ridiculously abundant like in this example: The item Rucksack is still relatively abundant. I suspect that the code in the example does not execute the same way the in-game items do on the distribution list or that it skips over some other code that takes the "0.025" into account. Does anyone know how to properly distribute custom items?
  3. I need help from someone who knows stuff about distribution, I've made mods where it worked perfectly yet for my latest one I can't get the thing to work at all. If anyone could take a look at my Littering mod and point me in the right direction I would greatly appreciate it, I have tried turning it all up to 11 but I just can't get some items to spawn in the world, I'm stuck on this completely for over a day and I have no idea why, I tried many different versions, from many mods that work in my game, I'd love to continue developing my mod but I can't until I get this fixed. The items work,
  4. I've lurked here and on the old forums pretty much since PZ began. Never felt the need to make an account until now, but I need to get this off my chest. Zombies in PZ used to terrify me. The days of the tutorial, baldspot and Kate, the looter... The first time I left my oven on and the house caught fire, waking up to a hundred zombies at my door. I freaking sh*t myself. I barricaded myself inside my house and inside my room. They eventually got in. I've never been so excited to die before. I'd never experienced anything like it. I was hooked. The next time I thought I'd steal the looter's
  5. I was wondering which method i should use to get custom items to spawn in game correctly. They all have proper item names, display names, icons, and icon names. I'm not sure whether to use a copy of the SuburbsDistributions.lua in my mod with the new items added to the lists like Arican says here, or if i should make a new lua file for the new items only? I don't know if using a copy of the lua will cause problems seeing how base.items will be listed twice. I had a look at the items and recipes tutorials and it was set up like this. I'm guessing that table.insert(SuburbsDistributions) ad
  6. I'm trying to update my Mod and I don't believe anyone has been able to reduce the spawn rate of items in their mods without reducing other in-game items. I believe this is due to SuburbsDistributions and the amount of rolls that are assigned to each container. I believe the lowest "rarity" an Item can have is 1. If I want to increase the rarity of my item and still have it spawn in common places I have to increase the rarity of all items in the container by reducing the rolls to 1. What I've been trying to do is mod the ItemPicker.lua to run two separate ItemPickers. I figured this would
  • Create New...