Nitro Type - Racing Mini Map

Displays a mini map of the Race Track.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Toonidy
今日安裝
0
安裝總數
2,173
評價
2 1 0
版本
0.1.0
建立日期
2023-01-16
更新日期
2023-01-16
尺寸
11.9 KB
授權條款
MIT
腳本執行於

Description

Displays a mini map of the race.

See Nate Dogg's video for a little demo and guide! https://www.youtube.com/watch?v=4XrZNkzN7uE (Don't forget to like and subscribe)

Configuration

Refer to config variable to adjust settings.

  • color changes the color on various drawing elements, use hex color codes to adjust the value (include 0x in front of the hex color)
  • trackLocally uses the player's own typing progress stats without relying on server data; this gives it a more "real time update"; turning it off simply uses less custom code and relies on the server data
  • moveDestination displays a transparent box in front of the racer to indicate the exact "progress" the racer is at on the racer (think of like how typeracer works). Use enable to turn it on or off and alpha adjusts how transparent the box is on the map

Screenshots

screenshot

Just a typical race

screenshot cheater

BONUS: Watch someone cheating in real time on the map! (racer loves cheating, but probably knew I was recording cheaters to test my script and decided to stop before the finish line ._.)

Troubleshooting

Map doesn't show up?

There could be many factors, but the first known one is that the CDNJS Cloudflare to PIXI is blocked. You can confirm this by going to https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.5.4/browser/pixi.min.js and checking whether your browser blocks it or not.

To fix, change the the URL to:

Unfortunately, I cannot use this on Greasyfork due to restrictions on external scripts/libraries.