Project Zomboid

Project Zomboid

Filip's Adaptation of Vaccine Mod
67 kommentarer
de Lyons 8. aug. 2024 kl. 4:30 
No worries, thanks for the reply! We'll do some testing :)
Fil  [ophavsmand] 8. aug. 2024 kl. 4:19 
@de Lyons To be completely honest it's been years since I've last worked with this mod so my memory is sllowly fading.. but I think for crafting you can use anything, only for upgrading the vaccine you require an actual infected blood.
de Lyons 8. aug. 2024 kl. 4:13 
@Fil sorry to ask again as answer still has me wondering, blood is also requirement at the initial stage when separating into Blood Plasma and Blood Cells - then used as a component to craft test vaccines. Does this blood (for blood plasma) also need to be from an infected person?
Fil  [ophavsmand] 8. aug. 2024 kl. 4:10 
@de Lyons I believe the vaccine requires infected blood for any kind of testing. If you want to make any tier of vaccine you'll need someone infected to provide you with the juices.
de Lyons 7. aug. 2024 kl. 6:01 
Hi @Fil, could I please clarify something as we've had 100's of unsuccessful vaccine tests. There are two stages in the crafting process where Syringe with blood is required - once when crafting the test vaccine itself, and once when testing the vaccine. Can I clarify if the blood needs to be from an infected person for both crafts, or just the one used to test the vaccine on?
Fil  [ophavsmand] 11. maj 2024 kl. 7:14 
@Alyssciel Sorry for the late reply, from the autopsy discussion under the mod description, one of the mod users figured out that the mentioned issue with corpse aging appears only if the mod is applied to an already existing save. I'm not sure if such issue appears otherwise, but I haven't been able to apply the fix yet.
Alyssciel 14. apr. 2024 kl. 5:41 
Hi, I'm not sure what happens but for some reason, when I try to perform a corpse autopsy, I get blocked because the corpse is over 12 hours old...even when I just killed the zombie. Any reason why?
Bunbun 20. feb. 2024 kl. 9:37 
@aquelarrefox I'll look for your mod if it gets released. I would love a compatible vaccine mod with they knew.
aquelarrefox 30. jan. 2024 kl. 16:55 
i will check it, thanks for the effort. this is wide complex than they knew for example. But its an inteteresting path for some playtrought
Fil  [ophavsmand] 30. jan. 2024 kl. 13:30 
@aquelarrefox Yeah I've nothing to say about Recess.. don't want to spread misinformation :/
There is a way you can make a serum that cures the later bite, imo a simpler way. Have it add a certain value to that player, like value.time = 10, then add a function that runs EveryHours or EveryDay or something repeating like that. Make that function lower the value that you created by 1. That would simply make a timer that ticks -1 each hour. That settles the timer I believe. Then you just make that same repeating function run a test on player's health and see if he got bitten or just infected. Then if it registers isInfected as true, make it remove the infection if value.time > 0 for example. Now of course you can add more values to represent some chance of that happening and many other variables.
That seems much simpler to me than using the player data and stuff. I mean.. it's just the way I'd do that stuff. Good luck figuring out what works for you ;)
aquelarrefox 30. jan. 2024 kl. 12:45 
i was looking something like this: CmpSyringeWithTestVaccine = { Min = 0.50, Max = 0.65, CureChance = 0, InfectChance = 30, Time = 100, Strength = 20, AlbuminMin = 2, AlbuminDelta = 3, Recess = 0, },
CmpSyringeWithTestVaccineV2 = { Min = 0.43, Max = 0.68, CureChance = 0, InfectChance = 20, Time = 200, Strength = 30, AlbuminMin = 3, AlbuminDelta = 4, Recess = 0, },
CmpSyringeWithTestVaccineV3 = { Min = 0.30, Max = 0.70, CureChance = 0, InfectChance = 10, Time = 350, Strength = 50, AlbuminMin = 5, AlbuminDelta = 5, Recess = 1, },
CmpSyringeWithQualityVaccine = { Min = 0.20, Max = 0.80, CureChance = 1, InfectChance = 0, Time = 1200, Strength = 75, AlbuminMin = 8, AlbuminDelta = 6, Recess = 2, },
CmpSyringeWithCure = { Min = -1, Max = 0.80, CureChance = 0, InfectChance = 3000, Time = 0, Strength = 90 , AlbuminMin = 10 , AlbuminDelta = 9, Recess = 3, },
aquelarrefox 30. jan. 2024 kl. 12:44 
ok, i undestood you, i have to make cure cocktail work with 1 version of they knew and twick to make logic.
so i get cure to zero to be a vaccine and only cure later "bite" if its in time and Strength is a chance to cure the bite post vaccine. cool. Albumins is an item "Albumin tablets restore a small amount of health. The less it remains, the more its amount is restored. Plus, they reduce the infection rate after using the vaccine (read vaccine descriptions). Most effective in the middle-late stages of infection (50% - 75%). In fact, they prolong the effect of the vaccine." i didnt check if its in your version. I only have doubts of Recess now, thay should rise or go down with a better vaccine?
Fil  [ophavsmand] 30. jan. 2024 kl. 12:15 
@aquelarrefox "Min" and "Max" are values used for the following vaccine functions to determine the current state of the infection rate, so the code checks if the infection rate is between the values of "Min" and "Max" for the consumed vaccine and if the infection rate is within this range it allows the function to be performed and vaccine to apply its effect.
"CureChance" also is a value that is checked whenever the vaccine is applied, if the randomly generated number between I believe 0 and 100 is the same as the number stated in the "CureChance" the vaccine will cure the player instead of just lowering the infection rate.
"InfectChance" does the same but opposite. Basically 97 for example is a 97% chance for the vaccine to infect the healthy player if applied on him.
Fil  [ophavsmand] 30. jan. 2024 kl. 12:15 
Now the "Recess", "Strength" and "Time" are a bit more complicated. Once the vaccine was applied, it sets the mentioned values in place after which the EveryHours function checks the health of this player through function LabRecipes_AdjustPlayerHealth(). Then this function has a chance to be successful and cure the player in a way that it checks if the vaccine has a "Time" during which it will be active and then it tries through "Strength" to cure the player again using the randomly generated number and a certain chance value. Similar to this there are some withdrawal or "Recess" symptoms (which I hardly understand how ithey work).
Fil  [ophavsmand] 30. jan. 2024 kl. 12:14 
To be completely honest when I was adapting DrHyde's mod I didn't pay much attention to this Recess, Time and Strength part, since it wasn't the focus of my adaptation. I still left it in since it seemed like a cool function where a vaccine has an effect over time.. but yeah, I don't 100% understand how it work.
Albumins.. no idea. Also not the part of the mod that was created by me. And since mod dev was just a short time hobby for me and not a full-time profession, I'm not too good at understanding all parts of this code.
Hope this helpsat least a bit. If you have any more questions feel free to write it here or open a discussion and we can continue there. <3
aquelarrefox 30. jan. 2024 kl. 11:36 
i want to make a mod to alterate and use with a version of they knew/cure cocktails, where this mod should not cure but work as a vaccine. could you explain the fields in Vaciine effectiveness of FIL_LabModEngine.lua: Min = 0.50, Max = 0.65, CureChance = 0, InfectChance = 97, Time = 0, Strength = 0, AlbuminMin = 2, AlbuminDelta = 3, Recess = 0. if i undertaood, time and strenth are the "vaccine effect" for x time and y chance? i shold set cure to 0. whats max, min and recess? thanks for your time
belko 23. dec. 2023 kl. 3:48 
Thank you very much
Fil  [ophavsmand] 23. dec. 2023 kl. 1:01 
@BK I've used this mod along with 100 other mods at a time and haven't encountered any issues. I can not guarantee, but you should be alright. It is a pretty low chance that you'll encounter incompatibilities, so do not fear to use it in big modpacks.
belko 21. dec. 2023 kl. 13:01 
Hey, i want to use this mod, im scared if it is bugged. Is it safe to play it with som others mod on ?
Fil  [ophavsmand] 7. okt. 2023 kl. 7:04 
@Depraved Arachnophile Infected blood spawns on dead zombies, yeah, I believe the chance of it spawning is around 30%. I've never really encountered any of the mentioned bugs before while using this mod, either they remained from the original mod (since I haven't really touched the code for the infected blood item), or it might be an issue of some mods conflicting with each other. Anyhow, this item is only used early game to get first one or two levels, so simply avoiding it later might be the best way to avoid item duplication bug.
Depraved Arachnophile 19. sep. 2023 kl. 17:37 
Is infected and normal blood supposed to spawn as an item on zombies when they're killed? It tends to clog up storage and seems to work kinda buggy - it never spoils, ever, until you put it on a zombie body and it suddenly converts into two infected blood... items?
Fil  [ophavsmand] 18. sep. 2023 kl. 4:13 
...UPDATE...
Mod has just recieved an update that I promised a long while ago.

