Jump to content

smajt

Member
  • Posts

    6
  • Joined

  • Last visited

smajt's Achievements

  1. in your map.info set lots=name_of_your_map or just remove lots=muldraugh, ky
  2. require "Items/ItemPicker" require "Items/SuburbsDistributions" require "Items/ProceduralDistributions" require "Vehicles/VehicleDistributions" local function RemoveLoot (name) local cache = {} local function patch(t) for i=#t,1,-1 do if t[i] == name then table.remove(t,i) table.remove(t,i) end end end for room,r in ipairs(SuburbsDistributions) do for container,c in pairs(r) do if c.items and not cache[c.items] then cache[c.items] = true patch(c.items) end end end for proc,p in ipairs(ProceduralDistributions.list) do if p.items and not cache[p.items] then cache[p.items] = true patch(p.items) end if p.junk and not cache[p.junk] then cache[p.junk] = true patch(p.junk) end end for vehicle,p in pairs(VehicleDistributions) do if p.items and not cache[p.items] then cache[p.items] = true patch(p.items) end if p.junk and not cache[p.junk] then cache[p.junk] = true patch(p.junk) end end end RemoveLoot('LouisvilleMap1') RemoveLoot('LouisvilleMap2') RemoveLoot('LouisvilleMap3') RemoveLoot('LouisvilleMap4') RemoveLoot('LouisvilleMap5') RemoveLoot('LouisvilleMap6') RemoveLoot('LouisvilleMap7') RemoveLoot('LouisvilleMap8') RemoveLoot('LouisvilleMap9') RemoveLoot('MuldraughMap') RemoveLoot('WestpointMap') RemoveLoot('MarchRidgeMap') RemoveLoot('RosewoodMap') RemoveLoot('RiversideMap') still not working
  3. require "Items/ProceduralDistributions" require "Items/SuburbsDistributions" for key, x in pairs(ProceduralDistributions.list) do if x == nil then return end for index, y in ipairs(x.items) do if y == nil then return end if y == "LouisvilleMap1" or y == "LouisvilleMap2" or y == "LouisvilleMap3" or y == "LouisvilleMap4" or y == "LouisvilleMap5" or y == "LouisvilleMap6" or y == "LouisvilleMap7" or y == "LouisvilleMap8" or y == "LouisvilleMap9" or y == "MuldraughMap" or y == "WestpointMap" or y == "MarchRidgeMap" or y == "RosewoodMap" or y == "RiversideMap" then table.remove(ProceduralDistributions.list[x].items, index) table.remove(ProceduralDistributions.list[x].items, + 1) end end end for index, x in ipairs(SuburbsDistributions["all"]["inventoryfemale"].items) do if y == nil then return end if y == "LouisvilleMap1" or y == "LouisvilleMap2" or y == "LouisvilleMap3" or y == "LouisvilleMap4" or y == "LouisvilleMap5" or y == "LouisvilleMap6" or y == "LouisvilleMap7" or y == "LouisvilleMap8" or y == "LouisvilleMap9" or y == "MuldraughMap" or y == "WestpointMap" or y == "MarchRidgeMap" or y == "RosewoodMap" or y == "RiversideMap" then table.remove(x.items, index) table.remove(x.items, index + 1) end end for index, x in ipairs(SuburbsDistributions["Bag_SurvivorBag"].items) do if y == nil then return end if y == "LouisvilleMap1" or y == "LouisvilleMap2" or y == "LouisvilleMap3" or y == "LouisvilleMap4" or y == "LouisvilleMap5" or y == "LouisvilleMap6" or y == "LouisvilleMap7" or y == "LouisvilleMap8" or y == "LouisvilleMap9" or y == "MuldraughMap" or y == "WestpointMap" or y == "MarchRidgeMap" or y == "RosewoodMap" or y == "RiversideMap" then table.remove(x.items, index) table.remove(x.items, index + 1) end end So im trying to remove all maps from loot tables. code that i shared is not working. if someone could write me an example or give me some links to forum posts or docs about it.
  4. Solution to my problem: if someone have the same problem as I and your doing ur map cell by cell i recommend to make checkerboard with the size of ur map mine is 12x12 and im compiling all the cell zombiemaps into one i think its the easiest way to solve my problem. remember that u need to put black background before the checkerboard layer
  5. ok i know this but is there a method to make zombie spawn only for one cell? edit: i mean to make zombie spawns cell by cell
  6. Hi, im creating map and i want to add zombies to it. i created a white scale map for zombies spawns and i tried to insert it into one cell. (map is 12x12 cells) as u already know from the title its not working. (image is 300x300 px cause when i tried to do 30x30px, worlded responds with an error) i used: file -> Generate Lots -> Selected Cells Only
×
×
  • Create New...