Project Zomboid

Project Zomboid

No Stunlocks
167 kommenttia
ChuckTheDuck 14.5. klo 11.05 
Just lost a fucking 7 month playthrough because of this shit ass mechanic(had full plate armour) insta install now good work!
David Hogins  [tekijä] 6.3. klo 14.34 
@天安門大屠殺反右派鬥 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.3. klo 7.51 
Is it possible to apply this for gunshots? Such as from NPCs in Week One?
utryjdjgfdh 18.2. klo 17.20 
@melancholyoflife Airborne infection + rare loot + insane sprinters + am pro :cool_eol:
Melancholy of Life 17.2. klo 13.36 
@VereVold L4D? So you use guns? And play with no infection? What a noob.
utryjdjgfdh 16.2. klo 15.11 
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.2. klo 11.27 
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  [tekijä] 23.1. klo 23.48 
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  [tekijä] 23.1. klo 23.39 
@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.1. klo 22.58 
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.1. klo 6.13 
Finally, I can fight like a knight of yore without worrying about being bogged down by angry peasants
Dr. Leon Sisk 15.1. klo 18.05 
D'aww, what happened to the image representing the mod? Always gave me a chuckle seeing it.
Dynn_Winterwolf 2.1. klo 16.26 
CTD when shot by Bandits from Bandits Mod
ONE OF THE BEST MODS OUT THERE
David Hogins  [tekijä] 1.1. klo 11.26 
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.1. klo 4.09 
can this mod be applied only to sprinters?
David Hogins  [tekijä] 31.12.2024 klo 21.57 
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.12.2024 klo 15.07 
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  [tekijä] 31.12.2024 klo 14.08 
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.12.2024 klo 12.37 
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.12.2024 klo 8.03 
LETS FUCKING GOOOOOOO
Aviino 26.12.2024 klo 1.04 
skadaa skadeen i hate when zombies steal my spleen
R o c k y J e t 22.12.2024 klo 15.05 
Thank you!
Relapse 22.12.2024 klo 4.33 
BIG
Cirrus 21.12.2024 klo 12.43 
just get better tbh.
󠀡󠀡󠀡󠀡󠀡󠀡 20.12.2024 klo 7.59 
thank you !!
jUG_05 20.12.2024 klo 6.04 
hell yeah, thanks bro
David Hogins  [tekijä] 20.12.2024 klo 6.04 
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.12.2024 klo 11.10 
yeah, i have a few other mods active, but nothing that i would imagine could affect this, but ill go check later
David Hogins  [tekijä] 19.12.2024 klo 10.22 
weird, really weird, it worked when i tested in the morning, do you guys have any other mod active?
Wolfe 19.12.2024 klo 8.48 
It's possible that the stun animations were changed in this update, considering its size.
jUG_05 19.12.2024 klo 7.52 
what i meant was that the stun animations still played with the mod on
David Hogins  [tekijä] 19.12.2024 klo 7.48 
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.12.2024 klo 6.51 
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  [tekijä] 19.12.2024 klo 5.59 
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.12.2024 klo 5.51 
@wolfe have to unsuscribe resuscribe for it to show up... for every mod that have been updated , idk why but it work
David Hogins  [tekijä] 19.12.2024 klo 5.25 
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.12.2024 klo 4.59 
It doesn't, opening Zomboid with it subscribed doesn't even list it in the mod menu.
Wolfe 19.12.2024 klo 4.57 
I can test. Gimme a bit.
David Hogins  [tekijä] 19.12.2024 klo 3.20 
Oh is it out already? Can someone confirm if the mod still works?
R o c k y J e t 18.12.2024 klo 19.52 
b42 out my friend i. i love you!
Lord Meflu 21.11.2024 klo 13.31 
Most important mod ever made for this game
David Hogins  [tekijä] 27.10.2024 klo 14.38 
Probably only this one, pretty sure the other one might change the animation speed as well
Mítia 26.10.2024 klo 18.21 
So, is this compat with 50% faster hit reaction or I have to use only one?
David Hogins  [tekijä] 12.10.2024 klo 14.57 
@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.10.2024 klo 0.03 
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.10.2024 klo 0.59 
thank you. I hate this game.
Jester 13.8.2024 klo 6.16 
does it work in multieplayer?
David Hogins  [tekijä] 25.7.2024 klo 20.35 
@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.7.2024 klo 16.39 
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!