Nitro Type - Racing Mini Map

Displays a mini map of the Race Track.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
Toonidy
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
2,200
คะแนน
2 1 0
เวอร์ชัน
0.1.0
สร้างเมื่อ
16-01-2023
อัปเดตเมื่อ
16-01-2023
Size
11.9 กิโลไบต์
สัญญาอนุญาต
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.