Resource icon

Hold Items v1.2a

Hey <username>, do you like items?
Would you like to hold more at a time?

This addon allows you to hold more than one item by giving you a stack of empty hold slots!
View attachment 7039View attachment 7040View attachment 7041View attachment 7038
(Original scheme)

Use the CVar kartholdslots to change how many slots can each player have, from 0 to a whooping 50. Or 1 if you just like something like MK8.
With the CVar kartholdretain, you can set whether you want players to be able to retain their held items across maps. (By default it is set to not do that)

Change control schemes, as well as review controls, using the command kartholdcontrol.

You can pick from two different control schemes.

(For reference: The item slot is locked if the item roulette is rolling, an item is being held, you picked up an eggman capsule thing or you are using rocket sneakers.)

Original scheme:
  • Hold Custom 2 while holding an item to store it in the first slot of your stack.
    • Trying to store an item while all slots are full will push your item to the first slot as usual, but will pull the last item from the stack.
  • Hold Custom 2 while having no items to pull the item in the first slot in your stack.
  • Tap Custom 2 to scroll through the items in the stack.
  • If the item slot is locked, you can't push nor pull items. You can still scroll through them, however.

Faster management scheme (new default!):
  • Tap Custom 2 to scroll through items towards the right.
  • Hold Custom 2 to scroll through items towards the left.
  • You cannot scroll through items while your item slot is locked.
  • Perfect scheme if you only have 1 hold slot!

+ indicates additions
@ indicates fixes or changes
- indicates removals
Version 1.2a:
@ Accidentally initialized the wrong variable. Fixed
Version 1.2:
+ New CVar that allows keeping held items across maps
@ Friendship ended with MAPCHANGE, now MAPLOAD is my best friend


Version 1.1:
+ New control scheme (kartholdcontrol 1)
+ Controls remain 5 more seconds after starting the race
@ Fixed part where I forgot to initialize item storage on recently joined players
@ Fixed spectators thinking they need item storage in the HUD


Version 1:
+ Initial release

  • This mod does not respect splitscreen yet: I haven't checked how splitscreen works. Still gotta... figure out how to display extra items.
  • No checks related to the SPB or Shrink items are made. A player can potentially amass a number of these items without restriction.
  • Can potentially desync replays if the control scheme for a player is not the default.

It hasn't been well tested on netgames, so if any problem arises, let me know.
Want to suggest a feature? Also let me know!
  • kart0058.gif
    kart0058.gif
    2.3 MB · Views: 337
  • kart0060.gif
    kart0060.gif
    4.4 MB · Views: 324
  • kart0061.gif
    kart0061.gif
    1.3 MB · Views: 247
  • kart0062.gif
    kart0062.gif
    1.6 MB · Views: 351
Author
amperbee
Views
2,058
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from amperbee

Share this resource

Back
Top