Project Zomboid

Project Zomboid

No Stunlocks
167 Comments
ChuckTheDuck 14 May @ 11:05am 
Just lost a fucking 7 month playthrough because of this shit ass mechanic(had full plate armour) insta install now good work!
David Hogins  [author] 6 Mar @ 2:34pm 
@天安門大屠殺反右派鬥 It was before in 41.73, after that the devs themselves changed how guns stunlocks work, so it is not possible anymore unless you mess with the animation speed for a lot of normal stuff, which breaks the rest of the game.

This was the mod in case you want to test it:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2832464569
76561198035473575 6 Mar @ 7:51am 
Is it possible to apply this for gunshots? Such as from NPCs in Week One?
utryjdjgfdh 18 Feb @ 5:20pm 
@melancholyoflife Airborne infection + rare loot + insane sprinters + am pro :cool_eol:
Melancholy of Life 17 Feb @ 1:36pm 
@VereVold L4D? So you use guns? And play with no infection? What a noob.
utryjdjgfdh 16 Feb @ 3:11pm 
Works great for my l4d inspired insane pop sprinters play through, everyone else that plays with this is a noob.
Agent X Top Secret 8 Feb @ 11:27am 
nice thats excatly what im looking for, i always get stunlocked to dead its not really fun, u can call it "skill issues" yeah proabally but im also new and this stunlocks really sucks
David Hogins  [author] 23 Jan @ 11:48pm 
By the way, this is what it looks like when the mod works

"LOG : Mod f:0, t:1737704412236> mod "\NoStunlocks" overrides media/animsets/player/hitreaction/handgun/bitehandgunfromright.xml"

You also get what you said which is

"ERROR: General f:0, t:1737704570360> ExceptionLogger.logException> Exception thrown
zombie.util.PZXmlParserException: Exception thrown while parsing XML file "media/AnimSets/player/hitreaction/2handed/BiteFromLeft.xml"
Caused by:


[huge list of files goes here]

19 more..."

But these should not cause the game not to boot, since it makes an exception and ignores the files, since there is nothing to overwrite.

Even if this mod were to break something, it would only brick the animations, not the game or anything like that
David Hogins  [author] 23 Jan @ 11:39pm 
@Sethos Those should not be causing any problem, these are the names of the files to be overwritten in B41, in B42 they are called "BiteHandgunFromLeft", the game wasnt really supposed to be reading them since they are not in the B42 folder format, and it shouldnt be causing the game not to boot.

Is that the last error you get before the game does not boot?
Sethos 23 Jan @ 10:58pm 
Got these error messages before but did not cause an issue previously

Since B42.1 it seams to prevent that game starting up

LOG : General f:0, t:1737701189440> AnimNode.Parse threw an exception reading file: media/AnimSets/player/hitreaction/handgun/BiteFromLeft.xml
ERROR: General f:0, t:1737701189441> ExceptionLogger.logException> Exception thrown
zombie.util.PZXmlParserException: Exception thrown while parsing XML file "media/AnimSets/player/hitreaction/handgun/BiteFromLeft.xml"
Caused by:
java.io.FileNotFoundException: media\AnimSets\player\hitreaction\handgun\BiteFromLeft.xml (The system cannot find the file specified) at PZXmlUtil.parseXml(PZXmlUtil.java:53).
mariohobbs 18 Jan @ 6:13am 
Finally, I can fight like a knight of yore without worrying about being bogged down by angry peasants
Dr. Leon Sisk 15 Jan @ 6:05pm 
D'aww, what happened to the image representing the mod? Always gave me a chuckle seeing it.
Dynn_Winterwolf 2 Jan @ 4:26pm 
CTD when shot by Bandits from Bandits Mod
ONE OF THE BEST MODS OUT THERE
David Hogins  [author] 1 Jan @ 11:26am 
Unfortunately not.

Only recently i've found out but apparently the "More traits" mod added a trait that seems to do the same thing as this mod, "unwavering", im not sure if it works though, that is if you want to make it more balanced as an option
Leminos 1 Jan @ 4:09am 
can this mod be applied only to sprinters?
David Hogins  [author] 31 Dec, 2024 @ 9:57pm 
weird then, i have no idea why the game is getting those files, since they're meant for b41 version and the game is not even supposed to recognize the folders
Darthsawyer 31 Dec, 2024 @ 3:07pm 
This is on build 42, sorry for not specifying. I'm not getting any stunlock while wielding those weapons, I think it's harmless
David Hogins  [author] 31 Dec, 2024 @ 2:08pm 
Is that on B41 or B42?

Those files got renamed for B42, there should not be a problem for b41 i believe, but i can look in to it.

If you could test for me if you're getting stunlocks while holding a gun or 2H weapon just to certify if there is a problem it would be good.
Darthsawyer 31 Dec, 2024 @ 12:37pm 
I get 12 red errors on load, but the game seems to run just fine. Seems to be 12 missing hit reactions:
zombie.util.PZXmlParserException: Exception thrown while parsing XML file "media/AnimSets/player/hitreaction/2handed/Bite.xml"
java.io.FileNotFoundException: media\AnimSets\player\hitreaction\2handed\Bite.xml (The system cannot find the file specified)