Cure recipe is now fixed and can be used in-game.
Fil  [ophavsmand] 18. sep. 2023 kl. 3:55 
@IndieN0mad I haven't really had a chance to give it any love recently, however I definitely have plans to do so when I get some time.
I-Have-This-Ability 12. sep. 2023 kl. 22:45 
This mod is still getting updates?
Siowar 30. maj 2023 kl. 15:38 
haha i like will be more hard ok thank you man
Fil  [ophavsmand] 30. maj 2023 kl. 13:44 
@Siowar You can, yeah - using autopsy. Will require much more than just zombie corpses, but yeah.
Siowar 30. maj 2023 kl. 9:53 
I can level up aid first with the corpses?
Ultraman Tiga 7. maj 2023 kl. 8:36 
before I was bitten, i tested about 40 times, all failed of cause. But after that, I test 50 times all fails too, and i give up and kill myself, cause there`s not enough time to save my self:steamsad:, I should have try more round, keep the recipe for next character :steamsad::steamsad:.but i wonder why the testment can`t be done in the infected blood(collect in the zomboid)? btw,thanks for the answer!! ur so kind~
Fil  [ophavsmand] 7. maj 2023 kl. 5:07 
@迪迦奥特曼 You need to test your prototype on the infected blood (blood of an infected character), it doesn't work otherwise. If blood is pure, no amount of tries will be enough. :shrug:
As for the success rate, don't remember the numbers right now, but it shouldn't be too hard for the first vaccine test.
Ultraman Tiga 7. maj 2023 kl. 3:04 
I have tried 91 times for the no.1 vaccine test,all failed. And I wonder can it be success? :steamsad: and what is the success rate?
Fil  [ophavsmand] 9. apr. 2023 kl. 10:27 
@Oscar_Kemono Vaccine gives you more time to live until you discover the cure. Cure heals you completely and gives you a short period of immunity. All this is possible but not guaranteed after consumption of a cure (regulated by a certain probability/chance).
Oscar_Kemono 8. apr. 2023 kl. 15:46 
I have a question does the vaccine make you inmune forever or is it temporary?
Fil  [ophavsmand] 19. mar. 2023 kl. 13:01 
@Silver Hunter Not yet.. However it should be simple enough. Find the books, read them. Then follow the recipes level by level until you reach the phase of testing the vaccines. Then it's just about repeating the testing recipe using the blood sample of an infected person, with enough triies you should get successful results and unlock new better versions of vacine.
So, simply said, just follow the crafting recipes from lvl1 VaccineResearch to lvl10 :D
Silver Hunter 19. mar. 2023 kl. 12:50 
is there a guide or tutorial?
Fil  [ophavsmand] 17. mar. 2023 kl. 8:07 
@IFF | Fischer Yes, look at typical medical storage compartments and you'll find them there. You can also level up your metalworking and use the furnace to smelt glass and craft your own flasks and tubes.
IFF | Fischer 17. mar. 2023 kl. 0:34 
I'm sorry, probably a dumb question but where can I get the test tubes and flasks? I'm guessing I have to look for them in pharmacies and hospitals, don't I?
Fil  [ophavsmand] 24. feb. 2023 kl. 16:55 
@Thegamerguy5695 First prototype of the vaccine can be developed without infected individual (just simple research recipes). But in order to test it and improve it you need infected blood samples.
AThornsRose 21. feb. 2023 kl. 23:58 
does the vaccine research need infected blood or can it be successful w/o being infected?
Fil  [ophavsmand] 16. feb. 2023 kl. 12:44 
@Ralfow I'll update the description and hopefully clarify the process for everyone.
Fil  [ophavsmand] 16. feb. 2023 kl. 12:43 
@Livamyrd It was probably a mistake, will fix it next week. Thanks for letting me know. As always, all feedback is appreciated <3
GenericGuy 14. feb. 2023 kl. 8:27 
Good afternoon @Dowdoon. You have set the LabVaccineFormula4 recipe with "NeedsToBeLearn" true, but there is no book that teaches it.

