Project Zomboid

Project Zomboid

Mileage Expansion
60 comentarios
John Doe 15 ENE a las 4:56 p. m. 
W mod
CryneX 6 OCT 2024 a las 2:13 p. m. 
The kilometer text in the speedometer is not in the box, the text goes beyond the box : (
Purple Nebula 1 OCT 2024 a las 12:08 p. m. 
@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 a las 11:05 a. m. 
@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 ABR 2024 a las 7:14 p. m. 
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 a las 10:13 p. m. 
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 a las 3:01 a. m. 
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 a las 3:07 a. m. 
Why does it say miles on the car?
Tnaz.v 26 MAR 2024 a las 3:06 a. m. 
トミー (Tommy) 24 ENE 2024 a las 8:15 p. m. 
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 DIC 2023 a las 3:15 a. m. 
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 a las 9:05 a. m. 
Rhasmoth 3 SEP 2023 a las 10:22 p. m. 
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 a las 10:21 p. m. 
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 a las 6:55 p. m. 
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 a las 6:55 p. m. 
Still definitely not working correctly in MP, the value constantly resets
Hyolffe 18 JUL 2023 a las 11:44 p. m. 
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 a las 11:30 a. m. 
@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 a las 3:30 a. m. 
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 a las 11:37 p. m. 
Great mod and all works except for mileage updating on dedicated server. Mod was added mid save.
KONIJIMA  [autor] 5 JUN 2023 a las 7:14 p. m. 
@Lars03 It works well yes
Lars03 2 JUN 2023 a las 9:55 a. m. 
Does this work with colored engine and battery status?
Ekron 2 JUN 2023 a las 6:04 a. m. 
YES! I HAVE BEEN WAITING!

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