Project Zomboid

Project Zomboid

238 ratings
Progressive Multihit
4
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
884.375 KB
13 Jan, 2024 @ 5:21am
24 Jan @ 6:48am
11 Change Notes ( view )

Subscribe to download
Progressive Multihit

Description
Have you ever thought that you enjoy multi hit but feels a little too OP? Then this mod is for you. It brings:
  • RNG check on each swing, depending on skill level
  • Configurable parameters in sandbox options for overriding the game's default max hit values, including unarmed (Now defaulted to 2, because you have two hands)
  • Minimum str requirement for 2 and 3 hits, enabled globally, by default off
  • Shoving with a snow shovel now is different than shoving with a knife

B42: Shoving is vanilla for the time being. Muscle strain not accounted for, might see later as a sandbox option.

B41 ONLY: For shoving to be moddable it requires a java fix
Copy zombie folder from this workshop item (Default: "C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3138387399\mods\ProgressiveMultihit\zombie") over the main install of Project Zomboid (Default: "C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\zombie"). It should ask you to overwrite file and you need to click yes for all. Change explained below. To revert check integrity of game files.

There will be no errors if you don't do the Java fix, but the shoving will work like vanilla.

How it works in vanilla
Each weapon has a base max hits value, which the game flat out applies if you have multihit on, or treats it as 1 if you have it off. For shoving, if you have any weapon equipped it's always 3. Shoving unequipped is 1.

How it works after java fix
Shoving now actually uses the max hit stat while unarmed, and when shoving with a weapon equipped it uses the greater max hit value of the two. Because it makes sense to only shove 2 targets since you have two hands, but if you pick up a large stick to use it for shoving 3.

How it works after mod
It adds a chance for the swing to multi hit or not based on the following formula:
  1. 10 % chance per weapon skill level, averaged with 10% chance per strength level
    For example, having lvl 6 weapon with lvl 3 str gives 45% chance.
  2. 50% penalty applied if a two handed weapon is being used one handed.
  3. 25% penalty per Exhaustion and Exertion levels applied multiplicatively
Max chance can be capped at a percent given in sandbox options.


Works in both SP and MP. Only client needs java fix, can't really enforce it. Works in split screen. Should be compatible with any modded weapon, as long as there isn't another mod interacting with the hitcount when swinging.

Now works with other mods such as Multihit Limiter, need to uncheck override hit count toggle in sandbox settings.

Workshop ID: 3138387399
Mod ID: ProgressiveMultihit
Popular Discussions View All (1)
0
17 Jul, 2024 @ 3:27am
Bug Reports
nyhr213
73 Comments
nyhr213  [author] 6 May @ 3:54am 
@Eles if you have the errorMagnifier mod on it would be helpful to see if there were any errors in my mod when it stops working. Otherwise idk how to approach this, maybe provide a full mod-list and I'll test it around. Most likely a clash with other mods but i'll need to test. You can do it in the bug reports in discussions

@Ullatec a little late but if you want I can provide MY fix for b42 for shoving. I was hesitant in posting it for the unreleased branch since it can be overwritten at any update, and if it is, a new fix should be recompiled because otherwise if people recopy the file it will probably break other stuff. I'll see to post one for the latest patch but with the caveat that if that file updates, (aka shoving stops multihitting) you'll need to NOT recopy the file since it might break other things.
ELES 5 May @ 9:05am 
Anyone have issue where you lose the ability to multi-hit (cleave) all of a sudden? It's not exhaustion or strength or anything, it seems to happen randomly to me, despite me not being tired or overloaded, and I have 10 strength. Seems to get fixed when i re-login to the game. I don't know if it's this mod or some other mod causing it. B41 multiplayer.
Ullatec 28 Feb @ 4:53pm 
lol, the first sentence is exactly how i feel when i have multi hit on. Gonna try it, but ill be watching on progress also for shoving.
Zimmer 9 Feb @ 8:24pm 
multiit trait? In the future...
nyhr213  [author] 24 Jan @ 6:53am 
Updated structure for compatibility with both b41 and b42. No shoving changes for the time being, it changed a bit and I need to see what's what but that will probably happen when we have a stable branch.

Calculation is the same for both builds, muscle strain is not accounted for. I'll be doing some testing in my own plays to see how it feels but for now it's ignored.
SSS-class Warlock 18 Jan @ 10:24am 
Thank you, I look forward to this working with B42
nyhr213  [author] 26 Dec, 2024 @ 9:11am 
haven't got to play b42 myself yet but I'll go at it soon then check the mod
plytz 25 Dec, 2024 @ 7:43am 
B42!
caveira6614 21 Dec, 2024 @ 11:17am 
build 42 /////....
nyhr213  [author] 5 Dec, 2024 @ 12:41am 
@Skull2858 the mod will turn it on, but if you want to maybe remove the mod at some point on an ongoin world you'll need something like ChangeSandboxOptions mod

Java fix is not needed, if you don't do it there won't be errors but shoving will always multihit like in vanilla, 3 targets