Project Zomboid

Project Zomboid

SpiffUI - Radials
This topic has been locked
dhert  [developer] 17 Jul, 2022 @ 2:39pm
SpiffUI Radials v8 - Release Notes and Discussion
What started as a maintenance release to fix some bugs ended up being a lot more feature-packed than I expected! It was easier to just do this refactor now for the future of this mod.

Bugs fixed in this release
  • Fixed the Russian Translation. For real this time, sorry about this one. The issue ended up being due to the encoding of the file and has been updated and tested.
  • Fixed the Drink Radial Menu not working when any language other than English is being used
  • Fixed the Pill Menu breaking when multiple Antibiotics are in inventory
  • Fixed the texture missing for the Transfer action sometimes
  • Fixed the Tooltip not closing when keyboard is used
  • Updated strings to use translations

New Features

Clock
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2836715481

The main SpiffUI Radial now has a clock in the middle! This clock works similarly to the vanilla clock, in that you have to have a Digital Watch to display the date/temperature. Only the 24 hour and Celsius temperatures work at this time.

With this comes the option to HIDE the Vanilla Clock; this is disabled by default but highly recommended. The main goal of SpiffUI was to change the UI systems to make them more "immersive". This now makes you press a button to see the time, and it just so happens you have access to a bunch of other features too! From experience, I can definitely say just because I am wearing a watch does not mean I automatically know what time it is, let alone the date.

Game Speed Radial
A new Radial was added to set the current Game Speed. This is due to the removal of these toggles when the "Hide Vanilla Clock" option is enabled.

This Radial does not display in Multiplayer or co-op

Alarm Radial
When you access a watch in the "Equipment" Radial, a new option will be present to set the Alarm. This opens a new Radial which replaces the default window for setting the Alarm.

I plan to add a toggle to make this the default way to set all alarms in the future as well to fully-replace the built-in Alarm Window.

Updated Visuals
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2836722419

The selected Item and name will be visible in the middle of the radial on selection. When no selection is made, a default image and text will be shown to name the Radial you are using.

Text also now has Word Wrap!

Unified Menu!
Radial Menus now have a "Back" Button to make wrong selections less annoying.

Misc Features
  • Added Option to hide the Smoke Craft and Smoking Radial
  • Updated Food Filter to hide known-poisons
  • Overall should use less memory, as assets are now loaded on creation of a Radial instead of on start of the game session.
  • Added the "Place" option in the Equipment Radial
  • Changed the Food Icon to be an Apple

Release v8.1
  • Fix Smoke Radial not being shown

Please let me know if there are any issues in the discussion below!
Last edited by dhert; 18 Jul, 2022 @ 12:58am
< >
Showing 1-8 of 8 comments
dhert  [developer] 17 Jul, 2022 @ 2:40pm 
For a future release, I would like to further improve upon the clock by adding back plates, colors, and just making it look nicer. This release was all functionality and to get some feedback on it. I also have an "Experimental" Analog watch, but Zomboid isn't very good at drawing diagonal lines, and you can't arbitrarily rotate an image.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2836733846

I would also like to add some new Radials too over time.

I still have plans to do a Medical Radial and to replace the Inspect Window with a Radial. Controlling how the center of the radial was drawn was the main blocker for this.

Basically, the groundwork is now present for me to add more advanced displays to the Radials, so who knows; I am open to ideas too.

A Farming Radial was suggested, and I will need to play with Farming a bit more to get something cooked up.

Speaking of cooking, I have also been working on a Radial to create Advanced Cooking Recipes. Stay Tuned!

I will be making a new Discussion page for every Major release of SpiffUI Radials (and all my other mods) where it warrants it. As in, a release to only fix a bug will still continue this thread; but the release of one of the above Radials would warrant a new Discussion.
Last edited by dhert; 17 Jul, 2022 @ 5:45pm
Preman Kampung 17 Jul, 2022 @ 6:54pm 
Awesome! Thanks for the update. :steamhappy:
Whynups 17 Jul, 2022 @ 8:14pm 
Hey it look incredible, but my smoking shortcut isn't there anymore, i've looked in mod options, selected the option, and i've auto smoke as it was asked before the update, but anyway thank you for the update, you have done a great job ! :)
dhert  [developer] 17 Jul, 2022 @ 8:39pm 
Whoops! Looks like I had a typo which caused that to not be loaded. It is now fixed.

Thanks for the report and the kind words @Whynups!

Release v8.1
  • Fix Smoke Radial not being shown
