Hotbar for quick item access - v0.7.2
7 7

54 posts in this topic

Recommended Posts

I blame lemmy for this, he put the idea in my head :-)

 

This is a mod adding a hotbar for quick item access to the bottom of the HUD.

You can get it in three sizes:

- Small:

hotBar_small.png

- Medium:

hotbar_medium.png

- And large:

hotbar_large.png

 

You can find the settings and a configurable button to toggle the hotbar in the options menu:

hotbar_options.png

 

And attach items to the slots via the contextmenu:

inventory_context.png

 

And quick access the context menu from the hotbar with RMB:

hotbar_rmb.png

 

And finally, download the mod here:

From the workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=503645367

From github: https://github.com/blind-coder/pz-hotbar/releases/

Requires bcUtils: https://github.com/blind-coder/pz-bcUtils/releases

 

Changelog:

Spoiler

v0.7.2: prevent hotbar from appearing in the main menu

v0.7.1: add russion translation

v0.7.0: add option to hide context menu items for hotbar

v0.6.0: add option for "smart" activation of items

v0.5.0: re-add options for hotbar to Options menu, change config file, requires bcUtils now

v0.4.0: add options for binding keys to activate slotted items.

v0.3.3: fix a rare error condition when dropping pinned items

v0.3.2: add Polish translation (thanks to Geras!)

v0.3.1: Fix error if config files don't exist

v0.3.0: Implement dragging and dropping items onto the hotbar

v0.2.0: Properly handle screen resizing, add option for different numbers of slots

v0.1.0: initial release

 

Enjoy!

Edited by blindcoder
new version 0.7.2

Share this post


Link to post
Share on other sites

cool mod, indeed.

 

though it seems that to access any of the items in the hotbar requires mouse control, and using a controller kind of kills any chance of using the mouse. i right click on the item, and for a split second the menu comes up...but that's it. cannot do anything else with it.

 

now, when i pick up a new item, at the bottom of the menu i do have the option to place Item X in slot D, E, F or G...so that works just fine.

Share this post


Link to post
Share on other sites

cool mod, indeed.

 

though it seems that to access any of the items in the hotbar requires mouse control, and using a controller kind of kills any chance of using the mouse. i right click on the item, and for a split second the menu comes up...but that's it. cannot do anything else with it.

 

now, when i pick up a new item, at the bottom of the menu i do have the option to place Item X in slot D, E, F or G...so that works just fine.

I've never played with a controller, so I don't know about how to properly do controller support. I'm hoping someone will help me out with that :)

Share this post


Link to post
Share on other sites

I made a forum account just to tell you that you are my hero. I've wanted something like this forever, plus you did the map!

 

Cheers man, I can't thank you enough.

You're very much welcome :D

Share this post


Link to post
Share on other sites

UPDATE

 

V0.2.0 properly handles screen resizing and adds the option to show 5, 10, 15, 20, 25 or 30 slots. This is subject to change, as I personally think that anything > 20 is not usable, so use these larger numbers with care.

 

Enjoy!

Share this post


Link to post
Share on other sites

This is awesome! <3 :D

 

though since I'm guilty of putting this idea in your head, I may do it again. I think an esteemed modder such as yourself could get drag drop working on that bar too. :P *evil grin*

 

Your wish is my command :D

 

UPDATE

 

v0.3.0 implements dragging items onto the hotbar. You can drag single items as well as multiple items at once, they will then fill the hotbar up to the right.

Share this post


Link to post
Share on other sites

This looks great! I have a friend who thinks the game has a lot of potential, but thinks the UI is too clunky to play right now. This kind of stuff would be right up his alley I'm sure.

Share this post


Link to post
Share on other sites

 

This is awesome! <3 :D

 

though since I'm guilty of putting this idea in your head, I may do it again. I think an esteemed modder such as yourself could get drag drop working on that bar too. :P *evil grin*

 

Your wish is my command :D

 

UPDATE

 

v0.3.0 implements dragging items onto the hotbar. You can drag single items as well as multiple items at once, they will then fill the hotbar up to the right.

 

 

:D Knew you could do it! This is now officially perfect <3 :D

Share this post


Link to post
Share on other sites

I sadly cant seem to get this to work on 31.6, I get an error when I press tab or any other rebound key and nothing shows up, even tried a new game new hud size, etc, nothing.

Java.lang.runtimeexception is the error for me, downloading java now to see if that fixes it, only mod I am running right now.

java.lang.RuntimeException: attempted index: readLine of non-table: null still shows up so not sure.

Share this post


Link to post
Share on other sites

I sadly cant seem to get this to work on 31.6, I get an error when I press tab or any other rebound key and nothing shows up, even tried a new game new hud size, etc, nothing.

Java.lang.runtimeexception is the error for me, downloading java now to see if that fixes it, only mod I am running right now.

java.lang.RuntimeException: attempted index: readLine of non-table: null still shows up so not sure.

 

That's not a java error, but a LUA error. Thanks for the report, I'll look into it!

Share this post


Link to post
Share on other sites

I sadly cant seem to get this to work on 31.6, I get an error when I press tab or any other rebound key and nothing shows up, even tried a new game new hud size, etc, nothing.

Java.lang.runtimeexception is the error for me, downloading java now to see if that fixes it, only mod I am running right now.

java.lang.RuntimeException: attempted index: readLine of non-table: null still shows up so not sure.

 

UPDATE

 

This error has been fixed in v0.3.1. Please give it a shot!

Share this post


Link to post
Share on other sites

Thanks, it works now and I love it, would be interesting to have a single item or if renamed items acted as another item, I like equipping my other hiking bag in secondary when not in a major fight to loot more, but I have to go into the inventory to equip it and I am not sure how easy that would be to code.

Share this post


Link to post
Share on other sites

Blindcoder, could you possibly add this to translation?

 

Spoiler

8QMmWNr.png

 

Also: Polish translation for hotbar 0.3.1.

 

https://www.dropbox.com/s/o8i8ymh5hb2kh8a/PL_hotbar_0_3_1.rar?dl=0

 

UPDATE

 

Done, and Done :-)

Thanks for the Polish translation! I have added "Clear" through a translation service, can you confirm that it's correct?

Share this post


Link to post
Share on other sites

Something is going wrong in the latest version. Easiest way to show the bug is with corpses.

  1. pick up a corpse
  2. add to hotbar
  3. drop corpse
  4. Stack traces galore in output.

I really like this mod blind coder, so can you have a look?

Share this post


Link to post
Share on other sites

Something is going wrong in the latest version. Easiest way to show the bug is with corpses.

  1. pick up a corpse
  2. add to hotbar
  3. drop corpse
  4. Stack traces galore in output.

I really like this mod blind coder, so can you have a look?

 

Will do!

Share this post


Link to post
Share on other sites

Something is going wrong in the latest version. Easiest way to show the bug is with corpses.

  1. pick up a corpse
  2. add to hotbar
  3. drop corpse
  4. Stack traces galore in output.

I really like this mod blind coder, so can you have a look?

 

Can you please post that stacktrace on vpaste.net? I can't reproduce it here.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
7 7