Project Zomboid

Project Zomboid

Infection Threshold Mod [Build 41.78]
56 Comments
Rocky Jet May 20 @ 9:32am 
Any 42 updates coming, my friend?
Rocky Jet Mar 1 @ 2:56pm 
Any luck for 42 my friend?
Tori Dec 29, 2024 @ 2:05am 
Thank you so much!! I can't wait for this
Rocky Jet Dec 27, 2024 @ 7:07pm 
Ohh please please my friend!! Thank you!
SgtAvalanche  [author] Dec 27, 2024 @ 7:06pm 
I’m gonna take a look, b42 is still pretty unstable at the moment but I’m hoping there’s more tools I can use to make this mod less buggy
Rocky Jet Dec 18, 2024 @ 2:52pm 
B42 is out my friend!!
Rocky Jet Nov 6, 2024 @ 5:23pm 
Been using this mod since it literally came out and i have never had any issues. Wouldnt play without this awesome mod.
Kiloku Oct 16, 2024 @ 3:27pm 
I'd like to add to the other reports of instant-death. I've had two characters insta-killed while this mod was active. Single torso hit from the front, no existing injuries, HP went from 100 to 0 in one frame (so it's not like a neck laceration that simply drained it fast)
Kerk Oct 4, 2024 @ 9:50pm 
Does this yet work in Multiplayer???
JarzHuntz Feb 5, 2024 @ 8:59am 
ive tried this and somehow it seems to lead to instant deaths in situations you woudnlt normally be, like a scratch from the front. your fine until your bubble number of hits goes off then you might just fall over dead =*(
Magicoco Dec 2, 2023 @ 10:00pm 
is it still working?
Arrow3244 Jul 24, 2023 @ 8:50pm 
Bug Report: I am playing SP sandbox. I have my settings to where I have 3 injuries before I will become infected. I lasted 6 days with one laceration from a tree before being bit once in Louisville. I bandaged it, disinfected it, and it was uninfected and healing on day 8. I was cleaning up the neighborhood and a zombie walked straight through my axe swing and bit my hand through my gloves.

While it was already unfortunate that it walked through my attack, I was at very good health and *I instantly died.* After some research, it seems there can become an issue with zombification where if the infection is edited, it can believe you cheated zombification and a bite causes you to instantly turn. I believe this may be what has happened.

Is there anything that can be done to fix this? I'm playing in 41. I'm using my backup but I just lost 2 hours of progress which really sucks.
Klick404 May 5, 2023 @ 4:42am 
Does this mod work with multiplayer?
Goose Feb 6, 2023 @ 9:06am 
git gud is all I have to say about this mod loooool
Monkey Magic Jan 23, 2023 @ 1:05am 
RE:MP- TBH I think it is fine not worrying about differentiating player attacks from zed attacks. if you do that, you will also have to differentiate between players who are infected, and those who are not - and if you are heaving issues trying to separate zed attacks from player attacks, then doing the same for infected players might be impossible.

Consider it running the risk of a PVP server - I would seriously doubt all that zed blood on a player's weapon isn't carrying the Knox virus anyway...
SgtAvalanche  [author] Jan 22, 2023 @ 11:52pm 
Thanks for the heads up, apparently EasyConfig had an update that changed how text was loaded, should be fixed now.

As for those asking about MP compatibility, I still haven't found a good solution for detecting attacks without my code confusing a player attack with a zombie attack. Even if I excluded PvP altogether, I'm still hoping to find a prettier method for zombie attack detection.
oct Jan 22, 2023 @ 1:06pm 
I'm not seeing full option descriptions in the options menu for this mod. Instead I see things like "UI_Config_considerScratches". https://i.imgur.com/6K7x5Tl.png

This happens with only this mod and EasyConfig Chucked enabled.
SnoutUp Jan 17, 2023 @ 12:18am 
Oh, this doesn't work in Multiplayer?
Monkey Magic Nov 27, 2022 @ 9:55pm 
I love this mod. Not only is is awesome for me as a new player still getting used to the game, but in the long run I expect this will provide more playability value to the game. Before I bought the game, I had watched a lot of tutorials ans lets play series - and what I see as a constant theme is that "once bitten, game over"

People are consistently offing themselves, or just quitting a play-through outright, coz as default a bite is 100% infection. With this mod, I have infection chance set to 0% for scratches and lacerations before the threshold, and 25% for bites. After the threshold this goes up to 25%, 50% and 75% respectively.

With a non 100% chance of infection, I find I am much more willing to continue playing a character after bitten, just in case they luck out. Before I had the mod installed, I fell into the same trap as all those content creators, and just deleting and starting over.
Lexyvil Oct 12, 2022 @ 9:45am 
Does this mod allow bites to cause 90% or 95% infection rates, instead of the default 100%? I'm looking for one in particular that allows us to change the percent rate of being infected from a single bite.
Torque Sep 14, 2022 @ 10:32am 
can't wait for this to be compatible with MP
Entropy Jul 17, 2022 @ 3:57pm 
Is this MP compatible?
Kay Jun 28, 2022 @ 3:25pm 
This is genuinely one of my favourite mods, not only for the threshold itself but the versatility of being able to change the % of infections as a whole. im surprised noone did this before you but i am forever thankful. truly a must have for any playthough in my opinion
SgtAvalanche  [author] Jun 1, 2022 @ 9:06am 
5 bites that hasn't healed, yep
Slask Jun 1, 2022 @ 5:35am 
So my settings is set at 5 bites and then infection goes from 0-90% (scratches and lacerations don't infect) does that actually mean that I'm only at risk of infection if I have 5 bites at the same time?
SgtAvalanche  [author] May 31, 2022 @ 5:52pm 
Think of it as like a "bubble shield" that can take a few hits, but needs time to regenerate.
SgtAvalanche  [author] May 31, 2022 @ 5:49pm 
So the mod only considers sustained injuries, meaning injuries that haven't healed completely. Once the injury is gone, whether the bleeding stopped, the scratch healed, etc. they no longer count towards the threshold.
Slask May 31, 2022 @ 4:16am 
No. I meant as in how many scratches, bites or laceration before the threshold is met, the health window is only showing whether you currently have a bite/scratch/laceration.
SgtAvalanche  [author] May 23, 2022 @ 3:20pm 
Yea, your health window
Slask May 23, 2022 @ 1:31pm 
Any way to check how close you are to the threshold?
Tori Mar 2, 2022 @ 8:15pm 
is it compatible with 41.66?
Tronn Feb 12, 2022 @ 3:24pm 
underrated
Female person Jan 28, 2022 @ 2:35pm 
THX! Very nice mod. You perfect men :p
SgtAvalanche  [author] Jan 23, 2022 @ 2:21pm 
Should work fine, the code will only do the checks when and if you get injured. But if you're already infected, you're gonna have to rely on other mods that cure or fights it.
oct Jan 23, 2022 @ 2:15pm 
Since this mod affects the code when a zombie injures do you think it would be safe to add to existing SP save?
トミー (Tommy) Jan 16, 2022 @ 7:44pm 
Still no MP?
truthincash Jan 16, 2022 @ 7:29pm 
Looks like you fixed it with that last update. Thanks Sgt! :)
SgtAvalanche  [author] Jan 16, 2022 @ 4:10pm 
v1.1 has been released, check the notes tab for a list of changes. EasyConfig has been separated from this mod and is now required to be subscribed separately.
truthincash Jan 16, 2022 @ 11:08am 
Confirming I had the same issue as Limes, removing this resolved it. Really like this mod though, hoping it's an easy fix.
SgtAvalanche  [author] Jan 16, 2022 @ 5:52am 
Because the mod was also released on nexusmods, where EasyConfig isn't found so I wasn't able to create a dependency for it. I will look into changing that for the steam workshop version, however.
Dwarden Jan 16, 2022 @ 5:41am 
so, why embed EasyConfig instead of using the dependency as framework
especially if such embeds create collision between mods ?
after all that was point of EasyConfig and ModOptions and other APIs/Tools ...
Clown Jan 16, 2022 @ 2:27am 
For some reason, your mod causes the "Mod Options" mod to have a bug where you can't scroll in the options menu. Either that, or it just happened to have that effect on my PC.
OrAcLE Jan 14, 2022 @ 2:12am 
I'll keep the thread subscribe! thanks!
SgtAvalanche  [author] Jan 14, 2022 @ 1:21am 
Only works in singleplayer at the moment, but I'm looking to see how to make it work for MP.
OrAcLE Jan 14, 2022 @ 1:01am 
if even possible to use in multiplayer***
OrAcLE Jan 14, 2022 @ 12:51am 
Hi! My friends and I are trying to setup your wonderful mod to our server, but can't seem to find how. It makes me install the mod when I first log, but i don't see it in the game option :(

I use nitrado to run my server, but i have access to pretty much all files so let me know if one could help to find the problem :)
SgtAvalanche  [author] Jan 13, 2022 @ 4:40pm 
That's quite a list lmao
I'll skim over some to see what's causing conflicts in compatibility
SgtAvalanche  [author] Jan 13, 2022 @ 2:19pm 
Tested the mods you posted and it seems like it works fine alongside with this one, I don't believe there should be any conflicting mechanics since this mod only removes/applies infection with specific parameters and nothing more.
It's possible that one of your other mods have the EasyConfig mod embedded as well, which might cause settings conflicts. It would make sense that if the settings tab doesn't show up, the mod won't work since it relies on those configurations.
Stormrage Jan 13, 2022 @ 1:52pm 
Okay so after further testing it seems that when the tab doesn't appear the mod doesn't function either. Something curious though, while the tab doesn't appear when playing, it still appears in main menu. Still not sure what it conflicts with though, not being a modder I have no quick way of testing these things. Mods that deal with the health tab/infection that come to mind if you want to test yourself: Algol Syringes, Antibodies, Danger Zone Scent of Blood, The Only Cure, multiple Danger Moodle ones. Don't do it for my sake though, I'll manage. :)
SgtAvalanche  [author] Jan 13, 2022 @ 11:51am 
What mods did you have installed? Will take a look at mod compatibility.