A list of the missing things:
2handed/Bite.xml
2handed/BiteFromBehind.xml
2handed/BiteFromLeft.xml
2handed/BiteFromRight.xml
firearm/Bite.xml
firearm/BiteFromBehind.xml
firearm/BiteFromLeft.xml
firearm/BiteFromRight.xml
handgun/Bite.xml
handgun/BiteFromBehind.xml
handgun/BiteFromLeft.xml
handgun/BiteFromRight.xml
toxinomic371 27 Dec, 2024 @ 8:03am 
LETS FUCKING GOOOOOOO
Aviino 26 Dec, 2024 @ 1:04am 
skadaa skadeen i hate when zombies steal my spleen
R o c k y J e t 22 Dec, 2024 @ 3:05pm 
Thank you!
Relapse 22 Dec, 2024 @ 4:33am 
BIG
Cirrus 21 Dec, 2024 @ 12:43pm 
just get better tbh.
󠀡󠀡󠀡󠀡󠀡󠀡 20 Dec, 2024 @ 7:59am 
thank you !!
jUG_05 20 Dec, 2024 @ 6:04am 
hell yeah, thanks bro
David Hogins  [author] 20 Dec, 2024 @ 6:04am 
Hello, yes the mod was broken, just now i got to really test it, it happens that the file names were changed for everything that was not 1handed.

Mod is fixed now, thank you for the patience
jUG_05 19 Dec, 2024 @ 11:10am 
yeah, i have a few other mods active, but nothing that i would imagine could affect this, but ill go check later
David Hogins  [author] 19 Dec, 2024 @ 10:22am 
weird, really weird, it worked when i tested in the morning, do you guys have any other mod active?
Wolfe 19 Dec, 2024 @ 8:48am 
It's possible that the stun animations were changed in this update, considering its size.
jUG_05 19 Dec, 2024 @ 7:52am 
what i meant was that the stun animations still played with the mod on
David Hogins  [author] 19 Dec, 2024 @ 7:48am 
Yeah you can still get the drag down with this mod, you can test it out in a single zombie, i got it working when i tested, let me know if anything else happens.
jUG_05 19 Dec, 2024 @ 6:51am 
just tried it, doesnt seem to work, but then again, i forgot to disable drag down, so maybe thats the problem? idk, ill have to check again
David Hogins  [author] 19 Dec, 2024 @ 5:59am 
No you dont have to resub.

The folder format for B42 is different, thats why it was not working,

Now you need a "42" and a "common" folder inside the mod for the b42 recognize your mod, and they need the files as well, i'll be updating my other mods in a while.

For any other modder out there, do not delete or move the old "media" folder, b41 does not partake in the new mod format
leodelanuit3 19 Dec, 2024 @ 5:51am 
@wolfe have to unsuscribe resuscribe for it to show up... for every mod that have been updated , idk why but it work
David Hogins  [author] 19 Dec, 2024 @ 5:25am 
Yeah weird, just got to download the unstable now and it doesnt show up, maybe i'll have to upload it again, im not sure
Wolfe 19 Dec, 2024 @ 4:59am 
It doesn't, opening Zomboid with it subscribed doesn't even list it in the mod menu.
Wolfe 19 Dec, 2024 @ 4:57am 
I can test. Gimme a bit.
David Hogins  [author] 19 Dec, 2024 @ 3:20am 
Oh is it out already? Can someone confirm if the mod still works?
R o c k y J e t 18 Dec, 2024 @ 7:52pm 
b42 out my friend i. i love you!
Lord Meflu 21 Nov, 2024 @ 1:31pm 
Most important mod ever made for this game
David Hogins  [author] 27 Oct, 2024 @ 2:38pm 
Probably only this one, pretty sure the other one might change the animation speed as well
Mítia 26 Oct, 2024 @ 6:21pm 
So, is this compat with 50% faster hit reaction or I have to use only one?
David Hogins  [author] 12 Oct, 2024 @ 2:57pm 
@Alastor Moody

No, this only changes the reaction of your character to bites, if you take a melee hit or get shot the animation will be a different one, unaltered by the mod
Alastor Moody 12 Oct, 2024 @ 12:03am 
If I use this along with bandits mode, does this affect bandit hit animations or player hit animations from bandits since bandits are pretty much zombies?
Bodacious Bagel 1 Oct, 2024 @ 12:59am 
thank you. I hate this game.
Jester 13 Aug, 2024 @ 6:16am 
does it work in multieplayer?
David Hogins  [author] 25 Jul, 2024 @ 8:35pm 
@Blessed Mother

I think this guy just did it, but i did not test it

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3295523652
Blessed Mother 25 Jul, 2024 @ 4:39pm 
If I were to want to make it so the stunlock was half of vanilla, what file/s and string of code need modifying? Thanks!