Jump to content

Nagyx

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Nagyx

  1. Soo... I'm new to modding, and so far so good with item creations, recipes, and easy stuff.
    But now came the hardest part for me... The loot distribution.
    I know I know, many of you guys might say to just look into mods and try to make it similar, and yes it worked for me in so many cases.
    But let's go to my QUESTIONS: 
    1) The loot system has changed not long time ago right? What was the obsolete system?

    2) What's the difference between Distribution.lua; ProceduralDistributions.lua and SuburbsDistributions.lua?
    3) When creating a mod, which one of these guys above should I use? 

    PS: Not a native english speaker. So, be kind with my typos =D

  2. On 3/26/2015 at 5:19 AM, Shadowlarax said:

    Hi I was wondering how to add items to loot tables, trying to just update zombie drops but I'm a coding novice. Looked at some other peoples code but it makes no sense to me without a reference.

    Thank's for your time.


    Turn's out I should search harder, found it a couple of threads down. for anyone who wants to know its located in

    SuburbsDistribution.lua is located in Project Zomboid\media\lua\server\Items

    Edit 2: alright I've got this now but I'm not seeing any drops either I'm misunderstanding the loot system a bit. or have something wrong anyone able to shed some light on this?

     

    require 'Items/SuburbsDistributions'table.insert(SuburbsDistributions["all"]["inventorymale"].items, "Base.Lighter");table.insert(SuburbsDistributions["all"]["inventorymale"].items, 100); table.insert(SuburbsDistributions["all"]["inventoryfemale"].items, "Base.Lighter");table.insert(SuburbsDistributions["all"]["inventoryfemale"].items, 100); 


    I'm a new modder and having the same issues as you in the time of the post.
    Can you explain to me how it works?  

    I know there's a change in the new loot system so I wondering how to create new mods and items to spawn.

  3. Sorry for the necro, but I'm having such a pain to override recipes that has more than one with the same recipe name/ID
    I'm trying to start modding, and the first big wall I'm having is to override a recipe like Make Hot Cuppa, because the recipe that uses coffee, has the same name as the recipe that uses tea. 
    So when I try to do this, only one of the recipes is overriden, no matter what I do the other one stills the same.
    IMO the recipes should be the same way as the items, with individual ID's.
     

×
×
  • Create New...