Project Zomboid

Project Zomboid

BzoukPzHotBarNew
Počet komentářů: 62
bzoukLop  [autor] 7. bře. v 6.48 
@tobyfox2002 In new version you can now use keybind for 1. windows.
bzoukLop  [autor] 18. úno. v 13.02 
@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. úno. v 19.59 
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  [autor] 17. led. v 9.18 
@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. led. v 10.30 
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  [autor] 30. pro. 2024 v 6.47 
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  [autor] 28. pro. 2024 v 11.15 
Working on B42 update. Many changes...
bzoukLop  [autor] 17. pro. 2024 v 10.48 
@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. pro. 2024 v 13.32 
maybe an abillity to bind it to numpad number keys?
Jaeger 4. pro. 2024 v 15.46 
Can I adjust left click on non posion food to eat all? I got tons of cabbages to eat
bzoukLop  [autor] 6. lis. 2024 v 5.25 
@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. lis. 2024 v 12.56 
So does this make belts, holsters not needed anymore?
bzoukLop  [autor] 26. říj. 2024 v 10.04 
I probably find some other way how to check items update. I will test it when I have time.
bzoukLop  [autor] 23. říj. 2024 v 1.43 
@진서 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. říj. 2024 v 11.39 
@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. říj. 2024 v 6.59 
thx bro
bzoukLop  [autor] 24. zář. 2024 v 3.21 
@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. srp. 2024 v 14.15 
This mod is a must have! Please never abandon it
N0wh3re 16. srp. 2024 v 0.42 
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. čvc. 2024 v 16.51 
@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  [autor] 19. čvc. 2024 v 13.04 
@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. čvc. 2024 v 7.20 
Can't make it work. Have no idea why.
DoktorFar 11. čvc. 2024 v 12.44 
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. čvc. 2024 v 7.26 
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. čvc. 2024 v 5.55 
Can we have an option to hide while driving, please?
Visoth 8. čvc. 2024 v 9.00 
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. čvc. 2024 v 12.45 
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  [autor] 3. čvc. 2024 v 6.34 
Added Clothing item unequip if is equipped
bzoukLop  [autor] 3. čvc. 2024 v 5.31 
@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. čvn. 2024 v 6.19 
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. dub. 2024 v 7.06 
왜 안되는겨
bzoukLop  [autor] 19. dub. 2024 v 6.41 
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. dub. 2024 v 5.40 
In MP, place, item "base.BeerCan". The game crashes after consuming canned beer
KOI21 30. bře. 2024 v 23.53 
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. bře. 2024 v 16.20 
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. bře. 2024 v 8.15 
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. bře. 2024 v 9.57 
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  [autor] 27. bře. 2024 v 23.40 
@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. bře. 2024 v 16.04 
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. bře. 2024 v 14.46 
funciona para MP?
pointlezz. 6. bře. 2024 v 20.37 
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  [autor] 30. led. 2024 v 23.18 
@Mori @Vz Thanks.

@Mori It is possible,i will try it.
Sweet rolls 29. led. 2024 v 7.42 
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. led. 2024 v 5.26 
this is even more awesome, many thanks
bzoukLop  [autor] 14. led. 2024 v 23.34 
@superman81906 thx for report, it was a bug, should be working now. Also windows now move according resulotion change.
superman81906 14. led. 2024 v 12.34 
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  [autor] 14. led. 2024 v 10.42 
@Ashley Starling Great, thx for report. 3) I looked into code and it shoud be posible.
Chiyoko 14. led. 2024 v 10.16 
Can confirm the flickering problem is fixed, awesome! :Speech_Love:
bzoukLop  [autor] 14. led. 2024 v 5.07 
Flickering windows should be fixed
bzoukLop  [autor] 14. led. 2024 v 2.54 
@Ashley Starling I found the bug with flickering windows. It was my feature for putting windows back when modifing numbers of slots etc.