Project Zomboid

Project Zomboid

BzoukPzHotBarNew
62 Komentar
bzoukLop  [pembuat] 7 Mar @ 6:48am 
@tobyfox2002 In new version you can now use keybind for 1. windows.
bzoukLop  [pembuat] 18 Feb @ 1:02pm 
@tobyfox2002 I could make the first few positions in the first window that would have the option of activating via keybinding. How about 8? Unfortunately I don't have much time right now, my time is mostly taken up with work and taking care of a new family member.
tobyfox2002 17 Feb @ 7:59pm 
Heya, I was wondering, how does one add key bindings to the extra buttons. I installed this for accessibility, and was hoping that this might have key bind function, but cant find any natively.

If it doesnt have, is there any way you might be convinced to add it (or if you aren't doing new updates to the B41 version, add it for B42). I have motor-skill issues which makes it already hard to move stuff around and this would be a godsend to making pz easier to play.

Thank you in advance either way, this mod has been a big help just as is too. TY VM.
bzoukLop  [pembuat] 17 Jan @ 9:18am 
@Kupie Thant great idea. Thanks for code, I will add it into new version. I could backport it into this one. But probaly later.
Kupie 14 Jan @ 10:30am 
This code when added will make it hide on vehicle enter, and show on vehicle exit:

local function hideWindowsVehicleEnter()
local showWindows = false
windowssHolder:forEach(function(____, window)
window:setVisible(showWindows)
end)
ISBzHotBar.main.show = showWindows
end

local function showWindowsVehicleExit()
local showWindows = true
windowssHolder:forEach(function(____, window)
window:setVisible(showWindows)
end)
ISBzHotBar.main.show = showWindows
end

Events.OnEnterVehicle.Add(hideWindowsVehicleEnter)
Events.OnExitVehicle.Add(showWindowsVehicleExit)


Could also make it so "toggleWindows" has a argument that, when passed, forces it show/hidden and make the Events call it with the argument
bzoukLop  [pembuat] 30 Des 2024 @ 6:47am 
Build42 mod version is here https://sp.zhabite.com/sharedfiles/filedetails/?id=3396010813 . Please backup your C:\Users\<user>\Zomboid\Lua\pzhotbar.ini. You will probably need clean reinstall of Zomboid.
bzoukLop  [pembuat] 28 Des 2024 @ 11:15am 
Working on B42 update. Many changes...
bzoukLop  [pembuat] 17 Des 2024 @ 10:48am 
@Jaeger I can add option into menu for eating whole food.
@Golden blade Maybe for first few slots in firts window. I can add something into settings.

I will have time over Christmas to add a few modifications. Unfortunately, the testing ultimately did not bring any major progress in rendering optimization.
Vauk 5 Des 2024 @ 1:32pm 
maybe an abillity to bind it to numpad number keys?
Jaeger 4 Des 2024 @ 3:46pm 
Can I adjust left click on non posion food to eat all? I got tons of cabbages to eat
bzoukLop  [pembuat] 6 Nov 2024 @ 5:25am 
@DethMarine They are still useful and still have benefits like faster animations. But you can play without them.

The first tests with the new inventory change detection look promising.
TwistedWulf 5 Nov 2024 @ 12:56pm 
So does this make belts, holsters not needed anymore?
bzoukLop  [pembuat] 26 Okt 2024 @ 10:04am 
I probably find some other way how to check items update. I will test it when I have time.
bzoukLop  [pembuat] 23 Okt 2024 @ 1:43am 
@진서 I need to find the right way to set up item updates. I only found one where it worked 100 percent, but the problem is it's not optimal at all. If anyone knows how to do this, I would appreciate any advice.

@TJSlayer10 Do you mean the Radial menu where you can add items similar to the Hotbar? This could be another mod. I'm not making any promises, but when I have time to look into the mod lag issue, I'll see how complicated it would be.
TJSlayer10 7 Okt 2024 @ 11:39am 
@bzoukLop can you help with creating a Radial Menu for me that allows players that are using controller to access hotbar items? I'm willing to pay if needed!
jodoo20 4 Okt 2024 @ 6:59am 
thx bro
bzoukLop  [pembuat] 24 Sep 2024 @ 3:21am 
@Strelok Not planning to. I am curently wainting for new version and also a i have less time, but updating dor new version, I will try to find time for update.

@N0wh3re Reset should happend with pressing tab. I will try to test it again.

@DoktorFar Thx for info.
Strelok 22 Agu 2024 @ 2:15pm 
This mod is a must have! Please never abandon it
N0wh3re 16 Agu 2024 @ 12:42am 
Hello, How can i reset UI position? because it disappeared when i changed a resolution, and it didn't comeback after i roll-back to original resolution. (1920x1080 -> 1600x900 -> 1920x1080)
DoktorFar 19 Jul 2024 @ 4:51pm 
@bzoukLop could very well be, I have a bunch of other mods. But, I don't have the problem anymore except that first time loading my save after enabling the your mod, just forgot to mention it. It works without problem now, can hide/show at will :steamthumbsup: :)
bzoukLop  [pembuat] 19 Jul 2024 @ 1:04pm 
@Fem_Bane Idea for new mod maybe :)
@Anach Like auto hide when driving? I will look into code if there is some event for it.
@暗黑无敌暴龙王 thank for report. Maybe there is a change in game come for handling smoking.
@DoktorFar thank for report. Maybe cound be problem with some compatibility.
@Strelok Could be so many things
Strelok 17 Jul 2024 @ 7:20am 
Can't make it work. Have no idea why.
DoktorFar 11 Jul 2024 @ 12:44pm 
Very nice mod, should be part of vanilla. I see no reason to limit number of hotkeys; it only adds tedious repetitiveness. I get an error when I click tab, the bar won't hide (perhaps it's a compatibility isssue with some other mod). But other than that it works flawlessly. And since I want the bar to be shown at all times anyway it doesn't bother me.
暗黑无敌暴龙王 11 Jul 2024 @ 7:26am 
Occasional Issue: When using this mod to smoke or take drugs, after the loading bar completes, nothing happens. I need to find cigarettes or drugs in my inventory, take them out and place them in my inventory (including taking out the lighter with the cigarettes), and then try smoking or taking drugs again through the mod to proceed normally.
Anach 11 Jul 2024 @ 5:55am 
Can we have an option to hide while driving, please?
Visoth 8 Jul 2024 @ 9:00am 
Very hard to word this question in a way it makes sense:

