[Open Assets] HPMOD v2

Yes another mod mod
HP for kart! Try to eliminate each other with items!

Thanks Fayt for the GIF!
Try not to run out of health!

Maybe try not to slip as well...
Players who run out of HP are ELIMINATED from the race. Eliminating all other players results with an instant win!
Getting hit by items hurts you, as well as falling off!
Also don't try cheating the eggbox...

hpmod_enabled (Default: On)
Toggle if HPMOD is enabled.

hpmod_enabledinbattle (Default: On)
Toggle if HPMOD is enabled in battle.

hpmod_maxhp (Default: 50)
Set the maximum HP for everyone.

hpmod_maxhpperplayer (Default: 3)
Increases the maximum HP for everyone based on the amount of players in-game when the race starts.

hpmod_maxhpperplayerminplayers (Default: 8)
The minimum amount of players required before max HP is increased per player.

hpmod_killhealenabled (Default: On)
Toggles wether HP is healed when a player eliminates another player.

hpmod_killhealamount (Default: 25)
Sets how much HP is healed when a player eliminates another player.

hpmod_combatdamage (Default: On)
Toggles if HP is lost from spin-outs, explosions, crushes and falls.

hpmod_bumpdamage (Default: On)
Toggles if HP is lost from bumps between two players.

hpmod_wallbonkdamage (Default: On)
Toggles if HP is lost from wall-bonking.

hpmod_deathdelay (Default: 17 (tics))
The amount of delay in tics between someone being eliminated and exploding.
A tic is 1/35 of a second.

The next two commands relating to healing where left in but (in my opinion) makes the mod less fun to play.
Only consider changing these variables if you are playing a high lap count game!

hpmod_hphealmode (Default: off)
Sets how HP is healed per lap, it has 3 modes:
  1. Off: HP is not healed whenever a lap is finished (Default)
  2. On: HP is healed whenever you finish a lap
  3. Limited: Same as "On" but limits HP healed to only the last amount set by hpmod_hpheal

hpmod_hpheal (Default: 20)
Set how much HP is recovered per lap

hpmod_itemabsorb (Default: Off)
An option that was implemented but disabled by default due to not fitting well. Players are able to push "Custom 1" to eat their current item, recovering HP. This also drops the item behind them for someone else to pick up.
v2 - A few of server variable defaults have changes:
  • HP defaults to 50, with +3 per player over 8 players.
  • Wall-bonk damage is off by default.
Bump damage mechanics have changed, bumping someone will remember who bumped them, meaning you can get eliminations from bumping people off the stage. Also, damage can also only be dealt if one person has sneaker boost (like in battle).
Dying is no longer instant, players will spin out for about 1/2 a second before being eliminated.
SPB damage has been separated out from explosion damage. SPB now deals 30 damage, where as all other explosions deal 20.
v1.8 - Added basic elimination support, force spectates people when they are eliminated to running out of HP.
v1.7 - Added 3 commands for toggling types of damage on and off.
The HP bar can be toggled on and off though lua using hpmod_showbar
Players can be damaged using hpmod_damagehp(target player, damage, attacking player, force elimination), The attacking player can be a hitfeed v2 table, if the player is eliminated from this attack, the attacker will be displayed.
v1.6 - Allowed for HPMOD to be turned off during battle using the command hpmod_enabledinbattle.
Bump damage has been changed:
  • HP drain is now based on your speed when you bumped the wall.
  • HP drain from wallbonks while under the effect of a sneaker boost is halved.
v1.5 - Fixed bug that caused peoples HP to drop after eliminating someone (and maybe other things since small rewrite with max HP calculation)
v1.4 - Max HP can be now increased per player by changing hpmod_maxhpperplayer (see "Console variables for more info")
Players who have not finished after a player has finished will now slowly lose HP after a while
HP healed when eliminating someone will now stay after finishing a lap
v1.3 - Added battle support
Sinks might be... slightly deadly now...
v1.2 - Added HP heal on elimination: eliminate another player and get back HP!
Increased some console variable max values
v1.1 - Fixed (hopefully) some sync issues
{!} icons now do not show up under certain circumstances
Added the ability to check for HPMOD in lua. Check the variable "hpmod"
v1 - Initial release
Extension type
File size
197.7 KB
MD5 Hash
First release
Last update
0.00 star(s) 0 ratings

More resources from Callmore

Share this resource