Project Zomboid

Project Zomboid

502 평점
AutoHide Hotbar
4
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
1.190 MB
2023년 8월 5일 오후 3시 42분
2023년 8월 8일 오전 9시 48분
업데이트 노트 2개 (보기)

다운로드 위해 구독하기
AutoHide Hotbar

설명
AutoHide Hotbar
Do you get bothered when all the extra hotbar slots you have are clipping thought the Vehicle Dashboard when driving? Well, so this mod is for you!
All it does is simply hide the hotbar automatically when you are driving.



How it works:
First, it checks if the player is inside a vehicle, then do another check if the player is the driver.
If all checks are true, it disables the hotbar renderer until any check return false
(Because of that, only hides the hotbar it if the Vehicle Dashboard is being rendered)




Questions:
Is it compatible with Multiplayer?
Yes!
Does it work on existing saves?
Yes! It can be enabled/disabled mid-save without any problems.
Does it work for all game versions?
Only tested and working on current game version: 41.78.16
Is it compatible with X mod?
Probably yes.
It hooks on the ISHotbar:render() function, but was done in a way that should be always compatible with any mod that hooks that function too.



Credits:
The mod used in the example is Undead Survivor.
As always, a big thank you to everyone in #mod_development on the official Project Zomboid Discord[discord.gg]

Found any bugs?
If you encounter any errors or bugs, report them according to the first post in the pinned discussion Bug Reports.
For any questions, please be kind and leave a comment below!



Don't forget to rate and favorite!

Permissions
This mod's permissions fall under TIS's policy Ask For Permission[theindiestone.com] [theindiestone.com] This mod can only be added to and extended with the express permission from the original creator. Having received permission, credit must be given to the original creator, both within the files of the mod and wherever the mod roams online. If no permission is received you may not alter the mod, and it must be treated as a mod that is 'On Lockdown'.

If you like this mod, check out my other mods!




Workshop ID: 3015577318
Mod ID: autohidehotbar
인기 토론 모두 보기(1)
0
2023년 8월 5일 오후 3시 53분
고정됨: Bug Reports
peteR 75hz
댓글 24
DatBoi302 2024년 9월 6일 오후 5시 50분 
If binding a disappearing hotbar to the right mouse button proves impossible, a possible solution would be to bind the hotbar to a separate UI toggle key, that way you can toggle the hotbar on and off when needed (for shooting)l but I don't make mods so what do I know lol.
DatBoi302 2024년 9월 6일 오후 5시 47분 
@peteR 75hz , Awesome thanks, keep me posted.
I did some digging the last few days and could not find a mod that has done this, but I also did not see anything saying it 'wasn't' possible. I guess we'll see.
peteR 75hz  [작성자] 2024년 9월 6일 오후 5시 44분 
@DatBoi302
That's a good idea. I don't know how viable it is, but maybe I can do something!
DatBoi302 2024년 9월 6일 오후 3시 09분 
This is a great idea and mod!
It be really awesome if you could make a version of this mod that hides the hotbar when aiming a firearm. Noirs attachments and other mods give you so many hotbar-slots that it almost becomes impossible to aim your weapon towards the bottom of your screen.
peteR 75hz  [작성자] 2023년 11월 28일 오전 7시 39분 
@747074170
Well, that a whole other level, and not the real objective of this mod. If you want, I use the Reorder the Hotbar mod, with it you can sort the weapons yourself.
747074170 2023년 11월 28일 오전 4시 32분 
How about auto sort weapon too?
Coven of Owls 2023년 11월 27일 오후 1시 55분 
@Bit.Byte pretty sure that is caused by a theme mod
peteR 75hz  [작성자] 2023년 11월 14일 오전 6시 04분 
@CaptainSzasz
It does not.
It just renders the dashboard above the hotbar, and because in vanilla your hotbar will never get bigger than the dashboard, they don't need to hide it.
CaptainSzasz 2023년 11월 11일 오후 4시 47분 
I could've swore the game already did this.
Nox 2023년 11월 8일 오후 7시 48분 
Nice mod thank u!