Project Zomboid

Project Zomboid

56 betyg
Dawn of the Zed
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
1.664 MB
16 okt, 2022 @ 5:23
2 mar, 2023 @ 13:08
53 ändringsnotiser ( visa )

Abonnera för att ladda ner
Dawn of the Zed

Beskrivning
I am on an indefinite hiatus from Project Zomboid. Feel free to use my code for future mods, and feel free to update my mods for B42. Please do not reuse their exact names or mod id's to avoid confusion and bugs for B41 players. I can only guarantee my mods worked when used alone before B42 dropped. I will no longer be retesting them when people have conflicts. Thanks for the support over the years.

Drastically improves on the game's existing ability to hide UI elements on screen! Play Project Zomboid like you're a character in the next great zombie movie!

Upgrades:

1. Your UI will STAY hidden after you unpause.
2. Your UI will STAY hidden after you die and respawn as a new player.
3. Your UI will STAY hidden after you connect or disconnect a controller.
4. You can hide your vehicle dashboard (once a bug, now a feature)!
5. All usernames above people's heads will disappear (can be toggled in Mod Options).
6. Halo notes will not appear under most circumstances (can be toggled in Mod Options).
7. All gamepad users can now toggle the UI, rather than simply holding a button to hide it!
8. You can now save your default UI visibility using Mod Options! Load up with no HUD!
9. You can now set your mouse cursor to disappear when you hide your UI, too!
10. Use sandbox settings to define the behavior of a "Use Server Defaults" Mod Option!
11. Keyboard and mouse players can choose NOT to hide their inventory with this shortcut!
12. Added support for my new mod, Position Breakdown!
13. Confirmed compatible with over 400 mods!

