Project Zomboid

Project Zomboid

Unbreakable Metal Fences + Gates! (Build 41+)
201 kommentarer
Comando 12. juli kl. 18:31 
Well, I had a problem with the mod. When I pressed on the gates, they would break, and looking at my list of mods I've tested (50+ mods),
the one causing this was the mod
lightSensor
For anyone else who's experiencing this, see if this mod is on your list. I hope it helps.


@Player 1
CampinKarl  [ophavsmand] 10. juli kl. 6:30 
@dogma

That's the only one I know as of now
dogma 20. juni kl. 5:51 
hi, very helpful mod. Is there any other property similar to "isThumpable" which let zombies completly ignore player fences? Sometimes few zombies start to attack (but not break) my fences.
CampinKarl  [ophavsmand] 13. juni kl. 19:35 
@milk 108600 is the steam ID tag for Zomboid

either you've never downloaded a mod before, which is why it's empty, or you haven't installed the game, or I dunno

steamapps - the steamapps folder
workshop - its workshop folder
content - content for workshops
108600 - Zomboid's assigned Steam ID
515555911 - the Morebuilds mod
milk 9. juni kl. 12:50 
idk if I'm just dumb or what's up but I don't have steamapps\workshop\content\108600\515555911\mods\MoreBuilds\media\lua\server\BuildingObjects
i have two different steamapps\workshop\content and neither have 108600 :CryingGhost:
i'm not sure what this means, and while i don't think it's because of any of my mods, if it was, maybe it's mod options (build 41) and/or mod manager: load order sorter? i'd like to use this with MoreBuilding, so if anyone can help i'd appreciate it
not sure if i'd need to provide more info for help, so just lmk
Shadow Pendragon 9. apr. kl. 20:59 
Still works as of writing this ;D
CampinKarl  [ophavsmand] 18. mar. kl. 23:28 
I'll probably wait until B42 stable releases before I fix this up

I recommend you guys use Better Tiles Picker to spawn the unthumpable steel fences or the long-standing metal constructions mod in the meantime
CampinKarl  [ophavsmand] 18. mar. kl. 23:20 
Ah, update: method below doesn't work with big wired steel doors

Seems the code is revamped for that one, explains the errors
CampinKarl  [ophavsmand] 18. mar. kl. 23:08 
To those want to use this for Build 42, temporary patch (manual) :spiffo:

I just finished some preliminary testing and it throws some errors

It does work but until I can make it function without the red box flags on the lower right, this is the method I found below.

1.) Navigate to steamapps\workshop\content\108600\2900870031\mods\IndestructibleMetalFences

2.) Make a folder named "common", don't put anything in it

3.) Make a folder named "42"

4.) Copy the "media" folder, mod.info, and poster.png

5.) Paste the files inside the 42 folder.

6.) boot zomboid, the Mod should show in Mods on 42 unstable

As this is a temporary fix, I haven't tested for Mod incompatibilities yet
F1tgal911 27. feb. kl. 1:42 
Yes! Ty
CampinKarl  [ophavsmand] 25. feb. kl. 9:48 
holy heck I completely forgot I made this mod, I didn't even get notifs from all these comments

I'll update it when I can, maybe when B42 becomes official and leaves beta
F1tgal911 15. jan. kl. 9:38 
Please this for B42. I hate it so much that a piglet or calf can break my welded metal bar fences all the time.
Ben 1. jan. kl. 1:54 
really need this for build 42 please x
KNX Kong 19. dec. 2024 kl. 19:49 
B42 Update
RuaN-PZ 19. dec. 2024 kl. 4:36 
b42 <3 ?
Hellcat 18. dec. 2024 kl. 18:43 
i like this modder guy. dude has some sense of humour. keep up the great work. thank you!
Player 1 17. aug. 2024 kl. 17:31 
Hi, I do not know if you know about this allready so sorry if i Waste your Time...

The MOD seem to work fine - Until you (Mouse) Klick with the Right button 1 Time on the Fence... then it seem to lose it's "Map Object State" and get attacked (and destroyed) by the Zombies. I have tryed this out now 3 Times... When Zomies are near the Fense, right cklick to the Fense and they start to attack it... You can tryout by your own.
Zseobi 28. juli 2024 kl. 1:25 
gates are broken bro something wrong in 41.78.16
✪ Maickeen.[4] 24. juli 2024 kl. 21:47 
Any way to make Metal Fences fireproof ?
HQ 9. juli 2024 kl. 23:47 
Tested in debug: only works with itself and/or More Builds mod(using the method provided), no other build menu will work or More builds Plus addons, so deactivate the other mods for it to work properly, then you can reactivate them, once you've built your fences, the effect should stick. It will also work with long standing metal constructions.
Бес Балбес 9. maj 2024 kl. 12:37 
The mod has stopped appearing in the list of mods. Reinstalled the game and my version. It didn't help. What to do?
harrydubois 11. apr. 2024 kl. 1:10 
What happens if i have this mod + Long Standing Metal Constructions mod installed together? Does the latter overwrite this mod and negate its invulnerability?
george washingzyn 4. apr. 2024 kl. 18:10 
Does anyone know how to make this work in multiplayer
Mrdoggo0911 21. mar. 2024 kl. 18:22 
Does this work when you make the wire fence?
CampinKarl  [ophavsmand] 6. mar. 2024 kl. 3:41 
@paradox

