Project Zomboid

Project Zomboid

Tot's Modified Spear Traps
14 条留言
NivJake 3 月 28 日 下午 10:54 
would love this updated to work in b42. the original mod got updated and yet they still dont have this option in it. save us!
LG 2024 年 12 月 26 日 上午 4:14 
can confirm this mod does not work in MP. havent tested SP
guardians25 2024 年 3 月 5 日 上午 2:34 
@Tian
어떻게 수정했는지 알려줄 수 있나요?
killjoa 2024 年 2 月 21 日 下午 3:46 
i should change the option from the sandovx menu?
davidalex 2024 年 2 月 11 日 下午 1:41 
Anyone managed to get this to work in MP?
WaKKO151 2024 年 1 月 31 日 上午 2:09 
you might be waiting a long time. I am really excited about basements and driving different levels. Car garages.
Totsnuk  [作者] 2023 年 11 月 26 日 下午 2:03 
@Captain Tofu :steamthumbsup:
Captain Tofu 2023 年 11 月 26 日 上午 1:25 
After some time has passed, I can say, it is not a wunderwaffe (good!). Less material-efficient than manual spear use but still a very good deal.
Ideally I would make it a regular spear hit and falling instead of an instant kill, but that might be too much to ask in terms of modding. Thank you for making that mod :)
Totsnuk  [作者] 2023 年 11 月 7 日 下午 4:52 
im not playing zomboid anytime soon, atleast until the update comes out.
Totsnuk  [作者] 2023 年 11 月 7 日 下午 4:50 
@Tian reupload it if u want
Tian 2023 年 11 月 7 日 下午 1:32 
yup, that did the trick. Not sure how to share the code or something, but the fix is pretty trivial anyway.
Tian 2023 年 11 月 7 日 下午 12:41 
@Totsnuk Took a quick glance at the code. Throwing this idea just in case: maybe conditionally calling "removeSpearTile" inside the breakSpear function, when the spear condition reaches 0?
Totsnuk  [作者] 2023 年 10 月 22 日 上午 12:03 
@Captain_Tofu Yes it is a very janky solution but it still does work, just not visually as you said.
Captain Tofu 2023 年 10 月 21 日 下午 11:10 
Each time a spear triggers the spear vanishes as if broken. After 5 uses, the grave appears to be empty - but it still works as intended. So it is just a graphical bug.
After testing, spears mostly take 1-2 durability damage each triggering and are always lethal. Crafted spears have 5 max durability. Testing it with 20-30 zombies for each trap, assuming max durability.
Optimally, the trap triggers, does a spear hit damage (on low spear skill) and the Z falls flat. If survived, the Z stands up and continues unhindered over the tile. For each corpse, on the tile, a spear is deactivated until the trap is manually cleaned. So my idea, but no idea how code-able that is.

Very valuable mod! Love it