PiranMOTO Delta - a simple tracker for delta time and speed compared to your best lap. Time on the left, speed on the right.
Currently a prototype to be used as a session tracker (ie, this version doesn't save lap data!). Best laps will be reset on changing car or track, all lap data is lost when closing the program.
edit:
bugs:
- dividebyzero error sometimes triggered (when changing car & track together?)
- I'm seeing some drift in timings happen sometimes - up to .2 seconds out compared to LFS timings, but self-consistent. Noted, looking for a cause.
No problem, it would be good to see it working in LFS
It's a PIE script, so you'll need PIE to run it, and you'll need to configure OutGauge if you haven't already in your LFS/cfg.txt file (I used Mode 2; Delay 10; IP 127.0.0.1; Port 49999 for testing).
I've set it to use RearFog for Throttle, FrontFog for Clutch and Extra for Handbrake, but you can swap those around in the script if that's not convenient. I've also set the 2 pedals to have a threshold for triggering, set to 0.1 initially, but you might want to tune that.
So you would have the fog and extra light mappings set on your indicator lights in LFS Editor.
We can use OutGauge in a local InSim to monitor Throttle/Brake/Clutch values directly, but there isn't one for Handbrake. There's the dashboard handbrake indicator though, we could use that light for our check if it triggers quickly enough
Once we know that, we can set fog and extra lights locally with a SMALL_LCS packet, and LFS will replicate the lights to other clients so everyone see it.
I don't think you can do it directly for anything but brake, but if you used frontfog, rearfog and the extra light to make handbrake, throttle and clutch indicators, then it's possible to use a local insim to toggle those on and off from outsim data. They'd only be binary, but maybe that's enough?
I've got script somewhere that will convert old BL3 to new BL4 (https://www.lfs.net/forum/thread/90875) but I'm away from home at the moment, so I can't do it till next week.
In the meantime, there is an app I made that can move groups of layout objects manually (https://www.lfs.net/forum/thread/103154)
When installing LFS there is an option to set up file associations (meaning that you can click on an LFS file or click a link that starts "lfs://" and your computer will know to use LFS to deal with it)
If you didn't do that at the time, you can do it with the "associations tool" on the downloads page