Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod Settings Suggestion - Button Input Setting #690

Open
GoobyMain opened this issue Aug 25, 2023 · 2 comments
Open

Mod Settings Suggestion - Button Input Setting #690

GoobyMain opened this issue Aug 25, 2023 · 2 comments
Labels
feature request Request for a new feature/enhancement

Comments

@GoobyMain
Copy link

GoobyMain commented Aug 25, 2023

Sorry if this idea has already been considered or anything, I looked around a bit to find planned/considered features and couldn't find this

Pretty much it would just be really nice to give mod users the option to configure buttons for mod-specific button inputs through the mod settings menu, and I thought it might be a simple idea if there was a setting added, something like AddConVarSettingButton(), which in the mod actual settings menu let you select the button for the setting, gave a prompt like "press any key/button" (like how most games let you edit their controls, including TF2 in the vanilla menus) and then when you pressed a button, returned the button pressed to the variable in text form, like KEY_A or BUTTON_DPAD_RIGHT etc. maybe it should also display the button currently applied to that setting, although for controller support that might be difficult if you need to show images, and for the right controller type, which might change, etc. Maybe it would be good enough to just show as selected the text form for controller buttons (maybe with the front chopped off, since they all start with "button": DPAD_RIGHT)

@ASpoonPlaysGames
Copy link
Contributor

Why? Mods can simply add to kb_act.lst to add new settings to the existing keybind menu. In fact, Northstar already does this

@uniboi
Copy link
Contributor

uniboi commented Aug 25, 2023

tbh it is annoying to have to switch between the mod settings menu and the keybinds menu to change settings for the same mod

@ASpoonPlaysGames ASpoonPlaysGames added the feature request Request for a new feature/enhancement label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature/enhancement
Projects
Status: No status
Development

No branches or pull requests

3 participants