Progressive Multihit

If you liked this item, please rate it up on Steam Workshop page.

Author: nyhr213

Last revision: 15 Jul at 17:12 UTC

File size: 470.43 KB

On Steam Workshop

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

ATTENTION: For shoving to be moddable it requires a java fix

Copy zombie folder from this workshop item (Default: "C:Program Files (x86)Steamsteamappsworkshopcontent1086003138387399modsProgressiveMultihitzombie") over the main install of Project Zomboid (Default: "C:Program Files (x86)SteamsteamappscommonProjectZomboidzombie"). 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