DayZ
165 ratings
FixVehiclePositions
   
Award
Favorite
Favorited
Unfavorite
Type: Mod, Server
Mod Type: Vehicle
File Size
Posted
Updated
30.709 KB
23 Sep, 2020 @ 7:12am
18 Oct, 2022 @ 3:23am
17 Change Notes ( view )

Subscribe to download
FixVehiclePositions

In 1 collection by ◣ ▲▼▲
Essential Vehicle Fixes
2 items
Description
Social distancing (from ground) for DayZ vehicles!

So your heli or car is glitching through terrain/buildings or randomly flipping? No more! Works with official and 3rd-party Expansion helis and should work with any cars (vanilla/modded).

This should be used as a server-side mod (-servermod=@FixVehiclePositions), no need for clients to have it.

NOTE if you are using the latest version of Expansion and not using On-The-Fly unflipping, then you DO NOT need this mod, the basic functionality is included in Expansion.

I highly recommend using this mod in conjunction with a mod that prevents collision damage at server startup, e.g. NoCollisionDamageIfEngineOff.

To prevent randomly exploding Expansion helis, you may want to look at NoExplodingHelis.

Configurable via FixVehiclePositions.json in your server profile directory (will be created automatically, do not edit while server is running). Old configuration in server CFG will be converted automatically (if present), but should be removed from server CFG afterwards. Note that changing configuration is not required and entirely optional.

OnTheFly
Fix vehicle glitching out on-the-fly as well instead of only at server start. Recommend leaving this enabled.
1 = Enabled (default), 0 = disabled

OnTheFly_UnFlip
If on-the-fly unglitching is enabled, also unflip the vehicle if it topples over but doesn't glitch into the ground.
1 = Enabled, 0 = disabled (default)

Log
Log any actions done by FixVehiclePositions (useful for debugging).
1 = Enabled (warning, can cause quite some script.log spam!), 0 = disabled (default)

VehicleConfig
Array of vehicle configurations. Entries will be added automatically, so you should only edit this while the server is not running. Each entry has the following settings:

Name
Vehicle class name. Case sensitive!

VerticalAdjustment
Distance of model zero point from ground the vehicle is standing on in meters. If set to -1, it will be automatically calculated from the vehicle's collision box.

NOTE in case the automatic calculation is too inaccurate for unknown vehicles, you can also measure it manually using any admin tool that has ESP functionality and can show object position (e.g. Community Online Tools). To do that, go to a place with flat ground (a road will do, but a runway, pier or similar is better). Spawn a small and/or very flat object, e.g. a paper, on ground. Then spawn the vehicle to be measured at the same position (with wheels!). Now enable ESP for vehicles and unknown items, and subtract the paper position Y coordinate from the vehicle position Y coordinate. The difference, rounded to two digits, is the value that needs to be used as VerticalAdjustment.

Clearance
Vertical clearance required to fit the vehicle, measured in meters from ground level the vehicle is standing on. Should be AT LEAST vehicle height. Set to 0 to disable clearance check, set to -1 to automatically calculate from collision box.
Popular Discussions View All (3)
2
28 Sep, 2022 @ 11:34am
Servers using FixVehicleConditions
Bukowski
1
24 Nov, 2020 @ 7:51am
server-side mod?
o.phresh
0
31 Jul, 2022 @ 1:37pm
Server not loading when mod loaded
GaminWithBen
225 Comments
Nerrad 20 Jun @ 5:11pm 
hey, After a lot of testing we have discovered this mod causes a major desync issue ( on 4 different maps) if you have an accident and the mod kicks in. You carry on playing however you cannot get out of your vehicle etc, some players dont realise for a long time and keep driving. You end up having to relog and you are back at the site of your accident. Removing the mod and the issue goes away. We have tested this in a near vanilla set up...We have for now removed it but miss the heli auto correct. Thank you for your help
V1N1WOW 5 Nov, 2023 @ 6:34pm 
Could someone help me find the -delog directory?
Lord Rizzington 15 Jun, 2023 @ 9:19am 
This mod doesn't really work anymore. cars float now after restarts and choppers will still bug under the ground. Def not worth the drop in server FPS for this half busted mod
5treet 26 Dec, 2022 @ 1:43pm 
Hello, how can I fix vehicles not being in the air after reboot?
MastaHiggins 12 Nov, 2022 @ 12:39pm 
@◣ ▲▼▲
Will there be an update?
LC 7 Nov, 2022 @ 8:15am 
can report the same as Daboy
cars start floating and get higher with restarts
only fix was deinstalling the mod
Daboy 1 Nov, 2022 @ 6:14am 
cars fly in the air after restarting
DeadShot 31 Oct, 2022 @ 10:22am 
Is there a non Expansion version of this ?
5treet 24 Oct, 2022 @ 9:47am 
the same, car fly after restart :(
is there even a need for this mod anymore? Aren't the cars already fixed?
Naclait 23 Oct, 2022 @ 4:27am 
Hi cars fly in the air after restarting