Nitro Type - Racing Mini Map

Displays a mini map of the Race Track.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Toonidy
日安装量
1
总安装量
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.