Jump to content

TheCommander

Member
  • Posts

    19
  • Joined

  • Last visited

Reputation Activity

  1. Like
    TheCommander got a reaction from Arsenal26 in Quick Guide: How To Mod The Loot Distribution System (Distributions.lua, ProceduralDistributions.lua)   
    This is a visual guide for mappers and modders who need to add or modify PZ's loot entries using the new ProceduralDistributions.lua approach.
     
    Whilst the ProceduralDistributions.lua file has been in the game for quite a while (i.e. the Gigamart shelves having distinct loot types), TIS will be eventually using this file to populate containers with loot in all its building 'room definitions' (Build 41.51 onward).
     
    So What's Changed?
    For those familiar with adding loot to PZ's loot tables, the old approach to editing lua files involved adding items directly to the tables named after room definitions in the Distribution.lua file. The downside of this was that loot tended to be a hodge-podge collection of items rather than a logical or thematic grouping of items like you would find in a store's shelves.
     
    The new approach use the ProceduralDistribution.lua to maintain the same loot tables, but classifies them by some distinct purpose or category rather than room definition. For example: BakeryBread, BakeryCake, BakeryPie are all new loot tables in this file, and each will ensure a distinct set of bakery items appear in a container.
     
    Using this new approach, the Distributions.lua file no longer needs a massive list of items under each room definition, but instead randomly roles against a list of ProceduralDistribution loo tables to populate each container. This the above bakery example, it ensures a Bakery with multiple display cases has a good chance of spawning either bread, cakes or pies in each rather than all of these bakery items jumbled together.
     
    Of course there are many other positives to this new approach which most experience modders will figure out as they look and play around with the files.
     
    Important Note For Mods Designed Before Build 41.51?
    Now there is one down side to this new (and fantastic) change...it will break alot of loot related mods on the PZ Workshop designed for earlier builds than 41.51. This unfortunately means players will need to be patient until their favorite loot-related mods are updated.
     
    This may also mean some classics that are no longer updated may need to be put to rest (mercifully un-ticked from your mod list ). In any instance, players should always be mindful that modders are not obligated to update their mods, nor should they be harassed to do so....play nice and treat others the way you expect them to respond to you.
     
    So How Does This New Loot System Work?
    Here is a visual guide on how to link all the necessary elements of each file depending on the room definition:
     

  2. Like
    TheCommander got a reaction from Faalagorn in Wall Objects on east Wall dont get removed when 'picked up'   
    Not specifically as this issue is expected behavior not working (ie poster coming off the wall when doing a pickup on east walls), where as the signs over smashed windows has always been a thing given the game treats the window and wallfurniture layers separate.
     
    I don't want to talk on behalf of the devs on your topic, but it looks like a case of adding code that removes (destroys?) any wall furniture over the window when smashed.
  3. Like
    TheCommander got a reaction from Snuffleupagus in What are the other Zone Types for?   
    Based on my own mapping experiences, here's what I have observed...
     
    NAV = Used on road system of map. Dictates where the random 'scenes' can spawn such as broken down cars, police roadblocks
    Farm = Not 100% certain but may have something to do with foraging. Possible that this may be a future update use
    FarmLand = Like 'farm' not 100%
    Townzone = Opposite to forage zones, dictates where urban areas are on the map. This likely influences horde migration when set between urban focus
    Trailerpark = Used to define poor areas of town. When certain loot tables generate things, there are conditions that check if its a poor part of town (via this I think) and thus spawn 'poor people' clothing versus more luxury type clothing.
  4. Like
    TheCommander got a reaction from Zork in 41.43 - Wall corners issue - layer ordering and trim issues   
    Recently noticed strange issue with wall corners in latest version. Might be the new update changes to the cut-away/wall hiding changes.
     
    1. Corner trim will not show even though it displays correctly in BuildingEd. As example, the wall below is a straight forward interior wall & interior wall trim choice for the room def section.
    2. Same corner displays in the incorrect ordering with the player being able to either walk partially or completely behind the texture as if the corner has higher priority in display order.
     


  5. Like
    TheCommander got a reaction from randomname in IWBUMS 41.27 released!   
    Had the same issue in my run yesterday with zombies really noticing me from quite the distance even when sneaking.
     
    Pretty sure something changed as I haven;'t touched my settings and could atleast manage to get past a few zombies whilst sneaking.
     
    It was worse when I managed to get into a vehicle to hotwire and suddenly some random zombie from nearby trees a good distance starts approaching (not wondering, but actually moving towards me perfectly as in spotted)
  6. Like
    TheCommander got a reaction from RobbieG in IWBUMS 41.27 released!   
    Had the same issue in my run yesterday with zombies really noticing me from quite the distance even when sneaking.
     
    Pretty sure something changed as I haven;'t touched my settings and could atleast manage to get past a few zombies whilst sneaking.
     
    It was worse when I managed to get into a vehicle to hotwire and suddenly some random zombie from nearby trees a good distance starts approaching (not wondering, but actually moving towards me perfectly as in spotted)
  7. Pie
    TheCommander got a reaction from Pandorea in [41.27] 2nd Level Walls Not Hiding   
    Just started playing and noticed that the walls on the 2nd level of the warehouse I'm in are not hiding to show the room.
     
    1st story (ie inside the warehouse is fine), just when i go up to 2nd level i get this issue)
     
    Here is what I see when standing in the room behind the wall with door closed.
     
    Location is here: https://map.projectzomboid.com/?#0.48064336074036285,0.08994191659958395,180.29718967126533
     
    Only mod used is Filibuster Used Cars
     
     

×
×
  • Create New...