This even works on multiplayer, and does not impact anyone else who is on your server (even though showing other people's usernames is a server-level setting)!

Default Bindings:

Shortcut on Keyboard: Pause / Break (PAUSE)
Shortcut on Gamepad: Right Thumbstick Button (R3)

I've included a way to change the keyboard binding in Main Menu -> Options -> Key Bindings -> UI.

Unfortunately, due to the lack of any clear way to configure other buttons easily using the in-game UI, no other gamepad button is available for this function. Hopefully you can get used to using the joystick; however, if you need to disable this function in order to avoid accidentally toggling your UI, you may disable the joypad shortcut in Main Menu -> Options -> Key Bindings -> UI.

Why I Made This:

In vanilla Zomboid, gamepad use causes the hide-UI button to take on a different behavior; it only hides the gamepad UI buttons, and it's not a toggle. Also, the UI does not stay hidden when you pause & unpause or die & respawn. This fixes all of that.

Also, I fixed the bug that causes no-HUD players to have to double-tap hide after exiting the Main Menu or respawning while in-game (this is due to poorly conceived section of Lua code in the base game).

Attention Fellow Gamepad Players:

I cannot hide the cursor itself, which is usually useless to you on controller. For this, I recommend you check out Steam's Controller Layout options. They allow you to make any button (e.g., a touchpad click) move the mouse to the corner of your screen. Then you truly will be set to launch the game and basically ignore your keyboard and mouse.

Important Details:

Adding this to an existing server is fine, but reloading this mod while the game is running will cause it to stop working properly because it uses function decoration to accomplish the joystick button actions.

Server defaults are ONLY used for the Use Server Defaults toggle in the player's Mod Options (while in game). Unfortunately, Mod Options does not currently allow me to preload your server defaults into the player's menu without causing problems for other modders. Trying to await various events in order to load Mod Options after the sandbox variables are accessible seems to cause other mods' options to fail to load into the Main Menu, so I have not been able to find a safe workaround for using the preferred server defaults as the default value that loads for new players. However, I have gone to great lengths to ensure that the current mod defaults will be optimally appealing to the majority of Zomboid players, I have made the Use Server Defaults button as accessible as possible so that players can choose to apply your server's preferred defaults quickly, and I have given everyone the freedom to customize every setting in detail while they are in the game. I am also in discussion with the creator of Mod Options about adding a feature for admins to force an update to their player's settings in various circumstances (e.g., when a player with no saved settings for this mod joins a server using this mod for the first time).

Halo notes are notifications about levels gained and other player state changes. They appear above your head, usually in green text. My only solution for hiding halo notifications requires me to 0 the user's HoursSurvived for 120 ticks (about 2 seconds) before restoring it whenever I know a XP is incoming; this includes every time the character swings a weapon, lands a hit, is hit by a zombie, finishes an attack, or moves. Your real HoursSurvived will never be truly lost unless perhaps your game crashes during this 2-second window; it is restored immediately after you stop attacking, getting hit, or moving for 120 ticks (about 2 seconds). It is also restored when you enter the Main Menu, just in case you intend to quit. This may cause issues with any mechanics based on HoursSurvived while you are fighting, moving, or gaining XP. If this solution is not acceptable to you, it is entirely optional, and you can disable it in the settings. If you are a server admin, you can disable the ability to hide halo notes (and thus disable the abiliy to zero your HoursSurvived) in the Sandbox Settings under Dawn of the Zed. To make this mod's Sandbox Settings appear, you must enable Dawn of the Zed in MODS after launching the game (i.e., before editing your server settings).

Other mods can still directly trigger halo notes to appear as long as they do not require HoursSurvived to be greater than 1 minute.

When beginning the game with Hide UI By Default selected, be aware that the HUD may flicker very briefly before my mod closes it when you first join a server. I do not know how to intervene any earlier to prevent this. Contact me if you do!

Like this mod? Feel free to explore some of my mods on the Steam Workshop!

[ko-fi.com]

Workshop ID: 2875983658
Mod ID: DawnOfTheZed
60 kommentarer
Burryaga  [skapare] 23 nov, 2023 @ 17:57 
FYI, Metsu, I've been playing again lately with a couple friends; I use gamepad, and they use KBM; we all have the mod active, but no one is reporting any weird disappearing HUD issue upon right clicking anything... That sounds like it must be a mod conflict. Sorry I can't give any better direction to help!
Burryaga  [skapare] 11 apr, 2023 @ 23:11 
Very strange bug, Metsu. Not going to lie, I haven't been very active on Zomboid lately, but if anyone happens to identify the cause for your issue, they are welcome to republish this or send me the solution. Unmotivated to code lately. Sorry. Real life getting in the way.
Metsu 11 apr, 2023 @ 23:07 
hello! i love this mod and hope to see its continued developent. just wanted to say a relatively new bug i experience is when i do a right click action; destroying a wall, removing a bush, and reading map, causes the hud to disappear and pausebreak doesnt bring it back. i have to go in the settings' mod page and manually renenable/disable a random hud setting to regain hud control with pause break. thank you for your hard work
Burryaga  [skapare] 5 mar, 2023 @ 13:20 
@Top h There is already a Mod Option accessible through Options -> Mods to leave the inventory visible when you hide everything else... I'm not sure what you're requesting if that doesn't do what you need. Can you contact me via the Project Zomboid Discord and clarify your needs?
Top h: Shishunki no Obenkyou 5 mar, 2023 @ 12:36 
Hello again
This mod is really good and has a lot of work on it, which honestly makes the game much more immersive.
I just have one question, in the future can you add a key to make the inventory visible? or something like this mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2823283090&searchtext=minimal+ui
Honestly your mod is very cool and I was just wondering that. thanks for everything
Burryaga  [skapare] 5 mar, 2023 @ 10:19 
Thanks! I do not know if I can easily detect how many hotkeys are actually being used with all the hotkey mods out there to reliably base showing the hotbar on that; however, I might be able to add a "check UI" button that just shows your UI for like 5 seconds when it is hidden. But ultimately that would only save people the tenth of a second they would otherwise have spent pressing the normal UI shortcut a second time... I could also try to figure out if I can hook the hotkey-received function but I don't know if there is such a thing, to be honest. Will give it some thought!
ThunderTrucker 5 mar, 2023 @ 9:19 
Wonderful mod!
I have an inquiry:
Is there a way to make the entire hotbar be briefly displayed when you press a corresponding number for an the item on it?
Burryaga  [skapare] 25 feb, 2023 @ 8:02 
Thanks a lot, Obenkyou, haha. I love this mod but feel like it doesn't get a lot of love. :)

Guess most people like the UI more than I do.
Top h: Shishunki no Obenkyou 24 feb, 2023 @ 19:27 
10/10
Metsu 20 feb, 2023 @ 9:15 
for sure thank you i will give that a try