My goal is to be able to swap between a Spear and an Axe with just one click, and putting the replaced item onto my back.

In my testing, I can equip one of these two items, and the previous will correctly go back onto my characters back. But if I use the other tool afterwards, it will go into a container instead of my back.

eg:
Axe on back, Spear in hands -> Equip Axe -> Spear goes into backpack -> Equip spear -> Axe goes on back.

And vice versa.

Is there anyway to get the spear going onto my back in that example? Or is it a technical limitation?
Fem_Bane 3 Jul 2024 @ 12:45pm 
Adding inventory tetris support for containers, ie. being able to click them/double-click to open the independant container window, would make this perfect imo.
An amazing mod tho, always use it :3
bzoukLop  [pembuat] 3 Jul 2024 @ 6:34am 
Added Clothing item unequip if is equipped
bzoukLop  [pembuat] 3 Jul 2024 @ 5:31am 
@Anach I created new version with check for out of bound windows. It should workd now, with resolution changes or if you pres TAB.
Anach 27 Jun 2024 @ 6:19am 
I've lost mine off-screen, not from resolution change, but due to minimising the hot-bar too close to the edge. Maybe an option could be added to bring them back to the centre if off-screen.
112 23 Apr 2024 @ 7:06am 
왜 안되는겨
bzoukLop  [pembuat] 19 Apr 2024 @ 6:41am 
Hi everybody, sooryfor not responding. I am busy with life right now, I will try to find time to look into some problems with mod. I hope i wil have time aroud start of may.

