Track racing data and show acceleration status
目前為
Torn Racing Telemetry - README
Torn Racing Telemetry is a userscript that tracks racing data and displays the acceleration status of racers in the Torn racing game. The script calculates and displays real-time speed and acceleration metrics for racers during a race, providing a detailed status update.
1. Install a userscript manager like Tampermonkey or Greasemonkey.
2. Create a new script and paste the code from torn-racing-telemetry.user.js into the script editor.
3. Save the script and ensure it is enabled.
Once the script is installed and enabled, it will automatically run on the Torn racing pages:
getTrackData: Retrieves track length, number of laps, and total distance.parseRaceTime: Parses race time from a string to seconds.calculateAverageSpeed: Calculates the average speed for finished racers.calculateMetrics: Calculates real-time speed and acceleration metrics for racers.updateStatusDisplay: Updates the status display for each racer.updateRacingData: Main function that updates racing data every 1 seconds.You can customize the script by modifying the following parameters:
This script is open-source and licensed under the MIT License.