Project Zomboid

Project Zomboid

Mileage Expansion
59 kommentarer
CryneX 6 okt, 2024 @ 14:13 
The kilometer text in the speedometer is not in the box, the text goes beyond the box : (
Purple Nebula 1 okt, 2024 @ 12:08 
@Rukio is that a one time thing or every single time someone enters a car? Because I don't use this mod (yet) in my current playthrough and MP, both heavily modded, and that also happens first time I or someone in the server enters a vehicle for the first time since the session's launch.
tkonrye 23 sep, 2024 @ 11:05 
@konijima I have found a problem in multiplayer where vehicle:getCurrentSpeedKmHour() (seems to be in vanilla and with mods). If you change line 30 in the lua file from:

if vehicle:isEngineRunning() and vehicle:getCurrentSpeedKmHour() ~= 0 then

to: (adds a line, so the first is now 30 and the second is now 31, place under comment

local vehicleSpeed = (vehicle:getSpeed2D())*3.81
if vehicle:isEngineRunning() and vehicleSpeed ~= 0 then

the mod will work correctly in both single and multiplayer games (with mods 100% sure, vanilla pretty sure) Either way it wont effect the function negatively at all.
Rukio 14 apr, 2024 @ 19:14 
The mod unfortunately causes a pretty bad hitch. Especially in MP, when 1 person jumps in the car. It lags for everyone nearby.

Would advise against it.
Tnaz.v 30 mar, 2024 @ 22:13 
How long do I have to walk for one km to count with the standard configuration? I walked for 30m and did not increase
Tnaz.v 28 mar, 2024 @ 3:01 
I move with the car and the number doesn't increase, I hit reset and it doesn't stay fixed at the same value either.
Tnaz.v 26 mar, 2024 @ 3:07 
Why does it say miles on the car?
Tnaz.v 26 mar, 2024 @ 3:06 
トミー (Tommy) 24 jan, 2024 @ 20:15 
Just wondering, but can you maybe consider adding your onTick function to an onEnterVehicle event so it only runs when a player is actually in a vehicle? Such as registering the function on enter event, then remove the function on leaving the vehicle.
OoNSHPAMoO 5 dec, 2023 @ 3:15 
Hi, I improved the Thai Translation and PR to your repository on Github. It's would be great if you merge it to the mod!
Aang741 26 nov, 2023 @ 9:05 
Rhasmoth 3 sep, 2023 @ 22:22 
Also, the Discord link you posted in the description is invalid. If you didn't delete your Discord server, you may have copied a time-limited link.
Rhasmoth 3 sep, 2023 @ 22:21 
After several hours of going through my mod list, I've found that enabling this mod causes errors when entering the interior of an RV (using said mod). It's odd though, because some of the errors mentioned in the console log reference Smoking Joe's Rucksacks... I made a copy of the log immediately after the errors popped, if you'd like me to send them to you.
LarryEnticer75 24 jul, 2023 @ 18:55 
Definitely a bummer because I was really hyped about the concept behind this mod, I wish I understood Lua enough to pick through why it is not working.
LarryEnticer75 24 jul, 2023 @ 18:55 
Still definitely not working correctly in MP, the value constantly resets
Hyolffe 18 jul, 2023 @ 23:44 
there does seem to be something being weird going on with this mod in multiplayer, i had a car that started off with 20k miles, after awhile it somehow changed to like 200k something.
even the trip odometer weirded out, going from 5 miles to 6k or 60k (i forget which)
LarryEnticer75 9 jul, 2023 @ 11:30 
@Konijima - it appears that the mileage is not updating at all on my dedicated MP server, and whenever I change the odo reading manually as admin the value either resets or randomly generates a new value when it would update. Played around with the sandbox settings a bit but consistently did not see the odo value tick up at all.
TheDawg 8 jul, 2023 @ 3:30 
is there any way to adjust the position of the mileage? i dont know if it's due to my resolution or what, but the mileage is never centered correctly on the dash. maybe due to my text size?
Scarecrow the Spud King 16 jun, 2023 @ 23:37 
Great mod and all works except for mileage updating on dedicated server. Mod was added mid save.
KONIJIMA  [skapare] 5 jun, 2023 @ 19:14 
@Lars03 It works well yes
Lars03 2 jun, 2023 @ 9:55 
Does this work with colored engine and battery status?
Ekron 2 jun, 2023 @ 6:04 
YES! I HAVE BEEN WAITING!

Thank you
KONIJIMA  [skapare] 1 jun, 2023 @ 19:19 
@Cnwamw I'm testing on my server and it does work how it's supposed to. Try to set Meter per Kilometer sandbox setting to a lower value (ex: 100) and see if it changes when you drive 100 tiles.
KONIJIMA  [skapare] 1 jun, 2023 @ 18:41 
@Cnwamw singleplayer or multiplayer?
E6S5 1 jun, 2023 @ 6:43 
@FunkBaconDeluxe Thanks, dude. I didn't know.
ElRealOyara_oficial 31 maj, 2023 @ 16:19 
xd
Void 31 maj, 2023 @ 13:40 
@Шойгу, Герасимов! That would be about 1000 metres, or 0.6 of a mile.
Hack Squad 31 maj, 2023 @ 11:48 
something we all ned, thanks for mading it
Bodomy 31 maj, 2023 @ 0:51 
The mod I didn't know I needed, thank you!!
Redeye 30 maj, 2023 @ 22:42 
ty
KONIJIMA  [skapare] 30 maj, 2023 @ 19:21 
This mod on itself does not effect the vehicle engine in any way, for now.

If a car engine has 100% then the starting mileage will be very low, about 10% of of the Minimum Starting Odometer sandbox setting.

1 mile = 1.6km
1km = 1000 in-game tiles, by default
E6S5 30 maj, 2023 @ 10:33 
WHAT THE FUCK IS A KILOMETER!?
Redeye 30 maj, 2023 @ 8:12 
ok but if its high mileage then what? does this impact the state of the engine? ie if an engine is 100%, there is 0 milage? or they work separately and have no actual impact, just nice to count mileage?
Moonsnow 30 maj, 2023 @ 6:37 
An interesting mod.
BiggieCheese 28 maj, 2023 @ 21:13 
i am him :steamthumbsup:
Duster 28 maj, 2023 @ 20:14 
what the helllllllllll no wayieyatyyyyaaaaa
TestMonkey7142 28 maj, 2023 @ 17:54 
@Blubbazz Good to know, thanks
Blubbazz 27 maj, 2023 @ 14:39 
@TestMonkey7142 Yes it is in SP and MP.
TestMonkey7142 27 maj, 2023 @ 12:40 
Is this safe to add mid-save?
Truffles 27 maj, 2023 @ 7:35 
Love
KONIJIMA  [skapare] 26 maj, 2023 @ 19:23 
Update: 26 May @ 10:21pm :cherrypie:
- Added bunch of sandbox options check mod description for details.
HAETPASSING 26 maj, 2023 @ 16:41 
@Hunter_LINKUP Oh thnx! I found it
Hunter-Killer 26 maj, 2023 @ 13:26 
@HAETPASSING There's already one named Better Car Physics.
HAETPASSING 26 maj, 2023 @ 12:09 
Can you guys make a manual transmission mod?
Braven 26 maj, 2023 @ 10:21 
Groovy! :spiffo:
Pashkevi4 26 maj, 2023 @ 10:06 
Hi, love your mod, good job!
Have a one request, can you make sandbox setting for the speed at which the car is gaining mileage,it will be an amazing addition to your wonderful mod!
Thanks for reading.
KONIJIMA  [skapare] 25 maj, 2023 @ 21:22 
@Островський it does hooks into ISVehicleDashboard but it doesn't overwrite it.
KONIJIMA  [skapare] 25 maj, 2023 @ 21:21 
Updated networking, the mod should work as intended, help me test by reporting weird issues.
Островський 25 maj, 2023 @ 19:42 
Hey, was just wondering if this mod replaces ISVehicleDashboard:prerender() because if it does, it will break other mods such as the fuel side indicator and colored indicators for the battery and engine. There are sources that say there is a way to add dashboard functions with a patch that doesn't remove compatibility with other mods.
llanzo 25 maj, 2023 @ 16:13 
woahhoo man! great idea, should be QOL mod