Project Zomboid

Project Zomboid

Slower Car Tear And Wear
15 Comments
Shoryuken Enjoyer  [author] 7 Jan @ 12:05pm 
might be different. But have a look under steamapps\workshop\content\108600\3174846733.
Then from here, go to mods\SlowerCarWear\media\lua\server, open SlowerCarWear.lua with notepad.

find the line with "if part:getCondition() > 0 and ZombRandFloat(0, 100) < chance then"
change this line to:
"if true then"

make sure ONLY replace the text I mentioned, even the spaces on the same line before the text should not be touched.

Next, go to the line with "part:setCondition(part:getCondition() - 1);"
change the value -1 to something smaller, like -20, so it would be like:

"part:setCondition(part:getCondition() - 20);"

basically, after this change, the degrade will ALWAYS happen, and each time it happens, lower the condition by 20. If the code works, your car will now be totaled within 5 seconds when you drive it, so make sure to backup your save file.
Shoryuken Enjoyer  [author] 23 Dec, 2024 @ 1:27pm 
It’s not implemented in the sandbox setting unfortunately. I’ll tell you how to do this after new year as I currently don’t have access to my computer.
ZaidIsm 21 Dec, 2024 @ 8:29pm 
How do I do that? I haven't seen any sandbox settings. Maybe I'm just not noticing it.
Shoryuken Enjoyer  [author] 21 Dec, 2024 @ 8:17am 
To be honest I have no idea how the “low” settings work in game, and how it interacts with the degrade function. How did you make the conclusion that the mod doesn’t work? Perhaps you can open my mod and change the value to 999, if your car breaks faster then that means my mod does work.
ZaidIsm 20 Dec, 2024 @ 9:41pm 
I checked Fillibusters and from what I read all it does is add vanilla friendly vehicles. Doesn't seem to change anything else. Does putting the vehicle damage to "low" in sandbox settings effect anything? I really want this mod to get working because vanilla cars just suck so much with how unrealistically weak they are.
Shoryuken Enjoyer  [author] 9 Dec, 2024 @ 5:58am 
I think either it works but you didn't notice, or some other mods changed game behaviors. Fillibusters looks like a big overhaul mod to me. Most likely that mod made many changes to the game so my mod doesn't work any more.
Like I said under compatibility, my mod modifies the vanilla function. It wont work if cars don't use that modified vanilla car degrade function because they have implemented their own car degrade function.
ZaidIsm 9 Dec, 2024 @ 3:47am 
Not working, or at least I think. I have at bottom of my load order. Only car mods I have are fillibusters and fillibusters upgrades.
Chickenwingd 28 Jun, 2024 @ 9:37pm 
Beautiful mod thanks for making it, I don't get why cars are so weak to begin with
Shoryuken Enjoyer  [author] 26 Jun, 2024 @ 10:53pm 
awwww thanks <3
Cryptic 26 Jun, 2024 @ 6:14pm 
it works beautifully. gave you an award!
Cryptic 26 Jun, 2024 @ 4:12pm 
it's pathetic that we even need this but so beautiful that it exists. vehicles in game by default even on the lowest damage setting break the moment you hit a twig. f-ing stupid as hell
NinKirin 9 Mar, 2024 @ 7:47am 
Ah, thank you for making this mod, I missed the old version of this mod when they stopped updating it
Quilava 8 Mar, 2024 @ 6:53pm 
Thank for the reply, i will give it a try
Shoryuken Enjoyer  [author] 8 Mar, 2024 @ 10:43am 
Short answer: I’m not sure.

Long answer: This mod changes a universal vanilla function that controls the tear and wear of vehicle parts when driving. If a mod car use this same function to control the conditions and my mod overwrite their mod, then it will work. If their mod is using their own functions to control tear and wear of their mod cars, then mine won’t.
Quilava 8 Mar, 2024 @ 12:12am 
Does this mod work with modded vehicle? I want to use it with KI5 vehicle cause the new V300 APC bumper broken too easy