Last edited by dhert; 18 Jul, 2022 @ 12:58am
R4ZH0R 19 Jul, 2022 @ 2:06pm 
I loved your mod. Such good features but Im having problem with my player base complaning about some stuffs:

- All the radial and menus, like inventory and others got changed by the mod. Could you please implement the mod without changing any key? So the player can only hit CAPS LOCK/CAPITAL in order to open the main menu, and the other shortcuts they can set themselves.

- Also, anyway I as admin can be able to disable the smoke options in radial menu without the need of Mod Options?
dhert  [developer] 19 Jul, 2022 @ 10:34pm 
Hey @R4ZHOR. Thanks for the feedback.

Originally posted by R4ZHOR:
All the radial and menus, like inventory and others got changed by the mod. Could you please implement the mod without changing any key? So the player can only hit CAPS LOCK/CAPITAL in order to open the main menu, and the other shortcuts they can set themselves.
You have given me something to think about, but overall I'm not sure I understand the complaints regarding the keybinds.

The only keys that I change are the default Inventory Key and the Crafting UI keys, which are removed and replaced by the Inventory and CraftingUI keys in the SpiffUI category and have (mostly) the same functionality. Inventory is changed to the tab key which is woefully unused in my opinion and much easier to access than the "I" key; the key can be changed back to "I" easily should the user really want to. The CraftingUI key stays the same, and I just took over its functionality by re-defining it myself (and moving its category).

There should be no difference in pressing the inventory keybind compared to Vanilla (I call the same code) other than a long press showing the Equipment Radial. If you have SpiffUI-Inventory, then I call the function from that instead (which also rebinds the inventory to Tab). As such, the user could easily rebind this to something themselves and there would be no difference in usage if they just never do a long press. Are you looking for that long press for the Radial to be disabled too?

For the CraftingUI, by default a press will show the radial and a long press will show the window, and this can be switched in the Options (i.e. a press opens the window like Vanilla)

The other keys that I change are only when the user presses the "Set SpiffUI Recommended Keybinds" button, but this is an action that I explicitly warn what is changing already, and I try to make this for keybinds that are just in the way and not useful (like the lua console, 90% of users shouldn't use that especially a client on a server). I have been working on a way to make this better though.

All of the other keys for Radials are not used by anything else by default and shouldn't interfere with other keys.

The main idea of the SpiffUI mods was to make the game overall feel better to play, and while this does stray slightly from Vanilla by default, the slight changes that I made are an attempt to reflect that. Your inventory is a critical part of survival, and having it accessible on "Tab" by default (one hand control, minimal movement of the hand, quick access) makes a lot more sense than "I" in my opinion. "Tab" right now Toggles the Mode that you're in (picking up/placing down objects or not) which does not need to have a key like "Tab".

I am absolutely open to feedback though, and the above is justification for why I did these things overall. I would just like to understand the complaint a bit more as this type of change would be work for little benefit as there are suitable workarounds already.

Originally posted by R4ZHOR:
- Also, anyway I as admin can be able to disable the smoke options in radial menu without the need of Mod Options?
Currently no, but I am working on adding my own custom settings implementation for SpiffUI. I have to modify how settings are handled now which is my current project at the moment on the dev branch. My own tab for all SpiffUI mods for user settings in the options is currently progressing well, but this is all looks for now.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2837706863

Part of this refactor will be to allow the server admin the ability to force-set most (if not all) SpiffUI configuration on their end without the user having to do anything.
Last edited by dhert; 19 Jul, 2022 @ 11:08pm
JC DENTON 22 Jul, 2022 @ 2:49pm 
Thanks for making this mod, I like the new look but I think I encountered a bug, since the last update I haven't been able to drink my opened cans of soup using the radial anymore.
dhert  [developer] 23 Jul, 2022 @ 12:14pm 
Hello @JC DENTON! Thanks for the feedback and the kind words.

Originally posted by JC DENTON:
since the last update I haven't been able to drink my opened cans of soup using the radial anymore.
I have been able to replicate this. It seems that an Open Can of Soup is a bit weird in that it counts as a drink (Soup in general does), but it doesn't actually give any Thirst Change. This causes it to fail both the Food and Drink filters so its not listed anywhere.

I will definitely patch this later to make an exception. but for the moment this will probably be delayed until the next Major Release. I recommend dumping it into a Pot or something for now; it makes the soup A LOT more nutritious which lets it show up in the Radial.
Last edited by dhert; 23 Jul, 2022 @ 12:14pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50