Repository navigation
A fix for trailers, dollies and road trains.
Fixed
- Coupled vehicles stay on the display. With a trailer, a dolly or a whole road train hitched, the rig showed for about a second after coupling or switching vehicles, then disappeared, leaving only the vehicle you were driving. BeamNG only reliably delivers a vehicle's own UI messages from the vehicle the player is in; from the others they get through for a moment, then stop. Every other vehicle in the chain now sends its data through the app's game-engine hub, which always gets through.
- Coupled vehicles update about 30 times a second, up from 4. The UI never asks a vehicle you aren't in for a frame, so they used to send only at the keep-alive rate. They now send at a steady rate of their own, and the app carries their motion on smoothly between updates.
The vehicle you're driving still sends straight to the app, once per UI frame, so its latency is unchanged. Coupled vehicles arrive one frame later than it. When you switch vehicles, the routes swap by themselves.
Install
- Download VGS_Display_1.21.zip below and put it in your BeamNG
modsfolder, replacing 1.20 (unzipped works too). - Start the game and load a vehicle.
- Open the UI app selector and add VGS Display. It's in the Telemetry category.
Nothing else is needed: the app starts and stops its own scripts.
Checking it
With a rig hitched, run extensions.vgsHub.state().pings in the game-engine console twice, a few seconds apart. Every vehicle in the chain should be counting up, and every trailer should stay drawn behind the tractor, whichever vehicle you're in.