Project Zomboid

Project Zomboid

93 ratings
American Cars
   
Award
Favorite
Favorited
Unfavorite
Mods: Build 41
File Size
Posted
Updated
361.547 KB
14 Apr, 2018 @ 5:49pm
21 Jul, 2023 @ 4:43pm
3 Change Notes ( view )

Subscribe to download
American Cars

Description
American Cars


About:
Did you buy a piece o crap car? Ya know that feller selling em when you drive it off the lot and the muffler falls off? Or ya make a slight turn and that dag nab tire popped going 15 miles per hour!? Well yer in luck, Jim Bobs post apocalyptic auto repair shop been fixin' all them faulty parts! Even put a real 'merican engine so you can push dem burnt trash heaps off the road.

What it does
Makes mufflers, suspension and tires last longer. Passive damage from regular driving reduced by roughly 1/4. Speed checks for damage changed from 10mph to 25mph for off road and 45mph for on road.

** Old info **
Tweaks the degradation functions for those parts and only checks if your going 30mph not 10mph. In most cases doubles the values reducing the chance for damage to be cut in half! Muffler calculations drastically changed reducing the constant degradation check to trigger ~1.6% of the time instead of ~10%.


Build 39.52 Blends n shades[projectzomboid.com] now has similar weights for wrecks, even some variations for the different types of vehicles, good job indiestone! Need to check some other bits of code to see what else came through the updates!

Vehicle weights have been cut from 1400 to 500 making it so you can move a wreck or burnt up vehicle with your truck much easier. It should be about on par with moving a vehicle that has wheels.

Nitty Gritty
AmericanCars.lua modifies/replaced Vehicles.LowerCondition function from /media/lua/server/Vehicles/Vehicles.lua

** Outdated **
C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\media\lua\server\Vehicles\Vehicles.lua
* function Vehicles.Update.Muffler(vehicle, part, elapsedMinutes)
* function Vehicles.Update.Suspension(vehicle, part, elapsedMinutes)
* function Vehicles.Update.Tire(vehicle, part, elapsedMinutes)

**Removed** moveablewrecks.txt takes all of the elements from
C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\media\scripts\vehicles\burntvehicles.txt
and has a modified mass of 500, was a simple copy and past then replace all "mass = 1400" to "mass = 500"

Notes
2018041800 Fixed the wreck weight, had a comment on the top of the file that borked it all. noted in change log -->
2023072100 Updated for 41.78.16. Reduces the passive damage chance for mufflers, suspension, and tires by about 1/4. Speed checks for damage changed from 10mph to 25mph for off road and 45mph for on road. Passive damage Removed Wreck weights (which was giving size, shadow and offset issues)

Workshop ID: 1361615445
Mod ID: AmericanCars
22 Comments
Procrasturbator 26 Jul, 2023 @ 2:38pm 
just got updated, should work now. got in contact with mod author.
DrunkenTee 17 May, 2023 @ 10:23am 
I agree with @FunkinGreat, this Mod causes massive shadows around car wrecks so they all act like invisible buses.

This mod is sadly broken and I guess will never be useable again.
F. N. Mayhem 4 Feb, 2023 @ 1:38pm 
I'm not sure if this was a mod conflict or what was happening, but this mod was causing the burnt out wrecks to project a "shadow" around themselves.

The shadows were all the same size regardless of the vehicle wreck.
The shadows had a hitbox, making ever wreck effectively the same size and weight.
The shadow hitbox prevented you from towing most wrecks, except for a few modded wrecks that didn't have shadows for some reason. Removal of the source mod did not alter the shadows for vanilla wrecks.
I also tested a variety of other mods, or their absence, and nothing but this mod changed the evil, annoying shadows.
󠀡󠀡 6 Apr, 2021 @ 7:45pm 
I have created an essentially identical updated mod here: https://steamproxy.net/sharedfiles/filedetails/?id=2444374984

My mod doesn't modify burnt cars, but it doesn't need to as they are already weight adjusted in B41.
󠀡󠀡 31 Mar, 2021 @ 5:07pm 
I would love to have a mod that does nothing but reduce muffler, tire, suspension etc. wear and a separate one that disables it. I am even willing to learn the inner workings of the game to develop and maintain it myself, but alas, there are no good up to date modding resources.

If you ever have time phil/rhymes would enjoy being able to talk to you about how to mod the game, specifically vehicles, increasing durability and repairing of items, and adding crafting recipes,
Pete_Gotti 28 Sep, 2020 @ 6:49am 
Update in the works, plans on what do do, or are you waiting for 41 beta to finish before updating?
I tried it on 41 it loaded cars, some invisible, but i was impressed with what i saw. It made my Frame Rate terrible which; I'm assuming may not just been from your mod. I had a few active at the time.
Wolfe 30 Jun, 2019 @ 7:38am 
does this work with filibuster's cars?
Vinier McNuggNugg 4 Jul, 2018 @ 4:05pm 
Ah ok
I slept in my vehicle, can't remember how I exited the game and came back and it was gone.
the-phil  [author] 4 Jul, 2018 @ 6:45am 
@Huey it's possible to have a wall of burnt up cars, probably best to do it near the pile ups at dixie gas station, the crossroads south of Muldraugh or the bridge to Valley Station. The hard part would be getting the wrecks lined up right the first time as you can only push and not pull wrecked vehicles! If you tried moving wrecks to your currently location you might starve to death because it take a long time.

@Chicken McNuggets this mod doesn't do anything to vehicle positions, physics collisions or anything of the like. The routines changed by this mod are really basic so it shouldn't have a major impact on how the game works.
I did read some posts about disappearing vehicles, make sure you are closing the game properly. The core game may have an issue where the vehicle location isn't properly saved from memory due to power outages, game crashes, etc. I haven't experienced any issues with vehicles disappearing and have logged a ton of hours while using this mod.
Vinier McNuggNugg 3 Jul, 2018 @ 8:07pm 
Can this mod cause current vehicles to despawn?