Project Zomboid

Project Zomboid

Mileage Expansion
60 条留言
John Doe 1 月 15 日 下午 4:56 
W mod
CryneX 2024 年 10 月 6 日 下午 2:13 
The kilometer text in the speedometer is not in the box, the text goes beyond the box : (
Purple Nebula 2024 年 10 月 1 日 下午 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 2024 年 9 月 23 日 上午 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 2024 年 4 月 14 日 下午 7: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 2024 年 3 月 30 日 下午 10: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 2024 年 3 月 28 日 上午 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 2024 年 3 月 26 日 上午 3:07 
Why does it say miles on the car?
Tnaz.v 2024 年 3 月 26 日 上午 3:06 
トミー (Tommy) 2024 年 1 月 24 日 下午 8: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 2023 年 12 月 5 日 上午 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 2023 年 11 月 26 日 上午 9:05 
Rhasmoth 2023 年 9 月 3 日 下午 10: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 2023 年 9 月 3 日 下午 10: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 2023 年 7 月 24 日 下午 6: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 2023 年 7 月 24 日 下午 6:55 
Still definitely not working correctly in MP, the value constantly resets
Hyolffe 2023 年 7 月 18 日 下午 11: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 2023 年 7 月 9 日 上午 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 2023 年 7 月 8 日 上午 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 2023 年 6 月 16 日 下午 11:37 
Great mod and all works except for mileage updating on dedicated server. Mod was added mid save.
KONIJIMA  [作者] 2023 年 6 月 5 日 下午 7:14 
@Lars03 It works well yes
Lars03 2023 年 6 月 2 日 上午 9:55 
Does this work with colored engine and battery status?
Ekron 2023 年 6 月 2 日 上午 6:04 
YES! I HAVE BEEN WAITING!

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