Project Zomboid

Project Zomboid

1,063 ratings
Radial Menu API
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
45.788 KB
Jan 29, 2022 @ 8:03am
Aug 8, 2022 @ 12:46am
5 Change Notes ( view )

Subscribe to download
Radial Menu API

Description
Simplifies and extends modding radial menus in the game. This mod is just a framework for other mods to use, by itself it doesn't change or add anything.

If you are a modder interested in using this framework check the pinned discussion.

Current Features
  • More Ways to Interact with Radial Menus
  • Full Controller Support
  • Simplified Sub-Menu Creation
  • Vehicle Menu Extension
  • Emote Menu Extension
  • Light Source Menu Extension

Planned Features
  • Deleting Slices More Efficiently
  • Extension for All Radial Menus
  • Simplify Custom Menus

Mods Using This Framework

Workshop ID: 2735579575
Mod ID: radialmenuapi
Popular Discussions View All (2)
3
May 2 @ 10:37pm
PINNED: Radial Menu API Guide (For Modders)
Browser8
0
Jan 29, 2022 @ 8:55am
PINNED: Suggestions
Browser8
38 Comments
Thorium May 4 @ 10:34pm 
This mod unfortunately causes a bug where you cannot sleep in any cars
Ryan May 2 @ 9:50pm 
new modder here. I'm not sure where to add the code
Morgan Mar 28 @ 5:56pm 
May I add this to my modpack?
Solid Nov 13, 2023 @ 5:59am 
Hello! I'm an admin for a small PZ server and we were looking at your mod to add into our server.

Would we be allowed to put this mod into our modpack?
Alkanshel Oct 16, 2023 @ 11:42am 
This breaks sleeping in cars.
Engine Of Darkness Oct 7, 2023 @ 6:53am 
The Issue was caused by "Vehicle Additions API" - for some reason the code of this mod triggered the Radial Rendering Process twice when you are "outside" the car (in my case at least). This lead to some mod entries which only used "showRadialMenu" to get lost in the menu slices for the outside view. ("Everything has a name" also stopped working for me due to this).
Engine Of Darkness Oct 6, 2023 @ 5:28pm 
Nevermind, found the core issue for the mod I mentioned I think (not sure if it also has something to do with the load order with which I also tested around).

"Better Lockpick" (zre Better Lockpick to be exact) calls the wrong vanilla function (which this mod overrides), which somehow causes this odd side-effect.

In '2929123989/mods/zRe BetterLockpicking/media/lua/client/Lockpicking/UI/UIVehicle.lua' the mod uses ISVehicleMenu.showRadialMenu instead of ISVehicleMenu.showRadialMenuOutside

I'll report that to the mod author.
Engine Of Darkness Oct 6, 2023 @ 4:33pm 
This Mod can cause weird issues based on the way Zomboid handles lua calls (I'm on Linux, which may affect this as well).

I already switched the load order of this mod and the ones requiring it around to no avail.

This mod does "menu:clear()" which for some reason nukes some radial menu entries in e.g. showRadialMenuOutside (or the non outside variant) based on when this mods function is called.

In my Case "Better Lockpicking" Actions disappeared.

This really needs to be more robust - e.g. storing all slices of the menu first and re-adding missing ones or something.

The assumption purely based on load Order (which is what the ! in the lua names is for I assume) is pretty much a no go as this unfortunately shows.
Austria-Ball Sep 22, 2023 @ 2:44pm 
I can't open the Radial Menu and I have it activated and Fuu's Roleplay poses mod on
LordRazor Jul 16, 2023 @ 7:29pm 
i am also having this issue