Jump to content

Search the Community

Showing results for tags 'distribution'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 7 results

  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. 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
  3. 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?
  4. 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, I know because I managed to add them into my game through NecroForge. Thank you in advance for your help. Link to my mod's thread: http://theindiestone.com/forums/index.php/topic/13287-littering-04/ Edit: It turned out the .lua file wouldn't load into the game because of one single typo in location name. Silly mistake to make.
  5. 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 shotgun, better weapon right? Oh hell no, every shot attracted more zombies until my measly rounds were all gone. I was eaten again. It was amazing. I was so scared to just go outside. But the more you play the game, and the more in tune you become with the meta, the weaker zombies become. They're not even a threat anymore, they're a joke. It wasn't long before people were one-shotting zombies with the fireaxe and surviving for over a year. Just Youtube anyone that plays PZ, you can rally a thousand zombies with a shotgun and just run rings around them. Just one example: I propose a revamp. My first small change - make the zombies lunging speed slightly faster than your character is able to walk backwards, to prevent the ability to just kite and shoot. So when they're within 5 metres of you, they suddenly get faster. Note - I am aware they already do this, but their lunging speed is still slower than you're able to back-pedal, so it's not scary at all. But my biggest change would be to implement a more Walking Dead style of zombie: the more zombies that are grouped up; the faster they become (but only when they see you). Just 1-2 zombies? Shouldn't be a huge problem to deal with. 5-10? Starting to speed up, a fast shuffle. 25+? They're almost breaking into a run. But you should still be able to out-sprint them. Second big change would be the distribution. Again taking Walking Dead as inspiration, zombies need to be fewer, but the horde needs to be massive. I am aware you can change the settings for amount of zombies, but it's either tediously empty, or unable to breathe. It would be nice to have both, the feeling of relief and desertation, with the constant worry of a huge horde just suddenly appearing. Coupled with the new speed mechanics I proposed - this would always be a threat. I want to feel like I have to run or hide from huge groups of zombies. Not moonwalk away without a care in the world. As far as I'm concerned, this is the only way to bring tension back into the game. The most stress I ever have is finding a nice home-base. That's about it. I want a horde to scare me again, I want to hide in my base peeking out the sheet-covered windows, worried that they'll see me. Not loading up my shotgun to tediously lure them away. I love PZ, it has the potential to be the ultimate zombie survival simulation ever made. But right now, it's just pac man wielding a shotgun, with crippled ghosts.
  6. 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) adds into the SuburbsDistributions.lua so is this the preferred way? Also a question about backpacks: why does a pack that has weight reduction 100 with 45 capacity cause the players main inventory to act as if its full? I had the full back pack on and only clothes on and it said 2/8 i believe but i couldn't pick anything up, but i could add items to another bag if i had it in my hands along with the full backpack on my back.
  7. 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 be simple by copying ItemPicker, naming it GunPicker, and changing all "ItemPicker"s in the lua to "GunPicker" and having GunPicker choose items from a different distribution file, rather than SuburbsDistro. It turns out that this doesn't work. Is there anyone who knows how I can make a 2nd ItemPicker.lua that will run in conjunction with the in-game one? There is also another way I thought of to make it work, but I know too little to do it myself. If I could make a single ItemPicker.lua run, but choose items from two different distribution files, that would also work. Hope this doesn't sound insane.
×
×
  • Create New...