Project Zomboid

Project Zomboid

Infection Cancellation
26 kommentarer
Neocron 30. dec. 2024 kl. 4:26 
Thanks for the quick reply. Looking forward to stable then!
WeirdBill  [ophavsmand] 30. dec. 2024 kl. 4:21 
Not until full release
Neocron 29. dec. 2024 kl. 23:23 
Any intention to update it for B42?
WeirdBill  [ophavsmand] 2. juni 2024 kl. 6:33 
@keerifox don't hesitate to fix the mod and reupload if you feel like it :]
This mod really was made with 0 prior knowledge about modding games, so what I wrote is probably the worst minimum functionnal script lmao.
I'm not a modder, I just made this in 2 - 3 days because I couldn't find anything like it, then uploaded because other people might have been in my place.

But hey, it works most of the time except in a few edge cases so I think it does a fairly good job :steamthumbsup:
keerifox 2. juni 2024 kl. 6:18 
Dice roll doesn't seem to trigger if activating this mod when already infected, since the default value for "canHeal" is set to false, and the character needs to spend at least 1 minute without a zombie infection with this mod enabled before "canHeal" is set to true.

Appreciate the mod otherwise :special:
WeirdBill  [ophavsmand] 6. feb. 2024 kl. 22:46 
2% everytime
Everyoneplays 6. feb. 2024 kl. 14:57 
Does the mod allow for increased resistance or is it every time 2%?
Everyoneplays 18. dec. 2023 kl. 13:35 
Didn't get lucky on the dice roll
WeirdBill  [ophavsmand] 30. nov. 2023 kl. 7:14 
iirc, there's no way to get infected by the zombie virus without getting wounded in the first place.
imagine that your hand gets scratched, and contracts the virus : even when the wound heals, the hand still keeps a tag that says that it carries zombie infection.

If i'm not mistaken, when the dice roll occurs i just loop over every body part and each has a 2% chance of getting infection removed (hence the 2%^x chance). if at the end no body part is infected, you are cured.

that indeed could lead to unwanted behavior if you play mods that can cause infection without wounding a body part first, leading to you always getting cured

or i could be wrong idk it's been ages since i worked on this
sorry if this is confusing
SnakePower 29. nov. 2023 kl. 16:12 
Just out of curiosity, what happens if you're infected with 0 infected wounds? If I'm reading the math right, that's 2%^0, which would be 1
Caistrophytum 5. nov. 2023 kl. 10:36 
Maybe make a box on the health screen that will show the infection percentage? So I can be sure if I'm indeed getting better or not?
Note33299 11. aug. 2023 kl. 6:02 
It would have been cool and actually give a very interesting use for resilient. Maybe something like a setting for the mod.
Chelios 7. aug. 2023 kl. 1:07 
good mod
WeirdBill  [ophavsmand] 2. aug. 2023 kl. 2:09 
it does not, but mind that in the vanilla game it does not effect the infection rate either, only the speed at which it rises
Note33299 1. aug. 2023 kl. 23:45 
does resilient effect the chance?
jcb_ 4. juli 2023 kl. 10:08 
gives a good incentive to keep playing after a bite
Blue 12. juni 2023 kl. 18:53 
SICK MOD
WeirdBill  [ophavsmand] 3. juni 2023 kl. 9:03 
I understand, maybe I'll try something one day, but right now I just wanna play the game :/
Comrade Nikki 3. juni 2023 kl. 8:57 
I hear you. Perhaps there's some resources for it? It's really my only suggestion, since personal customization is so key in Zomboid's gameplay.
WeirdBill  [ophavsmand] 3. juni 2023 kl. 8:56 
@Comrade Nikolai I have no idea how to do it, this is my first mod :[
What you could do however is :
- copy the files from the mod
- edit the .lua file to change the variable at the top of the file from 2% to something you like
- disable my mod and use your custom version
I'm so sorry I can't be of any more help...
Comrade Nikki 3. juni 2023 kl. 8:41 
Would it be possible to add an in-game config to it? 2% is still very slim, I believe, though the idea of this mod is amazing!
spoon 29. maj 2023 kl. 3:07 
Great mod. Would be actually cool if you get more immune with every time you hit that 2% and survive. 2-4-6-8-10 so on.
WeirdBill  [ophavsmand] 28. maj 2023 kl. 10:16 
@animal cruelty no, you just heal from 1 infection. if you get infected again, you have to hit that 2% chance AGAIN, good luck with that
adieu! 28. maj 2023 kl. 8:50 
did i get it right? u wont ever be sick after u manage to cure urself from zombie infection?
Deeyourelf 27. maj 2023 kl. 19:46 
I think that the "zombie cure" mods kinda makes it not bleak enough because like if one person with some knowhow could cure it, it seems weird that civilization could fall, but also yeah it was always sort of "Oh, I'm infected. Good run I guess"
Deeyourelf 27. maj 2023 kl. 19:45 
Love