Resource icon

[Open Assets] Driftboost Gauge 2.0

This content may be freely modified and/or maintained by anyone.

Lat'

Absolute territory where
Kart Krew™️
A quick add-on that adds a drift meter to tell you when your blue, red or rainbow driftsparks are coming out! It always goes under your kart so that it doesn't obstruct anything on your view while still being easy to look at for convenience
There is full support for splitscreen, replays and also reverse gravity.

kart0548.gif

kart0738.gif
 

Attachments

  • kart0548.gif
    kart0548.gif
    5.9 MB · Views: 1,025
  • kart0738.gif
    kart0738.gif
    6.2 MB · Views: 387
  • kl_driftgauge_v2.rar
    4.5 KB · Views: 2,234
Last edited:
Lat', someone found an Encore bug with the drift bar:

kart0006.gif


However, I found a very easy patch to fix that bug:

You just add this line after the line which gets basex in LUA_YURI:
Code:
if encoremode then basex = (320*FRACUNIT) - $ end

I tested it out (along with the upcoming Drift mod I'm working on) and it works now:

kart0155.gif


Also, on a side node, V_drawPeggedPingNum() seems to crash if you give it a value above 3 digits for num - all due to an infinite loop thanks to the following line in LUA_YURI:
Code:
digits = $-1

I was able to fix this in the Drift mod (due to the fact that I want to show the score there) by changing that line to the following:

Code:
if digits > 0 then digits = $-1 end
 
Last edited:

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top