Skip to content

[FEATURE] Add menu types #165

@exkludera

Description

@exkludera

Problem Description

There are many who dislike the button input menu like wasd.
Even if its bad, I still prefer having !1-9 and binding my button keys to interact with the menu.
I understand the view of wanting to keep consistency in the framework, but won't this just lead to thirdparty apis being the only option for the rest of us?
Most of the menus in my plugins are just for triggering commands, so all these options for dynamic content is overkill in most cases (at the expense of other menu types)
Having multiple menu types, such as chat, centerhtml, panorama vote in the framework would really be a big improvement in my opinion.

Proposed Solution

Implement all menu types into the core api:

  • Chat
  • CenterHtml Hud
  • Console
  • Panorama Vote
  • Screen (if it becomes viable again. the shaking one could still be cool ig😂)

Alternative Solutions

Create a shared plugin api that developers can use, if this request is too much to ask for.

Use Case

Makes it much easier for people to convert to swiftly and not feel like they are missing something they used to have.

Implementation Ideas

Have the api not needing to be specific of which menu type and put a config option in game/csgo/addons/swiftlys2/configs/core.jsonc to pick a preferred default
(while still being able to create a specific one if needed)

Priority

High

Contribution

  • I'm willing to implement this feature myself
  • I can help with testing
  • I can help with documentation
  • I can provide feedback during development

Additional Context

I know this request is a bit all over the place and maybe not well explained.
TLDR: I want menus to be simple and easy to create such as CS2MenuManager

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions