Unbreakable Metal Fences + Gates! (Build 41+)
Изображение 1 из 4. Материалы автора из Steam Workshop.
О материале
«Unbreakable Metal Fences + Gates! (Build 41+)» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
This mod makes newly-created vanilla "Big Wired Fences" and "Double Metal Wire Gate Doors"
...Invincible or unbreakable to zombies!
The Big Wired fences and Gate Doors are under vanilla "Metalworking"
This mod was made with version 41.78.15
The Mod should work with pre-41.78.15 versions of Zomboid.
Incompatible with: The Fencing Kits! and Improved Build Menu (You may enable my mod to create the fences then disable it, the effects stay)
Un-aesthetic Fence-crates be gone! or MMGA (Make Metalworking Great Again)
You know how Zombies ignore tall wired metal fences that already exist around the map? This is because map objects have "thumpable" set to "false" in the code. In non-programming lingo it means the zombies are set to ignore them.
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.
https://steamcommunity.com/sharedfiles/filedetails/?id=515555911
Do you want Invincible or Indestructible Metal Fences from the MoreBuilding mod?
All you need is notepad and determination.
- Navigate to steamapps\workshop\content\108600\515555911\mods\MoreBuilds\media\lua\server\BuildingObjects
- Find ISHighMetalFence.lua and open it with notepad or a text editor
- Find function ISHighMetalFence:addPart(x, y, z, north, sprite)
- add self.javaObject:setIsThumpable(false) after line 28, which should be after "self.javaObject:setThumpSound("ZombieThumpMetal")"
- ???
- Profit
I did not include such a patch in this Mod because I'm not too sure if it will break anything and I don't have time to debug (so far no negative comments from those who did try this method). Modders aren't paid to do work but we're happy to help for free so long as people don't feel entitled
🔎 Misc. Details 🔎
Please note that the effect only applies to newly-created Big Wired Fences or Double Metal Wire Gate Doors
Please download a Cheat Menu mod if you want to re-apply the effects (creative mode + instant action + sledge)
I made this Mod as I was tired of crate-fencing certain locations in the map, but I didn't want zombies to totally ignore player-made constructions as that would be too boring.
Redistribution of this mod without explicit permission from the original creator is prohibited under any circumstances. This includes, but not limited to, uploading these mods to the Steam Workshop or any other site, distribution as part of another mod or modpack, and distribution of modified versions.
🙏 Special thanks to: 🙏
Dru from Indestructible Log Walls 41.65 (41.x) for the thumpable code. I opted to learn how the whole thing works and expanded it to metalworking. https://steamcommunity.com/sharedfiles/filedetails/?id=1965117520
Workshop ID: 2900870031 Mod ID: IndestructibleMetalFences
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.