as per mod description:
"The metal fences in this mod are invincible or indestructible because they are now recognized as "map" objects that are now immune to thumping. So they are technically not invincible or indestructible to fire, rain, rust, and nuclear missiles, only invincible to zombies per se because they are practically a barrier the zombies can only walk around."
parad0x 3. mar. 2024 kl. 11:03 
I tested the mod today, the zombies dont attack the high metal fence/gate they just try to walk to you and make noices :-D.
You can attack and kill them through the fence/door btw.
On build 41.78.16 (without editing the config files)
莫名某某 7. feb. 2024 kl. 7:03 
Can you make the Metal Barricade invincible as well? I really want an unbeatable reinforced window that you can see through.:steamhappy:
CampinKarl  [ophavsmand] 20. jan. 2024 kl. 1:51 
@Falkner

that's outside my paygrade :))

hell I just pulled this code off a logwall mod I discovered somewhere.

If you can find a mod that does that for something else, send me a link and I'll study how they did it, reverse-engineer the whole thing like how China does it with Western Nike shoes, give me a week and presto you get your request.

Otherwise I have no reference and can't do anything
Falkner 19. jan. 2024 kl. 16:40 
Thanks for this!
Could i request you make it so they will still break/take damage if too many ( >10) zombies are pushing against the fence like with the vanilla wooden picket fences? Hopefully the codes easy to copy paste/

I dislike repairing/rebuilding but still want there to be a good reason to keep the zombie numbers down.
CampinKarl  [ophavsmand] 14. jan. 2024 kl. 1:05 
@xyz

I learned how to do this mod without tutorials of any kind

sometimes you just have to run it, see if it works, and if it doesn't, search up similar mods and see what they did

this mod probably even works in multiplayer, I just haven't tested

see if only the host needs it, or if both need it, again it's all just trial and error
B0nk 137' peek 14. jan. 2024 kl. 1:01 
yo, i wanted to ask, is there any like tutorial or sum how to use this mod in mp?
:spiffo:
CampinKarl  [ophavsmand] 9. jan. 2024 kl. 7:38 
@barbieout4blud
@Gust

The mod should still be working

Remember to enable it in the mods tab for existing saves and to actually apply it,
which is what some people forget to do

If I recall it might work in multiplayer so long as the host and everyone else has it enabled
barbieout4blud 8. jan. 2024 kl. 22:07 
Does this mod still work? And is there any way to check if it works?
Johnny Blue 8. jan. 2024 kl. 14:37 
@CampinKarl But it doesn't work in multiplayer, right? since I would only modify the files for myself.
CampinKarl  [ophavsmand] 5. jan. 2024 kl. 16:15 
@cort.x

modding should help people mod to create more mods

happy to help since I also learned from someone else
cort.x 5. jan. 2024 kl. 12:39 
Bro you just learn me how to reach those mods code. I tried to figured out since a while. Thanks
CampinKarl  [ophavsmand] 21. dec. 2023 kl. 20:54 
@Gust

Subscribe to the MoreBuilding mod

Then apply the fix in the description
Johnny Blue 21. dec. 2023 kl. 20:47 
How do I make the other types of bars that appear in the thumbnail image of the mod?
CampinKarl  [ophavsmand] 1. dec. 2023 kl. 17:20 
@cieniewicz

yup
cieniewicz 1. dec. 2023 kl. 13:04 
Hi, should we skip a line between 28 and the line of code to be written? Should we put the line of code on line 29, between the other two lines of code?
a random pickle 26. nov. 2023 kl. 10:07 
Is this outdated now?
GammaJunkie1836 23. nov. 2023 kl. 4:21 
it did not work for me the destroyed my base now
MidoriAshy 16. nov. 2023 kl. 12:31 
Hi, can you include an option to choose between the Wired fence variant and the Pole fence/gate variant?
ElAutodenominadoUltimoTubérculo 29. okt. 2023 kl. 12:50 
Couldn't this mod use the more elegant solution employed by the Indestructible Door HP mod to enable zombies to hit the doors and fences but be virtually incapable of destroying them? I tried to code it myself, but I do not have near enough knowledge of LUA to do this.
Oguri Kyousuke 17. okt. 2023 kl. 0:06 
@Brogan: Silly enough, judging by the code, most likely it does.
Then again if it does, you're basically just doing a switcheroo between world generated fence and player made fence. What exactly are you trying to achieve with it?
Ash 16. okt. 2023 kl. 22:43 
Stupid question, but better me than other poor soul.
Does this mod work with Destroyable World Fences?
Mr.Worldwide 8. okt. 2023 kl. 11:08 
So you'll just make the fence and gate and it's automatically indestructible? or
Executive Operative 24. sep. 2023 kl. 13:18 
Hello! This is an excellent mod. Thank you for taking the time to create and share this with everyone!

One question though, is it possible (and are you interested) in creating a mod that allows zombies to lean against the fences and gates but deal no damage? I feel like the same animation of zombies leaning on windows could be used for this purpose.
DaveFitz 22. sep. 2023 kl. 14:41 
Before it worked very well for me, it even worked with the MoreBuilding mod, but for a while now, almost over a month now, I haven't been able to get it to work again, it only works with the basic metal fence and the double gate.
One of my favorite mods btw <3
Chop Chop 22. sep. 2023 kl. 11:28 
I use fencing kits and it works fine. Just curious as to why in your description is says incompatible