Really Cool Speedometer

Really Cool Speedometer v1

luigi budd

luigi butt
luigi budd submitted a new resource:

Really Cool Speedometer - Accurate and cool lookin' speedometer!

a really cool speedometer that can display your speed up to 3 decimal places.
to toggle: reallycoolspeedometer true/false in console


View attachment 111029
each black tic mark is 20 units of speed
the red line is your normalspeed, or the max speed your character can run
the needle is your speed
the number is also your speed

Read more about this resource...
 
Did bro really just got vanned after posting his first mod? 💀
IMG_2554.jpeg

“first mod”
 
How would I go about moving this to the other side of the screen? My only complaint is that the Record Attack Replay HUD overlaps on top of the exact speed underneath the speedomoter. I know it has something to do with the LUA_shit file, but I'm new to editing stuff.
 
How would I go about moving this to the other side of the screen? My only complaint is that the Record Attack Replay HUD overlaps on top of the exact speed underneath the speedomoter. I know it has something to do with the LUA_shit file, but I'm new to editing stuff.
Code is a bit messy, but if you head over to the drawspeedometer function, youll see all these V_SNAPTOLEFT and hudinfo[HUD_LIVES].x+30. Replacing those with V_SNAPTORIGHT and 254 respectively should snap the speedometer and whatnot to the right.
 
Code is a bit messy, but if you head over to the drawspeedometer function, youll see all these V_SNAPTOLEFT and hudinfo[HUD_LIVES].x+30. Replacing those with V_SNAPTORIGHT and 254 respectively should snap the speedometer and whatnot to the right.
I also found another hudinfo[HUD_LIVES].x on line 121 that needs to be changed to somewhere around 235-ish for the specific speed number.
 
Last edited:
I also found another hudinfo[HUD_LIVES].x on line 121 that needs to be changed to somewhere around 235-ish for the specific speed number.
That one's a bit more complicated since the string needs to be right-aligned, or drawn at the same coords minus the string length.
 
That one's a bit more complicated since the string needs to be right-aligned, or drawn at the same coords minus the string length.
I actually did some fiddling around with it, and changing the entire line to v.drawScaled(235*FU+(prevw*scale), actually makes it look pretty good.
 

Attachments

  • speedometer.png
    speedometer.png
    294.3 KB · Views: 100

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

Back
Top