Project Zomboid

Project Zomboid

94 ratings
Angry Zombies Break Fences
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
122.755 KB
18 Sep, 2024 @ 9:05am
3 Oct, 2024 @ 7:01am
8 Change Notes ( view )

Subscribe to download
Angry Zombies Break Fences

Description
This mod attempts to prevent killbox abuse in multiplayer by destroying nearby fences
Fences won't be destroyed on their own, there should be enough zombies around and player have to provoke zombies by attacking. As a side kick it somewhat imitates the upcoming build 42 mechanic were hordes can break those same fences

Info
  • Can be added/removed to/from existing saves
  • Multiplayer safehouse zones are unaffected by this mod to prevent griefing
  • False positives are unlikely to happen, player has to deliberately cheese zombies for fences to be destroyed
  • Can be used in single player if you really can't hold yourself from annihilating the hordes through indestructible fences or if you want to try to escape LV without finding a sledge
  • Code is optimized for performance, there should be little to no impact

For server owners/modders
  • SWAZBF.fenceList global table so you can easily add more tiles into it if some of the maps you use feature indestructible fences not present in vanilla
  • SWAZBF.findAndDestroy(zombie, wielder, userName, killboxType) function to destroy fences in front of the zombies with the loud breakage sound is also global and can be used for some event tech etc, it can be called without Detection checkbox enabled
  • SWAZBF.specialCheck(zombie, wielder, weapon, userName) override with server special checks, for instance disable mod in event zones, this function have to return either true or false, inspect the file for an example
  • SWAZBF.specialFunction(zombie, wielder, userName, killboxType) override with server special code to be executed together with Destruction code or instead of it if so desired, inspect the file for an example

Feedback about how many hits it takes to activate, the counter reset timer, etc is welcome, keep in mind that the aim of the mod is to make killbox abuse not possible while not affecting the regular players

Enjoy!

Check my other mods, maybe you'd like some of them

support is welcome[ko-fi.com]

Modpacking or reuploading is not allowed as long as the original version is present.

PZ Modding Community Discord[discord.gg]

Workshop ID: 3333376608
Mod ID: AngryZombiesBreakFences
Popular Discussions View All (2)
0
20 Sep, 2024 @ 1:06am
specialCheck and specialFunction questions
somewhatfrog
0
20 Sep, 2024 @ 1:04am
Bugs go here.
somewhatfrog
44 Comments
somewhatfrog  [author] 13 Mar @ 4:35pm 
@marshmallow justice yeah, main intention of this mod is to prevent the urge to exploit imperfections in game mechanics
marshmallow justice 13 Mar @ 4:29pm 
OHHHH OKK I had a serious misunderstanding then. I thought the zombies were flagged to be allowed to attack the fences if a certain amount were being kept there for too long. I didn't realize it was just deleting the fence outright in X situation. Awesome!
somewhatfrog  [author] 13 Mar @ 4:23pm 
@marshmallow justice there is nothing to bug out on the side of this mod, technically zombies don't do anything, the tiles in front of the zombies are just removed and sfx is played when conditions are met, which creates the effect of zombies breaking it
marshmallow justice 13 Mar @ 4:17pm 
great thank you ^^ so even if it would bug out WH, it would only bug out when said conditions were met as worst case scenario. Great enough for me, time to play again!
somewhatfrog  [author] 13 Mar @ 4:08pm 
@marshmallow justice this mod doesn't affect zombie behavior unless you hit them in certain conditions.
marshmallow justice 13 Mar @ 1:55pm 
okay i'll try add it back again, thank you

i had a normal existing world that i had that then added wandering zombies to, and the difference was staggering, so good.
then raised the tick rate by a little bit since the mod recommends it to avoid server bandwidth problem(?), didn't notice much of a difference.
then added this mod, and notice zombies were being really stupid and not behaving in swarms like they used to. removed this mod & lowered the tick rate back to default levels and now they are. So I will put this mod back & see if it was the tick rate that makes such an enormous difference despite only small adjustment.
somewhatfrog  [author] 13 Mar @ 12:15pm 
@marshmallow justice should work without any issues, it is player who triggers the fence destruction
marshmallow justice 13 Mar @ 12:09pm 
does this work with wandering zombies?? in wandering zombies mod it says that it has glitchy behaviour with a similar mod, Destroyable World Fences, where unless 'custom thumping behaviour' was disabled it would not work properly. i dont see that or a similar option on this mod. so im wondering if that is fixed or considered? thank you
somewhatfrog  [author] 23 Dec, 2024 @ 11:57pm 
@Skb77 thanks! It was announced that B42 will have this by default, if by the time the MP stable is out they still don't have it, then I will update it
Skb77 23 Dec, 2024 @ 11:24am 
Excellent mod, do you plan to update it?