Am I missing something? Or shall it be included into the Virology Courses Volume 3 book?
Ralfow 13. feb. 2023 kl. 3:01 
It's a nice mixed mode :steamthumbsup: , but could you add some guidelines for reaching the final vaccine?
jetblade545 11. feb. 2023 kl. 16:52 
i had gotten an error, i posted it in the discussions tab
jetblade545 3. feb. 2023 kl. 16:19 
thank you Dowdoon!
Fil  [ophavsmand] 3. feb. 2023 kl. 14:59 
Cure recipe is obtainable now with similar researh as with other vaccine formulas :D
All feedback is appreciated so if you test it and encounter any bugs please let me know.
jetblade545 30. jan. 2023 kl. 18:53 
Ok thank you Dowdoon for the response!
Fil  [ophavsmand] 30. jan. 2023 kl. 15:43 
@jetblade545 Exactly, I still haven't implemented a recipe for it. Life's been pretty busy lately, no promises, but I'll give my best to update the mod and add that recipe this week.
Till then, all you can do to get the cure is spawn the item DrHyde's Notes.
jetblade545 29. jan. 2023 kl. 20:35 
When Aneia asked (Question. Am I unable to synthesize a proper cure because I am missing Dr hyde notes?) and from your response no one can get a cure unless they spawn something in v'ea admin commands? am i understanding that right?
Fil  [ophavsmand] 10. jan. 2023 kl. 3:49 
@Juankerman This mod requires Profession Framework for Singleplayer and if you also use it in Multiplayer and wish to use the Medical on player function you'll need Simple UI Library too.
Using this mod will allow you to develop vaccines of different qualities as well as a cure (still not in the code, will be finished soon), so you can definitely use it outside of roleplay as well.
Juankerman 7. jan. 2023 kl. 7:50 
Is this mod standalone or does it need another mod to work?

With this mod you could find a vaccine and be cured of the zombie infection? or is it just for roleplaying?

greetings and thanks in advance.