@boxchat I will look into in
@Reifel thx i will fix it.
@Tim I think that is a problem with updating items. I do now know better way, how to update items just when needed...
@KOI21 i think it is a same problem like Reifel is having ( will fix fit)
@老约翰 Only this one item?
老约翰 15 Apr 2024 @ 5:40am 
In MP, place, item "base.BeerCan". The game crashes after consuming canned beer
KOI21 30 Mar 2024 @ 11:53pm 
Loved this Mod and used to work perfectly fine, but somehow I cannot get the hotbar UI to open at all this time. I tried to change the keybinding and disable all other Mods except this one and the required Mods (namely blindcoders Modding Utility and
Mod Options). Same with the old version of the hotbar Mod.

Edit: Okay I found the reason, I used to have higher resolution when playing the game, and the hotbar UI was been placed at a location outside my current screen. Changing back to 4K resolution then I can see it sit right at the lower right corner.
Tim 30 Mar 2024 @ 4:20pm 
Makes the game Lag allot, soon as you close it game goes back to smooth operation. fps drops from 60 to like 5-6. When you open the hot bar fps drops, I dindt realize it was the hotbar cause I was using it extensively but I figured it out by chance one day. It gets progressively worse the more Items you have.
Is there a way to fix the crazy lag?
Reifel 30 Mar 2024 @ 8:15am 
my ui stuck in top of screen, cropped, i cant move it, i suggest use this function, at first run or resolution change

local middle_x = (getCore():getScreenWidth() - ISBzHotBar.windows[windowNum].x) / 2
local middle_y = (getCore():getScreenHeight() - ISBzHotBar.windows[windowNum].y ) / 2
ISBzHotBar.windows[windowNum].x = middle_x
ISBzHotBar.windows[windowNum].y = middle_y
boxchat 28 Mar 2024 @ 9:57am 
My only feature request is if you left click on clothes that are already equipped, it unequips them. I would highly recommend this mod though :ss13ok:
bzoukLop  [pembuat] 27 Mar 2024 @ 11:40pm 
@pointless. Hi, It is not a bug, but a feature ... If i need start new game, my most used items are on the bar.

@boxchat Yeah, you're probably right, I'll make something up
boxchat 16 Mar 2024 @ 4:04pm 
Very good mod, works in MP. You might want to change the name of the post so people can find it better :lunar2019coolpig:
Tnaz.v 13 Mar 2024 @ 2:46pm 
funciona para MP?
pointlezz. 6 Mar 2024 @ 8:37pm 
I found a bug. If I place objects on the bar and start a new game, the icons of the objects from the previous game appear on the bar. :spiffo:
bzoukLop  [pembuat] 30 Jan 2024 @ 11:18pm 
@Mori @Vz Thanks.

@Mori It is possible,i will try it.
Sweet rolls 29 Jan 2024 @ 7:42am 
Just to let you know, I can't play without your mod anymore. ❤️
I think I had a conflict with the "SpiffUi Themes" mod (not sure), so it's gone now.
Excellent work.
Vzzz 29 Jan 2024 @ 5:26am 
this is even more awesome, many thanks
bzoukLop  [pembuat] 14 Jan 2024 @ 11:34pm 
@superman81906 thx for report, it was a bug, should be working now. Also windows now move according resulotion change.
superman81906 14 Jan 2024 @ 12:34pm 
Neither of the hot bar mods will work when I change my display to 1920x1080 but will in 2560x1440, my default resolution, anyone know why?
bzoukLop  [pembuat] 14 Jan 2024 @ 10:42am 
@Ashley Starling Great, thx for report. 3) I looked into code and it shoud be posible.
Chiyoko 14 Jan 2024 @ 10:16am 
Can confirm the flickering problem is fixed, awesome! :Speech_Love:
bzoukLop  [pembuat] 14 Jan 2024 @ 5:07am 
Flickering windows should be fixed
bzoukLop  [pembuat] 14 Jan 2024 @ 2:54am 
@Ashley Starling I found the bug with flickering windows. It was my feature for putting windows back when modifing numbers of slots etc.