Search the Community
Showing results for tags 'dev-help?'.
-
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.
-
My windows dedicated server (steamCMD instantiated) has not been keeping up with the most current versions and as a result my server doesn't display with the default filters in the join server lobby for players. I validate game files for PZ main, PZ dedicated server, and the app validation through steamCMD. The only thing that seems to work is deleting the workshop files but even then it's inconsistent. what is the primary method of keeping server game versions current?
-
After nearly a week, I tried to revise my map "Vacation Islands" and it works well so far. But there are some annoying problems, which came up. 1. On the two pictures you see the same place inGame and in WorldZed. I can't figure out, why my floor tiles get this grid border on each. Also, some corner blends haven't the right position / or they aren't also shown correct. Notice: You can see the grid of sand tiles in WorldZed too, but not of the other tiles. (like grass, street) 2. The next problem caused a game error. I have this problem just with one tilesheet, as far as I know. The tilesheet holds floor tiles like tiled-tiles and wood-tiles. The old tilesheet has the same problem as the new 2x tilesheet. Can it be, that the name of the tilesheet is not recommended? - the name is: "tz_floors_interior_tilesandwood_01" Error: ERROR: General , 1622673472885> ExceptionLogger.logException> Exception thrown java.lang.NumberFormatException: For input string: "tz_0" at NumberFormatException.forInputString.. "tz_0" is the first tile of "tz_floors_interior_tilesandwood_01" and the error occurs if you step onto the tile in game. 3. The third problem is just a little annoying. I don't know, how I can establish the correct audio to tiles. Sand sounds like sand, but grass sounds like street.