Ładowanie...

LapTimer 1.0

24

Lap Timer Script for any circuit.

Context
A week ago, I was looking for a mod or script to automatically time hot laps. The best one I found was Race Timer (https://www.gta5-mods.com/scripts/race-timer), but it's broken... so I had no choice but to create my own script.

I tried to compile it but couldn't.

Requirements
Script Hook V (https://dev-c.com/gtav/scripthookv/)
ScriptHookVDotNet (https://github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases)

Installation
1. Extract timer.cs into your scripts folder.
2. By default, it is set up for the Nurburgring Nordschleife circuit (https://www.gta5-mods.com/maps/nurburgring-nordschleife-circuit-hq). To configure another circuit, simply modify the coordinates on line 9 with the finish line coordinates of another circuit or location you want to be the finish line. Do not remove the 'f'.

On the next line, you can also adjust the tolerance, which defines the length of the finish line (I believe it's not a line, but a circle or sphere).

Usage
To start timing laps, cross the circuit's finish line, which, as mentioned before, corresponds to the coordinates on line 9 of the script. When you cross, a notification will appear indicating that the lap has started, and the elapsed time will be displayed as subtitles.

When you cross for the second time, another notification will appear indicating the lap has finished along with the time, and the next lap will start immediately. This will loop continuously.

To stop the timer and cancel the lap, press the "N" key, and the script will not activate again until you cross the finish line.

N: Cancel lap.

Tip
Notifications disappear quickly, but you can check the latest lap times in the Pause Menu > Brief > Notifications. I have a version that writes the lap times to a .txt file, which I'll release if people request it.

Conclusion
That's it. It's a very basic script, I know, it's the first one I've made for GTA 5, but I plan to improve it a bit more, like saving lap times and other data to a .txt file, supporting multiple circuits, and... well, I can't think of anything else for now.

If you find a bug, have an idea or want to help, leave a comment, and I'll reply when I see it xddd
Show Full Description

Dodano: 1 dzień temu
Ostatnia aktualizacja: 22 hours ago
Last Downloaded: 1 hour ago

All Versions

 1.0 (current)

24 pobrań , 2 KB
1 dzień temu

7 Komentarzy