Project Zomboid

Project Zomboid

2,265 ratings
[B42]Clean HotBar v1.8
26
15
10
10
2
12
3
3
9
8
2
7
3
3
3
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
649.359 KB
10 Apr @ 12:04am
7 Jul @ 12:56am
12 Change Notes ( view )

Subscribe to download
[B42]Clean HotBar v1.8

Description
If this Mod not show on Mod list,99% your game is run on Build 41 ,this mod only work for Build 42

V1.8 Update
+ Fixed a bug where hiding empty slots caused incorrect mouse position detection
+ Removed some unnecessary animation effects
+ Updated several textures
+ Optimized the code structure, and cleaned up redundant functions.

V1.7 Update

+ Added a feature to show/hide empty slots.
+ Improved the display of the settings button — it now only appears when the mouse hovers over the hotbar.



When playing Project Zomboid, this Hotbar UI has always annoyed me. Unlike most games' UI designs, it fails to intuitively display weapon status and blocks part of the screen visibility. That's why I've been redesigning this UI for a long time. After studying equipment UIs from various games, I've found a more optimal solution.

B42-Compatible Status Display

This mod visually integrates all new weapon/item statuses added in B42:
  • Weapon Head Condition: Displays a status bar above the slot if weapon has head condition data
  • Weapon Sharpness: Similar to head condition but with two values:
    • White: Actual sharpness
    • Brown: Maximum sharpness (see here)
    • Toggleable Items: Clear ON/OFF indicators for items like flashlights
    • Ammo Counter: Displays ammunition count above firearm slots

    Hand-Equipped Display Improvements


    Now it's not just the hotbar,hand-equipped can also display more detailed information.
    Additionally, the original game’s textures have been optimized with added transparency.

    B42 Liquid System Integration

    The new B42 liquid system is visualized with color-coded bars. While I used AI-generated color values (which may have inaccuracies), you can easily identify liquid types. Please provide feedback for any inconsistencies.

    Animation Effects

    Designed to minimize distraction while providing durability alerts:
    • Durability Shake: Items shake during durability loss (e.g. flashlight battery drain)
    • Flashing Effect: Durability values flash when decreasing
    • Liquid Drain: Smooth animation mimicking drinking actions
    • A warning appears above the character's head when the durability of the equipped weapon decreases (can be disabled in the settings panel).

    Customizable Settings

    • Disable all status displays for hardcore players
    • Adjust status bar heights to your preference
    • Enable tooltips (default: off) to show item details on hover
    • Scale the size of hotbar
    • Toggle weapon durability warning animation above character.

    Compatibility
    • Compatible with "Reorder the Hotbar" — I’ve also designed a better integration method for it: the button that originally appeared on the hotbar is now moved to the settings panel (for best results, place Clean Hotbar at the bottom of the load order, loading other mods first).
    • There may be conflicts with any mods that display status indicators on the hotbar.
    • If you encounter any errors or the mod doesn't work as expected, try placing Clean Hotbar at the bottom of the mod load order so other mods load first.


    Handheld Equipment Slot
    Currently only basic status displays implemented. Open to creative suggestions!



    If you enjoy my mod and your circumstances allow, it would be amazing if you could buy me a cup of coffee, but first and foremost, enjoy your game!
    [afdian.com]
    You can join my discord channel for more information Rocco's Mod[discord.gg]

    About permission
    You are free to extract and use any content from my mod without asking for permission.
    If you want to republish my mod, you need to follow these rules:
    1. There must be substantial and important improvements.
    2. If my mod has not been updated for a long time and has caused many issues, you may modify and republish it.

    Workshop ID: 3461263912
    Mod ID: CleanHotBar
Popular Discussions View All (4)
31
26 Sep @ 4:47pm
PINNED: Bug Report
Rocco
8
28 Jul @ 8:48am
PINNED: Help me translate
Rocco
1
26 Apr @ 11:24am
About Weapon Sharpness
Rocco
243 Comments
Zoot 14 Nov @ 8:56am 
.. well nuts .. just had the Item Condition mod melt down on me today .. found this one as a solution and it looks like it's busted too .. no joy in Mudville today it seems .. lol ..
Holden McCaughan-Bols 14 Nov @ 8:33am 
Same as below, stopped working at some point while playing yesterday.
Mr. Cheese 13 Nov @ 7:23am 
Stopped working for me yesterday in the middle of playing.
Kiyyaro 10 Nov @ 5:58pm 
`function: activateSlot -- file: CustomHotbarHandler.lua line # 16 | MOD: PZ True Music
function: onKeyPressed -- file: ISHotbar.lua line # 782 | Vanilla
java.lang.RuntimeException: Object tried to call nil in activateSlot

`
Kiyyaro 10 Nov @ 5:57pm 
doesn't seem to work with true music b42 very well, whenever I have something equipped on my back and press 1 it doesn't equip it and throws errors everytime

`function: activateSlot -- file: CustomHotbarHandler.lua line # 16 | MOD: PZ True Music
function: onKeyPressed -- file: ISHotbar.lua line # 782 | Vanilla
`
buka2 10 Nov @ 5:03pm 
how do you open the custom settings
Asa Mitaka 9 Nov @ 9:22am 
is there will be any update to make the weapon conditional can be turned off ? i hope there will be still like vanilla conditon, but still have clean ui theme
Kenzo 27 Oct @ 11:43pm 
Man I was expecting this was for B41 ToT Zad
Necrosx 21 Oct @ 4:02pm 
Any chance of this getting backported to B41? Would love to use it, but Im waiting until b42 has multiplayer to move on.
Still, either way, thank you for your hard work!
Pug249 20 Oct @ 5:36pm 
Stopped working for me yesterday in the middle of playing. Along with Rains Axes and Blades and Sledghammer in Tool Shops. Like all at once. I've hit 'v', started new games and nothing. It's at the bottom of my mod load order and everything. I didn't add any mods, it just vanished in the middle of playing.