Project Zomboid

Project Zomboid

Unbreakable Metal Fences + Gates! (Build 41+)
dtoxic 25. dec. 2022 kl. 16:31
Question
Did something change? i built High wired fence and it's destructible

i do use some other mods,so maybe it;s a compatibility issue?

Improved Build Menu [Build 41.51+] (basic)
LeGourmetRevolution

could you please check?
< >
Viser 1-5 af 5 kommentarer
oscarpgodspear 15. jan. 2023 kl. 10:46 
Checked, they are no compatible, you need to disable Improved Build and this mod will work, the good news is that once you build the door or the fence they stay unthumpable when you enable the Improved Build mod again.
dtoxic 15. jan. 2023 kl. 12:47 
ok thx for the info
76561198392776101 11. feb. 2023 kl. 21:18 
Can you add a setting where at some point the fence WILL break towards a certain amount of zombies? Like it can handle like 1 or maybe even 10 but it will eventually break when the entirety of the united ♥♥♥♥♥♥♥ states is surrounding your house's fence-line
cort.x 5. jan. 2024 kl. 13:54 
I tried in a brand new save with only 3 mods but it doesnt work. I fix the more built code as you explain and I subcribe the mod but those fences are still breakable.

Here is the code, does it ok to you ?

function ISHighMetalFence:addPart(x, y, z, north, sprite)
local cell = getWorld():getCell()
if not north then
sq = cell:getGridSquare(x, y + 1, z)
else
sq = cell:getGridSquare(x + 1, y - 1, z)
end

self.javaObject = IsoThumpable.new(cell, sq, sprite, north, self)

self.javaObject:setThumpSound("ZombieThumpMetal")
self.javaObject:setIsThumpable(false)
sq:AddSpecialObject(self.javaObject)
self.javaObject:transmitCompleteItemToServer()
end
cort.x 6. jan. 2024 kl. 10:48 
Oprindeligt skrevet af cort.x:
I tried in a brand new save with only 3 mods but it doesnt work. I fix the more built code as you explain and I subcribe the mod but those fences are still breakable.

Here is the code, does it ok to you ?

function ISHighMetalFence:addPart(x, y, z, north, sprite)
local cell = getWorld():getCell()
if not north then
sq = cell:getGridSquare(x, y + 1, z)
else
sq = cell:getGridSquare(x + 1, y - 1, z)
end

self.javaObject = IsoThumpable.new(cell, sq, sprite, north, self)

self.javaObject:setThumpSound("ZombieThumpMetal")
self.javaObject:setIsThumpable(false)
sq:AddSpecialObject(self.javaObject)
self.javaObject:transmitCompleteItemToServer()
end
I tried different way and it works by putting "more built" at the mod load order bottom
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50