Dynamic Kart HUD

[Open Assets] Dynamic Kart HUD v1.1.0

Dynamic Kart HUD
kart0000.png


What is Dynamic Kart HUD and what does it do?


Dynamic HUD is a simple addon that rewrites Kart's HUD code from source code into lua. Not only that, but it also adds in a few twists into the main HUD to spice it up a notch. You can even customize your interface through the commands that are listed below.

Dynamic HUD Commands

These commands are mainly used to enable and disable certain pieces of the Dynamic HUD. As long as Dynamics are enabled themselves. In other words, you can setup your game screen to whatever you please. Simply go into the game's console and enter these commands in:

dynamics: Enables Dynamic HUD in general. If set to off, it goes back to the default HUD.
dh_positions: Toggles Position numbers
dh_time: Toggles Time stamp
dh_gameinfo: Toggles game information (Laps if Race, and Bumper/Karma if battle)
dh_speedometer: Toggles speedometer
dh_minimap: Toggles mini map
dh_roulette: Toggles item roulette (If you want to dare yourself to do an item blind run, I'm not gonna stop you. =p)

All of these commands save to an config file, so your settings will be saved once you boot the addon up again. Also, commands are client based so anyone can toggle these options for themselves.

What Changed between the HUDs?

Dynamic HUD also adds in more flare that the default HUD doesn't have. Here's what they are:

General: Banner graphics like Time and Lap count change color based on the player's skincolor. Also every HUD part is off-screen before the race starts and scrolls on screen when the race begins. Vice-versa when the race ends.

Position numbers: All number graphics are startcolored for easy access to skincolors. If won first place, it will still be rainbow colored but will change through all the skincolors. Position numbers are also colored if splitscreen is in play.

Time stamp: Lap time is displayed once a player completes a lap. You can now show your best lap time on the fly.

Game information: Added in a graphic for Section races. Draws a pie chart icon instead of the finish flag. No changes for battle

Speedometer: Nothing too big.

Mini map: Behaviors for players have been recoded entirely. Not only to support the scroll effects, but to also do several changes to compensate the lack of transparency for nonlocal players. Opponents are now downscaled a bit and the icons scale whenever you have grow or shrink effects.

Item Roulette: Border now change color depending on what odds you have. White for normal, red or weak, and rainbow for karma. Normal odd border color varies on skincolor whenever you're playing in splitscreen.

kart0001.png

Why didn't you add in support for mini rankings?

Callmore's Mini Ranking Plus already does something similar to Dynamic HUD so I left the mini rankings unchanged. You can add both addons for the experience.

Can I make my own HUD using this as a template and add in support for mods?

Main reason on why this is marked reusable. Dynamic HUD also serves as a template for easy modding for a more complex HUD mod. As long as you give credit, its all good. But if you come to steal assets from the addon, then there's going to be problems.

As for addon support, just simply make sure if "dyn_enabled" is set to true. It toggles all the dynamic hud features.

What addons is this mod have support currently?

Not much except for Juicebox, Kart VR, and Xitemlib. Which disable Dynamic's item roulette and speedometer.


That is all! Have fun!

Credits:
DirkTheHusky:
Lead coder and spriter
Jade Space Rabbit: Coding assistance
Bloops: I/O saving coding
Kart Krew: Original Source Code and graphics
Author
DirkTheHusky
Downloads
918
Views
6,232
Extension type
pk3
File size
30.1 KB
MD5 Hash
88b63114640dc0b13914d6689099d704
First release
Last update

More resources from DirkTheHusky

Share this resource

Latest updates

  1. Version 1.1 - Ability to disable vanilla HUD

    Calling this a day one update because I decided to add in a few things that some of you...
Back
Top