Project Zomboid

Project Zomboid

A car nerf mod
14 Comments
Playful_nerve 7 Dec, 2023 @ 12:58pm 
thats nice can we get a mod that lets you plow through zombies like they are people and not light post tho.
Bostson 29 Aug, 2023 @ 4:11am 
how long a single zombie takes to destroy an engine? I like the idea but car engines are super tough
Chelios 6 Aug, 2023 @ 12:33am 
Is it possible to make sandbox config for this mod? Would be cool if we could set it up so zombies attack engine even with player inside the car.
girlcow moment 8 Sep, 2022 @ 4:41pm 
Is this compatible with the bicycles mod, or would it try to make them attack bicycles?
pynoTTV 8 Sep, 2022 @ 2:17pm 
nice mod man, i have a server and cars are always misused, they never "lock", they make a joke of the challenge, another mechanic that breaks the game a lot is being able to beat up zombies by keeping the window down, could you tell me if there is a way to eliminate this possibility? (Having certainly studied the code involving cars maybe you can tell me if this is a feasible thing)
nigel  [author] 20 Jan, 2022 @ 2:56am 
Yes, sorry I misread the comment XDDD

The initial idea was to have multiple places to be attacked for a car, one of them being the engine, all parts causing damage to different parts of the car.
But only attacks on the engine make the car stall.

I am doing iterations over things I do.
1. Fast dirty implementation
2. Make it work
3. Fix bugs
4. Rewrite / advanced implementation
5. Fix bugs
6. Optimize

I will come back to this(and other things) at a later date and add options and more things!
Fru 20 Jan, 2022 @ 2:53am 
Huh? Oh, yes, I'm aware how that functions. I mean that you could place the object at the rear of the vehicle instead of the front as an alternative option - but as I said that may be moot with how the game's designed right now, as I'm not sure if zombies attacking the rear of the vehicle would effect the engine. I guess it could lead to damaging the back wheels.
nigel  [author] 20 Jan, 2022 @ 2:52am 
I think most cars make more sound at the engine when sitting still on idle RPM
nigel  [author] 20 Jan, 2022 @ 2:50am 
No, this mod checks if a car is empty after a player exits the car.
If the car is empty, and the engine is running....
The mod creates a invisible-thumpable object at the engine of the car.
Thumpable objects are attacked by zombies.
If the zombies destroy the invisible object, the car takes damage and the engine stalls.

If the engine stops working or a player enters the driver seat, the invisible object is removed.
Fru 20 Jan, 2022 @ 2:47am 
Perhaps have an entity at the back of the car where the exhaust is? Actually, that may be where more sound is produced from - but I get this mod is about having something that matches the gameplay car damage model.
nigel  [author] 20 Jan, 2022 @ 12:50am 
I could not reproduce any errors in debug singleplayer and in dedicated multiplayer.
I added an update which adds extra sanity checks and removes old debug code.

If you still run into any errors after updating on 20 January 2022, then please upload the logs or the exact error you are getting in the bugs thread under discussions for this mod!
Fookin Diablo 19 Jan, 2022 @ 7:45pm 
This mod gives you an error every second while driving a car.
thock 17 Jan, 2022 @ 11:17pm 
"I think if I was a zombie, I would think there's a survivor inside the engine." xD the funniest shit lmao subscribing just for that explanation
Always Neutral 12 Jan, 2022 @ 6:15am 
Cool idea, I'll try this out on my challenge run.