MiniRanking Plus (HUD edit)

[Reusable] MiniRanking Plus (HUD edit) v3.1

This thread contains content that may be reused, modified, or ported by anyone.

Callmore

Member
Miniranking (Placement viewer) replacement.

attachment.php

attachment.php

It even has combi support!​

This addon was designed with being able to view other people's items in mind. However, I understand that some server hosts might not want this. There is a CVar to toggle this on and off.
mrp_showitems (Yes/No, default: Yes)
This setting is server-side. When disabled, everyone's items will be hidden from eachother.

Features
  • Portrait shake when hit
  • Item viewer (can be disabled)
  • Partial invisibility while using hyudoro (Hides your item too!)
  • Blinking during flashtics
  • Combi-ring support
  • HORNMOD support
  • FRIENDMOD support

Included in the downloads is a separate version of MRP that only includes the Combi hud. This version still loads the file, as the hud can still be disabled, but is included for hosts that want just the hud, none of the rest.

MRP loads a config file called mrp.cfg. It is recommended that an empty file is at least added to your kart folder, as this will help connect to servers running this mod.

A default config that disables all features can be found in the spoiler below.
Code:
mrp_showitemslocal off
mrp_hpmodshowhplocal off
mrp_showhorns off
mrp_shrinkgrow off
mrp_spinoutshake off
mrp_showflashtics off
mrp_showinvis off
mrp_friendmodshowteams off
mrp_showdnf off
mrp_forceoffvanillaminirank on
This will disable everything apart from the Combi hud.
The Combi hud can be disabled using:
Code:
mrp_showcombi off
This file can be found in the downloads below. After downloading the config, remove the .txt extension and place it into your kart folder.

mrp_showitems (Yes/No, default: Yes)
NetVar
Allow everyone to see each other's currently held item

mrp_showitemslocal (Yes/No, default: Yes)
Shows or hides the held item display locally, as long as mrp_showitems is enabled.

mrp_showitemswhenspectating (Yes/No, default: No)
Shows held items locally while spectating.

mrp_hpmodshowhp (Yes/No, default: Yes)
NetVar
Allow everyone to see each other's current HP
(Only works if HPMOD is loaded)

mrp_hpmodshowhplocal (Yes/No, default: Yes)
Shows or hides HP display locally, as long as mrp_hpmodshowhp is enabled.

mrp_showhorns (Yes/No, default: Yes)
Shows or hides locally a small horn indicator while someone is using their horn
(Only works if HORNMOD is loaded)

mrp_shrinkgrow (Yes/No, default: Yes)
Shrinks or grows the player portraits locally depending if they have grow or shrink.

mrp_spinoutshake (Yes/No, default: Yes)
Allows for the player portraits locally to shake whenever a player is in spinout.

mrp_showflashtics (Yes/No, default: Yes)
Allows for the player portraits locally to flash while a player has flashtics.

mrp_showinvis (Yes/No, default: Yes)
Causes player portraits to turn transparent locally if they are using a hyudro.

mrp_showcombi (Yes/No, default: Yes)
Causes players portraits locally to be combined if they are in a Combi team.
(Only works if Combi-Ring is loaded)

mrp_friendmodshowteams (Yes/No, default: Yes)
Causes players portraits locally to gain a small coloured boarder if they are on the same FRIENDMOD team as you.
(Only works if FRIENDMOD is loaded)

mrp_showdnf (Yes/No, default: Yes)
Causes players who DNF to have a large red X placed over their portrate locally.

mrp_forceoffvanillaminirank (Yes/No, default: Yes)
Forces off the vanilla miniranking locally to help avoid clashing.

mrp_forcedisplay (On/Off/None, default: None)
Forces the display to be turned off or on locally. When turned off, the original miniranking will be turned back on.
This was originally used for testing but if the miniranking replacement is annoying, it can be turned off by setting this to "Off".

v3.1 - Fixed bug with people leaving while in combi
v3 - Everything can now be turned off!
also loads a config file now named "mrp.cfg"
v2.2 - MRP now hides while frontrun is running
v2.1 - Fixed horn icons being based on displayplayer instead of the currently drawn player.
v2 - HORNMOD horn spam is now shown (can be turned off serverside using mrp_showhorns)
Fixed colours with skins using prefcolor
Invalid items don't break everything (instead show :( )
Other stuff I can't remember
v1.4 - Allowed hiding of HPMOD HP using mrp_hpmod_showhp
Can now detect MRP through lua using minirankplus, and hide it by setting minirankplus.enabled to false
v1.3 - Added HPMOD support
Players no longer endlessly move when they DNF
v1.2 - More battle fixes (lol)
v1.1 - Battle fixes
v1 - Initial release
 

Attachments

  • Solo demo edit.gif
    Solo demo edit.gif
    598.3 KB · Views: 4,694
  • Combi demo edit.gif
    Combi demo edit.gif
    1 MB · Views: 4,676
  • mrp.cfg.txt
    230 bytes · Views: 310
  • KL_MiniRankingPlus-v3.1.pk3
    6.8 KB · Views: 486
  • KL_MiniRankingPlus-v3.1-combi.lua
    6.9 KB · Views: 254
Last edited:

MellowJacket

The unreliable judge
Judge
Sorry that this has been left in submissions for as long as it has! Either way, I got a chance to test this out and it all works out. So welcome to releases.
 

Callmore

Member
Updated to v3
Everything in the mod can now be disabled locally, and this mod now loads a config.
Also there is now a second version that only includes the Combi hud.
 
Hello colleagues, I have a problem. When I start the server I get the following error:

Sin-t-tulo-2.png


Apparently it is a problem with this script. I have loaded the script with the "StartSRB2" program like the others.

It also appears to me that "kartserv.cfg" cannot be executed. Do you know what it can be?

Thank you very much
 

Callmore

Member
Hello colleagues, I have a problem. When I start the server I get the following error:

Sin-t-tulo-2.png


Apparently it is a problem with this script. I have loaded the script with the "StartSRB2" program like the others.

It also appears to me that "kartserv.cfg" cannot be executed. Do you know what it can be?

Thank you very much

"kartserv.cfg" is a config file loaded by SRB2Kart when started though dedicated mode. It is intended to load server settings.

That error relates to a line for loading config files for players. As this is the dedicated server, and this mod is a HUD only mod that doesn't touch anything that could desync, the error shouldn't cause any issues.
 

Saturn Ross

The Local Bird-Brain
One of my fave mods, it makes the HUD more intuitive and the little touches like icons fading out when players use Hyudoro are great! But, on a related note to the above, since Hornmod CE has had a rewrite, the mini horns on this HUD are now missing. It shouldn't be too hard a fix!
 

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

Top