-
Posts
339 -
Joined
-
Last visited
Everything posted by ProjectSky
-
Is there a way to change a single IsoZombie's Speed?
ProjectSky replied to ByrdManKun's topic in Help
local zb = getWorld():getCell():getZombieList() if zb ~= nil then for i = 0, zb:size() - 1 do zb:get(i):setSpeedMod(1.1) end end as far as I know there is no way to set the properties of a single zombie -
Need a proper tool unpacking current v41.77.X UI2.pack file!
ProjectSky replied to bluepanda's topic in Help
-
if use other gui implemented i need to rewrite all the base code which is equivalent to make a new mod. so i hope dev consider optimizing its performance.
-
because my more buildings mod add lot of builds, it requires a lot of submenu
-
game loads 2x textures even when Double-sized Textures is turned off. this issues caused my mod to not display the 1x texture properly, looking at the logs I found that the game was still loading the 2x texture. delete 2x texture work for me. texturepack: loading morebuild2x
-
container capacity is set by the ContainerCapacity key of the tile definition
-
ISContextMenu performance been optimized?
-
you are right, this test is too extreme i hope pz can standard base things of the engine, hope it can become better
-
i don't think set a limit is good thing, dev should try optimize it if possible
-
i have 49k+ nails in inventory, right click game freezes 5+ sec this is a extreme test, but developers need to be notice this issues 49k.mp4
-
Details on the improved modding tag system in 41.69
ProjectSky replied to Batsphinx's topic in Tutorials & Resources
DoParam should use key, value format, not weird "ConditionLowerChanceOneIn = 70" format like this DoParam("ConditionLowerChanceOneIn", 100) -
try this mod More Builds
-
bot name base on the server name, use the -servername startup parameter to modify it
-
local function SpawnInventoryItem(sq) local x, y, z = sq:getX(), sq:getY(), sq:getZ() if x == 6142 and y == 5399 and z == 0 then sq:AddWorldInventoryItem("Base.Axe", 0, 0, 0) Events.LoadGridsquare.Remove(SpawnInventoryItem) --once end end Events.LoadGridsquare.Add(SpawnInventoryItem)
-
AddWorldInventoryItem
-
no content update, just added ProjectZomboid64ShowConsole.bat modified ProjectZomboid64.bat file
-
version 41.66 no mod i mean right click on the world tile, not right click in player inventory update: 41.65 is the same
-
If the player has too many items in the inventory(i have 2000+ nails) game will freeze every time they right-click, this a known performance issue?
-
some off topic. pz have considered deprecating kahlua? it not too late.
-
I cant check the Snow amount on the Ground. CarsInTheSnow Mod
ProjectSky replied to Trackhe's topic in Help
getCell():gridSquareIsSnow(x, y, z) -- is snow tiles? IsoCell doesn't expose snowGridCur, can't get snow amount, but this method can be used to get tile is covered with snow -
How to run two separate servers on the same vps on linux?
ProjectSky replied to David's topic in Help
not happened my server, did you do that after shutting down the server? -
How to run two separate servers on the same vps on linux?
ProjectSky replied to David's topic in Help
./start-server.sh -port 12345 -servername test -
try load 300+ context menu every right click mouse game freeze ISContextMenu seems to have poor performance so i hope dev consider optimizing its performance local testFunc = {} testFunc.doTestMenu = function(player, context) local starttime = os.time() for i=1,300 do local firstMenu = context:addOption("test" .. i, nil, nil) local secondMenu = ISContextMenu:getNew(context) context:addSubMenu(firstMenu, secondMenu) end local endtime = os.time() print(string.format("cost time: %.4f", endtime - starttime)) -- cost time: 0.2440 end Events.OnFillWorldObjectContextMenu.Add(testFunc.doTestMenu)