Project Zomboid

Project Zomboid

41 ratings
Slower Car Tear And Wear
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
1.265 MB
7 Mar, 2024 @ 11:31am
1 Change Note ( view )

Subscribe to download
Slower Car Tear And Wear

In 1 collection by Shoryuken Enjoyer
My Project Zomboid Quality of Life Mods
4 items
Description
Description
Your car parts are now more durable! All parts last 3 times longer from tear and wear!!

This is part of my on going common sense mod , which I will add quality of life improvements and tweaks that add a bit of common sense to the game.

This is achieved by modifying a universal vanilla vehicle function that's responsible for lowering the condition of car parts.

Might conflict with mods that edits Vehicles.lua. My mod should overwrite theirs with no problem.

Compatibility
For third party car mods, if they utilize the vanilla degrade function, then this mod will work if it overwrites their car mods.
This mod will not work if they have implemented their own degrade function, i.e they will not call the vanilla function that my mod have modified.

Lastly
If you like my dumbass AI generated mod cover image, or the mod itself, feel free to leave a like!

Workshop ID: 3174846733
Mod ID: SlowerCarWear
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!