Project Zomboid
Mileage Expansion
59 коментара
CryneX 6 окт. 2024 в 14:13 
The kilometer text in the speedometer is not in the box, the text goes beyond the box : (
Purple Nebula 1 окт. 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 септ. 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 апр. 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 март 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 март 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 март 2024 в 3:07 
Why does it say miles on the car?
Tnaz.v 26 март 2024 в 3:06 
トミー (Tommy) 24 ян. 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 дек. 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 ноем. 2023 в 9:05 
Rhasmoth 3 септ. 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 септ. 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 юли 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 юли 2023 в 18:55 
Still definitely not working correctly in MP, the value constantly resets
Hyolffe 18 юли 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 юли 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 юли 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 юни 2023 в 23:37 
Great mod and all works except for mileage updating on dedicated server. Mod was added mid save.
KONIJIMA  [автор] 5 юни 2023 в 19:14 
@Lars03 It works well yes
Lars03 2 юни 2023 в 9:55 
Does this work with colored engine and battery status?
Ekron 2 юни 2023 в 6:04 
YES! I HAVE BEEN WAITING!

Thank you
KONIJIMA  [автор] 1 юни 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  [автор] 1 юни 2023 в 18:41 
@Cnwamw singleplayer or multiplayer?
E6S5 1 юни 2023 в 6:43 
@FunkBaconDeluxe Thanks, dude. I didn't know.
ElRealOyara_oficial 31 май 2023 в 16:19 
xd
Void 31 май 2023 в 13:40 
@Шойгу, Герасимов! That would be about 1000 metres, or 0.6 of a mile.
Hack Squad 31 май 2023 в 11:48 
something we all ned, thanks for mading it
Bodomy 31 май 2023 в 0:51 
The mod I didn't know I needed, thank you!!
Redeye 30 май 2023 в 22:42 
ty
KONIJIMA  [автор] 30 май 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 май 2023 в 10:33 
WHAT THE FUCK IS A KILOMETER!?
Redeye 30 май 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 май 2023 в 6:37 
An interesting mod.
BiggieCheese 28 май 2023 в 21:13 
i am him :steamthumbsup:
Duster 28 май 2023 в 20:14 
what the helllllllllll no wayieyatyyyyaaaaa
TestMonkey7142 28 май 2023 в 17:54 
@Blubbazz Good to know, thanks
Blubbazz 27 май 2023 в 14:39 
@TestMonkey7142 Yes it is in SP and MP.
TestMonkey7142 27 май 2023 в 12:40 
Is this safe to add mid-save?
Truffles 27 май 2023 в 7:35 
Love
KONIJIMA  [автор] 26 май 2023 в 19:23 
Update: 26 May @ 10:21pm :cherrypie:
- Added bunch of sandbox options check mod description for details.
HAETPASSING 26 май 2023 в 16:41 
@Hunter_LINKUP Oh thnx! I found it
Hunter-Killer 26 май 2023 в 13:26 
@HAETPASSING There's already one named Better Car Physics.
HAETPASSING 26 май 2023 в 12:09 
Can you guys make a manual transmission mod?
Braven 26 май 2023 в 10:21 
Groovy! :spiffo:
Pashkevi4 26 май 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  [автор] 25 май 2023 в 21:22 
@Островський it does hooks into ISVehicleDashboard but it doesn't overwrite it.
KONIJIMA  [автор] 25 май 2023 в 21:21 
Updated networking, the mod should work as intended, help me test by reporting weird issues.
Островський 25 май 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 май 2023 в 16:13 
woahhoo man! great idea, should be QOL mod