Project Zomboid

Project Zomboid

Weather Damage Mod
23 Comments
Iwan  [author] 10 Aug @ 4:24am 
@KhaMuz Thank you for your feedback. For this reason, I have also set the sandbox setting for damage calculation to a maximum of 10000. This means that if you are not protected, you can die within seconds.
KhaMuz 4 Aug @ 11:24am 
Perfect. Thank you so much for reading and correcting our work. It's working very well now, except for one detail that reduced the difficulty. I left the damage values at 200, and it's still very slow. Before, you could configure it so that if you didn't take cover, you could die within seconds.
Iwan  [author] 28 Jul @ 9:42am 
@Gojita This mod does not affect the weather, but rather deals damage based on the current weather conditions. Therefore, I do not foresee any issues. If you notice anything, please let me know and I will investigate.
Gojita 25 Jul @ 6:01am 
Does this mod works with [KYR] Real Weather Mod?
Iwan  [author] 23 Jun @ 11:38am 
Thank you @Pé Là Nem for the information. I have found the error and corrected it. Have fun with the mod.
Pé Là Nem 23 Jun @ 6:35am 
I still take damage from the the rain althrough i turn off health damage, can u help
Iwan  [author] 17 Jun @ 12:25pm 
If you notice any problems with other clothing mods, please let me know. I'll check it out.
Iwan  [author] 17 Jun @ 12:25pm 
Hi KhaMuz, thank you for your feedback. I have found the error and solved it. I have also optimized the damage calculation a little. :) Have fun ;)
KhaMuz 13 Jun @ 4:27am 
I know that any equipment should be nerfed, but as an option it would be great for compatibility.
KhaMuz 13 Jun @ 4:08am 
Hi friend. Your mod is great. I've tested it on my server and it works great. The problem is when you have mods that add skins that don't work with filters. Is there any way you can add an option to recognize any equipment on the face to avoid these errors?
KhaMuz 13 Jun @ 2:46am 
¡Maravilloso!
R o c k y J e t 11 May @ 7:18pm 
Thank you!!!!!!!!!!!
Iwan  [author] 20 Apr @ 4:53am 
@marshmallow justice
Thank you for the logs. I have modified the code and added further setting options. You can now also adjust the probability of clothing being damaged.
jagged 18 Apr @ 6:47am 
tried it - quite cool.
rain can kill you - changed in sandbox options to 1.
enjoyable - will try again. ty
marshmallow justice 16 Apr @ 9:26pm 
Eh.. Weird, now I can't seem to replicate the very first stack trace pastebin I gave you! Tried putting it back to the same load order as per very first comment, can't make it happen again! I just get the most recent issue of extremely fast moodle damage/depletion.

Well, as you said it works on your side so it's obviously just something silently conflicting on mine. I won't flood the comment section anymore - maybe the logs help, but either way it's all good :)
marshmallow justice 16 Apr @ 8:34pm 
Gonna try putting it back in the load order I had originally to see if 1) that mass error spam 5% clothes durability bug happens and 2) the moodle meters go back to not draining almost instantly the moment I walk into snow.

Sorry for all the comment notifs XD maybe you can see my mod list due to the logs and instantly point out 1-2 that would be the problem.
marshmallow justice 16 Apr @ 8:24pm 
Yeah still experiencing a lot of problems, obviously mod related since I changed load order to put it more towards the very bottom and now I can't seem to make that initial problem happen (perhaps not staying out long enough) but instead my moodle meters are tanking almost instantly just by walking out for a second being outside in an admin-generated blizzard.

I have console+server console log but it's too long. Maybe these links won't get deleted by steam: https://jmp.sh/s/WjEEgHcBHdk7MJJ7tWbw (client log) https://jmp.sh/s/TzEuoUFGuBKN69V4OQwq (server log).

When I posted the pastebin in the first comment, I had it pretty high up in load order before any weather mod. These logs I linked now are after putting it far near the bottom.

Sandbox settings are the same(ish) as what I had initially, just totally diff problem now.
marshmallow justice 16 Apr @ 2:45pm 
Yes I'll have to do so tomorrow though as it's 7 am here now and I've been doing some troubleshooting/collecting log with Bandits.

I'll make a back up of my world and just re-add your Weather Damage mod back and grab both client & server log when the stack trace spam/problem occurs.
Iwan  [author] 16 Apr @ 2:13pm 
Could you provide more logs?

Normally the condition of the clothing is calculated by in-game time. So the ticks don't really matter.
marshmallow justice 16 Apr @ 1:37pm 
I'm using a large mod collection though the only weather related mods I have are Weather Events (which is inactive until a few months from now in save) and Cryogenic Winter.

The problem is that this is a short timeframe it's occurring; for example I go outside - it's -40c, ish, snowing. I kill about 2-3 zombies, and during this time I guess the Weather Damage mod "ticks" - as this is when the error spam happens - and then I look at my clothing which was 90%+ durability, everything is now 5% or less.

If you cannot produce it then it must be naturally be a mod conflict, unfortunately I can't find any clues as to what.
Iwan  [author] 16 Apr @ 8:42am 
@marshmallow justice:
Unfortunately, I could not reproduce the error. Which mod are you using exactly? Basically, with “Time Until Clothin Takes Damage” the in-game time is taken and every 3600sec ~1h, water-resistant clothing takes 1 point of damage. If you have been fighting for several hours (in-game), your clothes will wear out quickly. You can set the value to 7200, then it would be 2h.
marshmallow justice 15 Apr @ 11:17pm 
https://pastebin.com/rnNDkUyT

big stack trace spam as i was walking around outside my base killing zombies
didn't realize until after i finish killing them.
weather was snowing, -43c. It's probably just coincidental as I'm outside for an extended time when it happens, but it triggers whenever I am fighting zombies outside in the cold for a while.

When it happens, all of my clothing goes down to like 5% or less durability, including boots. IE my freshly obtained military boots, the error spam happens, and now they are "Boots (Worn)" at 5%.
marshmallow justice 15 Apr @ 7:42pm 
could you pls explain a bit about the sickness damage side of the mod?
say it's moderately snowing, and -40c (ie. cryogenic winter type environment)
doesn't being severely cold already make you have a chance to get sick?

i'm super keen to add this to my hardcore world w/susceptible and cryo etc. but just wondering a bit about is mechanics more. Endurance Loss in heavy rain & snow sounds very good if possible.