Jump to content

tormentedmage

Member
  • Posts

    12
  • Joined

  • Last visited

Everything posted by tormentedmage

  1. I subscribed your mod and found many things I can learn. I hope I can fix my wrong code by myself. I really appreciate your help.
  2. Thank you for the answer. I make codes from my curiosity and it's fun for me even when they are totally useless. By the way,I still can't write a decent code and don't understand how to specify containers. Could you show me an example code which actually works?
  3. I currently try to remove all the items from the map and tried three short codes. local function lootTest() local player = getPlayer(); player:getInventory():removeAllItems(); end Events.OnNewGame.Add(lootTest); local function lootTest2(zombie) zombie:getInventory():removeAllItems(); end Events.OnZombieDead.Add(lootTest2); local function lootTest3() local container = getContainer(); container:getInventory():removeAllItems(); end Events.OnNewGame.Add(lootTest3); The first one and the second one work well but the third one doesn't work at all. Probably I don't correctly specify containers and I don't know how to specify all the containers at once. I would appreciate if someone could fix the code.
  4. Hi.I have a question about one of meta events. I spent time to know how zombies move when screaming events happened and found that almost all the zombies basically didn't move. So I tried to modify the files below to improve screaming events but haven't achieved anything so far. ProjectZomboid/media/lua/shared/SoundBanks/SoundBanks.lua ProjectZomboid/media/media/scripts/souns_meta.txt Does anyone know how to improve screaming events?
  5. Your ideas and mods are awesome. I hope the mod called !horde command will be published too. Thank you for making the great mods.
  6. Hi. I'm interested in mods which modify meta events. Will you publish your mod when it's completed?
  7. Thank you for the reply. Is it possible to automatically kill or reduce10% of zombies anywhere on the map everyday? I always get bored after I build decent bases because zombies are not respawned unless I kill them. If a mod automatically reduce a total amount of zombies,new zombies will regularly appear near my houses and I'll enjoy fighting against them. The problem will be solved if zombies migrate more but unfortunately they don't.
  8. Thank you for the answer and sorry about the late reply. I thought nobody answered the question . I'm sure your answer will be very helpful for many people in the future. Thank you!
  9. I was impressed by a mod called Undying Zombies which automatically reanimates some corpses. https://steamcommunity.com/sharedfiles/filedetails/?id=1101500811 The mod is incredibly simple but works pretty well,so I tried making an opposite mod which automatically kills some zombies. I downloaded some similar mods and learned from them a lot but my mods didn't work at all. I would appreciate it if you would give me some advice or simple examples.
  10. I need a mod to remove items from the original distribution table. Some people have asked the same question before but unfortunately no answers were given. https://steamcommunity.com/app/108600/discussions/0/1639801448929046416/ https://steamcommunity.com/app/108600/discussions/0/1368380934239576475/ As far as I know,there are no answers on the web now. Does anyone know how to remove items from the game?
  11. tormentedmage

    Zombie Loot

    require 'SuburbsDistributions' table.insert(SuburbsDistributions["all"]["inventorymale"].items, "Base.Pop"); table.insert(SuburbsDistributions["all"]["inventorymale"].items, 100); table.insert(SuburbsDistributions["all"]["inventoryfemale"].items, "Base.Pop"); table.insert(SuburbsDistributions["all"]["inventoryfemale"].items, 100); I have a question about the mod above. Almost all the zombies have a pop when the variable is 100 but some zombies still don't have any. I want to know how the variable works and what the highest variable is.
×
×
  • Create New...